mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🎨 移动折叠标题后自动展开 https://github.com/siyuan-note/siyuan/issues/6673
This commit is contained in:
parent
4849b20620
commit
b8046c9ad7
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue