mirror of
https://github.com/siyuan-note/siyuan
synced 2026-04-21 13:37:52 +00:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
d43aa6b4c2
commit
ea53f18519
1 changed files with 5 additions and 0 deletions
|
|
@ -182,6 +182,11 @@ func setNodeAttrs(node *ast.Node, tree *parse.Tree, nameValues map[string]string
|
|||
|
||||
pushBlockAttrs(oldAttrs, node)
|
||||
|
||||
if ("true" == oldAttrs["custom-hidden"] && "true" != nameValues["custom-hidden"]) ||
|
||||
"true" != oldAttrs["custom-hidden"] && "true" == nameValues["custom-hidden"] {
|
||||
ReloadFiletree()
|
||||
}
|
||||
|
||||
go func() {
|
||||
sql.FlushQueue()
|
||||
refreshDynamicRefText(node, tree)
|
||||
|
|
|
|||
Loading…
Reference in a new issue