Title: Subscript and superscript buttons inverted
Last modified: October 26, 2019

---

# Subscript and superscript buttons inverted

 *  Resolved [grounch](https://wordpress.org/support/users/grounch/)
 * (@grounch)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/subscript-and-superscript-buttons-inverted/)
 * Hi
    Little issue with the sub/superscript buttons in tinymce advanced. I added
   them and they show in editor, but when i use them the result is the opposite 
   of expected: Subscript create O² and Superscript create O(² below the line). 
   Tried to search in the plugin files but couldn’t achieve anything. A simple icon
   switch could do the trick but changing this in tinymce-advanced.php `'tadv/sub'
   => array( 'name' => 'Subscript', 'icon' => '<span class="mce-ico mce-i-subscript"
   ></span>' ),` to `'tadv/sub' => array( 'name' => 'Superscript', 'icon' => '<span
   class="mce-ico mce-i-superscript"></span>' ),` Doesn’t change the icon at all
   even after cache clear. Could you have a look at this please.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * (@azaozz)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/subscript-and-superscript-buttons-inverted/#post-12193919)
 * Assuming this is about the subscript and superscript buttons in the (default)
   paragraph block.
 * This seems to work properly here. The code above is correct: the “sub” part of`
   tadv/sub` stands for “subscript”, it points to the correct icon. However the 
   icons added to these buttons are SVGs. Are you (perhaps) using an older version
   of TinyMCE Advanced? Or perhaps another plugin that adds the same buttons?
 *  Thread Starter [grounch](https://wordpress.org/support/users/grounch/)
 * (@grounch)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/subscript-and-superscript-buttons-inverted/#post-12198403)
 * Problem solved, the sub sup tags behavior were modified somewhere in the css 
   for no reason (always a pleasure to correct someone else’s work..).
    Anyways 
   thanks for answer, nothing to blame on your plugin that works just fine.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Subscript and superscript buttons inverted’ is closed to new replies.

 * ![](https://ps.w.org/tinymce-advanced/assets/icon-256x256.png?rev=971511)
 * [Advanced Editor Tools](https://wordpress.org/plugins/tinymce-advanced/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tinymce-advanced/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tinymce-advanced/)
 * [Active Topics](https://wordpress.org/support/plugin/tinymce-advanced/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tinymce-advanced/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tinymce-advanced/reviews/)

## Tags

 * [subscript](https://wordpress.org/support/topic-tag/subscript/)
 * [superscript](https://wordpress.org/support/topic-tag/superscript/)

 * 2 replies
 * 2 participants
 * Last reply from: [grounch](https://wordpress.org/support/users/grounch/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/subscript-and-superscript-buttons-inverted/#post-12198403)
 * Status: resolved