From 6378526be9799b5ae5e5411578d3e3651de5ec34 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 30 Jun 2022 21:30:18 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=A1=8C=E9=9D=A2=E7=89=88=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E6=98=BE=E7=A4=BA=E5=AE=BD=E5=BA=A6=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E8=B0=83=E6=95=B4=20https://github.com/siyuan-note/siyuan/issu?= =?UTF-8?q?es/5182?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/conf/editor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/conf/editor.go b/kernel/conf/editor.go index 0e4e90ae8..518ce8828 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, } }