Reputation: 11
have this nearly working in being able to upload files to my laravel installation from CKEditor and the CKFinder file browser works from route myurl/ckfinder/browser. But when i click on the image browser icon in CKEditor or open a CKFinder Popup from my vue file then the CKFinder File Browser popup opens but with a 404 error. Uploading is ok and browser route is working - am sure is a config I am missing.
Current code:
editor: ClassicEditor,
editorConfig: {
ckfinder: {
uploadUrl: '/ckfinder/connector?command=QuickUpload&type=Images&responseType=json',
openerMethod: 'popup',
},
toolbar: [ 'ckfinder', 'imageUpload', '|', 'undo', 'redo', 'removeFormat' ],
},
Have got so close , but so far - Any help very welcome.
Upvotes: 0
Views: 883
Reputation: 11
Had been a long week and issue was caused by forgetting to add the following in the template file:
CKFinder.config( { connectorPath: '/ckfinder/connector' } );Upvotes: 1