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

200
Vistas
How to automate blog text editor and then on react json to html?

I am new to this, I'm building a website with a blog. Right now, I want to create a text editor, the text area is just plain txt that will be JSON. Basically I need an input text like in any website, and render the html, just like this one here when you write a question post. That allows bold, italics, quotes, images, bullet points...

Is there an easy way, any npm package that includes this? Because I was thinking to do it myself but my thoughts seem quite convoluted.

For instance, I want to detect links and upload images along with the text. I believe I have to parse the text into html and regex for links to add the tags. And about the images maybe upload them beforehand to the server with multer and then add the link in the text. And later detect my image folder and parse the text into a img component. Is this too complicated?

Also later I need to display this JSON, I believe I need to use dangerouslySetInnerHTML or react-json-to-html and react sanitize-html.

Is this correct? Or is there a better way? I'm open to suggestions.

Thanks for the help.

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