From b27bdb0027dbd88047e0181ea1c5de91272ac8b3 Mon Sep 17 00:00:00 2001 From: Chris LaFreniere <40371649+chlafreniere@users.noreply.github.com> Date: Wed, 1 Sep 2021 17:24:06 -0700 Subject: [PATCH] Add tooltip for WYSIWYG callout link (#16967) --- .../notebook/browser/cellViews/markdownToolbar.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/workbench/contrib/notebook/browser/cellViews/markdownToolbar.component.ts b/src/sql/workbench/contrib/notebook/browser/cellViews/markdownToolbar.component.ts index e1eb166416..fe98188416 100644 --- a/src/sql/workbench/contrib/notebook/browser/cellViews/markdownToolbar.component.ts +++ b/src/sql/workbench/contrib/notebook/browser/cellViews/markdownToolbar.component.ts @@ -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, `${escape(linkCalloutResult?.insertUnescapedLinkLabel)}`); + document.execCommand('insertHTML', false, `${escape(linkCalloutResult?.insertUnescapedLinkLabel)}`); return; } } else if (type === MarkdownButtonType.IMAGE_PREVIEW) {