Skip to content

Commit

Permalink
tray plugin compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jaanonim committed Jan 30, 2024
1 parent 4bc8601 commit b76eda6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/LinkPreviewEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ class LinkTooltip extends WidgetType {
toDOM(view: EditorView): HTMLElement {
const el = document.createElement("a");
el.href = this.url;
el.target = "_blank";
el.innerHTML = this.text;

LinkPreviewManager.processLink(el);
Expand Down

0 comments on commit b76eda6

Please sign in to comment.