@ones-editor/editor 2.0.7-beta.19 → 2.0.7-beta.20

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
@@ -24014,7 +24014,7 @@ var __publicField = (obj, key, value) => {
24014
24014
  input2.addEventListener("compositionstart", this.handleCompositionstart);
24015
24015
  input2.addEventListener("compositionend", this.handleCompositionend);
24016
24016
  this.inputElement = input2;
24017
- document.addEventListener("click", this.handleDocumentClick, { capture: true });
24017
+ document.addEventListener("mousedown", this.handleDocumentClick);
24018
24018
  document.addEventListener("selectionchange", this.handleDocumentSelectionChange);
24019
24019
  this.editor.addListener("selectionChanged", this.handleEditorSelectionChanged);
24020
24020
  this.editor.addListener("readonlyChanged", this.handleReadonlyChanged);
@@ -24033,7 +24033,7 @@ var __publicField = (obj, key, value) => {
24033
24033
  }
24034
24034
  destroy() {
24035
24035
  this.callbacks.destroy();
24036
- document.removeEventListener("click", this.handleDocumentClick, { capture: true });
24036
+ document.removeEventListener("mousedown", this.handleDocumentClick);
24037
24037
  document.removeEventListener("selectionchange", this.handleDocumentSelectionChange);
24038
24038
  this.editor.removeListener("selectionChanged", this.handleEditorSelectionChanged);
24039
24039
  this.editor.removeListener("readonlyChanged", this.handleReadonlyChanged);
@@ -82315,7 +82315,7 @@ ${data2.flowchartText}
82315
82315
  }
82316
82316
  }
82317
82317
  });
82318
- editor.version = "2.0.7-beta.19";
82318
+ editor.version = "2.0.7-beta.20";
82319
82319
  if (Logger$2.level === LogLevel.DEBUG) {
82320
82320
  window.setReauthFail = (fail) => {
82321
82321
  window.isReauthError = fail;
@@ -82409,7 +82409,7 @@ ${data2.flowchartText}
82409
82409
  if (!clientType.isMobile) {
82410
82410
  OnesEditorToolbar.register(editor);
82411
82411
  }
82412
- editor.version = "2.0.7-beta.19";
82412
+ editor.version = "2.0.7-beta.20";
82413
82413
  return editor;
82414
82414
  }
82415
82415
  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.0.7-beta.19",
3
+ "version": "2.0.7-beta.20",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",