@lvce-editor/editor-worker 1.5.0 → 1.5.1

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.
@@ -7450,12 +7450,12 @@ const renderEditor = async id => {
7450
7450
  newState
7451
7451
  } = instance;
7452
7452
  const commands = [];
7453
+ set$6(id, newState, newState);
7453
7454
  for (const item of render) {
7454
7455
  if (!item.isEqual(oldState, newState)) {
7455
7456
  commands.push(await item.apply(oldState, newState));
7456
7457
  }
7457
7458
  }
7458
- set$6(id, newState, newState);
7459
7459
  return commands;
7460
7460
  };
7461
7461
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "",
5
5
  "main": "dist/testWorkerMain.js",
6
6
  "type": "module",