mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
fix slash command clashes with Org-mode italics (#3010)
* enhance: fix https://github.com/logseq/logseq/issues/990 Co-authored-by: leizhe <leizhe@leizhedeMacBook-Air.local>
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
(let [block (db/pull [:block/uuid block-id])
|
||||
value (.getValue cm)
|
||||
textarea-value (gobj/get textarea "value")]
|
||||
(editor-handler/edit-block! block :max (:block/format block) block-id)))
|
||||
(editor-handler/edit-block! block :max block-id)))
|
||||
;; TODO: return "handled" or false doesn't always prevent event bubbles
|
||||
(reset! esc-pressed? true)
|
||||
(js/setTimeout #(reset! esc-pressed? false) 10))}}))]
|
||||
|
||||
Reference in New Issue
Block a user