How does tinymce converts p-tags?
-
I wonder how tinymce or some other JS routine strips all p-tags.
This is the result when manually logging the content via “tinyMCE.activeEditor.getContent()” e.g. on firebug console:
<p>Just the first paragraph</p><h2>This is a H2</h2><p>and finally:</p><p>this is the end</p>All paragraphs are preserved. On the other hand i got this element from the POST array via firebug
Just the first paragraph <h2>This is a H2</h2> and finally: this is the endSomeone could tell me where JS converts all p tags to newline?
The topic ‘How does tinymce converts p-tags?’ is closed to new replies.