How To Customize WordPress WYSIWYG Editor

Did you know that, Customize WordPress WYSIWYG Editor is one of my favorite excellent tricks by WP Engineer, please note this tricks need so many code to be added in functions.php on your theme, so read it carefully and happy explore this tricks.

Customizing the function of the buttons in your Editor

1
2
3
4
5
6
7
8
function do_change_mce_buttons( $initArray ) {
    //<a href="/web/20120511113144/http://twitter.com/see">@see</a> <a href="/web/20120511113144/http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference" rel="nofollow">http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference</a>
    $initArray['theme_advanced_blockformats'] = 'p,address,pre,code,h3,h4,h5,h6';
    $initArray['theme_advanced_disable'] = 'forecolor';
    return $initArray;
}
add_filter('tiny_mce_before_init''do_change_mce_buttons');

 

More Details about this tweak you can check it out on this post. If you found any problem about this tricks, you can leave on this post or directly from WP Engineer Author of this original Post.

Or if you want to quickest way, maybe you tried Adjusting the buttons via Customize WordPress Editor Plugin TinyMCE Advanced. Using plugin or written you own code? choose what make your happy 😉