@ones-editor/editor 2.1.1-beta.27 → 2.1.1-beta.28
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
|
@@ -56891,15 +56891,15 @@ $$${mathData.mathjaxText}$$
|
|
|
56891
56891
|
return true;
|
|
56892
56892
|
}
|
|
56893
56893
|
}
|
|
56894
|
-
for (const provider of this.quickProviders) {
|
|
56895
|
-
const params2 = { from: "block-menu", containerId, blockIndex };
|
|
56896
|
-
(_d = provider.executeCommand) == null ? void 0 : _d.call(provider, editor, item, params2);
|
|
56897
|
-
}
|
|
56898
56894
|
for (const [id, provider] of this.providersMap) {
|
|
56899
|
-
if ((
|
|
56895
|
+
if ((_d = provider.executeInsertCommand) == null ? void 0 : _d.call(provider, editor, containerId, blockIndex, item, params)) {
|
|
56900
56896
|
return true;
|
|
56901
56897
|
}
|
|
56902
56898
|
}
|
|
56899
|
+
for (const provider of this.quickProviders) {
|
|
56900
|
+
const params2 = { from: "block-menu", containerId, blockIndex };
|
|
56901
|
+
(_e = provider.executeCommand) == null ? void 0 : _e.call(provider, editor, item, params2);
|
|
56902
|
+
}
|
|
56903
56903
|
return false;
|
|
56904
56904
|
});
|
|
56905
56905
|
__publicField(this, "executeCommand", (editor, block, range, item, params) => {
|
|
@@ -84918,7 +84918,7 @@ ${data2.flowchartText}
|
|
|
84918
84918
|
}
|
|
84919
84919
|
}
|
|
84920
84920
|
});
|
|
84921
|
-
editor.version = "2.1.1-beta.
|
|
84921
|
+
editor.version = "2.1.1-beta.28";
|
|
84922
84922
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
84923
84923
|
window.setReauthFail = (fail) => {
|
|
84924
84924
|
window.isReauthError = fail;
|
|
@@ -85015,7 +85015,7 @@ ${data2.flowchartText}
|
|
|
85015
85015
|
});
|
|
85016
85016
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
85017
85017
|
OnesEditorToolbar.register(editor);
|
|
85018
|
-
editor.version = "2.1.1-beta.
|
|
85018
|
+
editor.version = "2.1.1-beta.28";
|
|
85019
85019
|
return editor;
|
|
85020
85020
|
}
|
|
85021
85021
|
async function showDocVersions(editor, options, serverUrl) {
|