🎨 支持文档块制作闪卡 Fix https://github.com/siyuan-note/siyuan/issues/7460
This commit is contained in:
parent
d87d251b01
commit
f0bcd7f51f
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ func getTreeSubTreeChildBlocks(rootID string) (treeBlockIDs map[string]bool) {
|
||||||
|
|
||||||
for _, t := range trees {
|
for _, t := range trees {
|
||||||
ast.Walk(t.Root, func(n *ast.Node, entering bool) ast.WalkStatus {
|
ast.Walk(t.Root, func(n *ast.Node, entering bool) ast.WalkStatus {
|
||||||
if !entering || !n.IsBlock() || ast.NodeDocument == n.Type {
|
if !entering || !n.IsBlock() {
|
||||||
return ast.WalkContinue
|
return ast.WalkContinue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue