mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
🐛 多级标题折叠后上级块引浮窗中未折叠 Fix https://github.com/siyuan-note/siyuan/issues/4997
This commit is contained in:
parent
b08910aacc
commit
8b3f559404
1 changed files with 3 additions and 2 deletions
|
|
@ -694,8 +694,9 @@ func loadNodesByMode(node *ast.Node, inputIndex, mode, size int, isDoc, isHeadin
|
|||
} else if isHeading {
|
||||
level := node.HeadingLevel
|
||||
for n := node.Next; nil != n; n = n.Next {
|
||||
if "1" == n.IALAttr("heading-fold") && ("1" == node.IALAttr("fold") && 0 == mode) {
|
||||
// 从大纲跳转折叠标题的下方标题时需要判断跳转的标题是否是折叠 https://github.com/siyuan-note/siyuan/issues/4920
|
||||
if "1" == n.IALAttr("heading-fold") {
|
||||
// 大纲点击折叠标题跳转聚焦 https://github.com/siyuan-note/siyuan/issues/4920
|
||||
// 多级标题折叠后上级块引浮窗中未折叠 https://github.com/siyuan-note/siyuan/issues/4997
|
||||
continue
|
||||
}
|
||||
if ast.NodeHeading == n.Type {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue