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: The outline item in the outline panel supports dragging to adjust the level and position https://github.com/siyuan-note/siyuan/issues/7957
Daniel7d6dfc853655
diff --git a/kernel/model/outline.go b/kernel/model/outline.goindex 61cbcce098..9b5725f689 100644--- a/kernel/model/outline.go+++ b/kernel/model/outline.go@@ -54,6 +54,16 @@ func (tx *Transaction) doMoveOutlineHeading(operation *Operation) (ret *TxErr) {})headingChildren := treenode.HeadingChildren(heading)+ var tmp []*ast.Node+ // 过滤掉超级块结束节点+ for _, child := range headingChildren {+ if ast.NodeSuperBlockCloseMarker == child.Type {+ continue+ }+ tmp = append(tmp, child)+ }+ headingChildren = tmp+if "" != previousID {previousHeading := treenode.GetNodeInTree(tree, previousID)if nil == previousHeading {