Closed (fixed)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
5.x-2.0-beta
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2008 at 13:42 UTC
Updated:
14 Jul 2008 at 17:41 UTC
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
Comment #1
jadwigo commentedthere 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
Comment #2
t42 commentedCan I suggest changing the settings page then? The text under "Editor Appearance/Toolbar" states that you can.
Comment #3
wwalc commentedActually, 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.
Comment #4
miklYeah, you're right. It was a cached version with an error in it. Sorry for wasting your time.
Comment #5
manerhabe commentedI had the same problem when I tried changing the buttons on one of the default toolbars. Clearing my cache fixed it. Thanks!
Comment #6
calvy commentedOK, I had the same problem, I past 4 hours on this...
Thanks !