Is there a way to apply indentation to each paragraph within a text area as the user types? I tried using the code below:
<textarea rows="1" style="height:1em; text-indent:-50px; padding-left:50px;" cols="25" html="true" id="text">Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum</textarea>
Unfortunately, this only applies to the first line of the textarea and not every new paragraph. Is there a CSS or JavaScript solution to achieve this?
Thank you in advance