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

This commit is contained in:
Liang Ding 2022-06-30 21:30:18 +08:00
parent 2ee0a92936
commit 6378526be9
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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,
}
}