🐛 Enter
after the folded heading in the list will cause the blocks to be reversed below the heading Fix https://github.com/siyuan-note/siyuan/issues/7984
This commit is contained in:
parent
66bd5e91a5
commit
1315b0e8c6
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@ func MoveFoldHeading(updateNode, oldNode *ast.Node) {
|
|||
})
|
||||
for _, h := range updateFoldHeadings {
|
||||
children := foldHeadings[h.ID]
|
||||
for _, c := range children {
|
||||
h.Next.InsertAfter(c) // Next 是 Block IAL
|
||||
for i := len(children) - 1; 0 <= i; i-- {
|
||||
h.Next.InsertAfter(children[i]) // Next 是 Block IAL
|
||||
}
|
||||
}
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue