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: Focused heading block export does not contain its following blocks Fix https://github.com/siyuan-note/siyuan/issues/7834
Liang Dingf7d9540b67cd
diff --git a/kernel/treenode/blocktree.go b/kernel/treenode/blocktree.goindex 006aeac348..d29aa48e6b 100644--- a/kernel/treenode/blocktree.go+++ b/kernel/treenode/blocktree.go@@ -271,7 +271,7 @@ func IndexBlockTree(tree *parse.Tree) {slice.m.Unlock()if nil != bt {- if bt.Updated != n.IALAttr("updated") || bt.Path != tree.Path || bt.BoxID != tree.Box || bt.HPath != tree.HPath {+ if bt.Updated != n.IALAttr("updated") || bt.Type != TypeAbbr(n.Type.String()) || bt.Path != tree.Path || bt.BoxID != tree.Box || bt.HPath != tree.HPath {children := ChildBlockNodes(n) // 需要考虑子块,因为一些操作(比如移动块)后需要同时更新子块changedNodes = append(changedNodes, children...)}