mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-09 13:31:54 +08:00
🎨 移动折叠标题后自动展开 https://github.com/siyuan-note/siyuan/issues/6673
This commit is contained in:
parent
4849b20620
commit
b8046c9ad7
@ -262,9 +262,8 @@ func GetHeadingChildrenIDs(id string) (ret []string) {
|
||||
return
|
||||
}
|
||||
|
||||
nodes := append([]*ast.Node{}, heading)
|
||||
children := treenode.HeadingChildren(heading)
|
||||
nodes = append(nodes, children...)
|
||||
nodes := append([]*ast.Node{}, children...)
|
||||
for _, n := range nodes {
|
||||
ret = append(ret, n.ID)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user