How to cancel automatic closing of tags in TinyMce?

TinyMce, by default, tries to close html tags in rawHTML editor mode.

For instance:

<p>sample text<strong>text</p> 

automatically changes to

 <p>sample text<strong>text</strong></p> 

How can I cancel this function?

+4
source share
1 answer

This is not the fault of mudness. Here you have invalid html, so your browser will try to make it valid by adding a closing strong tag.

-1
source

All Articles