X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fhtmleditor%2FBlockFigure.js;h=9f2dc276fbbb8106ff175afcbdb5f03418279881;hp=230623764325641d10e3d85bf2b0d750213d2604;hb=3cc0f894f4950c221efdc268aed5afa04b6971b2;hpb=12c233de8b53831bce3c6a8c05156da3e189c1ec diff --git a/Roo/htmleditor/BlockFigure.js b/Roo/htmleditor/BlockFigure.js index 2306237643..9f2dc276fb 100644 --- a/Roo/htmleditor/BlockFigure.js +++ b/Roo/htmleditor/BlockFigure.js @@ -326,7 +326,8 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { maxWidth : this.align == 'center' ? '100% !important' : (this.width + ' !important'), width : this.align == 'center' ? '100%' : this.width, margin: '0px', - padding: '10px' + padding: '10px', + textAlign : this.align // seems to work for email.. }, @@ -354,7 +355,8 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { { tag: 'div', style : { - 'margin-top' : '16px' + marginTop : '16px', + textAlign : 'left' }, align: 'left', cn : [