JSFiddle - React, Tailwind, and code Playground

HTML

<textarea rows="4" cols="50">

JavaScript

$(function(){
    $('.ember-view ember-text-area autoresize autoResize').on('keyup', function(){
        if(this.value=='/he'){
            this.value = 'lolol';
            this.focus();
        }
    });
});