Reputation: 5156
With Ckeditor3, when implementing your own file/image browser, to send back the file URL back to CKeditor, you would call :
window.opener.CKEDITOR.tools.callFunction(2,filename);
But it seems with Ckeditor4 this does not work anymore, even though the docs still says it's working...
Any help?
Upvotes: 1
Views: 4497
Reputation: 111
In this line
window.opener.CKEDITOR.tools.callFunction(CKEditorFuncNum,filename);
CKEditorFuncNum should be the value sent to the file browser via url param with the same name i.e &CKEditorFuncNum=4 - in this case 4 will be the first argument for callFunction().
Upvotes: 3