mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-10 01:04:21 +01:00
🎨 After invoking kernel API setBlockAttrs then auto refresh dynamic anchor text of block refs Fix https://github.com/siyuan-note/siyuan/issues/8605
This commit is contained in:
parent
0f519f62b1
commit
bb0bbaf5a0
1 changed files with 3 additions and 1 deletions
|
|
@ -138,7 +138,9 @@ func setNodeAttrs(node *ast.Node, tree *parse.Tree, nameValues map[string]string
|
||||||
pushBroadcastAttrTransactions(oldAttrs, node)
|
pushBroadcastAttrTransactions(oldAttrs, node)
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
sql.WaitForWritingDatabase()
|
if !sql.IsEmptyQueue() {
|
||||||
|
sql.WaitForWritingDatabase()
|
||||||
|
}
|
||||||
refreshDynamicRefText(node, tree)
|
refreshDynamicRefText(node, tree)
|
||||||
}()
|
}()
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue