From 43b18ad7506629452ef7bcaaf8530cd85d298687 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 13 Jun 2024 10:51:47 +0800 Subject: [PATCH] :bug: https://github.com/siyuan-note/siyuan/issues/11709 --- app/src/block/popover.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/src/block/popover.ts b/app/src/block/popover.ts index 687de31fa..41c709e2c 100644 --- a/app/src/block/popover.ts +++ b/app/src/block/popover.ts @@ -70,7 +70,12 @@ export const initBlockPopover = (app: App) => { } if (tip && !aElement.classList.contains("b3-tooltips")) { // https://github.com/siyuan-note/siyuan/issues/11294 - showTooltip(decodeURIComponent(tip), aElement); + try { + showTooltip(decodeURIComponent(tip), aElement); + } catch (e) { + // https://ld246.com/article/1718235737991 + showTooltip(tip, aElement); + } event.stopPropagation(); } else { hideTooltip();