🎨 Improve dynamic anchor text auto-refresh stability https://github.com/siyuan-note/siyuan/issues/8234

This commit is contained in:
Daniel 2024-09-06 09:49:46 +08:00
parent 2dcd2747f3
commit e5df997e19
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 25 additions and 7 deletions

View file

@ -258,8 +258,8 @@ func PushProtyleReload(rootID string) {
BroadcastByType("protyle", "reload", 0, "", rootID)
}
func PushReloadBlock(rootID, blockID string) {
BroadcastByType("main", "reloadBlock", 0, "", map[string]interface{}{"rootID": rootID, "blockID": blockID})
func PushReloadBlock(rootID, blockID, defBlockID, refText string) {
BroadcastByType("protyle", "reloadBlock", 0, "", map[string]interface{}{"rootID": rootID, "blockID": blockID, "defBlockID": defBlockID, "refText": refText})
}
func PushProtyleLoading(rootID, msg string) {