Steps to replicate the issue (include links if applicable):
- Open Section Translation in test wiki (or any other wiki with SX enabled)
- Select a new page to create, by translating the lead section
- Proceed to the "Pick a sentence" step, select a sentence and click on "Edit translation" button
What happens?:
The Visual Editor doesn't open, because an error has occurred.
What should have happened instead?:
The Visual Editor should appear properly and no error should occur
Other information (browser name/version, screenshots, etc.):
Screencast from test wiki: