I'm trying to setup CKFinder to work within CKEditor. It works through the sample, but not when I use use it with my instance, using the jQuery adapter.
Here's the code I have:
This is the error I'm getting:
Any suggestions? Thank you!
Here's the code I have:
var config = {
toolbar:
[
{ name: 'basicstyles', items : [ 'Bold','Italic','Strike' ] },
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote' ] },
{ name: 'styles', items : [ 'Format' ] },
{ name: 'insert', items: ['Image']},
{ name: 'clipboard', items : [ 'Undo','Redo'] },
{ name: 'source', items: ['Source']}
],
height: '330px',
resize_dir: 'vertical',
on:{
instanceReady: function(ev){
this.dataProcessor.writer.setRules('p',
{
indent : false,
breakBeforeOpen : true,
breakAfterOpen : false,
breakBeforeClose : false,
breakAfterClose : true
}
)
}
}
};
$('#editor').ckeditor(config);
var editor = $('#editor').ckeditorGet();
CKFinder.SetupCKEditor(editor, 'ckfinder/');
This is the error I'm getting:
448Uncaught TypeError: Object function (f,g){if(f)for(var h in f){if(!f.hasOwnProperty(h))continue;if(typeof f[h]=='function'&&h!='callback')continue;this[h]=f[h];}this.callback=g;} has no method 'SetupCKEditor'
Any suggestions? Thank you!

Re: CKFinder integration to CKEditor