views:

289

answers:

1

I'd like to only allow h2 and h3, but I'm not sure how to edit the list in the dropdown shown by adding the 'formatselect' button.

A: 

in your tiny mce init file

tinyMCE.init({
    ...
    theme_advanced_blockformats : "h2,h3"
});

docs

phillc
Awesome, that did the trick. Thanks!
zlog
Although, being a rails plugin, I fixed it in the controller in: uses_tiny_mce( ... :theme_advanced_blockformats => "h2,h3,p" ... )
zlog