mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
🎨 Support adding the current document in the database https://github.com/siyuan-note/siyuan/issues/10912
This commit is contained in:
parent
d59e5e2a73
commit
2bbd1a89d0
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,7 @@ func SearchRefBlock(id, rootID, keyword string, beforeLen int, isSquareBrackets
|
|||
b.RefText = getBlockRefText(b.ID, tree)
|
||||
|
||||
hitFirstChildID := false
|
||||
if b.IsContainerBlock() {
|
||||
if b.IsContainerBlock() && "NodeDocument" != b.Type {
|
||||
// `((` 引用候选中排除当前块的父块 https://github.com/siyuan-note/siyuan/issues/4538
|
||||
tree := cachedTrees[b.RootID]
|
||||
if nil == tree {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue