vendredi 16 octobre 2015

CKEditor ignoring BASEPATH in Laravel

Installed CKEditor and CKFinder in a Laravel project, both in the Public/js folder

In my main page, I load a site specific .js file which contains

var CKEDITOR_BASEPATH = '/js/ckeditor/';

Then I load my ckeditor.js file

From my /Resources/Views/admin/newpage.blade.php view, I load up a text box and call CKEditor.replace(). Does it perfectly. I can add a new page, even edit them.

Problem occurs when I try to use the Browse server buttons, it tries to load the plugin from /admin/ckeditor/plugins/... instead of /js/ckeditor/plugins/...

I have a feeling its something simple I am missing, but just not sure what. Any thoughts?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1LprQej
via IFTTT

Aucun commentaire:

Enregistrer un commentaire