diff --git a/.gitignore b/.gitignore index 917fa579c1..edcf5388c2 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,6 @@ spec/**/*.js npm-debug.log index.html yarn-error.log -yarn.lock # VIM related files *.swo diff --git a/scripts/core/editor3/reducers/find-replace.tsx b/scripts/core/editor3/reducers/find-replace.tsx index 027f9484cd..fcc76499b8 100644 --- a/scripts/core/editor3/reducers/find-replace.tsx +++ b/scripts/core/editor3/reducers/find-replace.tsx @@ -176,7 +176,7 @@ const render = (state) => { }); if (changedContent) { - editorState = quietPush(editorState, newContent); + editorState = EditorState.push(editorState, newContent, 'insert-characters'); } return {...state, editorState};