How to add custom formats to TinyMCE Rich Text Editor

Not sure if “selector” is the correct parameter.

Maybe try this instead:

[{"title": "Text Purple", "inline": "span", "classes": "tp-colour-purple"}]
3 Likes