Merge "Accessibility: Disable both directions of tabbing in CodeMirror"

This commit is contained in:
jenkins-bot 2018-06-18 03:41:25 +00:00 committed by Gerrit Code Review
commit 579611ff5e
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
}
} );