mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Database-bound block primary key supports setting static anchor text https://github.com/siyuan-note/siyuan/issues/10049
This commit is contained in:
parent
a133e7d771
commit
04255d86ed
1 changed files with 1 additions and 1 deletions
|
|
@ -3288,7 +3288,7 @@ func updateBlockValueStaticText(tx *Transaction, node *ast.Node, tree *parse.Tre
|
||||||
if nil != tx {
|
if nil != tx {
|
||||||
err = setNodeAttrsWithTx(tx, node, tree, attrs)
|
err = setNodeAttrsWithTx(tx, node, tree, attrs)
|
||||||
} else {
|
} else {
|
||||||
err = setNodeAttrs(node, nil, attrs)
|
err = setNodeAttrs(node, tree, attrs)
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logging.LogWarnf("set node [%s] attrs failed: %s", node.ID, err)
|
logging.LogWarnf("set node [%s] attrs failed: %s", node.ID, err)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue