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/10828
Vanessacebeba34ca15
diff --git a/app/src/layout/dock/Outline.ts b/app/src/layout/dock/Outline.tsindex 2826f28eff..bf3da58628 100644--- a/app/src/layout/dock/Outline.ts+++ b/app/src/layout/dock/Outline.ts@@ -298,6 +298,9 @@ export class Outline extends Model {} else {previousID = selectItem.previousElementSibling?.getAttribute("data-node-id");}+ if (previousID === item.dataset.nodeId || parentID === item.dataset.nodeId) {+ return true;+ }selectItem.before(item);} else if (selectItem.classList.contains("dragover__bottom")) {previousID = selectItem.getAttribute("data-node-id");