strengthen textEditor

textEditor only runs onClick of submit button