@ones-editor/editor 2.8.31 → 2.8.33

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
@@ -62035,17 +62035,17 @@ $$${mathData.mathjaxText}$$
62035
62035
  },
62036
62036
  link: {
62037
62037
  textLabel: "\u6587\u672C",
62038
- urlLabel: "\u93C8\u63A5\u5730\u5740",
62038
+ urlLabel: "\u9023\u7D50\u5730\u5740",
62039
62039
  textPlaceholder: "\u8ACB\u8F38\u5165\u6587\u672C",
62040
- urlPlaceholder: "\u8ACB\u8F38\u5165\u93C8\u63A5\u5730\u5740",
62040
+ urlPlaceholder: "\u8ACB\u8F38\u5165\u9023\u7D50\u5730\u5740",
62041
62041
  mobileTextPlaceholder: "\u8ACB\u8F38\u5165\u6587\u672C",
62042
- mobileUrlPlaceholder: "\u8ACB\u8F38\u5165\u93C8\u63A5\u5730\u5740",
62042
+ mobileUrlPlaceholder: "\u8ACB\u8F38\u5165\u9023\u7D50\u5730\u5740",
62043
62043
  submitText: "\u78BA\u5B9A",
62044
62044
  cancelText: "\u53D6\u6D88",
62045
62045
  edit: "\u7DE8\u8F2F",
62046
- remove: "\u53D6\u6D88\u93C8\u63A5",
62047
- title: "\u63D2\u5165\u93C8\u63A5",
62048
- openLink: "\u6253\u958B\u93C8\u63A5"
62046
+ remove: "\u53D6\u6D88\u9023\u7D50",
62047
+ title: "\u63D2\u5165\u9023\u7D50",
62048
+ openLink: "\u6253\u958B\u9023\u7D50"
62049
62049
  },
62050
62050
  commands: {
62051
62051
  unordered: "\u7121\u5E8F\u5217\u8868",
@@ -69098,6 +69098,9 @@ ${codeText}
69098
69098
  okButton.disabled = false;
69099
69099
  }
69100
69100
  });
69101
+ __publicField(this, "handleClickLink", (editor, event, link2) => {
69102
+ this.options.mainEditor.emit("clickLink", editor, event, link2);
69103
+ });
69101
69104
  __publicField(this, "getCommentEditor", () => this.components.commentEditor);
69102
69105
  __publicField(this, "handleReadonlyChanged", (editor) => {
69103
69106
  if (editor.readonly) {
@@ -69168,6 +69171,7 @@ ${codeText}
69168
69171
  const commentEditor = new CommentEditor(editor, commentsProvider, this.doc);
69169
69172
  commentEditor.editor.addListener("readonlyChanged", this.handleEditorReadonlyChange);
69170
69173
  commentEditor.editor.addListener("docChanged", this.handleDocChanged);
69174
+ commentEditor.editor.addListener("clickLink", this.handleClickLink);
69171
69175
  commentEditor.editor.addListener("focus", this.handleFocus);
69172
69176
  commentEditor.editor.input.addHandler(new CommentEditorInputHandler(commentsProvider, groupItem, this));
69173
69177
  commentEditorContainer.append(commentEditor.root);
@@ -93796,7 +93800,7 @@ ${data2.plantumlText}
93796
93800
  }
93797
93801
  }
93798
93802
  });
93799
- editor.version = "2.8.31";
93803
+ editor.version = "2.8.33";
93800
93804
  return editor;
93801
93805
  }
93802
93806
  function isDoc(doc2) {
@@ -93909,7 +93913,7 @@ ${data2.plantumlText}
93909
93913
  }
93910
93914
  });
93911
93915
  OnesEditorToolbar.register(editor);
93912
- editor.version = "2.8.31";
93916
+ editor.version = "2.8.33";
93913
93917
  return editor;
93914
93918
  }
93915
93919
  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.8.31",
3
+ "version": "2.8.33",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {