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