@ones-editor/editor 2.2.16-beta.2 → 2.2.16-beta.3

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
@@ -76783,10 +76783,6 @@ ${content}
76783
76783
  if (!options.canDownload) {
76784
76784
  result = result.filter((command) => command.id !== "download");
76785
76785
  }
76786
- const { enableComments = true } = this.editor.options;
76787
- if (!enableComments) {
76788
- result = result.filter((command) => command.id !== "add-comment");
76789
- }
76790
76786
  return result;
76791
76787
  }
76792
76788
  executeCommand(editor, block, item) {
@@ -76818,8 +76814,6 @@ ${content}
76818
76814
  });
76819
76815
  } else if (item.id === "download") {
76820
76816
  downloadFile(editor, block);
76821
- } else if (item.id === "add-comment") {
76822
- addCommentToBlock$1(editor, block);
76823
76817
  }
76824
76818
  }
76825
76819
  }
@@ -88384,7 +88378,7 @@ ${data2.flowchartText}
88384
88378
  }
88385
88379
  }
88386
88380
  });
88387
- editor.version = "2.2.16-beta.2";
88381
+ editor.version = "2.2.16-beta.3";
88388
88382
  return editor;
88389
88383
  }
88390
88384
  function isDoc(doc2) {
@@ -88478,7 +88472,7 @@ ${data2.flowchartText}
88478
88472
  });
88479
88473
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
88480
88474
  OnesEditorToolbar.register(editor);
88481
- editor.version = "2.2.16-beta.2";
88475
+ editor.version = "2.2.16-beta.3";
88482
88476
  return editor;
88483
88477
  }
88484
88478
  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.2.16-beta.2",
3
+ "version": "2.2.16-beta.3",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",