Reputation: 41
I want to remove some of the tags defined in TinyMCe format menu. How can i do this on tinymce initialization
Upvotes: 4
Views: 563
Reputation: 1441
You can use theme_advanced_blockformats variable in init function to define the tags you want.
theme_advanced_blockformats : "h2,h3,p",
above code will allow only h2,h3 and p tags on format menu.
For more details on tinyMCE configuration you can visit this Tutorial
Upvotes: 2