@ones-editor/editor 2.1.1-beta.4 → 2.1.1-beta.5
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
|
@@ -56326,7 +56326,7 @@ $$${mathData.mathjaxText}$$
|
|
|
56326
56326
|
}
|
|
56327
56327
|
showTextToolbar(reason) {
|
|
56328
56328
|
var _a, _b;
|
|
56329
|
-
|
|
56329
|
+
let commands = [];
|
|
56330
56330
|
const range = this.editor.selection.range;
|
|
56331
56331
|
this.providers.forEach((provider) => {
|
|
56332
56332
|
if (provider.getTextCommands) {
|
|
@@ -56367,6 +56367,7 @@ $$${mathData.mathjaxText}$$
|
|
|
56367
56367
|
this.toolbar.close("selectionChange");
|
|
56368
56368
|
return;
|
|
56369
56369
|
}
|
|
56370
|
+
commands = this.groupCommands(commands);
|
|
56370
56371
|
this.toolbar.updateItems(commands);
|
|
56371
56372
|
const lastBlock2 = selectedBlocks[selectedBlocks.length - 1];
|
|
56372
56373
|
const reverseToolbar = !this.editor.selection.range.isReverse() && lastBlock2 !== firstBlock;
|
|
@@ -83166,7 +83167,7 @@ ${data2.flowchartText}
|
|
|
83166
83167
|
}
|
|
83167
83168
|
}
|
|
83168
83169
|
});
|
|
83169
|
-
editor.version = "2.1.1-beta.
|
|
83170
|
+
editor.version = "2.1.1-beta.5";
|
|
83170
83171
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
83171
83172
|
window.setReauthFail = (fail) => {
|
|
83172
83173
|
window.isReauthError = fail;
|
|
@@ -83261,7 +83262,7 @@ ${data2.flowchartText}
|
|
|
83261
83262
|
if (!clientType.isMobile) {
|
|
83262
83263
|
OnesEditorToolbar.register(editor);
|
|
83263
83264
|
}
|
|
83264
|
-
editor.version = "2.1.1-beta.
|
|
83265
|
+
editor.version = "2.1.1-beta.5";
|
|
83265
83266
|
return editor;
|
|
83266
83267
|
}
|
|
83267
83268
|
async function showDocVersions(editor, options, serverUrl) {
|