TinyMCE customise Styles/Classes dropdown

Pretty easy, just do:

tinyMCE.init({
theme: "advanced",
//etc....
theme_advanced_styles: "className=Class Name;imgclass=Images",
//etc....
});

and your custom styles will be available in all popups etc.

Leave a Reply

Your email address will not be published. Required fields are marked *