🎨 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:
Daniel 2023-10-28 16:35:18 +08:00
parent 8eb83b1604
commit f88fec7235
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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
}