aboutsummaryrefslogtreecommitdiff
path: root/mod/tinymce/views/default/embed
diff options
context:
space:
mode:
Diffstat (limited to 'mod/tinymce/views/default/embed')
-rw-r--r--mod/tinymce/views/default/embed/addcontentjs.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/tinymce/views/default/embed/addcontentjs.php b/mod/tinymce/views/default/embed/addcontentjs.php
new file mode 100644
index 000000000..90ff6a348
--- /dev/null
+++ b/mod/tinymce/views/default/embed/addcontentjs.php
@@ -0,0 +1,4 @@
+
+ if(window.tinyMCE)
+ window.tinyMCE.execCommand("mceInsertContent",true,content);
+ \ No newline at end of file