asingh wrote: I have to also know that what is 'FCKeditor1' as a parameter in FCKeditor.GetInstance('FCKeditor1'). Why we are not taking editorInstance parameter of FCKeditor_OnComplete(editorInstance) as the parameter of FCKeditor.GetInstance(). Because editroInstance is also instance of that FCKeditor.
The parameter to GetInstance is the name of the editor that you want to retrieve, but as you said, editorInstance is already a valid reference, so any call to FCKeditorAPI in such situation is a waste of time. I have seen also some people that in order to call the GetInstance they use the name provided in the editorInstance, I can't understand how anybody would get to write such code!
Re: Parameter of FCKeditorAPI.GetInstance()
I am getting error that oEditor is undefined in Mozilla Firefox and
in eclipse EditorDocument is null or not an object.
Re: Parameter of FCKeditorAPI.GetInstance()
The parameter to GetInstance is the name of the editor that you want to retrieve, but as you said, editorInstance is already a valid reference, so any call to FCKeditorAPI in such situation is a waste of time.
I have seen also some people that in order to call the GetInstance they use the name provided in the editorInstance, I can't understand how anybody would get to write such code!
Re: Parameter of FCKeditorAPI.GetInstance()
It's good to see your reply.
Can you describe me in detail to come over that problem?
I get error that oEditor is undefined in Mozilla Firefox and
in eclipse EditorDocument is null or not an object.
Re: Parameter of FCKeditorAPI.GetInstance()
of course it won't return a valid object if you don't call it with the proper name. Why don't you use the editorInstance?