Page MenuHomePhabricator

Linter: Highlighting the error does not work when syntax highlighting is enabled in the editor
Closed, DuplicatePublic

Description

Using MediaWiki-extensions-Linter, WikiEditor (2010) and MediaWiki-extensions-CodeMirror (e.g. a Wikimedia wiki), enable syntax highlighing, select a lint error from Special:LintErrors and click "edit". Normally that would highlight (select) the erroneous part in the text, but CodeMirror replaces the textbox with a contenteditable, and does not preserve the selection. You might see the selection flash up for a split second but it will disappear immediately.