AceEditor is broken for mix of RTL and LTR content. Since it is totally broken users in RTL wikis have to use external editor to edit content that appear in AceEditor.
In particular:
1. JS/CSS/ Module (Lua) - pages with content type of js/cs/module have AceEditor by default [note: there is a fallback button to get regular textarea]
2. Graph Insert Dialog [note: there is no fallback]
Steps to reproduce (in Firefox):
1. Enter to some random page in RTL wiki (important - use RTL interface) and enter to VE edit:
https://he.wikipedia.org/wiki/Special:Random?veaction=edit&uselang=he
2. Insert=> Map - will open a map insert dialog
3. Add a point on the map
4. Try to change the coordinate in the aceeditor - note the text selection goes crazy
Notes:
1. I couldn't reproduce it in Chromium, but @Mikey641 reported a similar issue with AceEditor of Module NS
2. It seems that the JSON is already defined as LTR, so I'm not sure what wrongs here