@ones-editor/editor 2.8.32 → 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
|
@@ -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.
|
|
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.
|
|
93916
|
+
editor.version = "2.8.33";
|
|
93913
93917
|
return editor;
|
|
93914
93918
|
}
|
|
93915
93919
|
async function showDocVersions(editor, options, serverUrl) {
|