Hi,
I've just upgraded to CKFinder 2.0 and I can't make things work. I've already read the migration docs and adopted the new coding standards. By the way, i'd like to congratulate for the effort on the API docs, it was so needed.
It seems to crash when using 'null' as a parameter for setupCKEditor.
I've used the wizard to see that CKFinder is correctly installed. I've also tried the _samples example 'ckeditor.html', that works fine if I try it as I downloaded, but if you modify the code at the end where...
and put instead:
it throws an error 'jU is not defined'.
Am I doing something wrong? I also tried to put the line before the CKEDITOR.replace. It seems like a bug for me...
Thank you for your help!
I've just upgraded to CKFinder 2.0 and I can't make things work. I've already read the migration docs and adopted the new coding standards. By the way, i'd like to congratulate for the effort on the API docs, it was so needed.
It seems to crash when using 'null' as a parameter for setupCKEditor.
I've used the wizard to see that CKFinder is correctly installed. I've also tried the _samples example 'ckeditor.html', that works fine if I try it as I downloaded, but if you modify the code at the end where...
var editor = CKEDITOR.replace( 'editor1' ); editor.setData( '<p>Just click the <b>Image</b> or <b>Link</b> button, and then <b>"Browse Server"</b>.</p>' ); CKFinder.setupCKEditor( editor, '../' ) ;
and put instead:
var editor = CKEDITOR.replace( 'editor1' ); editor.setData( '<p>Just click the <b>Image</b> or <b>Link</b> button, and then <b>"Browse Server"</b>.</p>' ); CKFinder.setupCKEditor(null, '../' ) ;
it throws an error 'jU is not defined'.
Am I doing something wrong? I also tried to put the line before the CKEDITOR.replace. It seems like a bug for me...
Thank you for your help!

Re: Can't instantiate CKFinder 2.0 with 'null' as editorObj
var finder = new CKFinder() ;
finder.BasePath ="ckeditor/ckfinder/";
finder.SelectFunction = callbackfunction;
finder.Popup();
Else i don't understand why you want do ... if it's called setupCKEditor, it's in order to setup CKFinder IN CKEditor, not in a 'null' element...
Re: Can't instantiate CKFinder 2.0 with 'null' as editorObj
http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.html#.setupCKEditor
Re: Can't instantiate CKFinder 2.0 with 'null' as editorObj
Re: Can't instantiate CKFinder 2.0 with 'null' as editorObj
Re: Can't instantiate CKFinder 2.0 with 'null' as editorObj
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Can't instantiate CKFinder 2.0 with 'null' as editorObj
Re: Can't instantiate CKFinder 2.0 with 'null' as editorObj