@lvce-editor/editor-worker 19.72.8 → 19.72.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.
@@ -15556,6 +15556,7 @@ const getWordAtOffset = editor => {
15556
15556
  return '';
15557
15557
  };
15558
15558
 
15559
+ const applyEditCommand = wrapCommand$1(applyEdit, false, false);
15559
15560
  const getPositionAtCursor = editorUid => {
15560
15561
  const editor = getEditor$1(editorUid);
15561
15562
  return getPositionAtCursor$1(editor);
@@ -15662,10 +15663,7 @@ const closeFind2 = async editorUid => {
15662
15663
  await closeWidget2(editorUid, Find, 'FindWidget', 0);
15663
15664
  };
15664
15665
  const applyEdits2 = async (editorUid, edits, selectionChanges) => {
15665
- const editor = getEditor$1(editorUid);
15666
- const newEditor = await applyEdit(editor, edits, selectionChanges);
15667
- const newEditorWithDerivedState = await updateDerivedState(editor, newEditor);
15668
- set$a(editorUid, editor, newEditorWithDerivedState);
15666
+ await applyEditCommand(editorUid, edits, selectionChanges);
15669
15667
  };
15670
15668
  const getSourceActions = async editorUid => {
15671
15669
  const actions = await getEditorSourceActions(editorUid);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "19.72.8",
3
+ "version": "19.72.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"