Problem FCKeditor Font Size smaller;larger; ff and ie

Problem FCKeditor Font Size smaller;larger; ff and ie

Postby king on November 6th, 2009, 5:51 pm

In article, let’s see how we can customize FCKeditor font size dropdown option list to px on the toolbar. To make the font changes in pixels from 10 to 18 instead of from smaller to xx-large.

1. Open the fckconfig.js file in the fckeditor folder
2. Find the line:
FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;

3. Change it to:
FCKConfig.FontSizes = '10;11;12;13;14;15;16;17;18' ;

4. Save and close the file.

5. Now go to the browser, clear your browser cache

6. Open the editor page, and now you can see the changes!

Hope this helps! ;)
king
Site Admin
 
Posts: 288
Joined: April 24th, 2008, 5:36 pm

Return to JAVACRIPT

Who is online

Users browsing this forum: No registered users and 1 guest

cron