An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve av https://github.com/siyuan-note/siyuan/issues/15524
Daniel31667b09641c
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.goindex 82953251ee..6011f20b1f 100644--- a/kernel/model/attribute_view.go+++ b/kernel/model/attribute_view.go@@ -4270,9 +4270,9 @@ func updateAttributeViewValue(tx *Transaction, attrView *av.AttributeView, keyIDif "" == content {// 使用动态锚文本val.Block.Content = util.UnescapeHTML(blockText)+ updateBlockValueStaticText(tx, node, tree, avID, "")} else {val.Block.Content = content- // 设置静态锚文本 Database-bound block primary key supports setting static anchor text https://github.com/siyuan-note/siyuan/issues/10049updateBlockValueStaticText(tx, node, tree, avID, content)}}@@ -4463,6 +4463,8 @@ func bindBlockAv0(tx *Transaction, avID string, node *ast.Node, tree *parse.Tree}func updateBlockValueStaticText(tx *Transaction, node *ast.Node, tree *parse.Tree, avID, text string) {+ // 设置静态锚文本 Database-bound block primary key supports setting static anchor text https://github.com/siyuan-note/siyuan/issues/10049+if nil == node {return}