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/15760
Vanessae91a37a98b96
diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.tsindex 608166814b..55e66570a3 100644--- a/app/src/plugin/API.ts+++ b/app/src/plugin/API.ts@@ -245,6 +245,9 @@ const getActiveEditor = (wndActive = true) => {}/// #elseeditor = window.siyuan.mobile.popEditor || window.siyuan.mobile.editor;+ if (editor?.protyle.element.classList.contains("fn__none")) {+ return undefined;+ }/// #endifreturn editor;};