mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Improve fold heading editing https://github.com/siyuan-note/siyuan/issues/15989
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
a82fa8be36
commit
a9aeda5d9a
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ func GetParentFoldedHeading(node *ast.Node) (parentFoldedHeading *ast.Node) {
|
|||
}
|
||||
|
||||
if n.HeadingLevel >= currentLevel {
|
||||
break
|
||||
continue
|
||||
}
|
||||
currentLevel = n.HeadingLevel
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue