[wp-trac] [WordPress Trac] #15095: Visual Editor inserts empty paragraphs before/after captioned images

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 16 20:45:43 UTC 2010


#15095: Visual Editor inserts empty paragraphs before/after captioned images
--------------------------+-------------------------------------------------
 Reporter:  markel        |       Owner:  azaozz           
     Type:  defect (bug)  |      Status:  assigned         
 Priority:  normal        |   Milestone:  Awaiting Review  
Component:  Editor        |     Version:  3.1              
 Severity:  major         |    Keywords:  reporter-feedback
--------------------------+-------------------------------------------------

Comment(by azaozz):

 These problems seem to come from a change in behaviour in TinyMCE. When
 performing a cleanup things like `<p><div>....</div></p>` are converted to
 `<p></p><div>...`, i.e. the invalid `<p>` tag is closed properly instead
 of removed.

 I'm still working on a proper fix for this.

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


More information about the wp-trac mailing list