How to insert custom function in tinymce,

I would like to know how I can make my custom function in tinymce. suggested that my function is called A. The function inserts an html tag of the form, such as "etc.". From this function (button), people who don’t even know the HTML tag can insert the tag without editing the text mannualy. I want A to appear as a button in the tinymce toolbar. My function inserts an HTML tag into a document that people edit by clicking a button. so what is the solution?

+3
source share
1 answer

Check out this short tutorial on how to write your own plugin (containing your own functions).

0

Source: https://habr.com/ru/post/1749351/


All Articles