🐛 Fix problem when pasting text (#5671)

This commit is contained in:
Alonso Torres 2025-01-24 11:26:06 +01:00 committed by GitHub
parent 2ef22ecd08
commit 7458a35f31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 3 deletions

View file

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