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.
Is dropping a block out of the question? This works with both the new and old TinyMCE.
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.