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