An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: 使用块滚动条跳转到最后一个块时无法加载上面的块 https://github.com/siyuan-note/siyuan/issues/5291
Liang Ding0b967f4c1a19
diff --git a/kernel/model/file.go b/kernel/model/file.goindex cfacabc7e4..c9fe820ab3 100644--- a/kernel/model/file.go+++ b/kernel/model/file.go@@ -657,7 +657,7 @@ func GetDoc(id string, index int, keyword string, mode int, size int) (blockCoun}func loadNodesByMode(node *ast.Node, inputIndex, mode, size int, isDoc, isHeading bool) (nodes []*ast.Node, eof bool) {- if 2 == mode { // 向下+ if 0 == mode /* 仅当前 */ || 2 == mode /* 向下 */ {next := node.Nextif ast.NodeHeading == node.Type && "1" == node.IALAttr("fold") {// 标题展开时进行动态加载导致重复内容 https://github.com/siyuan-note/siyuan/issues/4671