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.1.1 to 2.1.2

3

CHANGELOG.md

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

## 2.1.2 (2018-01-08)
* Use `target` on element instead of `selector` in init config.
## 2.1.1 (2018-01-03)

@@ -2,0 +5,0 @@ * Fix so init setup callback gets called like it should.

2

lib/cjs/components/Editor.js

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

var initialValue = typeof _this.props.initialValue === 'string' ? _this.props.initialValue : '';
var finalInit = __assign({}, _this.props.init, { selector: "#" + _this.id, inline: _this.props.inline, setup: function (editor) {
var finalInit = __assign({}, _this.props.init, { target: _this.element, inline: _this.props.inline, setup: function (editor) {
_this.editor = editor;

@@ -44,0 +44,0 @@ editor.on('init', function () { return editor.setContent(initialValue); });

@@ -39,3 +39,3 @@ /**

var initialValue = typeof _this.props.initialValue === 'string' ? _this.props.initialValue : '';
var finalInit = __assign({}, _this.props.init, { selector: "#" + _this.id, inline: _this.props.inline, setup: function (editor) {
var finalInit = __assign({}, _this.props.init, { target: _this.element, inline: _this.props.inline, setup: function (editor) {
_this.editor = editor;

@@ -42,0 +42,0 @@ editor.on('init', function () { return editor.setContent(initialValue); });

{
"name": "@tinymce/tinymce-react",
"version": "2.1.1",
"version": "2.1.2",
"description": "Official TinyMCE React Component",

@@ -51,20 +51,20 @@ "repository": {

"devDependencies": {
"@storybook/addon-actions": "^3.2.17",
"@storybook/addon-actions": "^3.3.5",
"@storybook/addon-console": "^1.0.0",
"@storybook/addon-info": "^3.2.17",
"@storybook/react": "^3.2.17",
"@storybook/addon-info": "^3.3.5",
"@storybook/react": "^3.3.5",
"@storybook/storybook-deployer": "^2.2.0",
"@types/jest": "^21.1.8",
"@types/node": "^8.0.58",
"@types/jest": "^22.0.1",
"@types/node": "^8.5.7",
"@types/prop-types": "^15.5.2",
"@types/react": "^16.0.31",
"@types/react": "^16.0.34",
"@types/react-dom": "^16.0.3",
"@types/storybook__addon-info": "^3.2.1",
"@types/storybook__react": "^3.0.5",
"@types/storybook__react": "^3.0.6",
"awesome-typescript-loader": "^3.4.1",
"core-js": "^2.5.3",
"jest": "^21.2.1",
"jest": "^22.0.4",
"raf": "^3.4.0",
"rimraf": "^2.6.2",
"ts-jest": "^21.2.4",
"ts-jest": "^22.0.1",
"ts-loader": "^3.2.0",

@@ -71,0 +71,0 @@ "tslint": "^5.8.0",

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