Is it possible to adding two format parameters (like ‘h3’ & ‘span’) for one customized style in TinyMCE for WordPress. I want to create a custom style header that looks like this:
<h3 class="headerclass"><span>Headertitle</span></h3>
I’m using an array in a function in my function.php that look like this:
array(
'title' => '--Hedaer--',
'block' => 'h3',
'classes' => 'headerclass',
)
Try this. There might be a better way of doing the inline span but I would add it as an additional style to select from the styles dropdown.