{
// we can not rely on yahoo syndication to use CSS elements - so have to use '<i>' to encase stuff.
tag : 'i',
- contenteditable : true,
+ contenteditable : Roo.htmleditor.BlockFigure.caption_edit,
html : captionhtml
}
this.caption_display = this.getVal(node, 'figcaption', 'data-display');
var dc = this.getVal(node, true, 'data-caption');
- if (this.caption_display == 'none' && figcaption != '' && dc && dc.length) {
+ if (dc && dc.length) {
this.caption = dc;
}
//this.text_align = this.getVal(node, 'figcaption', 'style','text-align');
-})
+});
+
+Roo.apply(Roo.htmleditor.BlockFigure, {
+ caption_edit : true
+});