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.
My theme (pixture reloaded) stores the variable "color_theme_stylesheets" as a drupal URI, like "public://color/pixture_reloaded-287d85ed/colors.css";
CKEditor builds the css URL by just prepending this string with site base path, which leads to http://www.example.com/public://color/theme-287d85ed/colors.css, and a http 400, Bad request.
Don't know if it's a theme mistake, but this could be fixed anyway...
Comment | File | Size | Author |
---|---|---|---|
#4 | ckeditor-theme-css-fails-to-translate-URI-2211217-4.patch | 1.11 KB | bwaindwain |
| |||
#1 | ckeditor-theme-css-fails-to-translate-URI-2211217-1.patch | 1.2 KB | gifad |
Comments
Comment #1
gifad CreditAttribution: gifad commentedAttached, a quick and dirty patch to fix the issue.
Comment #2
bwaindwain CreditAttribution: bwaindwain as a volunteer commentedPatch #1 works great. Thanks!
Comment #3
bwaindwain CreditAttribution: bwaindwain as a volunteer commentedComment #4
bwaindwain CreditAttribution: bwaindwain as a volunteer commentedupdated to work with v1.18
Comment #5
dalemoore CreditAttribution: dalemoore commentedTested #4 with 1.18 and not getting the invalid MIME type error in Chrome's console any more. Seems to be fixed! I was having the same public:// issue.
Comment #6
dalemoore CreditAttribution: dalemoore commentedI've had this on our Drupal Multisite install for a year at this point and still works well, no errors.
Comment #8
vokielWill be included in the upcoming release.
Comment #9
vokiel