Image Alignment - Center

Use this button if you need to center an image.

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