Closed eleven59 closed 6 months ago
Hey @eleven59
Sorry for the inconvenience. The CKEditor version upgrade broke elFinder integration. @pxpm is already working on the fix. We are actually working on something bigger: AjaxUploader, adding support to other editors, image drag-and-drop feature(similar to the GitHub comment box).
Things are in progress. We'll let you know by leaving an update here, but it may take some time.
Hi @karandatwani92
That sounds awesome, thanks for the update and looking forward to the fix!
Fixed in PRO 2.2.2
See the updated docs: https://backpackforlaravel.com/docs/6.x/crud-fields#ckeditor-pro
Cheers
Bug report
What I did
Followed the instructions on https://backpackforlaravel.com/docs/6.x/crud-fields#ckeditor-pro which mention the following:
What I expected to happen
Install elFinder, be able to select files from elFinder
What happened
No such luck. ElFinder integration is completely non-existent for CKEditor 5 as of the latest versions of everything:
What I've already tried to fix it
I made a workaround overriding the ckfinder plugin using a custom ckeditor init as found here: https://github.com/Laravel-Backpack/community-forum/issues/559#issuecomment-1630673757.
I did the following, using a ckeditor build that includes the ckfinder plugin which I put in
assets/ckeditor.js
:In the CRUD controller setupUpdateOperation:
My
assets/ckeditor/ckeditor-init.js
file:Is it a bug in the latest version of Backpack?
After I run
composer update backpack/crud
the bug... is it still there? Yes!Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is: