/ Published in: JavaScript

Replace and append the following settings in modules/fckeditor/fckeditor.config.js. Has to be re applied after each update.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// 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;
Comments
