853 | | var attributes = this.$.attributes; |
854 | | return ( attributes.length > 1 || ( attributes.length == 1 && attributes[0].nodeName != '_cke_expando' ) ); |
| 853 | var attrs = this.$.attributes, |
| 854 | attrsNum = attrs.length; |
| 855 | |
| 856 | // The _moz_dirty attribute might get into the element after pasting (#5455) |
| 857 | var execludeAttrs = { _cke_expando : 1, _moz_dirty : 1 }; |
| 858 | |
| 859 | return attrsNum > 0 && |
| 860 | ( attrsNum > 2 || |
| 861 | !execludeAttrs[ attrs[0].nodeName ] || |
| 862 | ( attrsNum == 2 && !execludeAttrs[ attrs[1].nodeName ] ) ); |