This example shows how to add subscript and subscript buttons to the toolbar.
<!--element -->
<textarea id="content"></textarea>
<!-- call -->
<script>
$R('#content', {
buttonsAddAfter: {
after: 'deleted',
buttons: ['sup', 'sub']
}
});
</script>