@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.
- package/dist/editorWorkerMain.js +1 -1
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -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
|
|