Is it a way for keyboard users to exist from CodeMirror .

Hi,

I read Code editor screen reader accessiblity survey & check the codemirror options documentation, but I did not found any option or “guideline” to make CodeMirror allowing a user to exit from edition zone with key…

Did I miss something ? Do I need to implements it by myself ?

Thx

Do you mean not capturing the tab key? You can do something like passing an extraKeys: {Tab: false, "Shift-Tab": false} option to disable handling of tab and shift-tab. CodeMirror 6 doesn’t bind these keys by default for this reason (but I expect many sites will override that).

Yes, it’s one way to handle it. Thank you.

Good to know, even if for now I’m stuck with the version 5 (I use this EmberJs add-on GitHub - IvyApp/ivy-codemirror: An Ember component for the excellent CodeMirror editor.)

Thx for the fast answer ! (as usual :smiley:)