TinyMCE: Plug-In for applying multiple classes to a textblock

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:


    style_formats : [
        {title : 'Error Message', classes : 'message error'},
        {title : 'Headline', classes : 'heading heading-loud page-heading'}

This creates two options under the styleselect control, labeled by title, which will apply all the classes to the element.

There's quite a bit more you can do with this, make sure to read the docs thoroughly.

Need Your Help

UIKit is nowhere to be found?

objective-c xcode osx uikit

I can't find UIKit.framework anywhere: it's nowhere in my /System/Library/Framework and I can't add it via Build Phase because it's not there to select. I have installed and re-installed xcode and ...

Key error in request.params

python shell pyramid

I am a beginner in Python and I have to create a pyramid project that accepts user input from a from, and performs a simple operation that gives back the result to the user.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.