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 | // [FireFox] when copy a elment(span,strong,em...), |
| 857 | // the pasted element will be added a *_moz_dirty* property (#5455) |
| 858 | return ( len > 1 || ( nodeName |
| 859 | && ( nodeName != '_cke_expando' ) |
| 860 | && ( nodeName != '_moz_dirty' ) ) ); |