add tests

This commit is contained in:
Tienson Qin
2026-01-05 13:03:15 +08:00
parent e5521da233
commit bcb9f84469
6 changed files with 69 additions and 18 deletions

View File

@@ -3452,6 +3452,7 @@
(or (:block/_parent block) (:block.temp/has-children? block))
(integer? (:block-level config))
(>= (:block-level config) (state/get-ref-open-blocks-level)))
(:default-collapsed? config)
(and (or (:view? config) (:popup? config))
(or (ldb/page? block)
(:table-block-title? config))))))