View Single Post
  #3  
Old 15 Jan 2012, 10:59
acast acast is offline
 
Join Date: Aug 2008
Thumbs up

Originally Posted by LifesGreatestGift View Post
open file
./clientscript/ckeditor/plugins/colorbutton/plugin.js

On line 257 is where the colors are for the default palette.
It will look like this
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Each line is a line in the default palette. Just like on the palette, each line contains 8 colors.
So the code and the palette both have 5 rows of 8 colors.

So pick which color you'd like to replace in the palette, say the third color on the second row of the palette, on the second row, third color (colors separated by comma) its DAA520, so replace that with the hex color code you'd like displayed (no # needed).

Upload the modified file, and clear cache
Thank you very much, friend!!

How can i clean caché?

Last edited by acast; 15 Jan 2012 at 11:10.
Reply With Quote