slate-react 0.107.0 → 0.107.1-20240715193046
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +0 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/plugin/react-editor.d.ts.map +1 -1
- package/dist/slate-react.js +0 -1
- package/dist/slate-react.min.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -568,7 +568,6 @@ var ReactEditor = {
|
|
|
568
568
|
// Create a new selection in the top of the document if missing
|
|
569
569
|
if (!editor.selection) {
|
|
570
570
|
Transforms.select(editor, Editor.start(editor, []));
|
|
571
|
-
editor.onChange();
|
|
572
571
|
}
|
|
573
572
|
// IS_FOCUSED should be set before calling el.focus() to ensure that
|
|
574
573
|
// FocusedContext is updated to the correct value
|