@ones-editor/editor 1.1.18-beta.4 → 1.1.18-beta.6
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
|
@@ -22831,7 +22831,7 @@ var __publicField = (obj, key, value) => {
|
|
|
22831
22831
|
if (elem.nodeType === 3) {
|
|
22832
22832
|
elem = elem.parentElement;
|
|
22833
22833
|
}
|
|
22834
|
-
return !!(elem == null ? void 0 : elem.closest("div[data-command-bar-id]"));
|
|
22834
|
+
return !!(elem == null ? void 0 : elem.closest("div[data-command-bar-id]")) || !!(elem == null ? void 0 : elem.closest("[data-keep-editor-focus]"));
|
|
22835
22835
|
}
|
|
22836
22836
|
destroy() {
|
|
22837
22837
|
this.callbacks.destroy();
|
|
@@ -77124,7 +77124,7 @@ ${data.flowchartText}
|
|
|
77124
77124
|
}
|
|
77125
77125
|
}
|
|
77126
77126
|
});
|
|
77127
|
-
editor.version = "1.1.18-beta.
|
|
77127
|
+
editor.version = "1.1.18-beta.6";
|
|
77128
77128
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
77129
77129
|
window.setReauthFail = (fail) => {
|
|
77130
77130
|
window.isReauthError = fail;
|
|
@@ -77212,7 +77212,7 @@ ${data.flowchartText}
|
|
|
77212
77212
|
});
|
|
77213
77213
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
77214
77214
|
OnesEditorToolbar.register(editor);
|
|
77215
|
-
editor.version = "1.1.18-beta.
|
|
77215
|
+
editor.version = "1.1.18-beta.6";
|
|
77216
77216
|
return editor;
|
|
77217
77217
|
}
|
|
77218
77218
|
async function showDocVersions(editor, options, serverUrl) {
|