mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
@@ -146,7 +146,7 @@
|
||||
(when editor
|
||||
(let [element (.getWrapperElement editor)]
|
||||
(.on editor "blur" (fn [_cm e]
|
||||
(util/stop e)
|
||||
(when e (util/stop e))
|
||||
(state/set-block-component-editing-mode! false)
|
||||
(when-not @esc-pressed?
|
||||
(save-file-or-block-when-blur-or-esc! editor textarea config state))))
|
||||
|
||||
Reference in New Issue
Block a user