Accessibility: Disable both directions of tabbing in CodeMirror

Bug: T197534
Change-Id: Ia05c3ccbdb4baa8e701bf46478c42d2473777535
This commit is contained in:
Derk-Jan Hartman 2018-06-17 17:50:12 +02:00
parent 564e4ea538
commit 736c63fd0b
2 changed files with 3 additions and 1 deletions

View file

@ -131,6 +131,7 @@
mode: 'text/mediawiki',
extraKeys: {
Tab: false,
'Shift-Tab': false,
// T174514: Move the cursor at the beginning/end of the current wrapped line
Home: 'goLineLeft',
End: 'goLineRight'

View file

@ -88,7 +88,8 @@ ve.ui.CodeMirrorAction.prototype.toggle = function ( enable ) {
// select mediawiki as text input mode
mode: 'text/mediawiki',
extraKeys: {
Tab: false
Tab: false,
'Shift-Tab': false
}
} );