mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 20:38:49 +01:00
🎨 Improve floating window backlink https://github.com/siyuan-note/siyuan/issues/13371
This commit is contained in:
parent
553891defb
commit
04a4a90721
4 changed files with 22 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue