If anybody can help I would like some kind of guide like this following : http://www.mixedwaves.com/2010/02/integrating-fckeditor-filemanager-in-ckeditor/. It shows how to integrate ckeditor with FCKEditor but it is very old. I would like the integration from the image button http://postimg.org/image/eio0k6xub/4bbca0ae/ to work.
Oct 21, 2015
2
Level 2
Help Configuring elfinder.connector in barryvdh's Elfinder component
Im trying to set a route in my controller for uploading an Image with the @Barryvdh Elfinder component through ckeditor wysiwyg but I dont understand how to configure elfinder.connector where I think routes should be set, In. ckeditor4.php I have
$().ready(function() {
var funcNum = getUrlParam('CKEditorFuncNum');
var elf = $('#elfinder').elfinder({
// set your elFinder options here
<?php if($locale){ ?>
lang: '<?= $locale ?>', // locale
<?php } ?>
customData: {
_token: '<?= csrf_token() ?>'
},
url: '<?= route("elfinder.connector") ?>', // connector URL
getFileCallback : function(file) {
window.opener.CKEDITOR.tools.callFunction(funcNum, file.url);
window.close();
}
}).elfinder('instance');
});
and this
url: '<?= route("elfinder.connector") ?>', // connector URL
is the place for the routes, but I dont understand how to access or where to access and what kind of values I should give it to upload the image.
Level 2
I managed to integrate the "quick upload" image tab which was the function name I was looking for with the http://www.mixedwaves.com/2010/02/integrating-fckeditor-filemanager-in-ckeditor/ tutorial in Ckeditor I will post updates. But that is the answer I was looking for.
Please or to participate in this conversation.