🐛 禁止文档历史内容可编辑 Fix https://github.com/siyuan-note/siyuan/issues/6580

This commit is contained in:
Liang Ding 2022-11-14 18:10:37 +08:00
parent c05f23f488
commit 6833761794
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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)