Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using the drupal 7 default theme and have all CKEditor features turned on. At its normal width the toolbar sections display strange. If I artificially make the body box smaller it looks normal, but at the width the page defaults to the buttons groups appear to line break in an odd way. Any ideas? See attached.
Comment | File | Size | Author |
---|---|---|---|
#1 | wysiwyg-1103448.patch | 841 bytes | bpeter |
Screen shot 2011-03-23 at 7.33.36 PM.png | 124.63 KB | agerson |
Comments
Comment #1
bpeter CreditAttribution: bpeter commentedThis patch solves the issue.
Comment #2
agerson CreditAttribution: agerson commentedThat fixed it. Thanks.
Comment #3
dwalker51 CreditAttribution: dwalker51 commentedThanks that did it ...just took me a while to figure out that I had to create the css file and add the last line of the patch in
/sites/all/modules/wysiwyg/editors/css/ckeditor.kama.css
Comment #4
Thomas Bosviel CreditAttribution: Thomas Bosviel commentedFixed. Thanks.
Comment #5
Starminder CreditAttribution: Starminder commentedthanks.
Comment #6
sunI don't understand why this patch adds a new CSS file.
Comment #7
Starminder CreditAttribution: Starminder commentedI am kind of wondering the same thing.
Comment #8
TwoDBecause there is none for CKEditor yet, and this fix is only applied if Kama is used?
Comment #9
Starminder CreditAttribution: Starminder commentedHow do you fix the problem if you weren't using kama?
Comment #10
TwoDIf you want to do it without modifying CKEditor, I'd go for #829266: Fixing toolbar for the CKeditor / Using the settings hook until #277954: Allow to sort editor buttons works well enough.
Comment #11
Starminder CreditAttribution: Starminder commented#60 looks like it might be the winner for now - thank you! I guess once #277954 is taken care of this will be moot?
Comment #12
joelcollinsdc CreditAttribution: joelcollinsdc commentedThis doesn't seem to be the right solution. Isn't the issue that when ckeditor is rendered via wysiwyg, for whatever reason the toolbar is generated using a single large span with several inner spans. (In other words, td->div->span->span,span,span...) If you look at ckeditor standalone, it is td->div->span,span,span,span. Whatever is causing this extra span to be added is what needs to be figured out...
Comment #13
flightrisk CreditAttribution: flightrisk commentedI have the same issue. Does this also fix the right side outline border missing? My issue seems to be on themes with 3 columns. When the editor is shrunk to that size, the menu is a mess and the right side is too wide for the frame and disappears. I can manually grab the resize tool and "bring it back in" and it looks fine then.
Comment #14
2faroffroad CreditAttribution: 2faroffroad commentedFixed mine running a Artisteer theme..
Thanks.
Comment #16
TwoD#277954: Allow to sort editor buttons fixes this issue by not forcing all buttons into a single toolbar group. Please help me test the sort_buttons branch in git or the latest patch in that issue so we can get it rolled into the main branches.