Is there a βmodern themeβ (in other words, tinymce 4) equivalent to the theme_advanced_blockformats option?
theme_advanced_blockformats allows you to limit the set of available formats by adding the following to tinymce.init() :
tinyMCE.init({ ... theme_advanced_blockformats : "p,div,h1,h2,h3,h4,h5,h6,blockquote,dt,dd,code,samp" });
( TinyMCE Advanced Block Formats )
I know that you can explicitly indicate which formats are available by passing the tinymce.init() option, for example:
tinyMCE.init({ ... formats : bold : {inline : 'span', 'classes' : 'bold'}, italic : {inline : 'span', 'classes' : 'italic'}, underline : {inline : 'span', 'classes' : 'underline', exact : true}, } });
( TinyMCE formats )
Unfortunately, this requires a lot of details about how each format that I don't have is implemented.
Any words of advice?
Bacon source share