summaryrefslogtreecommitdiff
path: root/rt/share/static/RichText/plugins/preview
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-07-09 22:32:26 -0700
committerIvan Kohler <ivan@freeside.biz>2015-07-09 22:32:26 -0700
commit026dc7ad72ba972f230b6709e31fa64397d75ad4 (patch)
treec5af1a7ac9154744afc3660e9a9405892f2bb50b /rt/share/static/RichText/plugins/preview
parent07b4bc84d1078f7390221d766cdb3142513db4b0 (diff)
parent1c538bfabc2cd31f27067505f0c3d1a46cba6ef0 (diff)
merge RT 4.2.11 and Header changes to disable RT javascript, RT#34237
Diffstat (limited to 'rt/share/static/RichText/plugins/preview')
-rw-r--r--rt/share/static/RichText/plugins/preview/preview.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/rt/share/static/RichText/plugins/preview/preview.html b/rt/share/static/RichText/plugins/preview/preview.html
new file mode 100644
index 000000000..d6c4937c1
--- /dev/null
+++ b/rt/share/static/RichText/plugins/preview/preview.html
@@ -0,0 +1,10 @@
+<script>
+
+var doc = document;
+doc.open();
+doc.write( window.opener._cke_htmlToLoad );
+doc.close();
+
+delete window.opener._cke_htmlToLoad;
+
+</script>