mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 13:58:49 +01:00
🎨 Display the database title on the block superscript https://github.com/siyuan-note/siyuan/issues/10545
This commit is contained in:
parent
40006904eb
commit
09b23754db
2 changed files with 70 additions and 3 deletions
|
|
@ -747,8 +747,7 @@ func GetDoc(startID, endID, id string, index int, query string, queryTypes map[s
|
|||
avName = "Untitled"
|
||||
}
|
||||
|
||||
tpl := `<span data-av-id="${avID}" data-popover-url="/api/av/getMirrorDatabaseBlocks" class="popover__block">${avName}</span>`
|
||||
tpl = strings.ReplaceAll(tpl, "${avID}", avID)
|
||||
tpl := strings.ReplaceAll(attrAvNameTpl, "${avID}", avID)
|
||||
tpl = strings.ReplaceAll(tpl, "${avName}", avName)
|
||||
avNames.WriteString(tpl)
|
||||
avNames.WriteString(" ")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue