fix: don't preventDefault for delete

This commit is contained in:
Tienson Qin
2021-04-30 21:39:01 +08:00
parent 2413950f5e
commit 4385c98cc8
4 changed files with 13 additions and 5 deletions

View File

@@ -2129,7 +2129,7 @@
;; just delete
:else
(delete-and-update input (dec current-pos) current-pos))))
(state/set-edit-content! (state/get-edit-input-id) (.-value input)))))
;; TODO: merge indent-on-tab, outdent-on-shift-tab, on-tab
(defn indent-on-tab