Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

316
Views
CKEditorType shows text area in symfony sonata admin

I'm using friendsofsymfony/ckeditor-bundle in my symfony project I followed symfony docs https://symfony.com/doc/current/bundles/FOSCKEditorBundle/installation.html to install it. But the problem instead of getting the ckeditor Im getting a text area.

enter image description here

config.yml

 form_themes:
         - '@FOSCKEditor/Form/ckeditor_widget.html.twig'

fos_ckeditor.yaml

default_config: default
configs:
default:

  default toolbar plus Format button
toolbar:
  [Bold, Italic, Underline, -, Cut, Copy, Paste,
   PasteText, PasteFromWord, -, Undo, Redo, -,
   NumberedList, BulletedList, -, Outdent, Indent, -,
   Blockquote, -, Image, Link, Unlink, Table]
  [Format, Maximize, Source]

TutoAdmin.php

protected function configureFormFields(FormMapper $formMapper)
    {
        $formMapper

              ->add('contentEn', CKEditorType::class, array(
                'label' => 'Content english',
                 'config' => array('toolbar' => 'full'),

              ))
     }
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Apparently , I forgot to install the assets.This should solve the problem.

 php app/console assets:install web
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!