Hello, I would know how to access the FCKeditroAPI library from a dialog. I have created a plugin with an editor and I can't get the value of it.
I'm lost, any suggestion will be appreciated.
Miguel.
I'm lost, any suggestion will be appreciated.
Miguel.
Re: FCKeditorAPI in dialogs
var oEditor = null;
function FCKeditor_OnComplete( editorInstance ) {
oEditor = editorInstance;
}
So that I have an editor in a dialog and I can get its value.
Miguel.
Re: FCKeditorAPI in dialogs
Re: FCKeditorAPI in dialogs
Ok, so I will tell you some extra information.
My dialog contains a div which turns its visibility on / off, and that's div contains an iframe with the editor. It shouldn't affect because I wanted to use it inside iframe contents.
What I have now and works is:
Before it, I had a method called on body onload method that contained this line:
The main purpose of it is to store the editor in oEditor var to call GetXHTML() from dialog.