preventNewlines treats the field as a wrapping single line. Enter does not insert a newline, and pasted or dropped line breaks are flattened to spaces.
Try pressing Enter, and pasting text that spans several lines, in both fields below.
Treat the field as a wrapping single line. Enter does not insert a newline, and pasted or dropped line breaks are flattened to spaces.
Event emitted everytime a user highlights a text in the textarea