Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
See link for better explanation: http://www.456bereastreet.com/archive/201112/the_difference_between_widt...
Comment | File | Size | Author |
---|---|---|---|
#1 | ckeditor_width_auto-1405786-1.patch | 506 bytes | logaritmisk |
Comments
Comment #1
logaritmisk CreditAttribution: logaritmisk commentedComment #2
TwoDHave you seen this happen on an actual site? Would be nice to have a real world sample to reproduce the issue with.
As far as I can tell, the problems described in that article happen when the 100% width item has margins/borders/padding, but the editor doesn't use that on its wrapping span, so it should not get wider than the containing field-wrapper div.
Comment #3
gmclelland CreditAttribution: gmclelland commentedPatch in #1 fixed CK Editor for me using the seven theme. Thanks
Comment #4
TwoDSaw a problem caused by this happen with the Bartik theme. The right edge of the editor got cut off by a div.
With the patch the editor stays within the div as it's supposed to. It can still be resized so the other div will obscure it, but it no longer happens on page load. The resizing problem is unrelated.
Committed this to all the main branches, -dev snapshots will be updated within 12 hours and this will be part of the next releases.
Thanks for the patch, Anders!
It got delayed far longer than needed and I'm sorry for that.