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.
Generally a script should be placed just before </body>
for better performance. But in case of JavaScript aggregation, put in footer generates one more http requests.
So I think CKEditor should detect if aggregation is enabled and place ckeditor.utils.js in header (in the "theme" scope, however).
Comment | File | Size | Author |
---|---|---|---|
#3 | 772396-ckeditor-header.patch | 912 bytes | jcisio |
#2 | 772396-ckeditor-header.patch | 483 bytes | jcisio |
Comments
Comment #1
wwalc CreditAttribution: wwalc commentedSounds good, any chance for a patch? :)
Comment #2
jcisio CreditAttribution: jcisio commentedJust checkout and create patch. Not tested, but should work.
Comment #3
jcisio CreditAttribution: jcisio commentedWrong cvs diff syntax. Use this one.
Comment #4
bryancasler CreditAttribution: bryancasler commented#3 worked for me, did exactly what it said it would
Comment #5
jcisio CreditAttribution: jcisio commentedChange the status thus :)
Comment #6
wwalc CreditAttribution: wwalc commentedPatch committed into CVS, thanks jcisio!