How can you change the default colors available in the color table in the editor?
I want to replace two of the colors with the colors that I use on the board. I use 3.1.4.
Changing the font colors in the editor table
Started By WD1983, Sep 18 2011 12:39 AM
4 replies to this topic
#1
Posted 18 September 2011 - 12:39 AM
#2 Re: Changing the font colors in the editor table
#3 Re: Changing the font colors in the editor table
Posted 18 September 2011 - 01:03 AM
There's no php file that has the code in it that can be edited? I don't necessarily need to use the template editor for IPB but I can edit any of the files for the board since it's actually installed on my computer.
#4 Re: Changing the font colors in the editor table
Posted 18 September 2011 - 01:14 AM
Found it.
It's in the ipb.js file.
The colors can be manually changed there.
It's in the ipb.js file.
/* Values for the IPB text editor */
IPBoard.prototype.editor_values = $H({
'templates': $A(),
'colors_perrow': 8,
'colors': [ '000000' , 'A0522D' , '556B2F' , '006400' , '483D8B' , '000080' , '4B0082' , '2F4F4F' ,
'8B0000' , 'FF8C00' , '808000' , '008000' , '008080' , '0000FF' , '708090' , '696969' ,
'FF0000' , 'F4A460' , '9ACD32' , '2E8B57' , '48D1CC' , '4169E1' , '800080' , '808080' ,
'FF00FF' , 'FFA500' , 'FFFF00' , '00FF00' , '00FFFF' , '00BFFF' , '9932CC' , 'C0C0C0' ,
'FFC0CB' , 'F5DEB3' , 'FFFACD' , '98FB98' , 'AFEEEE' , 'ADD8E6' , 'DDA0DD' , 'FFFFFF'
],
The colors can be manually changed there.
#5 Re: Changing the font colors in the editor table
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users















