Is it possible to insert a newline (\n
) whenever a textarea
wraps in JavaScript? So basically, if there is an overflow, a newline separator should be inserted automatically.
And how would you do it? I need to insert explicit \n
symbols. Just wrapping the text won't work.