mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 https://github.com/siyuan-note/siyuan/issues/16233 https://github.com/siyuan-note/siyuan/issues/16121
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
e5f3fc5e51
commit
5e85d895b3
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ func Outline(rootID string, preview bool) (ret []*Path, err error) {
|
||||||
// 先全部折叠,后面再根据展开 ID 列表展开对应标题
|
// 先全部折叠,后面再根据展开 ID 列表展开对应标题
|
||||||
for _, p := range ret {
|
for _, p := range ret {
|
||||||
for _, b := range p.Blocks {
|
for _, b := range p.Blocks {
|
||||||
b.Folded = false
|
b.Folded = true
|
||||||
for _, c := range b.Children {
|
for _, c := range b.Children {
|
||||||
walkChildren(c, []string{"expandNone"})
|
walkChildren(c, []string{"expandNone"})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue