🎨 After find-replacing block refresh other associated blocks https://github.com/siyuan-note/siyuan/issues/12439

This commit is contained in:
Daniel 2024-09-13 22:28:59 +08:00
parent 8b70c1d154
commit 5de78d837d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -65,6 +65,8 @@ func refreshProtyle(rootID string) {
for _, id := range rootIDs {
task.AppendAsyncTaskWithDelay(task.ReloadProtyle, 200*time.Millisecond, util.PushReloadProtyle, id)
}
task.AppendAsyncTaskWithDelay(task.ReloadProtyle, 200*time.Millisecond, util.PushReloadProtyle, rootID)
}
// refreshRefCount 用于刷新定义块处的引用计数。