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

🐛 Add missing text cursor on the editor.

This commit is contained in:
Andrey Antukh 2021-03-15 15:51:32 +01:00
parent 7709d219a9
commit 7db82a6af1

View file

@ -147,6 +147,7 @@
(mf/use-layout-effect on-mount)
[:div.text-editor {:ref self-ref
:style {:cursor cur/text}
:class (dom/classnames
:align-top (= (:vertical-align content "top") "top")
:align-center (= (:vertical-align content) "center")