mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Improve list item, super block and blockquote backlink propagation https://github.com/siyuan-note/siyuan/issues/13776
This commit is contained in:
parent
9b02cd192f
commit
c3579b20dd
5 changed files with 55 additions and 41 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue