mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🎨 编辑器只读模式推送
This commit is contained in:
parent
7b97c5d41a
commit
efa308d945
1 changed files with 1 additions and 0 deletions
|
|
@ -111,6 +111,7 @@ func setEditor(c *gin.Context) {
|
|||
|
||||
if oldReadOnly != model.Conf.Editor.ReadOnly {
|
||||
util.BroadcastByType("protyle", "readonly", 0, "", model.Conf.Editor.ReadOnly)
|
||||
util.BroadcastByType("main", "readonly", 0, "", model.Conf.Editor.ReadOnly)
|
||||
}
|
||||
|
||||
ret.Data = model.Conf.Editor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue