WordPress 2.1 – More editing options in WYSIWYG editor

Update: This blog post is outdated. Use TinyMCE Advanced WordPress Plugin instead.

Chris Kasten has found an Easter egg in WordPress 2.1 which enables many advanced buttons and options in your WYSIWYG editor. To get these advanced buttons you need to press alt-shift-v in Firefox or alt-v in IE. Pressing the same keys again hides it. Nice find right? But it will only work if you have enabled visual editor in your user profile.

After reading about it I was trying to find out whether it is possible to enable it by default. After some googling I found this thread in WordPress Support forum. To enable these advanced buttons by default, you need to fiddle with some files in the wp-includes folder. The tiny_mce_config.php file in the wp-includes\js\tinymce directory to be exact. You need to open the file directly and remove the ‘wp_adv_start‘ and ‘wp_adv_end‘ present on line 31. (Do this only if you are brave at heart 😉 ).

When I was testing the change I noticed that WordPress 2.1 also missed the ‘Edit HTML source’ button which was available in the previous versions. This made me to search the TinyMCE documentation and there I found that TinyMCE has lot of other formatting options too. And after some fiddling I have picked up all those buttons which I may use.WordPress WYSIWYG Editor buttons

This is how my editor looks now. If you want all these options start editing your tiny_mce_config.php file or just grab my file and put it in the wp-includes\js\tinymce directory. (Be warned I am not responsible if something breaks 😉 and don’t forget to backup your original file). Also remember that next time you update your WordPress installation this file could be over written.

The new buttons which I like are

  • Paste as simple Text
  • Plase from Word
  • Format cleaner
  • Insert Customer Character
  • Subscript, superscript

There are still some more buttons and options available and if you want to use them, then have a look at TinyMCE manual and change your config file accordingly. Meanwhile I will try to find out whether it is possible to have a WordPress plugin do it so that you don’t need to edit your file manually and till then happy hacking 😉

Related posts

Tags: , , ,

10 Comments so far

Follow up comments through RSS Feed | Post a comment

1 Trackbacks/Pingbacks so far

Leave a Reply

Your email address will not be published. Required fields are marked *