🐛 恢复文档浏览位置时折叠标题下方块被计入 Fix https://github.com/siyuan-note/siyuan/issues/5639
This commit is contained in:
parent
455bb1c050
commit
b228e07c7a
1 changed files with 3 additions and 0 deletions
|
@ -724,6 +724,9 @@ func loadNodesByStartEnd(tree *parse.Tree, startID, endID string) (nodes []*ast.
|
|||
}
|
||||
nodes = append(nodes, node)
|
||||
for n := node.Next; nil != n; n = n.Next {
|
||||
if treenode.IsInFoldedHeading(n, nil) {
|
||||
continue
|
||||
}
|
||||
nodes = append(nodes, n)
|
||||
|
||||
if n.ID == endID {
|
||||
|
|
Loading…
Add table
Reference in a new issue