mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user