X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_htmleditor_BlockFigure.js.html;fp=docs%2Fsrc%2FRoo_htmleditor_BlockFigure.js.html;h=cccd3dd34e4826437836349f67dd0df3a363a96f;hp=0630625e76e5c13b7fbe36bbc3b2a1e5d4564a77;hb=5dc6005ff58f36b8e69c8ca2ae7f7d24dbfb3dbf;hpb=834d76910fe2cffcd08ca93771dd45eef71d267b diff --git a/docs/src/Roo_htmleditor_BlockFigure.js.html b/docs/src/Roo_htmleditor_BlockFigure.js.html index 0630625e76..cccd3dd34e 100644 --- a/docs/src/Roo_htmleditor_BlockFigure.js.html +++ b/docs/src/Roo_htmleditor_BlockFigure.js.html @@ -311,6 +311,8 @@ }; } + var captionhtml = this.caption_display == 'hidden' ? this.caption : (this.caption.length ? this.caption : "Caption"); + return { tag: 'figure', 'data-block' : 'Figure', @@ -346,7 +348,7 @@ // 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 } ]