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

205
Visualizações
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 à 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