Support for Thai text in editor

I created a PR to address this issue, see link to Github