mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve dynamic anchor text auto-refresh stability https://github.com/siyuan-note/siyuan/issues/8234
This commit is contained in:
parent
e5df997e19
commit
1f30848d8d
3 changed files with 7 additions and 5 deletions
|
|
@ -258,8 +258,8 @@ func PushProtyleReload(rootID string) {
|
|||
BroadcastByType("protyle", "reload", 0, "", rootID)
|
||||
}
|
||||
|
||||
func PushReloadBlock(rootID, blockID, defBlockID, refText string) {
|
||||
BroadcastByType("protyle", "reloadBlock", 0, "", map[string]interface{}{"rootID": rootID, "blockID": blockID, "defBlockID": defBlockID, "refText": refText})
|
||||
func PushSetRefDynamicText(rootID, blockID, defBlockID, refText string) {
|
||||
BroadcastByType("protyle", "setRefDynamicText", 0, "", map[string]interface{}{"rootID": rootID, "blockID": blockID, "defBlockID": defBlockID, "refText": refText})
|
||||
}
|
||||
|
||||
func PushProtyleLoading(rootID, msg string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue