In my form I've created multiple instances of the editor. In a plugin I wrote I use the JavaScript API.
How do I know which instance(name) called the plugin from the toolbar?
See the following code for an example...
Thanks in advance...
Harmen
How do I know which instance(name) called the plugin from the toolbar?
See the following code for an example...
var oEditor = FCKeditorAPI.GetInstance('InstanceName') ;Thanks in advance...
Harmen

Re: The JavaScript API and multiple instances
This is what I want the plugin to do:
pageBreak.prototype.Execute = function() { var oEditor = FCKeditorAPI.GetInstance( <instance_name> ); oEditor.InsertHtml( '<hr class="newpage" />' ); }