Right click the toolbar and select Customize
then select the Commands Tab. Under Categories find 'Superscript. Left click it the drag it to your toolbars up top.
Now whenever you put you number in 1,2 or 3it can be highlighted and by clicking on your new button it does exactly what you want.