🐛 Focused heading block export does not contain its following blocks Fix https://github.com/siyuan-note/siyuan/issues/7834
This commit is contained in:
parent
628a83eaef
commit
f7d9540b67
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ func IndexBlockTree(tree *parse.Tree) {
|
|||
slice.m.Unlock()
|
||||
|
||||
if nil != bt {
|
||||
if bt.Updated != n.IALAttr("updated") || bt.Path != tree.Path || bt.BoxID != tree.Box || bt.HPath != tree.HPath {
|
||||
if bt.Updated != n.IALAttr("updated") || bt.Type != TypeAbbr(n.Type.String()) || bt.Path != tree.Path || bt.BoxID != tree.Box || bt.HPath != tree.HPath {
|
||||
children := ChildBlockNodes(n) // 需要考虑子块,因为一些操作(比如移动块)后需要同时更新子块
|
||||
changedNodes = append(changedNodes, children...)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue