Skip to content

Instantly share code, notes, and snippets.

@spencejs
Created November 20, 2013 06:41
Show Gist options
  • Save spencejs/7558742 to your computer and use it in GitHub Desktop.
Save spencejs/7558742 to your computer and use it in GitHub Desktop.
Add Subscript and Superscript buttons to TinyMCE
function enable_more_buttons($buttons) {
$buttons[] = 'sub , sup';
return $buttons;
}
add_filter("mce_buttons_2", "enable_more_buttons");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment