mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-27 15:40:00 +00:00
657ba3648a
This only effects users of the CM6 CodeMirror class, so doesn't (yet) solve the issue for the 2017 editor which is partly what T245568 is for. I135bf0f7bf supposedly fixed it for the 2010 editor, but that fix apparently doesn't work anymore, and thus those styles have simply been removed (the .CodeMirror element is never a child of the edit font classes). This change also incidentally fixes font sizing issues by ensuring the styles are applied to `.cm-content` and not `.cm-editor`. This prior bug was most notably visible in other skins such as Timeless and Monobook. The colorblind CSS class is now applied in the same way using the EditorView.contrentAttributes facet. Bug: T245568 Change-Id: Iaaf65e47ce8ed9303147aadc7e18a9aaa051405b |
||
---|---|---|
.. | ||
jest | ||
phpunit | ||
selenium |