- var html = decodeURIComponent( fakeElement.getAttribute( '_cke_realelement' ) );\r
- return CKEDITOR.dom.element.createFromHtml( html, this.document );\r
+ if ( fakeElement.getAttribute( '_cke_real_node_type' ) != CKEDITOR.NODE_ELEMENT )\r
+ return null;\r
+\r
+ return CKEDITOR.dom.element.createFromHtml(\r
+ decodeURIComponent( fakeElement.getAttribute( '_cke_realelement' ) ),\r
+ this.document );\r