var container = this.getContentElement( 'general', 'editing_area' ).getElement(),\r
iframe = container.getElementsByTag( 'iframe' ).getItem( 0 ),\r
editor = this.getParentEditor(),\r
- html = iframe.$.contentWindow.document.body.innerHTML;\r
+ body = iframe.getFrameDocument().getBody(),\r
+ bogus = body.getBogus(),\r
+ html;\r
+ bogus && bogus.remove();\r
+ // Saving the contents in variable so changes until paste is complete will not take place (#7500)\r
+ html = body.getHtml();\r
\r
setTimeout( function(){\r
editor.fire( 'paste', { 'html' : html } );\r