The new Realtime Preview feature should work as expected with CodeMirror syntax highlighting enabled.
Original bug report:
List of steps to reproduce (step by step, including full links if applicable):
- Enable CodeMirror syntax highlighting in the WE2010
- Either with or without RTP enabled
What happens?:
The editor overflows the textarea
Screenshot shows that the area overflows the editor. You can also see that the vertical border on the right side of the editor is not being shown.
What should have happened instead?:
Should not have overflowed. Probably we need to send some sort of resize event to the editor to make it adapt properly.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
- Safari 15.3
- Chrome 99.0