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: Improve fold heading editing https://github.com/siyuan-note/siyuan/issues/15989
Daniel6acd0d3f2789
diff --git a/kernel/model/transaction.go b/kernel/model/transaction.goindex f768c045d7..0e0a1ea767 100644--- a/kernel/model/transaction.go+++ b/kernel/model/transaction.go@@ -912,8 +912,12 @@ func (tx *Transaction) doDelete(operation *Operation) (ret *TxErr) {node.Next.Unlink()}+ next := node.Nextnode.Unlink()+ parentFoldedHeading := treenode.GetParentFoldedHeading(next)+ unfoldHeading(parentFoldedHeading)+if nil != parent && ast.NodeListItem == parent.Type && nil == parent.FirstChild {needAppendEmptyListItem := truefor _, op := range tx.DoOperations {