@ones-editor/editor 2.9.8-beta.64 → 2.9.8-beta.65
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/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +11 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -94753,6 +94753,15 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
94753
94753
|
});
|
|
94754
94754
|
this.children = children;
|
|
94755
94755
|
subBar.updateItems(this.children);
|
|
94756
|
+
} else if (focusBlock.closest('[data-block-type="layout"]')) {
|
|
94757
|
+
const children = this.allChildren.filter((c) => {
|
|
94758
|
+
if (c.id === "insert-layout") {
|
|
94759
|
+
return false;
|
|
94760
|
+
}
|
|
94761
|
+
return true;
|
|
94762
|
+
});
|
|
94763
|
+
this.children = children;
|
|
94764
|
+
subBar.updateItems(this.children);
|
|
94756
94765
|
} else {
|
|
94757
94766
|
this.children = this.allChildren;
|
|
94758
94767
|
subBar.updateItems(this.children);
|
|
@@ -95902,7 +95911,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95902
95911
|
}
|
|
95903
95912
|
}
|
|
95904
95913
|
});
|
|
95905
|
-
editor.version = "2.9.8-beta.
|
|
95914
|
+
editor.version = "2.9.8-beta.65";
|
|
95906
95915
|
return editor;
|
|
95907
95916
|
}
|
|
95908
95917
|
function isDoc(doc2) {
|
|
@@ -96036,7 +96045,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
96036
96045
|
OnesEditorDropTarget.register(editor);
|
|
96037
96046
|
OnesEditorTocProvider.register(editor);
|
|
96038
96047
|
OnesEditorExclusiveBlock.register(editor);
|
|
96039
|
-
editor.version = "2.9.8-beta.
|
|
96048
|
+
editor.version = "2.9.8-beta.65";
|
|
96040
96049
|
return editor;
|
|
96041
96050
|
}
|
|
96042
96051
|
async function showDocVersions(editor, options, serverUrl) {
|