When switching from html to visual editor the tag gets erased

WordPress doesn’t save <p> tags. Paragraphs are displayed automatically in the TinyMCE visual editor and then the output gets <p> tags automatically (for better or for worse) from the wpautop function.

I avoid using <p> tags. A double line break will automatically be converted to a paragraph at output.

Leave a Comment