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.
When adding a teaser break, an image is placed in CKEditor (wysiwyg/plugins/break/images/spacer.gif) and a HTML comment is visible in the source (<!-- break -->).
Unfortunately, the break.css file is not loaded, so the style of the break in the CKEditor is a 0 space image (the teaser break is invisible).
I patched it by adding the following line to my theme.info:
stylesheets[all][] = ../../modules/wysiwyg/plugins/break/break.css
Am I missing something?
Comments
Comment #1
TwoDThis is with the CKEditor 4 patch, right? People keep insisting we commit it while problems like this are still to be fixed by it.
CKEditor 4 changed the id of the div surrounding the editing area iframe so Wysiwyg isn't injecting the cross-editor plugin stylesheets to it anymore.
We simply need to look for another div if one using the CKEditor 3 naming convention isn't there. I'll roll that into the CKEditor 4 patch later today.
Comment #2
gaellafond CreditAttribution: gaellafond commentedSorry for late reply.
Yes, I forgot to mentioned that this is with CKEditor 4, with the patch to find the version.
Thanks for your input. I worked around this issue by adding a CSS rule in my theme:
Comment #3
TwoDOk, the latest patch in #1853550: Ckeditor 4.0 - The version of CKEditor could not be detected. fixes this now.