diff --git a/src/public/javascripts/services/tooltip.js b/src/public/javascripts/services/tooltip.js index 7a00981fa..f8e01119c 100644 --- a/src/public/javascripts/services/tooltip.js +++ b/src/public/javascripts/services/tooltip.js @@ -13,7 +13,12 @@ function setupTooltip() { return; } - let notePath = linkService.getNotePathFromLink($link.attr("href")); + // this is to avoid showing tooltip from inside CKEditor link editor dialog + if ($link.closest(".ck-link-actions").length) { + return; + } + + let notePath = linkService.getNotePathFromUrl($link.attr("href")); if (!notePath) { notePath = $link.attr("data-note-path");