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

146
Vistas
How can i get these html tags removed in my react app

<figure class="image"><img scr="https://res.cloudinary.com/dfyhqttyxe/image/upload/v163126647133/zenith/uozgem6icqsrt3bitab6.jpg"></figure><p>The body</p>

I am using editor in a ReactJS project where I need to render the editor content as React DOM html element on a next page.

All the contents written in the editor get rendered properly but I don't know how I can get the p , figure class and image tags removed. I just want the image url and the text .

If I attach any image url in the editor then the url appears as anchor tag as the src attribute of the img tag.

I need to remove that unwanted malformed anchor tag from the image src attribute and replace it will the image url.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Its typo mistake

Correct tag is 'img' and try 'src' attribute instead of 'scr'

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