I want to add custom elements, for example footnotes.
This is possible using the insertHTML functionality in combination with a custom button, however I want the button to change if the element is selected. So basically I want to add another button with bold, italic or underline functionality.
On top of that I would like to add some extra options to the properties of div's, is this possible? I can't find it in the api.