I added the following to fckeditor.config.js:
FCKConfig.ToolbarSets["Letsmake"] = [
['FontFormat','-','Bold','Italic','StrikeThrough','-','Rule','-','OrderedList','UnorderedList','-','Outdent','Indent','-','Link','Unlink', 'Image']
] ;

After doing that, I can enable my new toolbar set in admin/settings/fckeditor, but when I try and load a page with FCKEditor on it, I get a JavaScript alert saying:
Toolbar set "Letsmake" doesn't exits

I've also tried adding it to fckconfig.js in sites/all/modules/contrib/fckeditor/fckeditor, but that does not seem to make any difference.

Comments

jadwigo’s picture

there is no mechanism to read extra custom toolbars in the module at the moment... someday it will probably be implemented, but if you want to add it now you'll need to modify the module (in the settings page) to include the option for your custom toolbar

t42’s picture

Can I suggest changing the settings page then? The text under "Editor Appearance/Toolbar" states that you can.

wwalc’s picture

Actually, the 5.x-2.x series should be able to read custom toolbar names from the javascript files, so there is no need to modify the fckeditor module.
I suppose that the problem is that the browser still see the old javascript file. To get rid of that annoying error, simply purge your browser's cache and restart if if necessary.

mikl’s picture

Status: Active » Closed (fixed)

Yeah, you're right. It was a cached version with an error in it. Sorry for wasting your time.

manerhabe’s picture

I had the same problem when I tried changing the buttons on one of the default toolbars. Clearing my cache fixed it. Thanks!

calvy’s picture

OK, I had the same problem, I past 4 hours on this...
Thanks !