An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art:编辑器动态加载块数由定值改为可配置 https://github.com/siyuan-note/siyuan/issues/6415
Liang Ding998665a1717f
diff --git a/kernel/conf/editor.go b/kernel/conf/editor.goindex 85fd131b9a..563ee53ca2 100644--- a/kernel/conf/editor.go+++ b/kernel/conf/editor.go@@ -39,6 +39,7 @@ type Editor struct {EmbedBlockBreadcrumb bool `json:"embedBlockBreadcrumb"` // 嵌入块是否显示面包屑ListLogicalOutdent bool `json:"listLogicalOutdent"` // 列表逻辑反向缩进FloatWindowMode int `json:"floatWindowMode"` // 浮窗触发模式,0:光标悬停,1:按住 Ctrl 悬停+ DynamicLoadBlocks int `json:"dynamicLoadBlocks"` // 块动态数,可配置区间 [128, 1024]}func NewEditor() *Editor {@@ -62,5 +63,6 @@ func NewEditor() *Editor {EmbedBlockBreadcrumb: false,ListLogicalOutdent: false,FloatWindowMode: 0,+ DynamicLoadBlocks: 128,}}