Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/16233 https://github.com/siyuan-note/siyuan/issues/16121

Daniel5e85d895b3e1
diff --git a/kernel/model/outline.go b/kernel/model/outline.go
index 8660901133..4003fb55f3 100644
--- a/kernel/model/outline.go
+++ b/kernel/model/outline.go
@@ -255,7 +255,7 @@ func Outline(rootID string, preview bool) (ret []*Path, err error) {
// 先全部折叠,后面再根据展开 ID 列表展开对应标题
for _, p := range ret {
for _, b := range p.Blocks {
- b.Folded = false
+ b.Folded = true
for _, c := range b.Children {
walkChildren(c, []string{"expandNone"})
}