enhance: display properties if there's no title or body in the block

This commit is contained in:
Tienson Qin
2022-01-14 12:33:33 +08:00
parent f505757900
commit 440f7d8bec

View File

@@ -1912,7 +1912,7 @@
(when (and (seq properties)
(let [hidden? (property/properties-built-in? properties)]
(not hidden?))
(not block-ref?)
(not (and block-ref? (or (seq title) (seq body))))
(not (:slide? config)))
(properties-cp config block))