mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 07:18:49 +01:00
🎨 Support Jump to the next block in the parent level on focus status https://github.com/siyuan-note/siyuan/issues/9527
This commit is contained in:
parent
8eb83b1604
commit
f88fec7235
1 changed files with 4 additions and 0 deletions
|
|
@ -101,6 +101,10 @@ func GetParentNextChildID(id string) string {
|
|||
}
|
||||
|
||||
for p := node.Parent; nil != p; p = p.Parent {
|
||||
if ast.NodeDocument == p.Type {
|
||||
return node.Next.ID
|
||||
}
|
||||
|
||||
if nil != p.Next {
|
||||
return p.Next.ID
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue