};
}
+ var captionhtml = this.caption_display == 'hidden' ? this.caption : (this.caption.length ? this.caption : "Caption");
+
return {
tag: 'figure',
'data-block' : 'Figure',
// we can not rely on yahoo syndication to use CSS elements - so have to use '<i>' to encase stuff.
tag : 'i',
contenteditable : true,
- html : this.caption
+ html : captionhtml
}
]