Text Alignment - Centered

For those headers or footers of yours... use this button to center them in the document.

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