I have problems with window.parent.CKEDITOR.tools.callFunction(1, $url)
Argument “1” didn`t want to work. This is how i solved problem, mybe it will be useful for somebody.
parse_str($_SERVER['QUERY_STRING'], $_GET);
$ckefunc = $_GET['CKEditorFuncNum'];
$output = "<html><body>< script type='text/javascript'>window.parent.CKEDITOR.tools.callFunction($ckefunc, '$url');< /script></body></html>";
echo $output;
