mirror of https://github.com/logseq/logseq
clear last saved cursor when pressing esc
parent
d7ac0b197c
commit
019160f32a
|
@ -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!
|
||||
[]
|
||||
|
|
Loading…
Reference in New Issue