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

118
Vistas
How to avoid certain HTML tags in tinymce?

I don't show a fiddle because it doesn't even seem to work in the tinymce documentation. Please watch the demo here, in JS it says invalid_elements: 'strong, b, em, i', however you can clearly make the text bold.

Is there something I'm missing? Why is it not working?

EDIT: you can test this minimal playable code also by pasting it here

<script type="text/javascript">
tinymce.init({
  selector: 'textarea',
  invalid_elements: 'strong,b,em,i',
  valid_elements: 'p',
});
</script>

<form method="post" action="dump.php">
    <textarea name="content"></textarea>
</form>
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