mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
🎨 嵌入块纳入引用计数和反链 https://github.com/siyuan-note/siyuan/issues/7096
This commit is contained in:
parent
e2fe854777
commit
98f682e507
1 changed files with 1 additions and 1 deletions
|
|
@ -361,7 +361,7 @@ func buildEmbedRef(tree *parse.Tree, embedNode *ast.Node) *Ref {
|
||||||
RootID: tree.ID,
|
RootID: tree.ID,
|
||||||
Box: tree.Box,
|
Box: tree.Box,
|
||||||
Path: tree.Path,
|
Path: tree.Path,
|
||||||
Content: "",
|
Content: "", // 通过嵌入块构建引用时定义块可能还没有入库,所以这里统一不填充内容
|
||||||
Markdown: "",
|
Markdown: "",
|
||||||
Type: treenode.TypeAbbr(embedNode.Type.String()),
|
Type: treenode.TypeAbbr(embedNode.Type.String()),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue