Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.0.1
[ckeditor.git]
/
_source
/
plugins
/
preview
/
plugin.js
diff --git
a/_source/plugins/preview/plugin.js
b/_source/plugins/preview/plugin.js
index
2238f92
..
6d3a369
100644
(file)
--- 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 )
\r
{
\r
var sHTML,
\r
exec : function( editor )
\r
{
\r
var sHTML,
\r
- isCustomDomain = CKEDITOR.env.ie && document.domain != window.location.hostname;
\r
+ isCustomDomain = CKEDITOR.env.isCustomDomain();
\r
if ( editor.config.fullPage )
\r
sHTML = editor.getData();
\r
else
\r
if ( editor.config.fullPage )
\r
sHTML = editor.getData();
\r
else
\r
@@
-37,7
+37,9
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
'<head>' +
\r
baseTag +
\r
'<title>' + editor.lang.preview + '</title>' +
\r
'<head>' +
\r
baseTag +
\r
'<title>' + editor.lang.preview + '</title>' +
\r
- '<link href="' + editor.config.contentsCss + '" type="text/css" rel="stylesheet" _cktemp="true"/>' +
\r
+ '<link type="text/css" rel="stylesheet" href="' +
\r
+ [].concat( editor.config.contentsCss ).join( '"><link type="text/css" rel="stylesheet" href="' ) +
\r
+ '">' +
\r
'</head>' + bodyHtml +
\r
editor.getData() +
\r
'</body></html>';
\r
'</head>' + bodyHtml +
\r
editor.getData() +
\r
'</body></html>';
\r