Adding Fonts to the HTML Editor

 

You can add fonts to the HTML Editor by modifying the fckconfig.js file. The file is located here:

 

\ListManager\tclweb\htdocs\libtml\FCKeditor\fckconfig.js

 

Before you modify this file, make a copy of it and name the original fckeditor.js.old.

 

To add fonts

1. Open the fckconfig.js file in your preferred text editor.

2. Find FCKConfig.FontNames. It will look something like this:

 

FCKConfig.FontNames    = 'Arial, Helvetica, sans-serif;Arial Black, Impact, fantasy, sans-serif;Comic Sans MS, Comic Sans, cursive, sans-serif;Courier New, Courier, mono;Geneva, Arial, Helvetica, sans-serif;Georgia, Times New Roman, Times, serif;Impact, Arial Black, fantasy, sans-serif;Times New Roman, Times, serif;Trebuchet MS, Arial, Helvetica, sans-serif;Verdana, Arial, Helvetica, sans-serif' ;

 

3. Insert the pointer before the quote (') that follows the last font listed. Type a comma, then a space, and then the font name(s) you want to add. It should look like this:

 

... Arial, Helvetica, sans-serif, font1, font2, font3' ;

 

Each font must be separated by a comma and a space, and all font names must be listed between one set of single quotes.

 

NOTE If you upgrade to a new version of ListManager, the fckconfig.js file is overwritten. You must repeat this procedure to continue using your added fonts.