🎨 Improve list item, super block and blockquote backlink propagation https://github.com/siyuan-note/siyuan/issues/13776

This commit is contained in:
Daniel 2025-01-11 10:46:35 +08:00
parent 9b02cd192f
commit c3579b20dd
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 55 additions and 41 deletions

View file

@ -438,11 +438,12 @@ func getRefIDs(c *gin.Context) {
}
id := arg["id"].(string)
refIDs, refTexts, defIDs := model.GetBlockRefs(id, true)
ret.Data = map[string][]string{
"refIDs": refIDs,
"refTexts": refTexts,
"defIDs": defIDs,
refIDs, refTexts, defIDs, originalRefBlockIDs := model.GetBlockRefs(id, true)
ret.Data = map[string]any{
"refIDs": refIDs,
"refTexts": refTexts,
"defIDs": defIDs,
"originalRefBlockIDs": originalRefBlockIDs,
}
}