\r
if ( !isCustomDomain )\r
{\r
- oWindow.document.open();\r
- oWindow.document.write( sHTML );\r
- oWindow.document.close();\r
+ var doc = oWindow.document;\r
+ doc.open();\r
+ doc.write( sHTML );\r
+ doc.close();\r
+\r
+ // Chrome will need this to show the embedded. (#8016)\r
+ CKEDITOR.env.webkit && setTimeout( function() { doc.body.innerHTML += ''; }, 0 );\r
}\r
}\r
};\r