mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00: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:
@@ -102,7 +102,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 != node.Next {
|
||||
return node.Next.ID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
for f := p.Next; nil != f; f = f.Next {
|
||||
|
||||
Reference in New Issue
Block a user