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