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: Dynamic loading results in incomplete list display https://github.com/siyuan-note/siyuan/issues/10965
Danielaed87dfd15a3
diff --git a/kernel/treenode/node.go b/kernel/treenode/node.goindex 2ffed90f88..91b31af858 100644--- a/kernel/treenode/node.go+++ b/kernel/treenode/node.go@@ -342,7 +342,7 @@ func FirstLeafBlock(node *ast.Node) (ret *ast.Node) {func CountBlockNodes(node *ast.Node) (ret int) {ast.Walk(node, func(n *ast.Node, entering bool) ast.WalkStatus {- if !entering || !n.IsBlock() || ast.NodeList == n.Type || ast.NodeListItem == n.Type || ast.NodeBlockquote == n.Type || ast.NodeSuperBlock == n.Type {+ if !entering || !n.IsBlock() || ast.NodeList == n.Type || ast.NodeBlockquote == n.Type || ast.NodeSuperBlock == n.Type {return ast.WalkContinue}