*/
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,
// 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;
*
*/
white: 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,