Tag Archives: remove paragraph tag in tinymce editor

Remove Paragraph (p) tags – TinyMCE HTMLeditor


In order to remove the paragraph or p tags that automatically gets inserted by TinyMCE, open the tinymce.js file and include the following lines:

force_p_newlines : false,
force_br_newlines : true,
forced_root_block : ”,


Hi guys,

is there a way to disable the paragraph tag (<p>). I know that I can make a blank line if I push SHIFT + ENTER. But for me thats no real solution. I’m using TinyMCE successfully for some of my customers and those can’t handle with that solutions.

Is there a hack or anything else that I can disable that? I don’t want any <p> only <br /> should be made.

Thanks for answers ahead!



I don’t know how many times I told people to:
1) Check the manual
2) Search the forums
3) Once done 1 & 2, THEN post on the forums.

anyway, what you are looking for is force_br_newlines & force_p_newlines:

force_br_newlines : true, force_p_newlines : false

Solution 2:


                force_p_newlines: false