So I’ve customized my tinyMCE a bit to add some buttons and rearrange some things:
function myformatTinyMCE($in)
{
$in['theme_advanced_buttons1']='bold,italic,underline,bullist,numlist,hr,blockquote,link,unlink,justifyleft,justifycenter,justifyright,justifyfull,outdent,indent';
$in['theme_advanced_buttons2']='formatselect,pastetext,pasteword,charmap,undo,redo';
return $in;
}
add_filter('tiny_mce_before_init', 'myformatTinyMCE' );
I thought by not adding wp_adv
to the end of the first button list, the 2nd row would show by default but this is not the case – I just lose the 2nd row entirely. I want to show the 2nd row – always, without pressing or displaying the wp_adv
button.
How can I show a 2nd row in my TinyMCE by Default?
If you inspect the value of
$in
you should get something like:The last item
wordpress_adv_hidden
gives you the possibility to hide/show the kitchen sink