mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-15 02:04:02 +00:00
Merge "Accessibility: Disable both directions of tabbing in CodeMirror"
This commit is contained in:
commit
579611ff5e
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
}
|
||||
} );
|
||||
|
||||
|
|
Loading…
Reference in a new issue