« Return to all random blog posts

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.

 

 

Comments:
Show comments