mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-23 22:03:28 +00:00
Go to next field when TAB key is pressed (v 3.3.0.24)
Bug: T118180 Change-Id: Ifb511deca99a52c8080d0512d137e7cbca2122f5
This commit is contained in:
parent
07c39727c5
commit
93e8b4a4a9
|
@ -15,7 +15,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
|
|||
die( 'This file is an extension to MediaWiki and thus not a valid entry point.' );
|
||||
}
|
||||
|
||||
const EXT_CODEMIRROR_VERSION = '3.2.3.24';
|
||||
const EXT_CODEMIRROR_VERSION = '3.3.0.24';
|
||||
|
||||
// Register this extension on Special:Version
|
||||
$wgExtensionCredits['parserhook'][] = array(
|
||||
|
|
|
@ -335,7 +335,10 @@
|
|||
lineWrapping: true,
|
||||
readOnly: textbox1[0].readOnly,
|
||||
// select mediawiki as text input mode
|
||||
mode: 'text/mediawiki'
|
||||
mode: 'text/mediawiki',
|
||||
extraKeys: {
|
||||
Tab: false
|
||||
}
|
||||
} );
|
||||
// Our best friend, IE, needs some special css
|
||||
if ( window.navigator.userAgent.indexOf('Trident/') > -1 ) {
|
||||
|
|
Loading…
Reference in a new issue