[wp-trac] [WordPress Trac] #24968: $content_width not constraining images in fullscreen editor

WordPress Trac noreply at wordpress.org
Wed Aug 7 03:53:05 UTC 2013


#24968: $content_width not constraining images in fullscreen editor
--------------------------+------------------------------
 Reporter:  saltcod       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  3.6
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by DrewAPicture):

 #20641 was wontfixed before for what I think may be the same issue
 described here.

 After testing in multiple browsers, I was only able to reproduce this
 consistently when inserting a '''captioned''' image, and that
 unfortunately goes for both inserting into DFW and the visual editor.

 If we're constraining uncaptioned images inserted into either DFW or the
 visual editor with `$content_width`, we should do the same for captioned
 images.

 What's holding us back it seems, are that inline width styles are being
 injected into the `<dl>` caption element allowing the image to push beyond
 the boundaries of the TinyMCE `<body>` element — the width of which is
 defined via `$content_width`. So maybe an issue in our implementation of
 TinyMCE?

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


More information about the wp-trac mailing list