@tinymce/tinymce-react
Advanced tools
Comparing version 3.11.2-feature.20210325043937355.ec9d5e3 to 3.11.2-feature.20210325054508700.c628914
@@ -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 |
@@ -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" | ||
} |
80615
1583