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: Hide tooltips while dragging blocks https://github.com/siyuan-note/siyuan/issues/18783
Daniel5a84f8a62243
diff --git a/app/src/boot/globalEvent/event.ts b/app/src/boot/globalEvent/event.tsindex 8c87b7a635..0b5d696e08 100644--- a/app/src/boot/globalEvent/event.ts+++ b/app/src/boot/globalEvent/event.ts@@ -93,7 +93,10 @@ export const initWindowEvent = (app: App) => {}, true);let scrollTarget: HTMLElement | false;- window.addEventListener("dragstart", clearDragTipGhost, true);+ window.addEventListener("dragstart", () => {+ clearDragTipGhost();+ hideTooltip();+ }, true);window.addEventListener("dragover", (event: DragEvent & { target: HTMLElement }) => {const isDocumentTab = event.dataTransfer.types.includes(Constants.SIYUAN_DROP_DOCUMENT_TAB);const tabBarElement = hasClosestByClassName(event.target, "layout-tab-bar");