Skip to content

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

:bug: 非折叠块搜索跳转不应该聚焦 Fix https://github.com/siyuan-note/siyuan/issues/7276

Liang Ding0c8585008843
diff --git a/kernel/model/block.go b/kernel/model/block.go
index ae376992e3..6ed99cb6fc 100644
--- a/kernel/model/block.go
+++ b/kernel/model/block.go
@@ -91,7 +91,7 @@ func IsBlockFolded(id string) bool {
for i := 0; i < 32; i++ {
b, _ := getBlock(id, nil)
if nil == b {
- return true
+ return false
}
if "1" == b.IAL["fold"] {