I hope you can help me!

I have a textarea for form input.

I want to have a series of buttons for users to click on.

These buttons will add text to the textarea. Ideally wherever the cursor is, but if that is too hard if the text is appended to the end of the textarea content that would still be good.

I have developed something similar to vb code in PHP and want to use these buttons for the less-technical users to be able to still benefit from the easy code method.

Any ideas ?