diff --git a/src/index.tsx b/src/index.tsx index 5875c77b..3ec4afb8 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -284,8 +284,8 @@ class ReactQuill extends React.Component { delete this.regenerationSnapshot; this.instantiateEditor(); editor.setContents(delta); + // NOTE: The editor will also set focus iff selection is non-null. if (selection) editor.setSelection(selection); - editor.focus(); } }