0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

🐛 Fix finalize text editor state when blur

This commit is contained in:
Alejandro Alonso 2023-07-04 15:52:33 +02:00 committed by Alonso Torres
parent b43d09e5ce
commit 01ec22d662

View file

@ -133,6 +133,8 @@
(fn [event]
(dom/stop-propagation event)
(dom/prevent-default event)
(st/emit! ::dwt/finalize-editor-state)
(st/emit! (dwt/initialize-editor-state shape default-decorator))
(reset! blurred true)))
on-focus