Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

257
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda