@ones-editor/editor 2.1.2-beta.13 → 2.1.2-beta.14
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/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +9 -22
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -69026,26 +69026,13 @@ ${codeText}
|
|
|
69026
69026
|
if (!isTextKindBlock(editor, focusedBlock) && !isAllContainersSelected(editor)) {
|
|
69027
69027
|
return [];
|
|
69028
69028
|
}
|
|
69029
|
-
|
|
69030
|
-
|
|
69031
|
-
|
|
69032
|
-
|
|
69033
|
-
|
|
69034
|
-
|
|
69035
|
-
|
|
69036
|
-
}];
|
|
69037
|
-
}
|
|
69038
|
-
const selectedBlock = range.getSelectedBlocks()[0];
|
|
69039
|
-
if (selectedBlock && getBlockType(selectedBlock.block) === "table") {
|
|
69040
|
-
return [{
|
|
69041
|
-
id: "add-comment-to-old-doc/text",
|
|
69042
|
-
name: i18n$1.t("comment.quickMenuCommand"),
|
|
69043
|
-
icon: CommentIcon$1,
|
|
69044
|
-
groupOrder: 200,
|
|
69045
|
-
order: 110
|
|
69046
|
-
}];
|
|
69047
|
-
}
|
|
69048
|
-
return [];
|
|
69029
|
+
return [{
|
|
69030
|
+
id: "add-comment-to-old-doc/text",
|
|
69031
|
+
name: i18n$1.t("comment.quickMenuCommand"),
|
|
69032
|
+
icon: CommentIcon$1,
|
|
69033
|
+
groupOrder: 200,
|
|
69034
|
+
order: 110
|
|
69035
|
+
}];
|
|
69049
69036
|
}
|
|
69050
69037
|
executeCommand(editor, command, options) {
|
|
69051
69038
|
if (command.id === "add-comment-to-old-doc/text") {
|
|
@@ -88124,7 +88111,7 @@ ${data2.flowchartText}
|
|
|
88124
88111
|
}
|
|
88125
88112
|
}
|
|
88126
88113
|
});
|
|
88127
|
-
editor.version = "2.1.2-beta.
|
|
88114
|
+
editor.version = "2.1.2-beta.14";
|
|
88128
88115
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
88129
88116
|
window.setReauthFail = (fail) => {
|
|
88130
88117
|
window.isReauthError = fail;
|
|
@@ -88225,7 +88212,7 @@ ${data2.flowchartText}
|
|
|
88225
88212
|
});
|
|
88226
88213
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
88227
88214
|
OnesEditorToolbar.register(editor);
|
|
88228
|
-
editor.version = "2.1.2-beta.
|
|
88215
|
+
editor.version = "2.1.2-beta.14";
|
|
88229
88216
|
return editor;
|
|
88230
88217
|
}
|
|
88231
88218
|
async function showDocVersions(editor, options, serverUrl) {
|