1. Keith Davis

    Worth knowing Sarah
    I notice that you are in visual mode there – do you work in visual mode?

    I always work in text mode and disable the visual mode so that I don’t activate it by mistake and mess up the html.


    • Sarah Gooding

      I usually work in Text mode / Distraction Free Writing.


    • Jeff Chandler

      Have you ever used a theme that utilizes editor-style.css? If not, you should try it sometime with the visual editor enabled. In most cases this style sheet will match the content within the visual editor to what you would see on a published post. It’s reignited my interest and use of the visual editor. I don’t stick with one or the other. I switch between the two when it makes sense. Being able to use keyboard shortcuts in the visual editor is enough to get me to use it.


  2. MRWweb

    This is a good tip. Modifying the TinyMCE editor is great for sites where clients have limited or specific formatting needs.

    In WordPress 3.9, TinyMCE is moving to version 4.0 and the above code snippet won’t work anymore (at least as of testing today). Instead, you’ll need to use “superscript” and “subscript” instead of “sup” and “sub.”

    A full list of buttons is here: http://www.tinymce.com/wiki.php/Controls


  3. Sean

    Great tip, thanks! One note, from wordpress.org: http://codex.wordpress.org/TinyMCE_Custom_Buttons#Enabling_hidden_MCE_buttons

    “As of WordPress 3.9 and TinyMCE 4.0 sup has been renamed to superscript and sub has been renamed to subscript.”


  4. hoopkjaz

    Hi Sarah,
    I added this code to my themes functions.php file and the icons do not show up.
    Is the functions.php file the correct place to put the code? Or is there something else that I need to do?


Comments are closed.

%d bloggers like this: