Merge remote-tracking branch 'origin/bugfixes' into develop

This commit is contained in:
Andrey Antukh 2021-04-13 14:14:03 +02:00
commit bfbc715977
14 changed files with 99 additions and 89 deletions

View file

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