Return to Snippet

Revision: 13215
at April 14, 2009 17:03 by zachharkey


Initial Code
// Replace DrupalBasic (around line 50)

FCKConfig.ToolbarSets['DrupalBasic'] = [
['Source'],
['FontFormat','-','Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink', 'Image'],
['CreateDiv','ShowBlocks']
] ; 


// Append to bottom of page

// I prefer to see block elements.
FCKConfig.StartupShowBlocks = true;

// Remove the double background image.
FCKConfig.EditorAreaStyles = 'body { background-image: none; background-color: #FFF }';

// Make source code view readable.
FCKConfig.FormatSource = true;
FCKConfig.FormatOutput = true;

Initial URL

                                

Initial Description
Replace and append the following settings in modules/fckeditor/fckeditor.config.js. Has to be re applied after each update.

Initial Title
FCKEditor config snippets

Initial Tags
drupal

Initial Language
JavaScript