Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Support `Jump to the next block in the parent level` on focus status https://github.com/siyuan-note/siyuan/issues/9527

Danielc47de3eba0bb
diff --git a/kernel/model/block.go b/kernel/model/block.go
index dbad56dcaa..fa2000d039 100644
--- a/kernel/model/block.go
+++ b/kernel/model/block.go
@@ -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 {