I am using tinymce 4.0.1 and it automatically adds p tags when you either start typing or hit enter. How can I dynamically remove these p tags and then reinsert the content
How about
$("p").each(function(){$(this).parent().append($(this).html()); $(this).remove()})