mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 14:58:49 +01:00
🎨 Improve database reference anchor text https://github.com/siyuan-note/siyuan/issues/11035
This commit is contained in:
parent
a049eeec3e
commit
cab6e015d3
1 changed files with 6 additions and 0 deletions
|
|
@ -197,6 +197,12 @@ func getNodeRefText0(node *ast.Node) string {
|
|||
return "Video..."
|
||||
case ast.NodeAudio:
|
||||
return "Audio..."
|
||||
case ast.NodeAttributeView:
|
||||
ret, _ := av.GetAttributeViewName(node.AttributeViewID)
|
||||
if "" == ret {
|
||||
ret = "Database " + Conf.language(105)
|
||||
}
|
||||
return ret
|
||||
}
|
||||
|
||||
if ast.NodeDocument != node.Type && node.IsContainerBlock() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue