Thank you jen for the sample code.
The only issue I found is that pressing the enter key in-between text within the textbox does not add a new line at the cursor position, but will always append a new line at the end of all characters in the textbox which is unexpected.
The only issue I found is that pressing the enter key in-between text within the textbox does not add a new line at the cursor position, but will always append a new line at the end of all characters in the textbox which is unexpected.