diff --git a/resources/ext.CodeMirror.WikiEditor.js b/resources/ext.CodeMirror.WikiEditor.js index a5972219..0e3c29fb 100644 --- a/resources/ext.CodeMirror.WikiEditor.js +++ b/resources/ext.CodeMirror.WikiEditor.js @@ -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();