diff --git a/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs b/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs index 525373ff2..35e211c81 100644 --- a/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs +++ b/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs @@ -156,6 +156,7 @@ {:on-change on-change :on-blur on-blur :handle-return handle-return + :strip-pasted-styles true :custom-style-fn (fn [styles _] (-> (ted/styles-to-attrs styles) (sts/generate-text-styles)))