Customising the FCK Editor
How to resize the FCK Editor Window
To resize the Rich Text Editor window in Admin, making the editor space that bit taller, follow the steps below.
1. Find and open using a text editor:
/admin/includes/rte/fckeditor.php
2. Look for the following text on about line 39:
$this->Height = '200';
3. Change the value from '200' to '500', or your preferred size.
4. SAVE and UPLOAD the file to your webserver.
Simplifying the Toolbar.
To reduce the number of toolbar icons, thus removing the unused clutter, follow the steps below.
1. Find and open using a text editor:
/admin/includes/rte/fckeditor.php
2. Look for the following text on about line 40:
$this->ToolbarSet = 'Default';
3. Change the value from 'Default' to 'Basic', as shown in the screenshot below.
4. SAVE and UPLOAD the file to your webserver.
Adding or Removing Toolbar Buttons
To add to remove toolbar buttons, particularly useful if you have change the toolbar set to 'Basic', just follow steps.
1. Find and open using a text editor:
/admin/includes/rte/fckconfig.js
2. Look for the following text on lines 61 and 77. These indicate the start of the tool button content:
FCKConfig.ToolbarSets["Default"] = [
and
FCKConfig.ToolbarSets["Basic"] = [
This shows the complete toolbar set for the 'Basic' toolbar:
FCKConfig.ToolbarSets["Basic"] = [
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
] ;
3. To add additional buttons, the easiest way is to copy buttons directly from the 'Default' button set to the 'Basic' set. For example, this entry...
'Source'
... is the source button, allowing the user to view the source code the editor creates. Each entry is seperated by a coma, when added to the 'Basic' toolbar it looks like this:
FCKConfig.ToolbarSets["Basic"] = [
['Source','Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
] ;
4. SAVE and UPLOAD the file to your webserver.
|