mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
🐛 The referenced block under the folded heading cannot be hovered to view Fix https://github.com/siyuan-note/siyuan/issues/9582
This commit is contained in:
parent
433f4d5541
commit
2802efdfb3
2 changed files with 6 additions and 3 deletions
|
|
@ -722,8 +722,12 @@ func GetDoc(startID, endID, id string, index int, query string, queryTypes map[s
|
|||
}
|
||||
|
||||
if "1" == n.IALAttr("heading-fold") {
|
||||
unlinks = append(unlinks, n)
|
||||
return ast.WalkContinue
|
||||
// 折叠标题下被引用的块无法悬浮查看
|
||||
// The referenced block under the folded heading cannot be hovered to view https://github.com/siyuan-note/siyuan/issues/9582
|
||||
if 0 != mode && id != n.ID {
|
||||
unlinks = append(unlinks, n)
|
||||
return ast.WalkContinue
|
||||
}
|
||||
}
|
||||
|
||||
if "" != n.ID {
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ func (tx *Transaction) doFoldHeading(operation *Operation) (ret *TxErr) {
|
|||
return ast.WalkContinue
|
||||
}
|
||||
|
||||
n.SetIALAttr("fold", "1")
|
||||
n.SetIALAttr("heading-fold", "1")
|
||||
return ast.WalkContinue
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue