Skip to content

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

:art: 桌面版内容显示宽度支持调整 https://github.com/siyuan-note/siyuan/issues/5182

Liang Ding6378526be979
diff --git a/kernel/conf/editor.go b/kernel/conf/editor.go
index 0e4e90ae82..518ce88280 100644
--- a/kernel/conf/editor.go
+++ b/kernel/conf/editor.go
@@ -32,6 +32,7 @@ type Editor struct {
VirtualBlockRefExclude string `json:"virtualBlockRefExclude"` // 虚拟引用关键字排除列表
BlockRefDynamicAnchorTextMaxLen int `json:"blockRefDynamicAnchorTextMaxLen"` // 块引动态锚文本最大长度
PlantUMLServePath string `json:"plantUMLServePath"` // PlantUML 伺服地址
+ FullWidth bool `json:"fullWidth"` // 是否使用最大宽度
}
func NewEditor() *Editor {
@@ -49,5 +50,6 @@ func NewEditor() *Editor {
VirtualBlockRef: false,
BlockRefDynamicAnchorTextMaxLen: 96,
PlantUMLServePath: "https://www.plantuml.com/plantuml/svg/~1",
+ FullWidth: false,
}
}