In WordPress editor (TinyMCE), whenever I switch between ‘Visual’ and ‘Text’ mode, all my HTML formatting gets removed. That includes tabs (indents) and line breaks. Sometimes, even elements and elements attributes are removed.

I searched a lot about this issue, wich is actually a pretty common problem for many users, but after browsing 10 pages of Google, I got nothing but a plugin called Preserved HTML Editor Markup Plus. The problem is this plugin conflicts with Yoast SEO plugin.

Is there any thing I can do to preserve the HTML formatting, allowing both modes (Visual and Text) and not knowingly compromising other plugins?

Read more here: How to make WordPress editor (TinyMCE) preserve HTML formatting when switching between ‘Visual’ and ‘Text’?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: