🎨 嵌入块纳入引用计数和反链 https://github.com/siyuan-note/siyuan/issues/7096

This commit is contained in:
Liang Ding 2023-01-18 21:08:08 +08:00
parent e2fe854777
commit 98f682e507
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -361,7 +361,7 @@ func buildEmbedRef(tree *parse.Tree, embedNode *ast.Node) *Ref {
RootID: tree.ID,
Box: tree.Box,
Path: tree.Path,
Content: "",
Content: "", // 通过嵌入块构建引用时定义块可能还没有入库,所以这里统一不填充内容
Markdown: "",
Type: treenode.TypeAbbr(embedNode.Type.String()),
}