diff --git a/src/component/handlers/composition/DraftEditorCompositionHandler.js b/src/component/handlers/composition/DraftEditorCompositionHandler.js index 8b459d347c..dd201ade79 100644 --- a/src/component/handlers/composition/DraftEditorCompositionHandler.js +++ b/src/component/handlers/composition/DraftEditorCompositionHandler.js @@ -225,7 +225,7 @@ const DraftEditorCompositionHandler = { editor.restoreEditorDOM(); - const editorStateWithUpdatedSelection = EditorState.acceptSelection( + const editorStateWithUpdatedSelection = EditorState.forceSelection( editorState, compositionEndSelectionState, );