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...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gifad’s picture

Attached, a quick and dirty patch to fix the issue.

bwaindwain’s picture

Patch #1 works great. Thanks!

bwaindwain’s picture

Status: Active » Needs review
bwaindwain’s picture

dalemoore’s picture

Tested #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.

dalemoore’s picture

Status: Needs review » Reviewed & tested by the community

I've had this on our Drupal Multisite install for a year at this point and still works well, no errors.

  • 22ceda2 committed on 7.x-1.x
    Issue #2211217 by bwaindwain, gifad: Using "theme css", CKEditor fails...
vokiel’s picture

Status: Reviewed & tested by the community » Fixed

Will be included in the upcoming release.

vokiel’s picture

Status: Fixed » Closed (fixed)