mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-30 17:04:14 +00:00
Merge "Add accesskey to CodeMirror input field"
This commit is contained in:
commit
05241f1259
|
@ -167,8 +167,11 @@
|
||||||
lang: $textbox1.attr( 'lang' )
|
lang: $textbox1.attr( 'lang' )
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
$( codeMirror.getInputField() )
|
||||||
|
// T259347: Use accesskey of the original textbox
|
||||||
|
.attr( 'accesskey', $textbox1.attr( 'accesskey' ) )
|
||||||
// T194102: UniversalLanguageSelector integration is buggy, disabling it completely
|
// T194102: UniversalLanguageSelector integration is buggy, disabling it completely
|
||||||
$( codeMirror.getInputField() ).addClass( 'noime' );
|
.addClass( 'noime' );
|
||||||
|
|
||||||
// set the height of the textarea
|
// set the height of the textarea
|
||||||
codeMirror.setSize( null, $textbox1.height() );
|
codeMirror.setSize( null, $textbox1.height() );
|
||||||
|
|
Loading…
Reference in a new issue