// it was stored in figcaption
if(this.caption_display == '') {
this.caption_display = this.getVal(node, 'figcaption', 'data-display');
- Roo.log(this.caption_display);
}
+ Roo.log(this.caption_display);
// read caption from figcaption
var figcaption = this.getVal(node, 'figcaption', false);
if (figcaption !== '') {
this.caption = this.getVal(figcaption, 'i', 'html');
- Roo.log(this.caption);
}
+ Roo.log(this.caption);
// read caption from data-caption in figure if no caption from figcaption
// if (this.caption_display == 'none' && figcaption != '' && dc && dc.length) {
if(this.caption == '' && dc && dc.length){
this.caption = dc;
- Roo.log(this.caption);
}
+ Roo.log(this.caption);
+
//this.text_align = this.getVal(node, 'figcaption', 'style','text-align');
this.width = this.getVal(node, true, 'data-width');
//this.margin = this.getVal(node, 'figure', 'style', 'margin');