diff options
Diffstat (limited to 'data/assets/ckeditor-4.5.8-custom/plugins/preview/preview.html')
-rw-r--r-- | data/assets/ckeditor-4.5.8-custom/plugins/preview/preview.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/data/assets/ckeditor-4.5.8-custom/plugins/preview/preview.html b/data/assets/ckeditor-4.5.8-custom/plugins/preview/preview.html new file mode 100644 index 0000000..8c02826 --- /dev/null +++ b/data/assets/ckeditor-4.5.8-custom/plugins/preview/preview.html @@ -0,0 +1,13 @@ +<script>
+
+// Prevent from DOM clobbering.
+if ( typeof window.opener._cke_htmlToLoad == 'string' ) {
+ var doc = document;
+ doc.open();
+ doc.write( window.opener._cke_htmlToLoad );
+ doc.close();
+
+ delete window.opener._cke_htmlToLoad;
+}
+
+</script>
|