This question is locked. New answers and comments are not allowed.
When I save a blank entry, there are html tags left behind that cannot be removed, the cursor cannot get behind the html to remove it.
Initially in firefox, this will be "<br/>" in chrome it will be
But also if you enter text, submit it then remove the text, sometimes you are left with a p tag with no text in that you cant remove either.
I noticed this by looking at the submits in debug, and I am also saving the html generated to database and due to various reports by my clients about data going blank, i ended up storing a history of every change (that may not necessarily be the editor doing this).
The inconsistency between browsers on the html generated is making it really difficult to resolve issues around the editor.
What I need is if the editor is blank, can we make sure there is no html hanging around (no <br />, <p> </p>, etc).
Thanks
Initially in firefox, this will be "<br/>" in chrome it will be
But also if you enter text, submit it then remove the text, sometimes you are left with a p tag with no text in that you cant remove either.
I noticed this by looking at the submits in debug, and I am also saving the html generated to database and due to various reports by my clients about data going blank, i ended up storing a history of every change (that may not necessarily be the editor doing this).
The inconsistency between browsers on the html generated is making it really difficult to resolve issues around the editor.
What I need is if the editor is blank, can we make sure there is no html hanging around (no <br />, <p> </p>, etc).
Thanks