<br> tag left after textarea clear
See original GitHub issueThere’s an issue when I’m pasting formatted text in the textarea and then delete it the <br>
tag left as a value of this field. I see that ngx-wig work with content as a string, so the first thing that comes to mind is regexp that will cut empty tags somehow, but maybe there’s a better/more universal solution.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Remove line break from textarea - javascript - Stack Overflow
The problem: After sending the message, the textarea is not cleared. On the first page load, the textarea is empty. Once a message...
Read more >When leaving a text field empty in Firefox a <br /> tag is inserted
This bug is causing big layout problems for me. If a text field using CKeditor in a content type is left empty (say...
Read more >CKEditor generates <br /> when leaving a textarea field empty
I'm using CKEditor module with satisfaction, but it behaves really frustrating in one case: when leaving textareas empty, it generates <br /> tags...
Read more >The Textarea element - HTML: HyperText Markup Language
The <textarea> HTML element represents a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable ...
Read more >What is <br class="clear" /> in Html? - SitePoint
As @TechnoBear said it sounds like the input and label were floated so you would need to clear each pair before starting another...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kucherovst it’s correct, that’s how normally opensource works - you push you branch not to the main repository, but first fork and then push your changes to the fork and after it will suggest you to do a PR here
closed by https://github.com/stevermeister/ngx-wig/pull/169