X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fhtmleditor%2FBlockFigure.js;fp=Roo%2Fhtmleditor%2FBlockFigure.js;h=e766bf57a1defe20381b0fe557d1e4f61d83df0d;hp=9c20794ddf47f579758430b8c01f3213b26f8fed;hb=e387e9af895080437d6a13e3132b98889a698cde;hpb=e50b708550a078f08c444d6eeec0e2e293332fb6 diff --git a/Roo/htmleditor/BlockFigure.js b/Roo/htmleditor/BlockFigure.js index 9c20794ddf..e766bf57a1 100644 --- a/Roo/htmleditor/BlockFigure.js +++ b/Roo/htmleditor/BlockFigure.js @@ -279,8 +279,11 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { maxWidth : iw + ' !important', // this is not getting rendered? margin : m - } + }, + width: this.align == 'center' ? this.width : '100%' + }; + /* '
' + '' +