@lvce-editor/editor-worker 19.29.8 → 19.29.9
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/editorWorkerMain.js +1 -4
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -11384,10 +11384,7 @@ const getSelections2 = editorUid => {
|
|
|
11384
11384
|
};
|
|
11385
11385
|
const setSelections2 = async (editorUid, selections) => {
|
|
11386
11386
|
const editor = getEditor$1(editorUid);
|
|
11387
|
-
const newEditor =
|
|
11388
|
-
...editor,
|
|
11389
|
-
selections
|
|
11390
|
-
};
|
|
11387
|
+
const newEditor = setSelections$2(editor, selections);
|
|
11391
11388
|
const newEditorWithDerivedState = await updateDerivedState(editor, newEditor);
|
|
11392
11389
|
set$8(editorUid, editor, newEditorWithDerivedState);
|
|
11393
11390
|
};
|