Hi,
I want to insert html tekst in the textarea after creating the fckedit, using external javascript. This is what I did as a test:
var oFCKeditor = new FCKeditor('data','100%','500','Default' ) ;
oFCKeditor.Value = "Starting text";
oFCKeditor.Create() ;
var fck = FCKeditorAPI.GetInstance("data"); ;
fck.InsertHtml("Haligali");
The fckeditor is displayed and fully functional, but the javascript console displays: FCKeditorAPI is not defined
What would be the proper way to do achieve this goal? How can I get the correct instance handle? I am using FCKeditor_2.0rc2.
regards,
Robert
I want to insert html tekst in the textarea after creating the fckedit, using external javascript. This is what I did as a test:
var oFCKeditor = new FCKeditor('data','100%','500','Default' ) ;
oFCKeditor.Value = "Starting text";
oFCKeditor.Create() ;
var fck = FCKeditorAPI.GetInstance("data"); ;
fck.InsertHtml("Haligali");
The fckeditor is displayed and fully functional, but the javascript console displays: FCKeditorAPI is not defined
What would be the proper way to do achieve this goal? How can I get the correct instance handle? I am using FCKeditor_2.0rc2.
regards,
Robert
RE: FCKeditorAPI is not defined
RE: FCKeditorAPI is not defined
Same predicament here. Any luck?
ContiW
RE: FCKeditorAPI is not defined
here is the code on the pop-up page:
var oEditor = window.opener.FCKeditorAPI.GetInstance('adc_content');
document.write(oEditor.GetHTML() );
thanks in advance!