@ones-editor/editor 1.0.2-beta.15 → 1.0.2-beta.16

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
@@ -57349,8 +57349,8 @@ ${codeText}
57349
57349
  return isCursorInEditor && (this.isInMenu(event) || isTargetInRootContainer);
57350
57350
  });
57351
57351
  __publicField(this, "handleContextMenuShown", async () => {
57352
- const editorToolBar = this.editor.getCustom("toolbar-handler");
57353
- if (editorToolBar) {
57352
+ if (this.editor.findCustom("toolbar-handler")) {
57353
+ const editorToolBar = this.editor.getCustom("toolbar-handler");
57354
57354
  editorToolBar.hide();
57355
57355
  }
57356
57356
  const items = await this.contextMenuCommandItems.getCommandItems();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "1.0.2-beta.15",
3
+ "version": "1.0.2-beta.16",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",