In the code editor in dark mode, brackets are highlighted as if they were in light mode when text is selected inside them, making them impossible to see and making it hard to edit. Brackets are highlighted properly only for wikilinks.
Description
Description
Event Timeline
Comment Actions
r980541 used a strange selector for the matching brackets, and I am not sure whether it was intentional.
.cm-matchingBracket, .cm-focused .cm-matchingBracket { background-color: #eee; box-shadow: inset 0 0 1px 1px #999; font-weight: bold; }
Comment Actions
Change #1226296 had a related patch set uploaded (by 沈澄心; author: Prashant_32194):
[mediawiki/extensions/CodeMirror@master] Fix dark-mode bracket visibility in CodeMirror selections
Comment Actions
@Prashant32194 Thanks for your patch! Just a reminder: The commit message needs to be Bug: T402293 instead of Bug Id: T402293 so that gerritbot can function properly.

