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

Danielf88fec7235e0
diff --git a/kernel/model/block.go b/kernel/model/block.go
index 46633c04f5..0515fe85de 100644
--- a/kernel/model/block.go
+++ b/kernel/model/block.go
@@ -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
}