mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 15:08:27 +02:00
🐛 Fixed issues with text selection and edition
This commit is contained in:
parent
40e54dbbd4
commit
86936a66e0
9 changed files with 164 additions and 109 deletions
|
@ -253,3 +253,6 @@
|
|||
|
||||
(defn active? [node]
|
||||
(= (.-activeElement js/document) node))
|
||||
|
||||
(defn get-data [^js node ^string attr]
|
||||
(.getAttribute node (str "data-" attr)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue