Hi,
I've installed CK Editor in Drupal 7.
I want to change the colors in the color picker to the colors used in the site, so I added this code in the config.js file:
CKEDITOR.config.colorButton_colors = '000,143c6c,7283a9,6aabb9,f28833,f4ba8c,ff0000';
CKEDITOR.config.colorButton_enableMore = false;
When I test this in the sample files, for example _samples/ui_languages.html, all works fine.
However, when I use the same CK Editor, on the same domain, then I still see the default colors.
Any idea how to solve this?
I've installed CK Editor in Drupal 7.
I want to change the colors in the color picker to the colors used in the site, so I added this code in the config.js file:
CKEDITOR.config.colorButton_colors = '000,143c6c,7283a9,6aabb9,f28833,f4ba8c,ff0000';
CKEDITOR.config.colorButton_enableMore = false;
When I test this in the sample files, for example _samples/ui_languages.html, all works fine.
However, when I use the same CK Editor, on the same domain, then I still see the default colors.
Any idea how to solve this?
Re: Colors in color picker do not change in Drupal 7
in Drupal 7 add this code:
in CKEditor's profile conifguration , "Custom JavaScript configuration " option in "Advanced options" tab/section.