This commit is contained in:
Daniel 2024-12-09 10:50:03 +08:00
parent 553891defb
commit 04a4a90721
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 22 additions and 11 deletions

View file

@ -634,14 +634,6 @@ func GetDoc(startID, endID, id string, index int, query string, queryTypes map[s
}
}
if isBacklink { // 引用计数浮窗请求,需要按照反链逻辑组装 https://github.com/siyuan-note/siyuan/issues/6853
if ast.NodeParagraph == node.Type {
if nil != node.Parent && ast.NodeListItem == node.Parent.Type {
node = node.Parent
}
}
}
located := false
isDoc := ast.NodeDocument == node.Type
isHeading := ast.NodeHeading == node.Type