Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

318
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda