editor: RTL fixes

Probably needs @khaledhosny to give some real feedback on the RTL.