I have to update a toolbar after the instance is already loaded.
Ideally I want to run something like:
However, when I run this nothing happens to my editors. They keep the same old basic toolbar set. If I investigate the DOM via firebug I can see that the config data is saved (I get no errors). Is there a command I need to use to refresh the toolbar display?
To be clear:
1) I can't change the config file to just add a new toolbar config.
2) I can't specify a different config file to use.
In this instance, the toolbar is already loaded and there is nothing I can do but use JS to manipulate it after the fact.
Ideally I want to run something like:
function FCKeditor_OnComplete(editorInstance)
{
editorInstance.Config["ToolbarSets"]["Basic"] = [
['Bold','Italic','Underline'],
['OrderedList','UnorderedList'],
['TextColor','BGColor']
];
}However, when I run this nothing happens to my editors. They keep the same old basic toolbar set. If I investigate the DOM via firebug I can see that the config data is saved (I get no errors). Is there a command I need to use to refresh the toolbar display?
To be clear:
1) I can't change the config file to just add a new toolbar config.
2) I can't specify a different config file to use.
In this instance, the toolbar is already loaded and there is nothing I can do but use JS to manipulate it after the fact.

Re: change toolbar config of existing instance
function FCKeditor_OnComplete(editorInstance) { editorInstance.Config["ToolbarSets"]["BasicMin"] = [ ['Bold','Italic','Underline'], ['OrderedList','UnorderedList'], ['TextColor','BGColor'] ]; editorInstance.EditorWindow.parent.FCK.ToolbarSet.Load('BasicMin' ) ; }http://www.usefulconcept.com/index.cfm/2007/11/28/cftextarea-richtext--change-toolbar-on-the-fly-with-js