@ones-editor/editor 2.8.14-beta.2 → 2.8.14-beta.4
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
|
@@ -26196,7 +26196,7 @@ var __publicField = (obj, key, value) => {
|
|
|
26196
26196
|
const y1 = rect.y < 0 ? 0 : rect.y;
|
|
26197
26197
|
const x2 = rect.right > window.innerWidth ? window.innerWidth : rect.right;
|
|
26198
26198
|
const mobileClient = editor.options.componentsOptions.mobile;
|
|
26199
|
-
const innerHeight = clientType.isMobile ? mobileClient.getViewPortHeight() : window.innerHeight;
|
|
26199
|
+
const innerHeight = mobileClient && clientType.isMobile ? mobileClient.getViewPortHeight() : window.innerHeight;
|
|
26200
26200
|
const y2 = rect.bottom > innerHeight ? innerHeight : rect.bottom;
|
|
26201
26201
|
return new DOMRect(x1, y1, x2 - x1, y2 - y1);
|
|
26202
26202
|
}
|
|
@@ -86730,7 +86730,7 @@ ${data2.plantumlText}
|
|
|
86730
86730
|
this.editor.removeListener("selectionChanged", this.handleSelectionChange);
|
|
86731
86731
|
this.editor.removeListener("docChanged", this.handleSelectionChange);
|
|
86732
86732
|
document.removeEventListener("touchstart", this.handleTouchStart);
|
|
86733
|
-
document.removeEventListener("touchend", this.handleTouchEnd);
|
|
86733
|
+
document.removeEventListener("touchend", this.handleTouchEnd, { capture: true });
|
|
86734
86734
|
document.removeEventListener("touchmove", this.handleTouchMove);
|
|
86735
86735
|
this.mobileEmbedMask.destroy();
|
|
86736
86736
|
this.cursorToolbar.destroy();
|
|
@@ -92739,7 +92739,7 @@ ${data2.plantumlText}
|
|
|
92739
92739
|
}
|
|
92740
92740
|
}
|
|
92741
92741
|
});
|
|
92742
|
-
editor.version = "2.8.14-beta.
|
|
92742
|
+
editor.version = "2.8.14-beta.4";
|
|
92743
92743
|
return editor;
|
|
92744
92744
|
}
|
|
92745
92745
|
function isDoc(doc2) {
|
|
@@ -92852,7 +92852,7 @@ ${data2.plantumlText}
|
|
|
92852
92852
|
}
|
|
92853
92853
|
});
|
|
92854
92854
|
OnesEditorToolbar.register(editor);
|
|
92855
|
-
editor.version = "2.8.14-beta.
|
|
92855
|
+
editor.version = "2.8.14-beta.4";
|
|
92856
92856
|
return editor;
|
|
92857
92857
|
}
|
|
92858
92858
|
async function showDocVersions(editor, options, serverUrl) {
|