0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

🐛 Remove pasted styles on the editor.

This commit is contained in:
Andrey Antukh 2021-03-15 15:51:55 +01:00
parent 7db82a6af1
commit fde6126ac6

View file

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