mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-27 15:40:00 +00:00
Apply color inversion until dark syntax styles are chosen
Bug: T365311 Change-Id: I72cf4e5ca776e7fda11b07174493696bfde7fde0
This commit is contained in:
parent
0e0e4927ab
commit
c25da847c2
|
@ -237,6 +237,9 @@ function init() {
|
|||
$codeMirror.addClass( 'cm-mw-colorblind-colors' );
|
||||
}
|
||||
|
||||
// T365311: Apply color inversion until dark syntax styles are chosen
|
||||
$codeMirror.addClass( 'notheme skin-invert' );
|
||||
|
||||
// T305333: Reload CodeMirror to fix a cursor caret issue.
|
||||
codeMirror.refresh();
|
||||
|
||||
|
|
Loading…
Reference in a new issue