Category : ckeditor

I’m using FOS CKEditor in a Symfony 4 project. In my fos_ck_editor.yml config file, i configured an editor like this : fos_ck_editor: input_sync: true default_config: newsletter_content configs: newsletter_content: title: false language: fr toolbar: – [ ‘Bold’, ‘Italic’, ‘Underline’, ‘Link’, ‘Unlink’, ‘TextColor’ ] colorButton: colors: ‘#DE1F35’ I want to use the configuration variable config.colorButton_colors as described ..

Read more

I want to use ElFinder as my file manager in my Symfony project. I followed the doc on GitHub. In my routes.yaml: elfinder: resource: ‘@FMElfinderBundle/Resources/config/routing.yaml’ security.yaml – { path: ^/efconnect, role: [ROLE_USER] } – { path: ^/elfinder, role: [ROLE_USER] } And finally on fm_elfinder.yaml fm_elfinder: instances: default: locale: ‘%locale%’ # defaults to current request locale ..

Read more

I want to use ElFinder as my file manager in my Symfony project. I followed the doc on GitHub. In my routes.yaml: elfinder: resource: ‘@FMElfinderBundle/Resources/config/routing.yaml’ security.yaml – { path: ^/efconnect, role: [ROLE_USER] } – { path: ^/elfinder, role: [ROLE_USER] } And finally on fm_elfinder.yaml fm_elfinder: instances: default: locale: ‘%locale%’ # defaults to current request locale ..

Read more

SOLUTION 1- Install ckeditor-bundle dehu-composer require friendsofsymfony/ckeditor-bundle 2- Install the assets docker-compose exec -u www-data dehu-php bin/console ckeditor:install(already installed) docker-compose exec -u www-data dehu-php bin/console assets:install 3- Create a config file called fos_ckeditor.yaml: fos_ckeditor.yaml twig: form_themes: ‘@FOSCKEditor/Form/ckeditor_widget.html.twig’ fos_ck_editor: default_config: default configs: default: default toolbar plus Format button toolbar: [Bold, Italic, Underline, -, Cut, Copy, Paste, ..

Read more

The application working fine on local But when deployed to production, got 403 error when doing a request with ckeditor content. Normal text (e.g. My content) is working fine. It’s not working when the content is : <p> my content from ckeditor </p> and the response is 403 error (modifié) Version used : symfony 5, ..

Read more

Good evening, I currently have a problem with the installation of elfinder for ckeditor on symfony 4.3 During installation everything is fine but when adding the bundle in the file bundle.php when reloading the page it shows me Attempted to load class “FMElfinderBundle” from namespace “FMElfinderBundle”. Did you forget a “use” statement for another namespace? ..

Read more

I have a problem when installing CKeditor on Symfony 4.3, it puts me in the console when I enter the command to install the ckeditor bundle: composer require friendsofsymfony / ckeditor-bundle And an error appears and the console answers me: Problem 1      – Installation request for friendsofsymfony / ckeditor-bundle ^ 2.2 -> satisfiable by ..

Read more