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/13791

Vanessa5d8a899d7e9f
diff --git a/app/src/block/popover.ts b/app/src/block/popover.ts
index e2014f8458..21ec41b681 100644
--- a/app/src/block/popover.ts
+++ b/app/src/block/popover.ts
@@ -400,6 +400,10 @@ export const showPopover = async (app: App, showRef = false) => {
}
}
+ if (refDefs.length === 0) {
+ return;
+ }
+
let hasPin = false;
window.siyuan.blockPanels.find((item) => {
if ((item.targetElement || typeof item.x === "number") && item.element.getAttribute("data-pin") === "true"