aboutsummaryrefslogtreecommitdiff
path: root/mod/tinymce/views/default/input/longtext.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/tinymce/views/default/input/longtext.php')
-rw-r--r--mod/tinymce/views/default/input/longtext.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/tinymce/views/default/input/longtext.php b/mod/tinymce/views/default/input/longtext.php
index f02662ca5..523931abe 100644
--- a/mod/tinymce/views/default/input/longtext.php
+++ b/mod/tinymce/views/default/input/longtext.php
@@ -40,6 +40,8 @@ tinyMCE.init({
theme : "advanced",
plugins : "safari,spellchecker,autosave,fullscreen,preview,paste",
relative_urls : false,
+ remove_script_host : false,
+ document_base_url : "<?php echo $vars['url']; ?>",
theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,bullist,numlist,undo,redo,link,unlink,image,blockquote,code,pastetext,pasteword,more,fullscreen,",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",