mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
c202d5a961
commit
18a9d6b245
9 changed files with 25 additions and 0 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue