X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_htmleditor_Block.js.html;h=7e5204498563e4784f55da2f255257f2e54883b0;hp=0a202ecaf36597a6efd708554daed06db49e1bbb;hb=12c233de8b53831bce3c6a8c05156da3e189c1ec;hpb=b969a627b10d8f6cc39466748ae28f50f97aba3b diff --git a/docs/src/Roo_htmleditor_Block.js.html b/docs/src/Roo_htmleditor_Block.js.html index 0a202ecaf3..7e52044985 100644 --- a/docs/src/Roo_htmleditor_Block.js.html +++ b/docs/src/Roo_htmleditor_Block.js.html @@ -96,7 +96,7 @@ * @param {DomElement} node * @param {String} tag - tag to find, eg. IMG ?? might be better to use DomQuery ? - * @param {String} attribute (use html - for contents, or style for using next param as style) + * @param {String} attribute (use html - for contents, style for using next param as style, or false to return the node) * @param {String} style the style property - eg. text-align */ getVal : function(node, tag, attr, style) @@ -110,6 +110,9 @@ if (!n) { return ''; } + if (attr === false) { + return n; + } if (attr == 'html') { return n.innerHTML; }