mediawiki-extensions-CodeMi.../resources/ext.CodeMirror.less
MusikAnimal b18ded0a13 CM6: move more Extensions to CodeMirror so they don't require WikiEditor
We want CodeMirror to be usable outside WikiEditor. This commit moves
the more critical extensions from the CodeMirrorWikiEditor class to the
parent CodeMirror class.

The linked tasks are only broadly related. In Ide716247e5 we will
introduce a ResourceLoader module that makes CodeMirror usable on any
textarea.

Bug: T214989
Bug: T190108
Change-Id: Ib199cf700c3235812f7c9a9bcb3703917f0887de
2024-03-19 22:48:17 -04:00

16 lines
253 B
Plaintext

@import 'mediawiki.mixins';
/* TODO: Replace with ext.CodeMirror.v6.less following CM6 upgrade */
.wikiEditor-ui .CodeMirror {
line-height: 1.5em;
padding: 0.1em;
clear: both;
box-sizing: border-box;
pre,
.CodeMirror-lines {
padding: 0;
}
}