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=794e679c43decffa4586af10d58cc356e058e545;hpb=e0577bf84f337a4f807d0ad2375faaff6a4bcfbb 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%' + }; + /* '
' + '' +