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
Solution
Here is a simple code example: https://jsfiddle.net/locky/eyufz9xw/
Thank you, but do not tell how to apply your code to this vuejs.org/examples ? 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
ckeditor

Find more questions by tags HTMLjQueryPHP