🎨 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)
|
||||
|
||||
go func() {
|
||||
sql.WaitForWritingDatabase()
|
||||
if !sql.IsEmptyQueue() {
|
||||
sql.WaitForWritingDatabase()
|
||||
}
|
||||
refreshDynamicRefText(node, tree)
|
||||
}()
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue