View Single Post
  #2  
Old 15 Jan 2012, 04:28
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
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
Attached Images
File Type: png Untitled.png (3.5 KB, 0 views)
__________________
If I have helped you, the least you could do is click the button to show your appreciation.
TheSecond.org - Because it is our right!
Reply With Quote