[wp-trac] [WordPress Trac] #11193: aligncenter Broken in Visual Editor When Caption Blank

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 24 18:55:39 UTC 2009


#11193: aligncenter Broken in Visual Editor When Caption Blank
--------------------------+-------------------------------------------------
 Reporter:  miqrogroove   |       Owner:  azaozz        
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  TinyMCE       |     Version:  2.8.4         
 Severity:  normal        |    Keywords:  needs-patch   
--------------------------+-------------------------------------------------

Comment(by miqrogroove):

 I'm definitely a bit lost with the buttons.  The patch only works for
 switching between HTML and Visual view so far.  Yes, I suspected there
 were some invisible tags floating around inside TinyMCE, which I do not
 have experience with.

 Could you suggest some way of making the center button behave just like
 switching to visual view after setting class=aligncenter?  If I can get
 that to be behave in IE then it should be just a matter of writing fancier
 regexp to handle linked images.

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


More information about the wp-trac mailing list