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=d1ace556f9750b9857c13c4bc879b994eafd8b7d;hp=69f908c44b63c3f2e9bbc1b7fb802c8291c7b17a;hb=d2cc514c56f52ca07bca81a50c163f85c5f0bbbb;hpb=84e0c18dcdef720796deb7252c09d3fc5f7d04e4
diff --git a/docs/src/Roo_htmleditor_BlockFigure.js.html b/docs/src/Roo_htmleditor_BlockFigure.js.html
index 69f908c44b..d1ace556f9 100644
--- a/docs/src/Roo_htmleditor_BlockFigure.js.html
+++ b/docs/src/Roo_htmleditor_BlockFigure.js.html
@@ -177,7 +177,6 @@
store : {
xtype : 'SimpleStore',
data : [
- ['auto'],
['50%'],
['80%'],
['100%']
@@ -321,7 +320,7 @@
var ret = {
tag: 'figure',
'data-block' : 'Figure',
-
+ 'data-width' : this.width,
contenteditable : 'false',
style : {
@@ -350,10 +349,10 @@
display : this.caption_display,
maxWidth : (this.align == 'center' ? this.width : '100%' ) + ' !important',
margin: m,
- width: this.align == 'center' ? this.width : '100%',
+ width: this.align == 'center' ? this.width : '100%'
- },
+ },
cls : this.cls.length > 0 ? (this.cls + '-thumbnail' ) : '',
cn : [
{
@@ -402,7 +401,7 @@
this.caption_display = this.getVal(node, 'figcaption', 'data-display');
this.width = this.getVal(node, 'figcaption', 'style', 'width');
+ this.width = this.getVal(node, true, 'data-width');
},