X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fpreview%2Fplugin.js;h=6d3a369ca16c6aff4ed813e7f61f10c1043491d2;hp=2238f920e74e09653a7279a91ad0a4e16e1c8702;hb=8761695d9b70afe75905deaac88f78c1f8aeb32d;hpb=ea7e3453c7b0f023b050aca6d9f83ab372860d91 diff --git a/_source/plugins/preview/plugin.js b/_source/plugins/preview/plugin.js index 2238f92..6d3a369 100644 --- a/_source/plugins/preview/plugin.js +++ b/_source/plugins/preview/plugin.js @@ -16,7 +16,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license exec : function( editor ) { var sHTML, - isCustomDomain = CKEDITOR.env.ie && document.domain != window.location.hostname; + isCustomDomain = CKEDITOR.env.isCustomDomain(); if ( editor.config.fullPage ) sHTML = editor.getData(); else @@ -37,7 +37,9 @@ For licensing, see LICENSE.html or http://ckeditor.com/license '' + baseTag + '' + editor.lang.preview + '' + - '' + + '' + '' + bodyHtml + editor.getData() + '';