@lvce-editor/editor-worker 17.0.0 → 17.1.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.
- package/dist/editorWorkerMain.js +3 -1
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -1177,6 +1177,8 @@ const OpenerWorker = 4561;
|
|
|
1177
1177
|
const RendererWorker$1 = 1;
|
|
1178
1178
|
const TextMeasurementWorker = 7011;
|
|
1179
1179
|
|
|
1180
|
+
const SetFocusContext$1 = 'Viewlet.setFocusContext';
|
|
1181
|
+
|
|
1180
1182
|
const FocusEditorText$1 = 12;
|
|
1181
1183
|
|
|
1182
1184
|
const rpcs = Object.create(null);
|
|
@@ -11035,7 +11037,7 @@ const renderFocus$1 = {
|
|
|
11035
11037
|
};
|
|
11036
11038
|
const renderFocusContext = {
|
|
11037
11039
|
apply(oldState, newState) {
|
|
11038
|
-
return [
|
|
11040
|
+
return [SetFocusContext$1, newState.uid, newState.focus, 0, newState.uid, 'Editor'];
|
|
11039
11041
|
},
|
|
11040
11042
|
isEqual(oldState, newState) {
|
|
11041
11043
|
return oldState.focus === newState.focus;
|