[wp-trac] [WordPress Trac] #19611: Editor shows edit/remove image buttons when it should not

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 19 20:02:23 UTC 2011


#19611: Editor shows edit/remove image buttons when it should not
--------------------------+------------------------------
 Reporter:  sirzooro      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by azaozz):

 Replying to [comment:3 sirzooro]:

 The difference seems to be:
 {{{
 <img style="float: right;" src="...
 }}}
 vs.
 {{{
 <img class="aligright" title="...
 }}}

 We use classes to align images in TinyMCE, set in
 [http://core.trac.wordpress.org/browser/trunk/wp-includes/class-wp-
 editor.php#L284 the "formats" option].

 However setting inline style should work too, thinking this has something
 to do with editor-style.css in the theme.

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


More information about the wp-trac mailing list