🧑‍💻 Add an internal kernel API /api/av/reloadAttributeView https://github.com/siyuan-note/siyuan/issues/14491

Add an internal kernel API `/api/editor/reloadProtyle` https://github.com/siyuan-note/siyuan/issues/14492
This commit is contained in:
Daniel 2025-04-01 12:08:41 +08:00
parent 78d86629c8
commit 31312bd7c0
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
7 changed files with 60 additions and 19 deletions

View file

@ -109,7 +109,7 @@ func RemoveTag(label string) (err error) {
reloadTreeIDs = gulu.Str.RemoveDuplicatedElem(reloadTreeIDs)
for _, id := range reloadTreeIDs {
refreshProtyle(id)
ReloadProtyle(id)
}
updateAttributeViewBlockText(updateNodes)
@ -208,7 +208,7 @@ func RenameTag(oldLabel, newLabel string) (err error) {
reloadTreeIDs = gulu.Str.RemoveDuplicatedElem(reloadTreeIDs)
for _, id := range reloadTreeIDs {
refreshProtyle(id)
ReloadProtyle(id)
}
updateAttributeViewBlockText(updateNodes)