mirror of
https://github.com/penpot/penpot.git
synced 2025-02-09 08:38:15 -05:00
🐛 Remove pasted styles on the editor.
This commit is contained in:
parent
7db82a6af1
commit
fde6126ac6
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@
|
||||||
{:on-change on-change
|
{:on-change on-change
|
||||||
:on-blur on-blur
|
:on-blur on-blur
|
||||||
:handle-return handle-return
|
:handle-return handle-return
|
||||||
|
:strip-pasted-styles true
|
||||||
:custom-style-fn (fn [styles _]
|
:custom-style-fn (fn [styles _]
|
||||||
(-> (ted/styles-to-attrs styles)
|
(-> (ted/styles-to-attrs styles)
|
||||||
(sts/generate-text-styles)))
|
(sts/generate-text-styles)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue