How to let user input in a input field and convert it into html code?

25 views Asked by At

I am new to the website building. I see there is one function in many forums(including stack overflow) which is converting user inputs into html, like the following screenshot.

This is just an example from community.fabric.microsoft.com

The key point is user just typing in regular text and format it like Word (for bold, underline.., add pictures).....then these input will be converted into relevant html code automatically.

How to achieve it by using Javascript or other programming languages or any frameworks..?

Thanks

Some details of how to achieve it.

0

There are 0 answers