Posted By

localhorst on 02/28/08


Tagged

config PHPWCMS FCKEditor


Versions (?)

Customize FCKEditor in PHPWCMS


 / Published in: JavaScript
 

make changes in fckeditor_config.js.php

  1. // custom FCKconfig
  2. FCKConfig.ForcePasteAsPlainText = true ;
  3. FCKConfig.IgnoreEmptyParagraphValue = true ;
  4.  
  5. FCKConfig.FillEmptyBlocks = false ;
  6.  
  7. FCKConfig.FormatSource = true ;
  8. FCKConfig.FormatOutput = false ;
  9. FCKConfig.FormatIndentator = ' ' ;
  10.  
  11. FCKConfig.EnterMode = 'p' ;
  12.  
  13. // a minimized customized FCKeditor Toolbar for phpwcms
  14. FCKConfig.ToolbarSets["phpwcms_basic"] = [
  15. ['Bold','Italic','Underline','OrderedList','UnorderedList','JustifyLeft','Link','Unlink'],
  16. ['SpecialChar','RemoveFormat','PasteText'],
  17. ['FitWindow','Source']
  18. ] ;

Report this snippet  

You need to login to post a comment.