X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=_source%2Fplugins%2Fremoveformat%2Fplugin.js;h=c46f6ba6586539d73514430b92731ebccf9f8c53;hb=9afde8772159bd3436f1f5b7862960307710ae5a;hp=86544ab87a8b76f6bec1aa13c31d5476a599dce3;hpb=614511639979907ceb0da3614122a4d8eb963ad4;p=ckeditor.git diff --git a/_source/plugins/removeformat/plugin.js b/_source/plugins/removeformat/plugin.js index 86544ab..c46f6ba 100644 --- a/_source/plugins/removeformat/plugin.js +++ b/_source/plugins/removeformat/plugin.js @@ -98,7 +98,7 @@ CKEDITOR.plugins.removeformat = // This node must not be a fake element. if ( !( currentNode.getName() == 'img' - && currentNode.getAttribute( '_cke_realelement' ) ) + && currentNode.data( 'cke-realelement' ) ) && filter( editor, currentNode ) ) { // Remove elements nodes that match with this style rules.