Adding bullet points to a text area?
问题 Is there a way to add bullet points to an HTML textarea? I want to add a simple feature where a bullet point is added for every line in a text area (similar to a list bullet points). 回答1: You can't do that but there is another way. delete the textarea. '<section id="textarea" contenteditable="true"> <ul> <li>List item here</li> <li>List item here</li> <li>List item here</li> <li>List item here</li> </ul> </section>' 回答2: I think, you will not able to add bullet points (i.e. rich text) in text