Added visible breaks to to toolbar groups

This commit is contained in:
Trevor Parscal 2011-12-02 21:31:49 +00:00
parent 3d678ea3bd
commit 12ead70876
2 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,7 @@
.es-toolbarGroup {
display: inline-block;
padding: 0.125em;
padding: 0.25em;
border-right: solid 1px #f0f3f5;
}
.es-toolbarDivider {
display: inline-block;

View file

@ -48,9 +48,10 @@ es.ToolbarView = function( $container, surfaceView, config ) {
} );
this.config = config || [
{ 'name': 'textStyle', 'items' : [ 'bold', 'italic', 'link', 'clear', 'format' ] },
{ 'name': 'history', 'items' : [ 'undo', 'redo' ] },
{ 'name': 'list', 'items' : [ 'number', 'bullet' ] }
{ 'name': 'history', 'items' : ['undo', 'redo'] },
{ 'name': 'textStyle', 'items' : ['format'] },
{ 'name': 'textStyle', 'items' : ['bold', 'italic', 'link', 'clear'] },
{ 'name': 'list', 'items' : ['number', 'bullet'] }
];
this.setup();
};