From 19a601a065cddd44978dba1a61c56f34855ac8ee Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 17 Jun 2024 10:00:42 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11465 --- app/src/block/popover.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/block/popover.ts b/app/src/block/popover.ts index 1ec22bd3d..37bd894a1 100644 --- a/app/src/block/popover.ts +++ b/app/src/block/popover.ts @@ -44,7 +44,7 @@ export const initBlockPopover = (app: App) => { } } } else if (aElement.classList.contains("av__celltext--url")) { - tip = `${tip}
${aElement.getAttribute("data-name")}`; + tip = `${tip.substring(0, Constants.SIZE_TITLE)}
${aElement.getAttribute("data-name")}`; } if (!tip) { const href = aElement.getAttribute("data-href") || "";