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/6552
Vanessa4c402b5609bb
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.tsindex 062ccf0f67..aaad002c18 100644--- a/app/src/protyle/util/editorCommonEvent.ts+++ b/app/src/protyle/util/editorCommonEvent.ts@@ -747,8 +747,12 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {}return;}- if (fileTreeIds.indexOf("-") > -1 && !fileTreeIds.split(",").includes(protyle.block.rootID)) {- dragoverElement = targetElement;+ if (fileTreeIds.indexOf("-") > -1) {+ if (fileTreeIds.split(",").includes(protyle.block.rootID)) {+ dragoverElement = undefined;+ } else {+ dragoverElement = targetElement;+ }return;}