From c24c4f4ef1ddb1b6c1c29dbd2dec0daec8a105db Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 31 Oct 2022 15:54:58 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=B7=BB=E5=8A=A0=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=99=A8=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/conf/editor.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/conf/editor.go b/kernel/conf/editor.go index 563ee53ca..c12022c7f 100644 --- a/kernel/conf/editor.go +++ b/kernel/conf/editor.go @@ -39,7 +39,9 @@ type Editor struct { EmbedBlockBreadcrumb bool `json:"embedBlockBreadcrumb"` // 嵌入块是否显示面包屑 ListLogicalOutdent bool `json:"listLogicalOutdent"` // 列表逻辑反向缩进 FloatWindowMode int `json:"floatWindowMode"` // 浮窗触发模式,0:光标悬停,1:按住 Ctrl 悬停 - DynamicLoadBlocks int `json:"dynamicLoadBlocks"` // 块动态数,可配置区间 [128, 1024] + DynamicLoadBlocks int `json:"dynamicLoadBlocks"` // 块动态数,可配置区间 [48, 1024] + Justify bool `json:"justify"` // 是否两端对齐 + RTL bool `json:"rtl"` // 是否从右到左显示 } func NewEditor() *Editor { @@ -64,5 +66,7 @@ func NewEditor() *Editor { ListLogicalOutdent: false, FloatWindowMode: 0, DynamicLoadBlocks: 128, + Justify: false, + RTL: false, } }