开发者

How can I cancel auto closing tags in TinyMce?

开发者 https://www.devze.com 2023-03-16 04:16 出处:网络
TinyMce by default try to close html tags in rawHTML editor mode. For example: <p>sample text<strong>text</p>

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

For example:

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

automaticaly modified to

<p>sample text<strong>text开发者_运维知识库</strong></p>

How can I cancel this functionality?


This is not the fault of tinymce. What you have here is non-valid html so your browser will try to make it valid adding a closing strong tag.

0

精彩评论

暂无评论...
验证码 换一张
取 消