Commit fa192b4c18c5839ff2db3639062d1d039b1d4167

Authored by Joenio Costa
1 parent 77de5b04

Fixing drag and drop when re-edit article on Firefox browser

(Actionitem1992)
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'
... ...