Commit b32061fa079baf5bb47543cbe8625a656618cd6b

Authored by Daniela Feitosa
1 parent 1aeb0d56

Leaving hosts on links src when added on tinymce

It also fixes src from images

(ActionItem2555)
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/shared/tiny_mce.rhtml
@@ -20,7 +20,7 @@ tinyMCE.init({ @@ -20,7 +20,7 @@ tinyMCE.init({
20 editor_selector : "mceEditor", 20 editor_selector : "mceEditor",
21 theme : "advanced", 21 theme : "advanced",
22 relative_urls : false, 22 relative_urls : false,
23 - remove_script_host : true, 23 + remove_script_host : false,
24 document_base_url : <%= environment.top_url.to_json %>, 24 document_base_url : <%= environment.top_url.to_json %>,
25 plugins: myplugins, 25 plugins: myplugins,
26 theme_advanced_toolbar_location : "top", 26 theme_advanced_toolbar_location : "top",