I would like to be able to include a div button into my TinyMce to be able to include some html content iside and set a class to it though the styles. This could be really usefull for me as I need to include this HTML code to collapse it and the HTML elements that the TinyMce provide me doesn't allow me to do it.
You could include it as a template. I did a post about implementing them here. The template you implement could be solely the code for the button that the editor will have the option to add into the TinyMCE.
Hello all,
I would like to be able to include a div button into my TinyMce to be able to include some html content iside and set a class to it though the styles. This could be really usefull for me as I need to include this HTML code to collapse it and the HTML elements that the TinyMce provide me doesn't allow me to do it.
Thanks in advance.