@ones-editor/editor 3.0.12-beta.1 → 3.0.12-beta.2

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
@@ -41793,7 +41793,9 @@ ${codeText}
41793
41793
  }
41794
41794
  }
41795
41795
  if (item.element) {
41796
- return;
41796
+ if (!item.useDefaultClickHandler) {
41797
+ return;
41798
+ }
41797
41799
  }
41798
41800
  this.emit("click", this, item, elem);
41799
41801
  if (item.clickToClose === false) {
@@ -88599,7 +88601,8 @@ ${data2.flowchartText}
88599
88601
  group: "common",
88600
88602
  order: 600,
88601
88603
  subText: getShortcutById("insert-drawio"),
88602
- element
88604
+ element,
88605
+ useDefaultClickHandler: true
88603
88606
  }],
88604
88607
  handleInsertEmptyEmbed: async (editor2, options) => {
88605
88608
  var _a2, _b;
@@ -96847,7 +96850,7 @@ ${JSON.stringify(error2, null, 2)}`);
96847
96850
  }
96848
96851
  }
96849
96852
  });
96850
- editor.version = "3.0.12-beta.1";
96853
+ editor.version = "3.0.12-beta.2";
96851
96854
  return editor;
96852
96855
  }
96853
96856
  function isDoc(doc2) {
@@ -96981,7 +96984,7 @@ ${JSON.stringify(error2, null, 2)}`);
96981
96984
  OnesEditorDropTarget.register(editor);
96982
96985
  OnesEditorTocProvider.register(editor);
96983
96986
  OnesEditorExclusiveBlock.register(editor);
96984
- editor.version = "3.0.12-beta.1";
96987
+ editor.version = "3.0.12-beta.2";
96985
96988
  return editor;
96986
96989
  }
96987
96990
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "3.0.12-beta.1",
3
+ "version": "3.0.12-beta.2",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {