I'm actually working on a project who needs a WYSIWYG interface with Symfony 4.4 and EasyAdmin 3.
I've tried to install FOS_CKEditor by following this doc https://symfony.com/doc/2.x/bundles/EasyAdminBundle/integration/ivoryckeditorbundle.html and some others tutorials that i've found on Google or Youtube, but unfortunatly I can't figure out why the CKEditorField does not display on my admin dashboard. I think i've been missing something.
Some help would be appreciate, here's my configs files :
Fos_ckeditor:
#config/packages/fos_ckeditor.yaml
twig:
form_themes:
- '@FOSCKEditor/Form/ckeditor_widget.html.twig'
fos_ck_editor:
configs:
basic_conf:
toolbar: full
EasyAdmin :
#config/packages/easy_admin.yaml
easy_admin:
design:
form_theme:
- "@EasyAdmin/form/bootstrap_4.html.twig"
- "@FOSCKEditor/Form/ckeditor_widget.html.twig"
I've also tried to define the FieldType in the CrudController by adding this :
#CrudController
public function configureFields(string $pageName): iterable
{
return [
..//
TextareaField::new('corps', 'Corps')
->setFormType(CKEditorType::class),
But it didn't worked.
Thanks by advance for your help !