How do you add tags to a textarea using buttons?

How to add tags in textarea? Would like to make a simple editor like the toaster, but can't find a lesson or example code.
July 8th 19 at 15:38
2 answers
July 8th 19 at 15:40
Here is a simple code example:
Thank you, but do not tell how to apply your code to this ? The code works tags are added, but right in the window they do not work out. - Liliana_Hickle82 commented on July 8th 19 at 15:43
July 8th 19 at 15:42

Find more questions by tags HTMLjQueryPHP