This is a follow-up to T359589: CodeMirror 6: Cursor is offset when viewing a mix of LTR/RTL interfaces and page langauge
Steps to replicate the issue (include links if applicable):
- Edit a LTR page with CodeMirror 6 with an RTL interface language https://en.wikipedia.beta.wmflabs.org/wiki/Dog?action=edit&uselang=en-rtl
- Put focus on the CodeMirror editor
- Hit โ+F to open the search panel
What happens?:
The search panel is shown in left-to-right, matching the page language (en).
What should have happened instead?:
The direction should be shown right-to-left, matching the interface language (en-rtl)
QA Results - Beta
AC | Status | Details |
---|---|---|
1 โ | https://phabricator.wikimedia.org/T359611 here |