@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/dist/index.js CHANGED
@@ -69026,26 +69026,13 @@ ${codeText}
69026
69026
  if (!isTextKindBlock(editor, focusedBlock) && !isAllContainersSelected(editor)) {
69027
69027
  return [];
69028
69028
  }
69029
- if (range.isSimple()) {
69030
- return [{
69031
- id: "add-comment-to-old-doc/text",
69032
- name: i18n$1.t("comment.quickMenuCommand"),
69033
- icon: CommentIcon$1,
69034
- groupOrder: 200,
69035
- order: 110
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.13";
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.13";
88215
+ editor.version = "2.1.2-beta.14";
88229
88216
  return editor;
88230
88217
  }
88231
88218
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.1.2-beta.13",
3
+ "version": "2.1.2-beta.14",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",