clear last saved cursor when pressing esc

pull/4750/head
Tienson Qin 2022-03-31 20:34:12 +08:00
parent d7ac0b197c
commit 019160f32a
1 changed files with 2 additions and 1 deletions

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!
[]