X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui-debug.js;h=8d28b32d3640edeabe203cd174390dd610ef7b76;hp=f93e738354c11c6d5100a782cb3b7c2a07e2cac9;hb=0a63fb76507fcd1468a87100feb288338db14739;hpb=fae84b75acf6090c76818ee9cd68b0aea7c72052 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index f93e738354..8d28b32d36 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -23655,6 +23655,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { tag: 'figure', 'data-block' : 'Figure', contenteditable : 'false', + style : { display: 'block', float : this.align , @@ -23703,6 +23704,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { this.cls = this.getVal(node, 'div', 'class'); this.href = this.getVal(node, 'a', 'href'); + this.image_src = this.getVal(node, 'img', 'src'); this.align = this.getVal(node, 'figure', 'align'); @@ -23711,6 +23713,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { if (this.caption.trim().match(/^]*>/i)) { this.caption = this.caption.trim().replace(/^]*>/i, '').replace(/^<\/i>$/i, ''); } + this.caption_display = this.getVal(node, 'figcaption', 'style', 'display'); //this.text_align = this.getVal(node, 'figcaption', 'style','text-align'); this.width = this.getVal(node, 'figure', 'style', 'max-width'); //this.margin = this.getVal(node, 'figure', 'style', 'margin');