![]() ![]() If that happens, just run the relevant script again to restore the button. You only need to run the AppleScripts once, unless you accidentally drag one of the buttons off a toolbar. From there, you can use the Customize Toolbars/Menus menu item to rearrange them (by dragging), placing them wherever you wish. Switch back to Excel or PowerPoint, and you’ll see the Superscript and/or Subscript buttons at the end of the Formatting toolbar. For subscript, press Ctrl and the Equal sign () at the same time. For superscript, press Ctrl, Shift, and the Plus sign (+) at the same time. Subscript Subscript upon the typed text all you need to do is to select the text and then to click upon the tab displaying the symbol X prominently upon it (. Use keyboard shortcuts to apply superscript or subscript Select the text or number that you want. Now just click the Run button in each script window, then wait for the program to finish. Go to Home and select Superscript or Subscript. ![]() Make new command bar control at command bar ¬ The WordPress codex section on enabling hidden MCE buttons, which demonstrates how to filter the button list of the editor.For PowerPoint, copy and paste this script: tell application "Microsoft PowerPoint" See the following figure where I have encircles the Subscript and Superscript buttons. Instructions:Īll you have to do is add the following function code to the bottom of your theme’s functions.php file.Īdd_filter("mce_buttons_3", "enable_more_buttons") įiltering mce_buttons_3 means it will display the added buttons on a third line of the editor. I’ve found a code snippet that you can use to add subscript and superscript buttons to the WordPress editor quickly. But I don’t like extra plugins which cause extra load on the website as well as security issues. There are some plugins available to facilitate such options inside the built-in editor. I’ve thoroughly checked “Class Editor” features for special characters, but I could not find Subs and Supscript option as that’s missing. I was wondering how to add such an option where he can easily add superscript and subscript characters. As per codex page, we have to write inside text view of the editor, something like this “ C6H12O6“. For further clarification about how to use subs and sups check Editing Help page in the codex. For example, he wanted to write C 6H 12O 6.Īnd many of you already know that WordPress is not offering a built-in option for subscript and superscript characters in their editors. Many blog writers especially those who are writing scientific content on their WordPress websites looking for a way to add subscript and superscript buttons to WordPress editor.Īctually one of my clients is a pathologist and he badly needs to write lab formulas on his website which I have developed for him in WordPress. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |