Skip to content

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

:art: Improve list block navigation https://github.com/siyuan-note/siyuan/issues/11193

Daniel7c7a7038a4ad
diff --git a/kernel/model/block.go b/kernel/model/block.go
index ee3dbfa876..8073bf9b05 100644
--- a/kernel/model/block.go
+++ b/kernel/model/block.go
@@ -144,9 +144,6 @@ func GetBlockSiblingID(id string) (parent, previous, next string) {
if nil != parentListItem {
parent = parentListItem.ID
- if flb := firstChild(parentListItem); nil != flb {
- parent = flb.ID
- }
if parentListItem.Previous != nil {
previous = parentListItem.Previous.ID