To use subscript and superscript, just make sure that you include these buttons in the buttons list using the toolbarButtons option.
subscript
superscript