Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/11465

Vanessa19a601a065cd
diff --git a/app/src/block/popover.ts b/app/src/block/popover.ts
index 1ec22bd3d6..37bd894a11 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 = `<span style="word-break: break-all">${tip}</span><br>${aElement.getAttribute("data-name")}`;
+ tip = `<span style="word-break: break-all">${tip.substring(0, Constants.SIZE_TITLE)}</span><br>${aElement.getAttribute("data-name")}`;
}
if (!tip) {
const href = aElement.getAttribute("data-href") || "";