diff --git a/common/src/app/common/files/migrations.cljc b/common/src/app/common/files/migrations.cljc index 686b49efb..025f1d841 100644 --- a/common/src/app/common/files/migrations.cljc +++ b/common/src/app/common/files/migrations.cljc @@ -795,9 +795,16 @@ (defmethod migrate 43 [data] - (letfn [(update-text-node [node] + (letfn [(number->string [v] + (if (number? v) + (str v) + v)) + + (update-text-node [node] (-> node (d/update-when :fills #(filterv valid-fill? %)) + (d/update-when :font-size number->string) + (d/update-when :font-weight number->string) (d/without-nils))) (update-object [object]