Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

198
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!