How can I remove p tags that are auto added within tinymce

you need to add the following line to your init statement

forced_root_block : ""

So, your complete code will be like this:

    <script>tinymce.init({forced_root_block : "",selector:'textarea'});</script>

You can remove "p" tag by adding forced_root_block : false to your tinymce setup or you can hide the status bar by statusbar: false


How about

$("p").each(function(){$(this).parent().append($(this).html()); $(this).remove()})

Tinymce needs a root block element, which is a paragraph by default, in order to be able to style content. So removing those paragraphs will only result in all content being wrapped into one single paragraph because tinymce is forced to use this as root block element.