diff --git a/frontend/src/uxbox/main/ui/shapes/text.cljs b/frontend/src/uxbox/main/ui/shapes/text.cljs index 1ffac80860..ee4b4a86d6 100644 --- a/frontend/src/uxbox/main/ui/shapes/text.cljs +++ b/frontend/src/uxbox/main/ui/shapes/text.cljs @@ -123,7 +123,9 @@ (let [colors (into #{} (comp (map :fill) (filter string?)) (tree-seq map? :children (:content shape)))] - (apply str (interpose "," colors)))) + (if (empty? colors) + "#000000" + (apply str (interpose "," colors))))) (mf/defc text-shape {::mf/wrap-props false}