mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-01 06:18:49 +01:00
🐛 禁止文档历史内容可编辑 Fix https://github.com/siyuan-note/siyuan/issues/6580
This commit is contained in:
parent
c05f23f488
commit
6833761794
1 changed files with 2 additions and 0 deletions
|
|
@ -202,6 +202,8 @@ func GetDocHistoryContent(historyPath, keyword string) (id, rootID, content stri
|
|||
historyTree = renderTree
|
||||
}
|
||||
|
||||
// 禁止文档历史内容可编辑 https://github.com/siyuan-note/siyuan/issues/6580
|
||||
luteEngine.RenderOptions.ProtyleContenteditable = false
|
||||
if isLargeDoc {
|
||||
util.PushMsg(Conf.Language(36), 5000)
|
||||
formatRenderer := render.NewFormatRenderer(historyTree, luteEngine.RenderOptions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue