diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-01-25 17:45:33 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-01-25 18:00:33 +0100 |
commit | 7adcb81e4f83f98c468889aaa5a85558ba88c770 (patch) | |
tree | 0d6ede733777b29060b48df4afaa2c64bfbae276 /release/plugins/preview | |
download | connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.gz connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.zst connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.zip |
Initial commit4.5.6
Diffstat (limited to 'release/plugins/preview')
-rw-r--r-- | release/plugins/preview/preview.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/release/plugins/preview/preview.html b/release/plugins/preview/preview.html new file mode 100644 index 00000000..8c028262 --- /dev/null +++ b/release/plugins/preview/preview.html | |||
@@ -0,0 +1,13 @@ | |||
1 | <script> | ||
2 | |||
3 | // Prevent from DOM clobbering. | ||
4 | if ( typeof window.opener._cke_htmlToLoad == 'string' ) { | ||
5 | var doc = document; | ||
6 | doc.open(); | ||
7 | doc.write( window.opener._cke_htmlToLoad ); | ||
8 | doc.close(); | ||
9 | |||
10 | delete window.opener._cke_htmlToLoad; | ||
11 | } | ||
12 | |||
13 | </script> | ||