@lvce-editor/editor-worker 7.1.0 → 7.2.0

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.
@@ -1132,14 +1132,14 @@ const getModule$2 = id => {
1132
1132
  const applyWidgetChange = async (editor, widget, changes) => {
1133
1133
  const module = getModule$2(widget.id);
1134
1134
  if (changes.length === 1 && changes[0].origin === EditorType && module.handleEditorType) {
1135
- const newState = await module.handleEditorType(editor, widget.newState);
1135
+ const newState = await module.handleEditorType(widget.newState);
1136
1136
  return {
1137
1137
  ...widget,
1138
1138
  newState
1139
1139
  };
1140
1140
  }
1141
1141
  if (changes.length === 1 && changes[0].origin === DeleteLeft && module.handleEditorDeleteLeft) {
1142
- const newState = await module.handleEditorDeleteLeft(editor, widget.newState);
1142
+ const newState = await module.handleEditorDeleteLeft(widget.newState);
1143
1143
  return {
1144
1144
  ...widget,
1145
1145
  newState
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "7.1.0",
3
+ "version": "7.2.0",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "Lvce Editor",