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.
There is an annoying issue in IE11 (and maybe in other versions of IE). In panels popup CKEditor replaces textarea, however it's invisible. No JavaScript errors are reported.
Comment | File | Size | Author |
---|---|---|---|
ckeditor_panels_ie11.png | 22.82 KB | wwalc |
Comments
Comment #1
loopduplicateConfirmed to be broken in IE11. Works fine in IE9 and IE10.
Comment #2
loopduplicateI'm getting closer to solving this one. Here's the latest progress.
There is a line of code that gets injected
<style>.cke{visibility:hidden;}</style>
in the head. There is another line of CSS that gets loaded after that in editor.js,.cke_chrome{visibility:inherit}
. For some reason, in IE11, the cascading is backwards and .cke takes precedence over .cke_chrome.There is a similar thread here: https://drupal.org/node/2078821
Comment #3
loopduplicateI was able to get CKEditor to show up using:
but dropdowns didn't work, as reported on https://drupal.org/comment/8680039#comment-8680039 . Then I added the following to make the dropdowns work:
Here's the snippet in its entirety:
I'm not sure if this is a bug that should be addressed in CKEditor itself or one that should be addressed perhaps here, in this contrib module. It's getting late tonight and I have to make it to DrupalCamp Stanford tomorrow so I don't have time to figure that out right now :) If anyone has a chance to test this stuff in CKEditor outside of Drupal, that would be helpful. In the meantime, I hope that people can use my little fix in their theme for the time being.
Cheers,
Jeff
Comment #4
loopduplicateMarking this as needs work, even though I don't have a patch ready, because the code I used works but I don't know exactly where the right place is to inject it :)
Comment #6
wwalc CreditAttribution: wwalc commentedThanks loopduplicate, I've added the styles to ckeditor.css. I've spent some time on trying to reduce the test case so that I could report a generic ticket for CKEditor that does not require Drupal with aditional modules, but had to give up. Considering that we're hitting some edge case, I'm ok with having it solved this way until it is identified as a bug in CKEditor library itself and fixed there.
Regarding the proper place for such styles, there is a separate issue for this: #1370894: Conditionally load ckeditor.css only when necessary
I hope to have it closed soon as well.