xref: /webtrees/public/ckeditor-4.15.1-custom/plugins/preview/preview.html (revision afa67798854828b1edc33dd077960ec2b18e6140)
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>
14