mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 数据历史浏览时忽略内容块折叠状态 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
|
return ast.WalkContinue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 数据历史浏览时忽略内容块折叠状态 https://github.com/siyuan-note/siyuan/issues/5778
|
||||||
|
n.RemoveIALAttr("heading-fold")
|
||||||
|
n.RemoveIALAttr("fold")
|
||||||
|
|
||||||
if ast.NodeBlockRef == n.Type {
|
if ast.NodeBlockRef == n.Type {
|
||||||
appendRefTextRenderResultForBlockRef(n)
|
appendRefTextRenderResultForBlockRef(n)
|
||||||
return ast.WalkSkipChildren
|
return ast.WalkSkipChildren
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue