This commit is contained in:
Liang Ding 2023-01-09 22:51:16 +08:00
parent c202d5a961
commit 18a9d6b245
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
9 changed files with 25 additions and 0 deletions

View file

@ -43,6 +43,7 @@ type Editor struct {
Justify bool `json:"justify"` // 是否两端对齐
RTL bool `json:"rtl"` // 是否从右到左显示
Spellcheck bool `json:"spellcheck"` // 是否启用拼写检查
BacklinkExpandCount int `json:"backlinkExpandCount"` // 反向链接默认展开数量
}
func NewEditor() *Editor {
@ -69,5 +70,6 @@ func NewEditor() *Editor {
DynamicLoadBlocks: 128,
Justify: false,
RTL: false,
BacklinkExpandCount: 8,
}
}