Google Input Tools in Discourse

If you are good in javascript & jquery then you can do it easily.

You have to add suggested javascript in Discourse admin’s customization panel. To get current composer textfield (textarea) id use jquery’s css selector.