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