Roo/htmleditor/BlockFigure.js
authorleon <leon@roojs.com>
Mon, 28 Aug 2023 03:59:07 +0000 (11:59 +0800)
committerleon <leon@roojs.com>
Mon, 28 Aug 2023 03:59:07 +0000 (11:59 +0800)
Roo/htmleditor/BlockFigure.js

index a7d1f01..2a97477 100644 (file)
@@ -349,7 +349,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
                     textAlign : 'left',
                     fontSize : '16px',
                     lineHeight : '24px',
-                    display : 'this.caption_display',
+                    display : this.caption_display,
                     maxWidth : (this.align == 'center' ?  this.width : '100%' ) + ' !important',
                     margin: m,
                     width: this.align == 'center' ?  this.width : '100%'