Pete Ruckelshaus wrote:
> This is my single complaint about FCKeditor.  It's annoying to have to
> go in and edit a .js config file to get it to display just those
> elements that you want.  If it had more of a tag-based configuration
> like SOeditor (which I stopped using because they just weren't
> delivering on promised updates), it would be nearly perfect.

In most cases, you can do all the customization from within coldfusion.

The toolbarset, however, appears to be one of the things you have to do 
in the javascript file.

However, you can avoid editing the default fckconfig.js by setting the 
CustomConfigurationPath to some other js file, which is loaded AFTER the 
default config file, and overrides those settings.

so

fck = createObject(...);
fck.Config.CustomConfigurationsPath = "myConfig.js";
fck.create();

Most of the other configuration settings are passed as URL variables to 
the editor itself.  Since a toolbar set is a a complex object (a 
javascript array), you can't exactly pass it in via URL param.

Rick


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213730
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to