mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🎨 Supports searching database blocks by the view title https://github.com/siyuan-note/siyuan/issues/9348
This commit is contained in:
parent
5e38fe4335
commit
3c67701681
9 changed files with 73 additions and 41 deletions
|
|
@ -145,8 +145,6 @@ func NodeStaticContent(node *ast.Node, excludeTypes []string, includeTextMarkATi
|
|||
attrView, err := av.ParseAttributeView(node.AttributeViewID)
|
||||
if nil == err {
|
||||
buf := bytes.Buffer{}
|
||||
buf.WriteString(attrView.Name)
|
||||
buf.WriteString(" ")
|
||||
for _, v := range attrView.Views {
|
||||
buf.WriteString(v.Name)
|
||||
buf.WriteString(" ")
|
||||
|
|
@ -393,6 +391,7 @@ var typeAbbrMap = map[string]string{
|
|||
"NodeParagraph": "p",
|
||||
"NodeHTMLBlock": "html",
|
||||
"NodeBlockQueryEmbed": "query_embed",
|
||||
"NodeAttributeView": "av",
|
||||
"NodeKramdownBlockIAL": "ial",
|
||||
"NodeIFrame": "iframe",
|
||||
"NodeWidget": "widget",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue