cleanUpChild : function (node)
{
- Roo.htmleditor.FilterComment.walk(node);
- Roo.htmleditor.FilterAttributes.walkWith(node, this.ablack, this.aclean, this.cwhite, this.cblack )
- Roo.htmleditor.FilterBlack.walkWith(node,this.black);
- Roo.htmleditor.FilterKeepChildren.walkWith(node,this.remove);
+ new Roo.htmleditor.FilterComment({node : node});
+ new Roo.htmleditor.FilterAttributes({
+ node : node,
+ attrib_black : this.ablack,
+ attrib_clean : this.aclean,
+ style_white : this.cwhite,
+ style_black : this.cblack
+ });
+ new Roo.htmleditor.FilterBlack({ node : node, black : this.black});
+ new Roo.htmleditor.FilterKeepChildren({node : node, black : this.remove} );
},
*/
cleanWord : function(node)
{
- Roo.htmleditor.FilterWord.walk(node ? node : this.doc.body);
+ new Roo.htmleditor.FilterWord({ node : node ? node : this.doc.body });
},
*/
cleanTableWidths : function(node)
{
- Roo.htmleditor.FilterTable.walk(node ? node : this.doc.body);
+ new Roo.htmleditor.FilterTable({ node : node ? node : this.doc.body});
},