Commit a51eb353874e3df1759aff68e6805b2aa81437ca

Authored by Antonio Terceiro
1 parent cce4b57b

ActionItem1139: fixing broken images in editor

Needed to inform TinyMCE about the document base
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/views/shared/tiny_mce.rhtml
... ... @@ -10,6 +10,7 @@ tinyMCE.init({
10 10 theme : "advanced",
11 11 relative_urls : false,
12 12 remove_script_host : true,
  13 + document_base_url : <%= environment.top_url.to_json %>,
13 14 plugins: myplugins,
14 15 theme_advanced_toolbar_location : "top",
15 16 theme_advanced_layout_manager: 'SimpleLayout',
... ...