mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 09:35:37 -05:00
Add tooltip for WYSIWYG callout link (#16967)
This commit is contained in:
@@ -244,7 +244,7 @@ export class MarkdownToolbarComponent extends AngularDisposable {
|
||||
let linkUrl = notebookLink.getLinkUrl();
|
||||
// Otherwise, re-focus on the output element, and insert the link directly.
|
||||
this.output?.nativeElement?.focus();
|
||||
document.execCommand('insertHTML', false, `<a href="${escape(linkUrl)}" is-absolute=${notebookLink.isAbsolutePath}>${escape(linkCalloutResult?.insertUnescapedLinkLabel)}</a>`);
|
||||
document.execCommand('insertHTML', false, `<a href="${escape(linkUrl)}" title="${escape(linkUrl)}" is-absolute=${notebookLink.isAbsolutePath}>${escape(linkCalloutResult?.insertUnescapedLinkLabel)}</a>`);
|
||||
return;
|
||||
}
|
||||
} else if (type === MarkdownButtonType.IMAGE_PREVIEW) {
|
||||
|
||||
Reference in New Issue
Block a user