✨ 支持设置编辑器只读模式 https://github.com/siyuan-note/siyuan/issues/2648
This commit is contained in:
parent
243db771f2
commit
fe00fb7ead
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,7 @@ type Editor struct {
|
|||
PlantUMLServePath string `json:"plantUMLServePath"` // PlantUML 伺服地址
|
||||
FullWidth bool `json:"fullWidth"` // 是否使用最大宽度
|
||||
KaTexMacros string `json:"katexMacros"` // KeTex 宏定义
|
||||
ReadOnly bool `json:"readOnly"` // 只读模式
|
||||
}
|
||||
|
||||
func NewEditor() *Editor {
|
||||
|
@ -53,5 +54,6 @@ func NewEditor() *Editor {
|
|||
PlantUMLServePath: "https://www.plantuml.com/plantuml/svg/~1",
|
||||
FullWidth: true,
|
||||
KaTexMacros: "{}",
|
||||
ReadOnly: false,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue