Commit 231a6ffbade5bd9667f8af2a4f8da2e33ff24441

Authored by Daniela Feitosa
2 parents e0b1f059 fa192b4c

Merge commit 'refs/merge-requests/2' of git://gitorious.org/noosfero/noosfero into merge-requests/2

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/views/shared/tiny_mce.rhtml
... ... @@ -21,6 +21,7 @@ tinyMCE.init({
21 21 theme : "advanced",
22 22 relative_urls : false,
23 23 remove_script_host : true,
  24 + document_base_url : <%= environment.top_url.to_json %>,
24 25 plugins: myplugins,
25 26 theme_advanced_toolbar_location : "top",
26 27 theme_advanced_layout_manager: 'SimpleLayout',
... ... @@ -32,7 +33,7 @@ tinyMCE.init({
32 33 paste_insert_word_content_callback : "convertWord",
33 34 paste_use_dialog: false,
34 35 apply_source_formatting : true,
35   - extended_valid_elements : "applet[style|archive|codebase|code|height|width],comment,iframe[src|style|allowtransparency|frameborder|width|height|scrolling]",
  36 + extended_valid_elements : "applet[style|archive|codebase|code|height|width],comment,iframe[src|style|allowtransparency|frameborder|width|height|scrolling],embed[title|src|type|height|width]",
36 37 content_css: '/stylesheets/tinymce.css',
37 38 language: <%= tinymce_language.inspect %>,
38 39 entity_encoding: 'raw'
... ...