mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-15 02:04:02 +00:00
Accessibility: Disable both directions of tabbing in CodeMirror
Bug: T197534 Change-Id: Ia05c3ccbdb4baa8e701bf46478c42d2473777535
This commit is contained in:
parent
564e4ea538
commit
736c63fd0b
|
@ -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