Page MenuHomePhabricator

Focus not consistently restored when switching syntax highlighting on/off
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

Reported by @MarMi_wiki at https://www.mediawiki.org/wiki/Topic:Wn2atna1egq9l4kt:

If you select text before switching to CodeMirror (CM) editor, the selection won't be visible - unless you click on the right scrollbar and press the Tab key.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 751170 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/CodeMirror@master] Restore focus also when switching syntax highlighting on

https://gerrit.wikimedia.org/r/751170

thiemowmde set the point value for this task to 1.

Change 751170 merged by jenkins-bot:

[mediawiki/extensions/CodeMirror@master] Restore focus also when switching syntax highlighting on

https://gerrit.wikimedia.org/r/751170

thiemowmde moved this task from Demo to Done on the WMDE-TechWish-Sprint-2022-01-19 board.