2 * @class Roo.htmleditor.FilterSpan
3 * filter span's with no attributes out..
5 * Run a new Span Filter
6 * @param {Object} config Configuration options
9 Roo.htmleditor.FilterSpan = function(cfg)
11 // no need to apply config.
15 Roo.extend(Roo.htmleditor.FilterSpan, Roo.htmleditor.FilterKeepChildren,
21 replaceTag : function(node)
23 if (node.attributes && node.attributes.length > 0) {
24 return true; // walk if there are any.
26 Roo.htmleditor.FilterKeepChildren.prototype.replaceTag.call(this, node);