X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fcore%2Fdom%2Fnode.js;h=32b4c98c1a65fa9f3f0a21b6cb0ef08525c03b13;hb=fb481ba0a7d298e3e7b9034fcb9f2afdc6e8e796;hp=90412e4b48ee06608419f853109d0c10fdfcbcbf;hpb=2f22c0c38f17e75be5541089076885442aaa2377;p=ckeditor.git diff --git a/_source/core/dom/node.js b/_source/core/dom/node.js index 90412e4..32b4c98 100644 --- a/_source/core/dom/node.js +++ b/_source/core/dom/node.js @@ -106,7 +106,8 @@ CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype, if ( !cloneId ) node.removeAttribute( 'id', false ); - node.removeAttribute( 'data-cke-expando', false ); + + node[ 'data-cke-expando' ] = undefined; if ( includeChildren ) {