roojs-all.js
authorAlan <alan@roojs.com>
Thu, 17 Mar 2022 03:32:11 +0000 (11:32 +0800)
committerAlan <alan@roojs.com>
Thu, 17 Mar 2022 03:32:11 +0000 (11:32 +0800)
roojs-debug.js
Roo/htmleditor/BlockFigure.js

Roo/htmleditor/BlockFigure.js

index 530ff6e..45f5be1 100644 (file)
@@ -348,9 +348,9 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
                         fontSize : '16px',
                         lineHeight : '24px',
                         display : this.caption_display,
-                        maxWidth : (this.align == 'center' ?  this.width : 100% ) + ' !important',
+                        maxWidth : (this.align == 'center' ?  this.width : '100%' ) + ' !important',
                         margin: m,
-                        width: this.align == 'center' ?  this.width : 100%,
+                        width: this.align == 'center' ?  this.width : '100%',
                     
                          
                     },