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

144
Visualizações
TinyMCE Removing HTML Elements

I'm writing contents that has example HTML tags in it.

I've already tried all these attributes:

tinyMCE.init({
    // ...
       cleanup: false,
       cleanup_on_startup: false,
       verify_html: false,
       extended_valid_elements : '*[*]',
});

After saving, everything is OK: After Saving

But when I reopen it, TinyMCE deletes all the HTML tags in my text: reopen

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

How is the content being stored in your database?

If you want to use a code example that includes HTML, you must use HTML entities for your < and >. If you don't do this, it will be interpreted as actual HTML.

&lt;title&gt;Example Title&lt;/title&gt;

Also, have you looked into TinyMCE's Code Sample plugin to show code examples? https://www.tiny.cloud/docs/plugins/opensource/codesample/

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