Sfoglia il codice sorgente

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

Tienson Qin 3 anni fa
parent
commit
440f7d8bec
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/main/frontend/components/block.cljs

+ 1 - 1
src/main/frontend/components/block.cljs

@@ -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))