Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

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

Daniel5de78d837d5e
diff --git a/kernel/model/push_reload.go b/kernel/model/push_reload.go
index 6b015b7585..853bd14e7b 100644
--- a/kernel/model/push_reload.go
+++ b/kernel/model/push_reload.go
@@ -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 用于刷新定义块处的引用计数。