An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/18472
Vanessa2d60633047c6
diff --git a/app/src/block/popover.ts b/app/src/block/popover.tsindex 3752742583..c45ea1667d 100644--- a/app/src/block/popover.ts+++ b/app/src/block/popover.ts@@ -301,8 +301,17 @@ export const initBlockPopover = (app: App) => {clearTimeout(penTimeoutHide);}};+ const handlePenPointerDown = (event: PointerEvent & { path: HTMLElement[] }) => {+ if (event.pointerType !== "pen") {+ return;+ }+ cancelPenHover(event);+ if (window.siyuan.menus) {+ hidePopover(event);+ }+ };document.addEventListener("pointerout", cancelPenHover, {capture: true, passive: true});- document.addEventListener("pointerdown", cancelPenHover, {capture: true, passive: true});+ document.addEventListener("pointerdown", handlePenPointerDown, {capture: true, passive: true});document.addEventListener("pointercancel", cancelPenHover, {capture: true, passive: true});}};