🎨 Database-bound block primary key supports setting static anchor text https://github.com/siyuan-note/siyuan/issues/10049
This commit is contained in:
parent
077a46ac70
commit
a133e7d771
1 changed files with 1 additions and 1 deletions
|
@ -3285,7 +3285,7 @@ func updateBlockValueStaticText(tx *Transaction, node *ast.Node, tree *parse.Tre
|
|||
attrs := parse.IAL2Map(node.KramdownIAL)
|
||||
attrs[av.NodeAttrViewStaticText+"-"+avID] = text
|
||||
var err error
|
||||
if nil != tree {
|
||||
if nil != tx {
|
||||
err = setNodeAttrsWithTx(tx, node, tree, attrs)
|
||||
} else {
|
||||
err = setNodeAttrs(node, nil, attrs)
|
||||
|
|
Loading…
Add table
Reference in a new issue