@ones-editor/editor 2.8.19 → 2.8.20
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
|
@@ -53442,6 +53442,11 @@ ${codeText}
|
|
|
53442
53442
|
linkElement.href = getLinkHref(child);
|
|
53443
53443
|
linkElement.target = "_blank";
|
|
53444
53444
|
linkElement.rel = "noopener noreferrer";
|
|
53445
|
+
linkElement.onclick = (event) => {
|
|
53446
|
+
event.preventDefault();
|
|
53447
|
+
event.stopPropagation();
|
|
53448
|
+
editor.emit("clickLink", editor, event, linkElement);
|
|
53449
|
+
};
|
|
53445
53450
|
commands = [{
|
|
53446
53451
|
id: "link-text",
|
|
53447
53452
|
name: getLinkHref(child),
|
|
@@ -93064,7 +93069,7 @@ ${data2.plantumlText}
|
|
|
93064
93069
|
}
|
|
93065
93070
|
}
|
|
93066
93071
|
});
|
|
93067
|
-
editor.version = "2.8.
|
|
93072
|
+
editor.version = "2.8.20";
|
|
93068
93073
|
return editor;
|
|
93069
93074
|
}
|
|
93070
93075
|
function isDoc(doc2) {
|
|
@@ -93177,7 +93182,7 @@ ${data2.plantumlText}
|
|
|
93177
93182
|
}
|
|
93178
93183
|
});
|
|
93179
93184
|
OnesEditorToolbar.register(editor);
|
|
93180
|
-
editor.version = "2.8.
|
|
93185
|
+
editor.version = "2.8.20";
|
|
93181
93186
|
return editor;
|
|
93182
93187
|
}
|
|
93183
93188
|
async function showDocVersions(editor, options, serverUrl) {
|