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

@tinymce/tinymce-react

Package Overview
Dependencies
Maintainers
2
Versions
367
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 3.11.2-feature.20210325043937355.ec9d5e3 to 3.11.2-feature.20210325054508700.c628914

8

CHANGELOG.md

@@ -7,2 +7,10 @@ # Change log

## Unreleased
### Added
- Storybook demo for a controlled component with a fixed value. INT-2352
- Storybook demo for a controlled component with a maximum length. INT-2462
### Changed
- When used as a controlled component the editor will rollback a change if it is not set via the `value` prop within a millisecond. INT-2352
## 3.11.1 - 2021-03-24

@@ -9,0 +17,0 @@ ### Fixed

4

lib/cjs/main/ts/components/Editor.js

@@ -72,4 +72,2 @@ "use strict";

if (_this.props.value !== undefined && _this.props.value === _this.currentContent && _this.editor) {
// eslint-disable-next-line no-console
console.log('Update bookmark', _evt.type);
_this.valueCursor = (_a = _this.editor) === null || _a === void 0 ? void 0 : _a.selection.getBookmark(3);

@@ -84,4 +82,2 @@ }

_this.handleEditorChange = function (_evt) {
// eslint-disable-next-line no-console
console.log('Handle change', _evt.type);
var editor = _this.editor;

@@ -88,0 +84,0 @@ if (editor && editor.initialized) {

@@ -69,4 +69,2 @@ /**

if (_this.props.value !== undefined && _this.props.value === _this.currentContent && _this.editor) {
// eslint-disable-next-line no-console
console.log('Update bookmark', _evt.type);
_this.valueCursor = (_a = _this.editor) === null || _a === void 0 ? void 0 : _a.selection.getBookmark(3);

@@ -81,4 +79,2 @@ }

_this.handleEditorChange = function (_evt) {
// eslint-disable-next-line no-console
console.log('Handle change', _evt.type);
var editor = _this.editor;

@@ -85,0 +81,0 @@ if (editor && editor.initialized) {

@@ -69,4 +69,4 @@ {

},
"version": "3.11.2-feature.20210325043937355.ec9d5e3",
"version": "3.11.2-feature.20210325054508700.c628914",
"name": "@tinymce/tinymce-react"
}
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