🎨 Fix folded heading load nodes

This commit is contained in:
Daniel 2023-12-13 16:24:52 +08:00
parent 93f623597f
commit 5e0edf6ff0
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 4 additions and 4 deletions

View file

@ -725,7 +725,7 @@ func GetDoc(startID, endID, id string, index int, query string, queryTypes map[s
if "1" == n.IALAttr("heading-fold") {
// 折叠标题下被引用的块无法悬浮查看
// 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 {
if (0 != mode && id != n.ID) || isDoc {
unlinks = append(unlinks, n)
return ast.WalkContinue
}