editor: RTL fixes