[wp-trac] [WordPress Trac] #24956: Shrink image to fit editor column width in WYSIWYG editor

WordPress Trac noreply at wordpress.org
Mon Aug 5 15:44:42 UTC 2013


#24956: Shrink image to fit editor column width in WYSIWYG editor
-------------------------+------------------------------
 Reporter:  pellaeon     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Editor       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  close        |
-------------------------+------------------------------
Changes (by DrewAPicture):

 * keywords:   => close


Comment:

 This scenario is one of the things that a theme setting the
 `$content_width` global guards against. The Visual Editor is a what-you-
 see-is-close-to-what-you-get viewport, so if your theme hasn't set
 `$content_width`, you'll get the true 100% width image.

 So for example, in Twenty Thirteen, the `$content_width` is set to 604px.
 If I drop an image with 100% width into the editor, it's 100% width of a
 604px container. This is a theme issue, suggest close.

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


More information about the wp-trac mailing list