🎨 数据历史浏览时忽略内容块折叠状态 Fix https://github.com/siyuan-note/siyuan/issues/5778
This commit is contained in:
parent
0514041a5c
commit
306b06e530
1 changed files with 4 additions and 0 deletions
|
@ -174,6 +174,10 @@ func GetDocHistoryContent(historyPath, keyword string) (id, rootID, content stri
|
|||
return ast.WalkContinue
|
||||
}
|
||||
|
||||
// 数据历史浏览时忽略内容块折叠状态 https://github.com/siyuan-note/siyuan/issues/5778
|
||||
n.RemoveIALAttr("heading-fold")
|
||||
n.RemoveIALAttr("fold")
|
||||
|
||||
if ast.NodeBlockRef == n.Type {
|
||||
appendRefTextRenderResultForBlockRef(n)
|
||||
return ast.WalkSkipChildren
|
||||
|
|
Loading…
Add table
Reference in a new issue