I would like to create an addon which adds a number of custom RTE formatting buttons to the built-in EE Rich Text editor.
There are two issues here:
- How to define the simplest add-on skeleton (plugin, module or extension) to achieve this.
- How to get the custom buttons to be recognised by the Rich Text module.
Following the official documentation to the word does not appear to do anything. If I create an extension and add a redundant hook (just so that it gets installed) then EE prompts me to install my custom RTE button. It would be nice to avoid the redundant extension hook.
The Rich Text module only appears to detect one of my custom buttons when I use the hook approach.