aboutsummaryrefslogtreecommitdiff
path: root/release/plugins/preview
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-01-25 17:45:33 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-01-25 18:00:33 +0100
commit7adcb81e4f83f98c468889aaa5a85558ba88c770 (patch)
tree0d6ede733777b29060b48df4afaa2c64bfbae276 /release/plugins/preview
downloadconnexionswing-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.html13
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.
4if ( 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>