X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_HtmlEditorCore.js.html;fp=docs%2Fsrc%2FRoo_HtmlEditorCore.js.html;h=db967c20e8e7ab298f145685257d42b56781e3f5;hp=41e1e5126079e38a91c981c880481a0ee239780d;hb=8243a30daf04298fc849760aa49bd3045a075e1a;hpb=b18c99b7f09fdac8d7eab9cd2dd6d79eeeba56db diff --git a/docs/src/Roo_HtmlEditorCore.js.html b/docs/src/Roo_HtmlEditorCore.js.html index 41e1e51260..db967c20e8 100644 --- a/docs/src/Roo_HtmlEditorCore.js.html +++ b/docs/src/Roo_HtmlEditorCore.js.html @@ -114,6 +114,11 @@ */ stylesheets: false, + /** + * @cfg {boolean} allowComments - default false - allow comments in HTML source - by default they are stripped - if you are editing email you may need this. + */ + + allowComments: false, // id of frame.. frameId: false, @@ -1027,7 +1032,7 @@ // clean up silly Windows -- stuff? return; } - if (node.nodeName == "#comment") { + if (node.nodeName == "#comment" && !this.allowComments) { node.parentNode.removeChild(node); // clean up silly Windows -- stuff? return;