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

252
Vistas
TinyMCE Failed to initialize plugin: code error in wordpress

I've been trying to add TinyMCE editor to my WordPress plugin. I'm aware that we can use the wp_editor() function to achieve this but it doesn't work when I call it via ajax. I've tried a few solutions for it but then managed to make it work directly.

The issue I'm having now is that it's giving an error for the 'code' plugin.

Here is the code for tinymce:

tinymce.init({
        menubar: false,
        selector: '#p_' + r,
        plugins: 'code',
        skin_url: '../wp-includes/js/tinymce/skins/lightgray'
    });

I'm getting this error on the editor:

Failed to initialize plugin: code

Console Errors:

enter image description here

PS: I've checked the plugins directory and the 'code' plugin folder is present i

about 4 years ago · Juan Pablo Isaza
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