I'm using fckeditor 2.0beta2 with Firefox 1.0PR
I'd like to customize the format combo by adding some custom items refered to my site's .css (successfully imported into the editor).
It actually features 4 items : Normal P,Normal div,Heading 1,heading2.
I'd like to add some classes from the css
(f.e. .highlight,.quote,etc)
I've edited the fckeditorcode_gecko_2.js file and added the needed items right after the existing ones :
>>>>>>>>>>>>>>>>>>>>>>>
FCKToolbarItems['FontFormat'] = new FCKToolbarCombo( 'FontFormat', FCKLang['FontFormat'], '<P>;<DIV>;<H1>;<H2>;<DIV class="highlight">', 'Normal (P);Normal (DIV);Heading 1;Heading 2;Highlight' );
>>>>>>>>>>>>>>>>>>>>>>>
but it doesn't work.
Am i missing something?
Thanks in advance,ralf
I'd like to customize the format combo by adding some custom items refered to my site's .css (successfully imported into the editor).
It actually features 4 items : Normal P,Normal div,Heading 1,heading2.
I'd like to add some classes from the css
(f.e. .highlight,.quote,etc)
I've edited the fckeditorcode_gecko_2.js file and added the needed items right after the existing ones :
>>>>>>>>>>>>>>>>>>>>>>>
FCKToolbarItems['FontFormat'] = new FCKToolbarCombo( 'FontFormat', FCKLang['FontFormat'], '<P>;<DIV>;<H1>;<H2>;<DIV class="highlight">', 'Normal (P);Normal (DIV);Heading 1;Heading 2;Highlight' );
>>>>>>>>>>>>>>>>>>>>>>>
but it doesn't work.
Am i missing something?
Thanks in advance,ralf