mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 08:56:29 +00:00
fix: ESC not working in code editor
This commit is contained in:
@@ -475,7 +475,7 @@
|
||||
(when (and
|
||||
(contains? #{:code} (:logseq.property.node/display-type edit-block))
|
||||
(not= (:block/uuid edit-block) (:block/uuid (state/get-edit-block))))
|
||||
(editor-handler/edit-block! edit-block :max))
|
||||
(editor-handler/edit-block! edit-block :max {:container-id (:container-id config)}))
|
||||
(state/set-editing-block-dom-id! (:block-parent-id config))
|
||||
(state/set-block-component-editing-mode! true)
|
||||
(state/set-state! :editor/code-block-context
|
||||
|
||||
Reference in New Issue
Block a user