EDIT: entire question!!
How do I change the styles listed in the style dropdown and remove items from the toolbars?
I'd like to force my users to, for example, apply the red style to the text rather than change the font color using the dropper.
How do I change the styles listed in the style dropdown and remove items from the toolbars?
I'd like to force my users to, for example, apply the red style to the text rather than change the font color using the dropper.
Re: Change styles
I'm still working on how to remove all the default styles from the list BUT to add styles:
Edit the fckconfig.js file and add this entry:
FCKConfig.CustomStyles = { };
Then you can fill it with all the custom styles you'd like. You can get a more detailed description of adding styles to the list here:
http://docs.fckeditor.net/FCKeditor_2.x ... stomStyles
Removing items from the toolbar works much the same way. Find the FCKConfig.ToolbarSets entry in the fckconfig.js file and remove the items you want.
Make sure when you're editing the fckconfig.js file that you clear your browser cache. Otherwise you might not see the changes you make.
Eric Scott | Software Developer
www.DolphinMicro.com