mirror of
https://github.com/penpot/penpot.git
synced 2025-05-17 18:26:11 +02:00
🐛 Fix problem when pasting text (#5671)
This commit is contained in:
parent
2ef22ecd08
commit
7458a35f31
3 changed files with 16 additions and 3 deletions
|
@ -1722,10 +1722,10 @@
|
|||
(coll? transit-data)
|
||||
(rx/of (paste-transit (assoc transit-data :in-viewport in-viewport?)))
|
||||
|
||||
(string? html-data)
|
||||
(and (string? html-data) (d/not-empty? html-data))
|
||||
(rx/of (paste-html-text html-data text-data))
|
||||
|
||||
(string? text-data)
|
||||
(and (string? text-data) (d/not-empty? text-data))
|
||||
(rx/of (paste-text text-data))
|
||||
|
||||
:else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue