@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/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.64";
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.64";
96048
+ editor.version = "2.9.8-beta.65";
96040
96049
  return editor;
96041
96050
  }
96042
96051
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.9.8-beta.64",
3
+ "version": "2.9.8-beta.65",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {