X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsrc%2FRoo_htmleditor_BlockFigure.js.html;fp=docs%2Fsrc%2FRoo_htmleditor_BlockFigure.js.html;h=7c012dfdf9735e495501e666e9501d5001b7a827;hb=2ee95a104783da1b165f623d5d4cd2e3bd578af8;hp=3167c5ee36a8aec3d8a2d4afb18afd60a6f3b8d5;hpb=21de5f4decf17bff079d093ce06c781ab6c163a4;p=roojs1 diff --git a/docs/src/Roo_htmleditor_BlockFigure.js.html b/docs/src/Roo_htmleditor_BlockFigure.js.html index 3167c5ee36..7c012dfdf9 100644 --- a/docs/src/Roo_htmleditor_BlockFigure.js.html +++ b/docs/src/Roo_htmleditor_BlockFigure.js.html @@ -323,6 +323,7 @@ tag: 'figure', 'data-block' : 'Figure', 'data-width' : this.width, + 'data-caption' : this.caption, contenteditable : 'false', style : { @@ -395,6 +396,8 @@ this.image_src = this.getVal(node, 'img', 'src'); this.align = this.getVal(node, 'figure', 'align'); + + /// not really used - as hidden captions do not store the content here.. var figcaption = this.getVal(node, 'figcaption', false); if (figcaption !== '') { this.caption = this.getVal(figcaption, 'i', 'html'); @@ -402,6 +405,10 @@ this.caption_display = this.getVal(node, 'figcaption', 'data-display'); + var dc = this.getVal(node, 'figcaption', 'data-caption'); + if (dc && dc.length) { + this.caption = dc; + } //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');