The question whether it is possible to apply multiple classes/styles to an element in TinyMCE has already been asked and properly answered.
However, i wanted to ask around whether anyone has found any prepared plugin for this purpose, or perhaps has even written his own?
Certainly i am also open for alternative approaches, should someone know of any!
Thank You!
No need for a plugin, this functionality is built in to TinyMCE:
Example:
This creates two options under the
styleselectcontrol, labeled bytitle, which will apply all theclassesto the element.There’s quite a bit more you can do with this, make sure to read the docs thoroughly.