🎨 Database-bound block primary key supports setting static anchor text https://github.com/siyuan-note/siyuan/issues/10049
This commit is contained in:
parent
3d14c79d31
commit
ef38ffb120
1 changed files with 6 additions and 0 deletions
|
@ -281,6 +281,12 @@ func getNodeAvBlockText(node *ast.Node) (icon, content string) {
|
|||
} else {
|
||||
content = getNodeRefText0(node, 1024)
|
||||
}
|
||||
|
||||
content = strings.TrimSpace(content)
|
||||
if "" == content {
|
||||
content = Conf.language(105)
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue