You ought to be a chemist if you need this button to specify the number of atoms in a chemical formula!

var editor = AlloyEditor.editable('myContentEditable', {
toolbars: {
styles: {
selections: [
{
name: 'text',
buttons: ['subscript'],
test: AlloyEditor.SelectionTest.text
}
]
}
}
});