clear last saved cursor when pressing esc

This commit is contained in:
Tienson Qin
2022-03-31 20:34:12 +08:00
parent d7ac0b197c
commit 019160f32a

View File

@@ -873,7 +873,8 @@
[]
(swap! state merge {:editor/editing? nil
:editor/block nil
:cursor-range nil}))
:cursor-range nil
:editor/last-saved-cursor nil}))
(defn into-code-editor-mode!
[]