Created
November 20, 2013 06:41
-
-
Save spencejs/7558742 to your computer and use it in GitHub Desktop.
Add Subscript and Superscript buttons to TinyMCE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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