Call Us:
If you need to customise FCK Editor for publish
/intranet/publish/fckconfig_publish.js
You can grab default value from fckconfig_publish.js and create
/intranet/publish/fckconfig_publish_custom.js
Example good fckconfig_publish_custom.js configuration can be found below:
// Stop using default value while using FCK Editor
window.parent.document.getElementById("use_default").checked = false;
FCKConfig.Plugins.Add( 'imgmap', 'en') ;
FCKConfig.ToolbarSets["Default"] = [
['Source','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','SpellCheck','-'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['FontFormat','Image','imgmapPopup','Flash','Table','Rule','Smiley','SpecialChar'],
['About']
] ;
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/office2003/' ;
FCKConfig.ForcePasteAsPlainText = false ;
FCKConfig.FontFormats = 'h2;h3;h4;h5;h6' ;
FCKConfig.FlashBrowser = true ;
Never customise fckconfig_publish.js or main fckconfig.js , In most cases it will be replaced during upgrade
Discussion