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