🎨 Database-bound block primary key supports setting static anchor text https://github.com/siyuan-note/siyuan/issues/10049

This commit is contained in:
Daniel 2024-12-23 20:55:00 +08:00
parent 3d14c79d31
commit ef38ffb120
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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
}