From the BlogSubscribe Now

Add Extra Button Options to Your WordPress Visual Editor

Have you ever thought to yourself, “Self… I need more options in the WordPress visual editor.” Or perhaps a client has stated they missed a feature they were use to having in their favorite desktop processor? Before you add that big plugin try this. By adding the following functionality to functions.php or even better to your own functionality plugin the visual editor may provide that extra option. If you do not need all of the options listed the function can easily be customized by simply deleting the lines you do not need. You can read about all of the options available on the WPMU site and also TinyMCE.

{code type=php}
function extra_visual_editor_buttons($buttons) {
$buttons[] = ‘fontselect’;
$buttons[] = ‘backcolor’;
$buttons[] = ‘anchor’;
$buttons[] = ‘sub’;
$buttons[] = ‘sup’;
$buttons[] = ‘hr’;
$buttons[] = ‘cut’;
$buttons[] = ‘copy’;
$buttons[] = ‘paste’;
$buttons[] = ‘code’;
$buttons[] = ‘cleanup’;
$buttons[] = ‘styleselect’;
return $buttons;
}
add_filter(“mce_buttons_3”, “extra_visual_editor_buttons”);
{/code}

Code on!