Merge branch 'master' into wip_leon_T7975_caption_check_on_pasted_images
[roojs1] / roojs-bootstrap-debug.js
index 3108f70..ae6169f 100644 (file)
@@ -29960,8 +29960,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%' 
+
         };
+        
         /*
         '<div class="{0}" width="420" height="315" src="{1}" frameborder="0" allowfullscreen>' +
                     '<a href="{2}">' +