mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-23 13:56:44 +00:00
Merge "CodeMirror: copy tabindex attribute from textarea"
This commit is contained in:
commit
91d1d19398
2
resources/dist/codemirror.js
vendored
2
resources/dist/codemirror.js
vendored
File diff suppressed because one or more lines are too long
|
@ -155,7 +155,8 @@ class CodeMirror {
|
|||
accesskey: this.$textarea.attr( 'accesskey' ),
|
||||
// Classes need to be on .cm-content to have precedence over .cm-scroller
|
||||
class: classList.join( ' ' ),
|
||||
spellcheck: 'true'
|
||||
spellcheck: 'true',
|
||||
tabindex: this.$textarea.attr( 'tabindex' )
|
||||
} ),
|
||||
// .cm-editor element (contains the whole CodeMirror UI)
|
||||
EditorView.editorAttributes.of( {
|
||||
|
|
Loading…
Reference in a new issue