JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5
[ckeditor.git] / _source / plugins / removeformat / plugin.js
index 86544ab..c46f6ba 100644 (file)
@@ -98,7 +98,7 @@ CKEDITOR.plugins.removeformat =
 \r
                                                // This node must not be a fake element.\r
                                                if ( !( currentNode.getName() == 'img'\r
-                                                       && currentNode.getAttribute( '_cke_realelement' ) )\r
+                                                       && currentNode.data( 'cke-realelement' ) )\r
                                                        && filter( editor, currentNode ) )\r
                                                {\r
                                                        // Remove elements nodes that match with this style rules.\r