Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tinymce/tinymce-react

Package Overview
Dependencies
Maintainers
1
Versions
365
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinymce/tinymce-react - npm Package Compare versions

Comparing version 2.6.1 to 3.0.0

3

CHANGELOG.md

@@ -0,1 +1,4 @@

## 3.0.0 (2019-02-11)
* Changed default cloudChannel to `'5'`.
## 2.6.1 (2019-02-07)

@@ -2,0 +5,0 @@ * Changed `react` and `react-dom` to be peerDependencies and devDependencies.

@@ -30,2 +30,3 @@ /**

static propTypes: IEditorPropTypes;
static defaultProps: Partial<IAllProps>;
private element;

@@ -32,0 +33,0 @@ private id?;

5

lib/cjs/components/Editor.js

@@ -72,3 +72,3 @@ "use strict";

var doc = this.element.ownerDocument;
var channel = this.props.cloudChannel ? this.props.cloudChannel : 'stable';
var channel = this.props.cloudChannel;
var apiKey = this.props.apiKey ? this.props.apiKey : '';

@@ -124,4 +124,7 @@ ScriptLoader.load(scriptState, doc, "https://cloud.tinymce.com/" + channel + "/tinymce.min.js?apiKey=" + apiKey, this.initialise);

Editor.propTypes = EditorPropTypes_1.EditorPropTypes;
Editor.defaultProps = {
cloudChannel: '5'
};
return Editor;
}(React.Component));
exports.Editor = Editor;

@@ -30,2 +30,3 @@ /**

static propTypes: IEditorPropTypes;
static defaultProps: Partial<IAllProps>;
private element;

@@ -32,0 +33,0 @@ private id?;

@@ -70,3 +70,3 @@ /**

var doc = this.element.ownerDocument;
var channel = this.props.cloudChannel ? this.props.cloudChannel : 'stable';
var channel = this.props.cloudChannel;
var apiKey = this.props.apiKey ? this.props.apiKey : '';

@@ -122,4 +122,7 @@ ScriptLoader.load(scriptState, doc, "https://cloud.tinymce.com/" + channel + "/tinymce.min.js?apiKey=" + apiKey, this.initialise);

Editor.propTypes = EditorPropTypes;
Editor.defaultProps = {
cloudChannel: '5'
};
return Editor;
}(React.Component));
export { Editor };
{
"name": "@tinymce/tinymce-react",
"version": "2.6.1",
"version": "3.0.0",
"description": "Official TinyMCE React Component",

@@ -5,0 +5,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc