🐛 Fixed issues with text selection and edition

This commit is contained in:
alonso.torres 2021-01-21 16:09:13 +01:00 committed by Andrey Antukh
parent 40e54dbbd4
commit 86936a66e0
9 changed files with 164 additions and 109 deletions

View file

@ -253,3 +253,6 @@
(defn active? [node]
(= (.-activeElement js/document) node))
(defn get-data [^js node ^string attr]
(.getAttribute node (str "data-" attr)))