Easyadminbundle: Integration with CKEditor crashed

Created on 23 Oct 2018  路  1Comment  路  Source: EasyCorp/EasyAdminBundle

There were changes in CKEditorBundle - they were with Ivory namespace which is not maintained anymore. Now it is FOSCKEditorBundle. But after update, Easyadmin crashes with the following error:

Could not load type "Ivory\CKEditorBundle\Form\Type\CKEditorType": class does not exist.

Could you please update it? Here is an article how to migrate it easily.

bug hasPR

Most helpful comment

I had the same problem.

We just need to do:

  • composer require friendsofsymfony/ckeditor-bundle

  • Use FOS\CKEditorBundle\Form\Type\CKEditorType as type instead of ckeditor in the easy_admin config.

For example:
- { property: 'body', type: 'FOS\CKEditorBundle\Form\Type\CKEditorType' }

  • Use fos_ck_editor instead of ivory_ck_editor in config

>All comments

I had the same problem.

We just need to do:

  • composer require friendsofsymfony/ckeditor-bundle

  • Use FOS\CKEditorBundle\Form\Type\CKEditorType as type instead of ckeditor in the easy_admin config.

For example:
- { property: 'body', type: 'FOS\CKEditorBundle\Form\Type\CKEditorType' }

  • Use fos_ck_editor instead of ivory_ck_editor in config
Was this page helpful?
0 / 5 - 0 ratings

Related issues

lukasluecke picture lukasluecke  路  3Comments

ndench picture ndench  路  4Comments

shakaran picture shakaran  路  4Comments

haithem-rihane picture haithem-rihane  路  4Comments

ghost picture ghost  路  3Comments