Fix tabindex console react warnings (#6520)

Follow up to #6442
This commit is contained in:
Gabriel Horner
2022-08-29 15:37:56 -04:00
committed by GitHub
parent 0a11bcbc8e
commit 0275e5a067
3 changed files with 4 additions and 4 deletions

View File

@@ -231,7 +231,7 @@
cm-options (merge default-cm-options
(extra-codemirror-options)
{:mode mode
:tabindex -1 ;; do not accept TAB-in, since TAB is bind globally
:tabIndex -1 ;; do not accept TAB-in, since TAB is bind globally
:extraKeys #js {"Esc" (fn [cm]
;; Avoid reentrancy
(gobj/set cm "escPressed" true)