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: Improve outline dnd https://github.com/siyuan-note/siyuan/issues/10828
Daniele4fe17853c8e
diff --git a/kernel/model/outline.go b/kernel/model/outline.goindex 74a088d35f..047e6d6d2a 100644--- a/kernel/model/outline.go+++ b/kernel/model/outline.go@@ -189,7 +189,7 @@ func (tx *Transaction) doMoveOutlineHeading(operation *Operation) (ret *TxErr) {heading.HeadingLevel = firstHeading.HeadingLevelfirstHeading.InsertBefore(heading)- for i := 0; i < len(headingChildren)-1; i++ {+ for i := 0; i < len(headingChildren); i++ {child := headingChildren[i]if ast.NodeHeading == child.Type {child.HeadingLevel -= diffLevel