The editor only allows text direction change before initializing. If users are using two languages with different directions then this becomes an issue. It should be able to be changed using the UI.