Update textEditor.js

TextArea editor behaviour change. Allows inserting newlines in the middle of the text with Ctrl-Enter or Alt-Enter. Previously it was only possible to append newline to the text.