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

197
Vistas
How to set initial data for CKEditor5?

I can't find a simple example on how to set initial data in CKEditor 5.

In some SO questions, it's said that we should use setData API. But those examples are AJAX based.

In CKEditor 4, I would simply set the value of the textarea and that was it.

In CKEditor 5, the HTML is not textarea but a simple <div>.

I tried to put the content inside the <div> and it did not work.

I also can't find an example in the docs.

So, how can I set initial data in CKEditor 5?

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

You can provide the initialData field in your config object during initialization. Doc reference

about 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