+ },\r
+\r
+ /**\r
+ * Defines the document contents through document.write. Note that the\r
+ * previous document contents will be lost (cleaned).\r
+ * @since 3.5\r
+ * @param {String} html The HTML defining the document contents.\r
+ * @example\r
+ * document.write(\r
+ * '<html>' +\r
+ * '<head><title>Sample Doc</title></head>' +\r
+ * '<body>Document contents created by code</body>' +\r
+ * '</html>' );\r
+ */\r
+ write : function( html )\r
+ {\r
+ // Don't leave any history log in IE. (#5657)\r
+ this.$.open( 'text/html', 'replace' );\r
+\r
+ // Support for custom document.domain in IE.\r
+ CKEDITOR.env.isCustomDomain() && ( this.$.domain = document.domain );\r
+\r
+ this.$.write( html );\r
+ this.$.close();\r