0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-13 16:21:57 -05:00

🐛 Fix focus on text editor.

This commit is contained in:
Andrey Antukh 2021-03-23 10:56:53 +01:00
parent 60f9b47115
commit d7d56db1af

View file

@ -143,6 +143,7 @@
[:div.text-editor
{:ref self-ref
:style {:cursor cur/text}
:on-click (st/emitf (dwt/focus-editor))
:class (dom/classnames
:align-top (= (:vertical-align content "top") "top")
:align-center (= (:vertical-align content) "center")