i have created a plugin. In that i am using the below code . when the code reaches the line pasteHTML, it raise a error like "unspecified error". I dont know why this error is coming. What should i do to resolve this error. Please help me regarding this...
And I have tested the code with a button's onclick event which resides in the main document not in the dialog window document. It is pasted the specified image into the editor...
var oEditor = FCKeditorAPI.GetInstance('FCKEditor1');
var range = oEditor.EditorDocument.selection.createRange();
Thanks in advance.....
pasteHTML in dialogbox.html givind unspecified error