|
|
@@ -2510,8 +2510,8 @@
|
|
|
:on-hide (fn [value event]
|
|
|
(let [select? (and (= event :esc)
|
|
|
(not (string/includes? value "```")))]
|
|
|
- (editor-handler/escape-editing select?)
|
|
|
- (editor-handler/save-block! (editor-handler/get-state) value)))}
|
|
|
+ (p/let [_ (editor-handler/save-block! (editor-handler/get-state) value)]
|
|
|
+ (editor-handler/escape-editing select?))))}
|
|
|
edit-input-id
|
|
|
config))]
|
|
|
(if (and named? (seq (:block/tags block)) db-based?)
|