diff --git a/packages/strapi-plugin-content-manager/admin/src/components/Wysiwyg/index.js b/packages/strapi-plugin-content-manager/admin/src/components/Wysiwyg/index.js index bb2d5331d6..2e229c1f67 100644 --- a/packages/strapi-plugin-content-manager/admin/src/components/Wysiwyg/index.js +++ b/packages/strapi-plugin-content-manager/admin/src/components/Wysiwyg/index.js @@ -632,8 +632,8 @@ class Wysiwyg extends React.Component { newEditorState = EditorState.push(newEditorState, newContentState); const updatedSelection = updateSelection(this.getSelection(), nextBlocks, 2); - this.setState({ editorState: EditorState.acceptSelection(newEditorState, updatedSelection) }); this.sendData(newEditorState); + this.setState({ editorState: EditorState.acceptSelection(newEditorState, updatedSelection) }); }) .catch(() => { this.setState({ editorState: EditorState.undo(this.getEditorState()) });