How to change the drop-down list of the TinyMCE ruby ​​plugin format?

I would only like to enable h2 and h3, but I'm not sure how to edit the list in the drop-down list by adding the "formatselect" button.

+3
source share
1 answer

in a miniature mce init file

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

docs

+2
source

Source: https://habr.com/ru/post/1709635/


All Articles