An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Prevent duplicate document tag deletion on mobile https://github.com/siyuan-note/siyuan/issues/18357
Daniel8a82f0aded40
diff --git a/app/src/protyle/header/Background.ts b/app/src/protyle/header/Background.tsindex 7f8e45436c..601f160e3c 100644--- a/app/src/protyle/header/Background.ts+++ b/app/src/protyle/header/Background.ts@@ -522,7 +522,6 @@ export class Background {if (protyle.disabled) return;const target = event.target as HTMLElement;- const isCloseBtn = !!target.closest(".b3-chip__close");let chipElement = target.closest(".b3-chip") as HTMLElement;// 自动定位最近的标签逻辑@@ -637,9 +636,6 @@ export class Background {attrs: {"tags": tagsString}});}- } else if (isCloseBtn) {- // 如果没拖拽且点在关闭按钮上- target.closest(".b3-chip__close").dispatchEvent(new MouseEvent("click", {bubbles: true}));}};