Hi there,
I'm trying to integrate a speller in the FCKEditor.
I've started having problems in accessing the editor content. I didn't know how to access content independent from styles and stuff like that.
After seeing the fck_replace.html I've found a way to do it. With the code:
var oEditor = window.parent.InnerDialogLoaded();
CollectTextNodes( oEditor.FCK.EditorDocument.body ) ;
And the function CollectTextNodes does the job for me.
My problem is that I want to use this funcionality out of a dialog. In the html page where I have the editor, I can't get the equivalent of the:
var oEditor = window.parent.InnerDialogLoaded();
call... Can anyone point me out to the right direction? being of a dialog, how can I get the same thing that call returns?
Thanks a lot!
I'm trying to integrate a speller in the FCKEditor.
I've started having problems in accessing the editor content. I didn't know how to access content independent from styles and stuff like that.
After seeing the fck_replace.html I've found a way to do it. With the code:
var oEditor = window.parent.InnerDialogLoaded();
CollectTextNodes( oEditor.FCK.EditorDocument.body ) ;
And the function CollectTextNodes does the job for me.
My problem is that I want to use this funcionality out of a dialog. In the html page where I have the editor, I can't get the equivalent of the:
var oEditor = window.parent.InnerDialogLoaded();
call... Can anyone point me out to the right direction? being of a dialog, how can I get the same thing that call returns?
Thanks a lot!