WordPress removes paragraphs. How to disable this behavior?

Question

For example, this code:

<div><p>Some text here</p></div>

Becomes formatted as this:

<div>Some text here</div>

I think that this is MCE related behavior, because when I switch to visual editor and back to code editor all “p” tags disappear. How to disable it? Thank you!

0
, Andrei Pavlenko 3 years 2019-10-22T03:47:42-05:00 0 Answers 54 views 0

Leave an answer

Browse
Browse