X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2Fdom%2Fnode.js;h=32b4c98c1a65fa9f3f0a21b6cb0ef08525c03b13;hp=90412e4b48ee06608419f853109d0c10fdfcbcbf;hb=fb481ba0a7d298e3e7b9034fcb9f2afdc6e8e796;hpb=6e682412d5cc0dfaedb376482e585bf2989c6863 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 ) {