[wp-trac] [WordPress Trac] #13314: HTML is deleted when switched to visual editor

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 6 20:45:55 UTC 2012


#13314: HTML is deleted when switched to visual editor
-------------------------------+------------------------------
 Reporter:  BH8489             |       Owner:  azaozz
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by azaozz):

 Yes, when we get the html out of TinyMCE, we strip all line breaks/extra
 white space, then it's run through pre_wpautop() to remove all <p> tags
 and insert some line breaks.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13314#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list