853 | | var attributes = this.$.attributes; |
854 | | return ( attributes.length > 1 || ( attributes.length == 1 && attributes[0].nodeName != '_cke_expando' ) ); |
| 853 | var attributes = this.$.attributes, |
| 854 | len = attributes.length, |
| 855 | nodeName = ( len == 1) && attributes[0].nodeName, |
| 856 | excludeProps = { '_cke_expando' : 1, '_moz_dirty' : 1}; |
| 857 | |
| 858 | // [FireFox] when copy a elment(span,strong,em...) and paste it, |
| 859 | // the pasted element will be added a *_moz_dirty* property automatic(#5455) |
| 860 | return ( len > 1 || ( nodeName && !excludeProps[ nodeName ] ); |