mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 19:11:39 +02:00
Merge remote-tracking branch 'origin/bugfixes' into develop
This commit is contained in:
commit
bfbc715977
14 changed files with 99 additions and 89 deletions
|
@ -87,9 +87,7 @@
|
|||
(let [target (.-target ^js event)]
|
||||
(when (and (not (.-isContentEditable target)) ;; ignore when pasting into
|
||||
(not= (.-tagName target) "INPUT")) ;; an editable control
|
||||
(-> ^js event
|
||||
(.getBrowserEvent)
|
||||
(.-clipboardData)))))
|
||||
(.. ^js event getBrowserEvent -clipboardData))))
|
||||
|
||||
(defn extract-text
|
||||
[clipboard-data]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue