I've been looking up how to make a wysiwyg rich text area, via the execcommand
options.
I found tutorials useful, but there is a problem:
No matter what I code, In order to format some text, someone has to highlight/select the text they wish to change.
How can I make it so they can have the option to either highlight text, or just type, press 'bold' for example, and keep typing as bold?
I dont want people to have to select text to change it. I want them to just have to press a button to switch the format instantly.
How would I achieve this?