How to build a basic rich text editor
I'm trying to write a very simple rich text editor. All it has to do is to display bolded text and only has a single button (bold).

What I don't know is how to change the styling of a text section in a `<textarea>`

I have looked at the source code of some existing rich text editors but they seemed too complex to follow.

Can you guys guide me to the right path. Thanks
How to build a basic rich text editor
===

I'm trying to write a very simple rich text editor. All it has to do is to display bolded text and only has a single button (bold).

What I don't know is how to change the styling of a text section in a `<textarea>`

I have looked at the source code of some existing rich text editors but they seemed too complex to follow.

Can you guys guide me to the right path. Thanks