@ones-editor/editor 2.1.2-beta.11 → 2.1.2-beta.12

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
@@ -65322,12 +65322,6 @@ ${codeText}
65322
65322
  id: "edit",
65323
65323
  name: i18n$1.t("embedProperties.edit"),
65324
65324
  icon: EditIcon
65325
- }, {
65326
- id: "add-comment",
65327
- name: i18n$1.t("embedProperties.addComment"),
65328
- icon: CommentIcon$1,
65329
- groupOrder: 1e3,
65330
- order: 100
65331
65325
  }, {
65332
65326
  id: "separator",
65333
65327
  name: "",
@@ -82605,7 +82599,7 @@ ${content}
82605
82599
  }
82606
82600
  function getBlockProperties$5(editor, block) {
82607
82601
  const properties = getStandardEmbedBlockProperties(editor, block, {
82608
- presetIds: ["add-comment"],
82602
+ presetIds: [],
82609
82603
  extCommands: editor.readonly ? [] : [{
82610
82604
  id: "refresh",
82611
82605
  name: i18n$1.t("webpage.command.refresh"),
@@ -83421,7 +83415,7 @@ ${content}
83421
83415
  }];
83422
83416
  },
83423
83417
  presetIds: ["edit"],
83424
- extIds: ["separator", "add-comment"]
83418
+ extIds: ["separator"]
83425
83419
  });
83426
83420
  return { ...properties, abstract: i18n$1.t("drawio.abstract") };
83427
83421
  }
@@ -83657,7 +83651,7 @@ ${content}
83657
83651
  class GraphBlockCommands {
83658
83652
  constructor(graphType, properties) {
83659
83653
  __publicField(this, "presetIds", ["edit"]);
83660
- __publicField(this, "extIds", ["separator", "add-comment"]);
83654
+ __publicField(this, "extIds", ["separator"]);
83661
83655
  this.graphType = graphType;
83662
83656
  this.properties = properties;
83663
83657
  }
@@ -87172,7 +87166,7 @@ ${data2.flowchartText}
87172
87166
  }
87173
87167
  }
87174
87168
  });
87175
- editor.version = "2.1.2-beta.11";
87169
+ editor.version = "2.1.2-beta.12";
87176
87170
  if (Logger$2.level === LogLevel.DEBUG) {
87177
87171
  window.setReauthFail = (fail) => {
87178
87172
  window.isReauthError = fail;
@@ -87273,7 +87267,7 @@ ${data2.flowchartText}
87273
87267
  });
87274
87268
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
87275
87269
  OnesEditorToolbar.register(editor);
87276
- editor.version = "2.1.2-beta.11";
87270
+ editor.version = "2.1.2-beta.12";
87277
87271
  return editor;
87278
87272
  }
87279
87273
  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.11",
3
+ "version": "2.1.2-beta.12",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",