Don’t want my WordPress editor to remove <br> and <p> tags

I don’t want my WP editor to remove br and p tags when I’m saving and I don’t want to install TinyMCE to achieve it. Just want to use br and p tags in WP default editor.

Is there a good way?

Related posts

Leave a Reply

2 comments

  1. Bit of a necro, but for the <p> tag you can add a class or perhaps another property.

    e.g.

    <p class="nothing-relevant">Foo</p>

    will not be stripped (using Gutenberg).