locomotive-tinymce-rails 3.4.7.5 → 3.5.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -21
- data/Rakefile +15 -16
- data/app/assets/javascripts/tinymce-jquery.js +1 -1
- data/lib/tinymce/rails/version.rb +2 -2
- data/vendor/assets/javascripts/tinymce/jquery.tinymce.js +1 -1
- data/vendor/assets/javascripts/tinymce/langs/de.js +1 -1
- data/vendor/assets/javascripts/tinymce/langs/en.js +1 -1
- data/vendor/assets/javascripts/tinymce/langs/es.js +1 -1
- data/vendor/assets/javascripts/tinymce/langs/et.js +0 -0
- data/vendor/assets/javascripts/tinymce/langs/fr.js +0 -0
- data/vendor/assets/javascripts/tinymce/langs/it.js +0 -0
- data/vendor/assets/javascripts/tinymce/langs/nb.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/nl.js +0 -0
- data/vendor/assets/javascripts/tinymce/langs/pl.js +0 -0
- data/vendor/assets/javascripts/tinymce/langs/pt.js +0 -0
- data/vendor/assets/javascripts/tinymce/langs/ru.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/de_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/js/image.js +5 -3
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/de_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/js/advlink.js +16 -5
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/de_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/autolink/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autolink/editor_plugin_src.js +24 -12
- data/vendor/assets/javascripts/tinymce/plugins/autoresize/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js +20 -38
- data/vendor/assets/javascripts/tinymce/plugins/autosave/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autosave/editor_plugin_src.js +4 -2
- data/vendor/assets/javascripts/tinymce/plugins/contextmenu/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js +10 -7
- data/vendor/assets/javascripts/tinymce/plugins/directionality/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/directionality/editor_plugin_src.js +22 -19
- data/vendor/assets/javascripts/tinymce/plugins/emotions/emotions.htm +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/en_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/de_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js +5 -5
- data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/lists/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/lists/editor_plugin_src.js +98 -68
- data/vendor/assets/javascripts/tinymce/plugins/media/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/media/editor_plugin_src.js +23 -15
- data/vendor/assets/javascripts/tinymce/plugins/media/js/media.js +75 -26
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/de_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/en_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/noneditable/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js +499 -57
- data/vendor/assets/javascripts/tinymce/plugins/paste/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/paste/editor_plugin_src.js +17 -3
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/de_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/de_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/searchreplace.htm +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js +4 -4
- data/vendor/assets/javascripts/tinymce/plugins/style/css/props.css +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/style/editor_plugin_src.js +19 -3
- data/vendor/assets/javascripts/tinymce/plugins/style/js/props.js +77 -3
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/de_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/props.htm +6 -1
- data/vendor/assets/javascripts/tinymce/plugins/style/readme.txt +19 -0
- data/vendor/assets/javascripts/tinymce/plugins/tabfocus/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/table/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/table/editor_plugin_src.js +88 -40
- data/vendor/assets/javascripts/tinymce/plugins/table/js/cell.js +2 -2
- data/vendor/assets/javascripts/tinymce/plugins/table/js/row.js +17 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/js/table.js +20 -3
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/de_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/row.htm +15 -15
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/visualblocks/css/visualblocks.css +21 -0
- data/vendor/assets/javascripts/tinymce/plugins/visualblocks/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/visualblocks/editor_plugin_src.js +63 -0
- data/vendor/assets/javascripts/tinymce/plugins/wordcount/editor_plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js +14 -6
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/de_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/color_picker.htm +2 -6
- data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template.js +1 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template_src.js +176 -48
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/icons.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/anchor.js +19 -6
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/color_picker.js +345 -329
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/image.js +4 -2
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/link.js +9 -3
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/source_editor.js +27 -5
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/de.js +1 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/de_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en.js +1 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en_dlg.js +1 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/es.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/es_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/et.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/et_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/fr.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/fr_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/it.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/it_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nb.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nb_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nl.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pl.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pl_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pt.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pt_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/ru.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/ru_dlg.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/dialog.css +3 -2
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/ui.css +6 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css +4 -3
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css +5 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css +3 -2
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css +6 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/source_editor.htm +1 -1
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/de.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/es.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/et.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/fr.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/it.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/nb.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/nl.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/pl.js +0 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/pt.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/ru.js +1 -0
- data/vendor/assets/javascripts/tinymce/tiny_mce.js +1 -1
- data/vendor/assets/javascripts/tinymce/tiny_mce_popup.js +1 -1
- data/vendor/assets/javascripts/tinymce/tiny_mce_src.js +9799 -8716
- data/vendor/assets/javascripts_old/tinymce/jquery.tinymce.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/de.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/en.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/es.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/et.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/fr.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/it.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/nl.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/langs/no.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/langs/pl.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/pt.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/langs/ru.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/license.txt +504 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/css/advhr.css +5 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/editor_plugin_src.js +57 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/js/rule.js +43 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/advhr/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advhr/rule.htm +58 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/css/advimage.css +13 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/editor_plugin_src.js +50 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/image.htm +235 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/img/sample.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/js/image.js +462 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/advimage/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/css/advlink.css +8 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/editor_plugin_src.js +61 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/js/advlink.js +532 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/advlink/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlink/link.htm +338 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlist/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/advlist/editor_plugin_src.js +176 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/autolink/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/autolink/editor_plugin_src.js +172 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/autoresize/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/autoresize/editor_plugin_src.js +137 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/autosave/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/autosave/editor_plugin_src.js +431 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/autosave/langs/en.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/bbcode/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/bbcode/editor_plugin_src.js +120 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/contextmenu/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/contextmenu/editor_plugin_src.js +160 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/directionality/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/directionality/editor_plugin_src.js +82 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/editor_plugin_src.js +43 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/emotions.htm +42 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/js/emotions.js +43 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/emotions/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/dialog.htm +22 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/editor_plugin_src.js +84 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/img/example.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/js/dialog.js +19 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/langs/en.js +3 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example/langs/en_dlg.js +3 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example_dependency/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/example_dependency/editor_plugin_src.js +50 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/css/fullpage.css +143 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/editor_plugin_src.js +405 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/fullpage.htm +259 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/js/fullpage.js +232 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/fullpage/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullscreen/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullscreen/editor_plugin_src.js +159 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/fullscreen/fullscreen.htm +110 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/iespell/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/iespell/editor_plugin_src.js +54 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/editor_plugin_src.js +699 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/template.htm +387 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/insertdatetime/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/insertdatetime/editor_plugin_src.js +83 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/layer/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/layer/editor_plugin_src.js +262 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/legacyoutput/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/legacyoutput/editor_plugin_src.js +139 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/lists/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/lists/editor_plugin_src.js +925 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/css/media.css +17 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/editor_plugin_src.js +890 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/js/embed.js +73 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/js/media.js +464 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/media/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/media.htm +922 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/media/moxieplayer.swf +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/nonbreaking/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/nonbreaking/editor_plugin_src.js +54 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/noneditable/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/noneditable/editor_plugin_src.js +95 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/pagebreak/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/pagebreak/editor_plugin_src.js +74 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/editor_plugin_src.js +871 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/js/pastetext.js +36 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/js/pasteword.js +51 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/paste/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/pastetext.htm +27 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/paste/pasteword.htm +21 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/preview/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/preview/editor_plugin_src.js +53 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/preview/example.html +28 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/preview/jscripts/embed.js +73 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/preview/preview.html +17 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/print/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/print/editor_plugin_src.js +34 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/save/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/save/editor_plugin_src.js +101 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/css/searchreplace.css +6 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/editor_plugin_src.js +61 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/js/searchreplace.js +142 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/searchreplace/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/searchreplace.htm +100 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/spellchecker/css/content.css +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/spellchecker/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/spellchecker/editor_plugin_src.js +436 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/spellchecker/img/wline.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/css/props.css +13 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/editor_plugin_src.js +55 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/js/props.js +635 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/style/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/style/props.htm +840 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/tabfocus/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/tabfocus/editor_plugin_src.js +122 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/cell.htm +180 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/css/cell.css +17 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/css/row.css +25 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/css/table.css +13 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/editor_plugin_src.js +1408 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/js/cell.js +319 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/js/merge_cells.js +27 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/js/row.js +237 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/js/table.js +484 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/table/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/merge_cells.htm +32 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/row.htm +158 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/table/table.htm +188 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/blank.htm +12 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/css/template.css +23 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/editor_plugin_src.js +159 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/js/template.js +106 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/template/template.htm +31 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/visualchars/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/visualchars/editor_plugin_src.js +83 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/wordcount/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/wordcount/editor_plugin_src.js +114 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/abbr.htm +142 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/acronym.htm +142 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/attributes.htm +149 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/cite.htm +142 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/css/attributes.css +11 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/css/popup.css +9 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/del.htm +162 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/editor_plugin.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/editor_plugin_src.js +132 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/ins.htm +162 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/abbr.js +28 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/acronym.js +28 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/attributes.js +111 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/cite.js +28 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/del.js +53 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/element_common.js +229 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/ins.js +53 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/xhtmlxtras/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/about.htm +52 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/anchor.htm +26 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/charmap.htm +55 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/color_picker.htm +74 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/editor_template.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/editor_template_src.js +1362 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/image.htm +80 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/colorpicker.jpg +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/flash.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/icons.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/iframe.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/pagebreak.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/quicktime.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/realmedia.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/shockwave.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/trans.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/video.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/windowsmedia.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/about.js +73 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/anchor.js +43 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/charmap.js +363 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/color_picker.js +329 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/image.js +251 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/link.js +153 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/source_editor.js +56 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/de.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/en.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/es.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/et.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/et_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/fr.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/it.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/nl.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/nl_dlg.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/themes/advanced/langs/no.js +0 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/themes/advanced/langs/no_dlg.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/pl.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/pt.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/ru.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/ru_dlg.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/link.htm +57 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/shortcuts.htm +47 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/content.css +50 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/dialog.css +117 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/items.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/ui.css +214 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/highcontrast/content.css +24 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/highcontrast/dialog.css +105 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/highcontrast/ui.css +102 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/content.css +48 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/dialog.css +117 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/ui.css +217 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/ui_black.css +8 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
- data/vendor/assets/javascripts_old/tinymce/themes/advanced/source_editor.htm +25 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/editor_template.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/editor_template_src.js +84 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/img/icons.gif +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/langs/en.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/langs/pl.js +1 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/default/content.css +25 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/default/ui.css +32 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/o2k7/content.css +17 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/o2k7/ui.css +35 -0
- data/vendor/assets/javascripts_old/tinymce/tiny_mce.js +1 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/tiny_mce_jquery.js +0 -0
- data/vendor/assets/{javascripts → javascripts_old}/tinymce/tiny_mce_jquery_src.js +0 -0
- data/vendor/assets/javascripts_old/tinymce/tiny_mce_popup.js +5 -0
- data/vendor/assets/javascripts_old/tinymce/tiny_mce_src.js +16728 -0
- data/vendor/assets/javascripts_old/tinymce/utils/editable_selects.js +70 -0
- data/vendor/assets/javascripts_old/tinymce/utils/form_utils.js +210 -0
- data/vendor/assets/javascripts_old/tinymce/utils/mctabs.js +162 -0
- data/vendor/assets/javascripts_old/tinymce/utils/validate.js +252 -0
- metadata +437 -20
@@ -0,0 +1,73 @@
|
|
1
|
+
/**
|
2
|
+
* This script contains embed functions for common plugins. This scripts are complety free to use for any purpose.
|
3
|
+
*/
|
4
|
+
|
5
|
+
function writeFlash(p) {
|
6
|
+
writeEmbed(
|
7
|
+
'D27CDB6E-AE6D-11cf-96B8-444553540000',
|
8
|
+
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
|
9
|
+
'application/x-shockwave-flash',
|
10
|
+
p
|
11
|
+
);
|
12
|
+
}
|
13
|
+
|
14
|
+
function writeShockWave(p) {
|
15
|
+
writeEmbed(
|
16
|
+
'166B1BCA-3F9C-11CF-8075-444553540000',
|
17
|
+
'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0',
|
18
|
+
'application/x-director',
|
19
|
+
p
|
20
|
+
);
|
21
|
+
}
|
22
|
+
|
23
|
+
function writeQuickTime(p) {
|
24
|
+
writeEmbed(
|
25
|
+
'02BF25D5-8C17-4B23-BC80-D3488ABDDC6B',
|
26
|
+
'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0',
|
27
|
+
'video/quicktime',
|
28
|
+
p
|
29
|
+
);
|
30
|
+
}
|
31
|
+
|
32
|
+
function writeRealMedia(p) {
|
33
|
+
writeEmbed(
|
34
|
+
'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA',
|
35
|
+
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
|
36
|
+
'audio/x-pn-realaudio-plugin',
|
37
|
+
p
|
38
|
+
);
|
39
|
+
}
|
40
|
+
|
41
|
+
function writeWindowsMedia(p) {
|
42
|
+
p.url = p.src;
|
43
|
+
writeEmbed(
|
44
|
+
'6BF52A52-394A-11D3-B153-00C04F79FAA6',
|
45
|
+
'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701',
|
46
|
+
'application/x-mplayer2',
|
47
|
+
p
|
48
|
+
);
|
49
|
+
}
|
50
|
+
|
51
|
+
function writeEmbed(cls, cb, mt, p) {
|
52
|
+
var h = '', n;
|
53
|
+
|
54
|
+
h += '<object classid="clsid:' + cls + '" codebase="' + cb + '"';
|
55
|
+
h += typeof(p.id) != "undefined" ? 'id="' + p.id + '"' : '';
|
56
|
+
h += typeof(p.name) != "undefined" ? 'name="' + p.name + '"' : '';
|
57
|
+
h += typeof(p.width) != "undefined" ? 'width="' + p.width + '"' : '';
|
58
|
+
h += typeof(p.height) != "undefined" ? 'height="' + p.height + '"' : '';
|
59
|
+
h += typeof(p.align) != "undefined" ? 'align="' + p.align + '"' : '';
|
60
|
+
h += '>';
|
61
|
+
|
62
|
+
for (n in p)
|
63
|
+
h += '<param name="' + n + '" value="' + p[n] + '">';
|
64
|
+
|
65
|
+
h += '<embed type="' + mt + '"';
|
66
|
+
|
67
|
+
for (n in p)
|
68
|
+
h += n + '="' + p[n] + '" ';
|
69
|
+
|
70
|
+
h += '></embed></object>';
|
71
|
+
|
72
|
+
document.write(h);
|
73
|
+
}
|
@@ -0,0 +1,464 @@
|
|
1
|
+
(function() {
|
2
|
+
var url;
|
3
|
+
|
4
|
+
if (url = tinyMCEPopup.getParam("media_external_list_url"))
|
5
|
+
document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
|
6
|
+
|
7
|
+
function get(id) {
|
8
|
+
return document.getElementById(id);
|
9
|
+
}
|
10
|
+
|
11
|
+
function clone(obj) {
|
12
|
+
var i, len, copy, attr;
|
13
|
+
|
14
|
+
if (null == obj || "object" != typeof obj)
|
15
|
+
return obj;
|
16
|
+
|
17
|
+
// Handle Array
|
18
|
+
if ('length' in obj) {
|
19
|
+
copy = [];
|
20
|
+
|
21
|
+
for (i = 0, len = obj.length; i < len; ++i) {
|
22
|
+
copy[i] = clone(obj[i]);
|
23
|
+
}
|
24
|
+
|
25
|
+
return copy;
|
26
|
+
}
|
27
|
+
|
28
|
+
// Handle Object
|
29
|
+
copy = {};
|
30
|
+
for (attr in obj) {
|
31
|
+
if (obj.hasOwnProperty(attr))
|
32
|
+
copy[attr] = clone(obj[attr]);
|
33
|
+
}
|
34
|
+
|
35
|
+
return copy;
|
36
|
+
}
|
37
|
+
|
38
|
+
function getVal(id) {
|
39
|
+
var elm = get(id);
|
40
|
+
|
41
|
+
if (elm.nodeName == "SELECT")
|
42
|
+
return elm.options[elm.selectedIndex].value;
|
43
|
+
|
44
|
+
if (elm.type == "checkbox")
|
45
|
+
return elm.checked;
|
46
|
+
|
47
|
+
return elm.value;
|
48
|
+
}
|
49
|
+
|
50
|
+
function setVal(id, value, name) {
|
51
|
+
if (typeof(value) != 'undefined') {
|
52
|
+
var elm = get(id);
|
53
|
+
|
54
|
+
if (elm.nodeName == "SELECT")
|
55
|
+
selectByValue(document.forms[0], id, value);
|
56
|
+
else if (elm.type == "checkbox") {
|
57
|
+
if (typeof(value) == 'string') {
|
58
|
+
value = value.toLowerCase();
|
59
|
+
value = (!name && value === 'true') || (name && value === name.toLowerCase());
|
60
|
+
}
|
61
|
+
elm.checked = !!value;
|
62
|
+
} else
|
63
|
+
elm.value = value;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
window.Media = {
|
68
|
+
init : function() {
|
69
|
+
var html, editor, self = this;
|
70
|
+
|
71
|
+
self.editor = editor = tinyMCEPopup.editor;
|
72
|
+
|
73
|
+
// Setup file browsers and color pickers
|
74
|
+
get('filebrowsercontainer').innerHTML = getBrowserHTML('filebrowser','src','media','media');
|
75
|
+
get('qtsrcfilebrowsercontainer').innerHTML = getBrowserHTML('qtsrcfilebrowser','quicktime_qtsrc','media','media');
|
76
|
+
get('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
|
77
|
+
get('video_altsource1_filebrowser').innerHTML = getBrowserHTML('video_filebrowser_altsource1','video_altsource1','media','media');
|
78
|
+
get('video_altsource2_filebrowser').innerHTML = getBrowserHTML('video_filebrowser_altsource2','video_altsource2','media','media');
|
79
|
+
get('audio_altsource1_filebrowser').innerHTML = getBrowserHTML('audio_filebrowser_altsource1','audio_altsource1','media','media');
|
80
|
+
get('audio_altsource2_filebrowser').innerHTML = getBrowserHTML('audio_filebrowser_altsource2','audio_altsource2','media','media');
|
81
|
+
get('video_poster_filebrowser').innerHTML = getBrowserHTML('filebrowser_poster','video_poster','media','image');
|
82
|
+
|
83
|
+
html = self.getMediaListHTML('medialist', 'src', 'media', 'media');
|
84
|
+
if (html == "")
|
85
|
+
get("linklistrow").style.display = 'none';
|
86
|
+
else
|
87
|
+
get("linklistcontainer").innerHTML = html;
|
88
|
+
|
89
|
+
if (isVisible('filebrowser'))
|
90
|
+
get('src').style.width = '230px';
|
91
|
+
|
92
|
+
if (isVisible('video_filebrowser_altsource1'))
|
93
|
+
get('video_altsource1').style.width = '220px';
|
94
|
+
|
95
|
+
if (isVisible('video_filebrowser_altsource2'))
|
96
|
+
get('video_altsource2').style.width = '220px';
|
97
|
+
|
98
|
+
if (isVisible('audio_filebrowser_altsource1'))
|
99
|
+
get('audio_altsource1').style.width = '220px';
|
100
|
+
|
101
|
+
if (isVisible('audio_filebrowser_altsource2'))
|
102
|
+
get('audio_altsource2').style.width = '220px';
|
103
|
+
|
104
|
+
if (isVisible('filebrowser_poster'))
|
105
|
+
get('video_poster').style.width = '220px';
|
106
|
+
|
107
|
+
editor.dom.setOuterHTML(get('media_type'), self.getMediaTypeHTML(editor));
|
108
|
+
|
109
|
+
self.setDefaultDialogSettings(editor);
|
110
|
+
self.data = clone(tinyMCEPopup.getWindowArg('data'));
|
111
|
+
self.dataToForm();
|
112
|
+
self.preview();
|
113
|
+
|
114
|
+
updateColor('bgcolor_pick', 'bgcolor');
|
115
|
+
},
|
116
|
+
|
117
|
+
insert : function() {
|
118
|
+
var editor = tinyMCEPopup.editor;
|
119
|
+
|
120
|
+
this.formToData();
|
121
|
+
editor.execCommand('mceRepaint');
|
122
|
+
tinyMCEPopup.restoreSelection();
|
123
|
+
editor.selection.setNode(editor.plugins.media.dataToImg(this.data));
|
124
|
+
tinyMCEPopup.close();
|
125
|
+
},
|
126
|
+
|
127
|
+
preview : function() {
|
128
|
+
get('prev').innerHTML = this.editor.plugins.media.dataToHtml(this.data, true);
|
129
|
+
},
|
130
|
+
|
131
|
+
moveStates : function(to_form, field) {
|
132
|
+
var data = this.data, editor = this.editor,
|
133
|
+
mediaPlugin = editor.plugins.media, ext, src, typeInfo, defaultStates, src;
|
134
|
+
|
135
|
+
defaultStates = {
|
136
|
+
// QuickTime
|
137
|
+
quicktime_autoplay : true,
|
138
|
+
quicktime_controller : true,
|
139
|
+
|
140
|
+
// Flash
|
141
|
+
flash_play : true,
|
142
|
+
flash_loop : true,
|
143
|
+
flash_menu : true,
|
144
|
+
|
145
|
+
// WindowsMedia
|
146
|
+
windowsmedia_autostart : true,
|
147
|
+
windowsmedia_enablecontextmenu : true,
|
148
|
+
windowsmedia_invokeurls : true,
|
149
|
+
|
150
|
+
// RealMedia
|
151
|
+
realmedia_autogotourl : true,
|
152
|
+
realmedia_imagestatus : true
|
153
|
+
};
|
154
|
+
|
155
|
+
function parseQueryParams(str) {
|
156
|
+
var out = {};
|
157
|
+
|
158
|
+
if (str) {
|
159
|
+
tinymce.each(str.split('&'), function(item) {
|
160
|
+
var parts = item.split('=');
|
161
|
+
|
162
|
+
out[unescape(parts[0])] = unescape(parts[1]);
|
163
|
+
});
|
164
|
+
}
|
165
|
+
|
166
|
+
return out;
|
167
|
+
};
|
168
|
+
|
169
|
+
function setOptions(type, names) {
|
170
|
+
var i, name, formItemName, value, list;
|
171
|
+
|
172
|
+
if (type == data.type || type == 'global') {
|
173
|
+
names = tinymce.explode(names);
|
174
|
+
for (i = 0; i < names.length; i++) {
|
175
|
+
name = names[i];
|
176
|
+
formItemName = type == 'global' ? name : type + '_' + name;
|
177
|
+
|
178
|
+
if (type == 'global')
|
179
|
+
list = data;
|
180
|
+
else if (type == 'video' || type == 'audio') {
|
181
|
+
list = data.video.attrs;
|
182
|
+
|
183
|
+
if (!list && !to_form)
|
184
|
+
data.video.attrs = list = {};
|
185
|
+
} else
|
186
|
+
list = data.params;
|
187
|
+
|
188
|
+
if (list) {
|
189
|
+
if (to_form) {
|
190
|
+
setVal(formItemName, list[name], type == 'video' || type == 'audio' ? name : '');
|
191
|
+
} else {
|
192
|
+
delete list[name];
|
193
|
+
|
194
|
+
value = getVal(formItemName);
|
195
|
+
if ((type == 'video' || type == 'audio') && value === true)
|
196
|
+
value = name;
|
197
|
+
|
198
|
+
if (defaultStates[formItemName]) {
|
199
|
+
if (value !== defaultStates[formItemName]) {
|
200
|
+
value = "" + value;
|
201
|
+
list[name] = value;
|
202
|
+
}
|
203
|
+
} else if (value) {
|
204
|
+
value = "" + value;
|
205
|
+
list[name] = value;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
if (!to_form) {
|
214
|
+
data.type = get('media_type').options[get('media_type').selectedIndex].value;
|
215
|
+
data.width = getVal('width');
|
216
|
+
data.height = getVal('height');
|
217
|
+
|
218
|
+
// Switch type based on extension
|
219
|
+
src = getVal('src');
|
220
|
+
if (field == 'src') {
|
221
|
+
ext = src.replace(/^.*\.([^.]+)$/, '$1');
|
222
|
+
if (typeInfo = mediaPlugin.getType(ext))
|
223
|
+
data.type = typeInfo.name.toLowerCase();
|
224
|
+
|
225
|
+
setVal('media_type', data.type);
|
226
|
+
}
|
227
|
+
|
228
|
+
if (data.type == "video" || data.type == "audio") {
|
229
|
+
if (!data.video.sources)
|
230
|
+
data.video.sources = [];
|
231
|
+
|
232
|
+
data.video.sources[0] = {src: getVal('src')};
|
233
|
+
}
|
234
|
+
}
|
235
|
+
|
236
|
+
// Hide all fieldsets and show the one active
|
237
|
+
get('video_options').style.display = 'none';
|
238
|
+
get('audio_options').style.display = 'none';
|
239
|
+
get('flash_options').style.display = 'none';
|
240
|
+
get('quicktime_options').style.display = 'none';
|
241
|
+
get('shockwave_options').style.display = 'none';
|
242
|
+
get('windowsmedia_options').style.display = 'none';
|
243
|
+
get('realmedia_options').style.display = 'none';
|
244
|
+
get('embeddedaudio_options').style.display = 'none';
|
245
|
+
|
246
|
+
if (get(data.type + '_options'))
|
247
|
+
get(data.type + '_options').style.display = 'block';
|
248
|
+
|
249
|
+
setVal('media_type', data.type);
|
250
|
+
|
251
|
+
setOptions('flash', 'play,loop,menu,swliveconnect,quality,scale,salign,wmode,base,flashvars');
|
252
|
+
setOptions('quicktime', 'loop,autoplay,cache,controller,correction,enablejavascript,kioskmode,autohref,playeveryframe,targetcache,scale,starttime,endtime,target,qtsrcchokespeed,volume,qtsrc');
|
253
|
+
setOptions('shockwave', 'sound,progress,autostart,swliveconnect,swvolume,swstretchstyle,swstretchhalign,swstretchvalign');
|
254
|
+
setOptions('windowsmedia', 'autostart,enabled,enablecontextmenu,fullscreen,invokeurls,mute,stretchtofit,windowlessvideo,balance,baseurl,captioningid,currentmarker,currentposition,defaultframe,playcount,rate,uimode,volume');
|
255
|
+
setOptions('realmedia', 'autostart,loop,autogotourl,center,imagestatus,maintainaspect,nojava,prefetch,shuffle,console,controls,numloop,scriptcallbacks');
|
256
|
+
setOptions('video', 'poster,autoplay,loop,muted,preload,controls');
|
257
|
+
setOptions('audio', 'autoplay,loop,preload,controls');
|
258
|
+
setOptions('embeddedaudio', 'autoplay,loop,controls');
|
259
|
+
setOptions('global', 'id,name,vspace,hspace,bgcolor,align,width,height');
|
260
|
+
|
261
|
+
if (to_form) {
|
262
|
+
if (data.type == 'video') {
|
263
|
+
if (data.video.sources[0])
|
264
|
+
setVal('src', data.video.sources[0].src);
|
265
|
+
|
266
|
+
src = data.video.sources[1];
|
267
|
+
if (src)
|
268
|
+
setVal('video_altsource1', src.src);
|
269
|
+
|
270
|
+
src = data.video.sources[2];
|
271
|
+
if (src)
|
272
|
+
setVal('video_altsource2', src.src);
|
273
|
+
} else if (data.type == 'audio') {
|
274
|
+
if (data.video.sources[0])
|
275
|
+
setVal('src', data.video.sources[0].src);
|
276
|
+
|
277
|
+
src = data.video.sources[1];
|
278
|
+
if (src)
|
279
|
+
setVal('audio_altsource1', src.src);
|
280
|
+
|
281
|
+
src = data.video.sources[2];
|
282
|
+
if (src)
|
283
|
+
setVal('audio_altsource2', src.src);
|
284
|
+
} else {
|
285
|
+
// Check flash vars
|
286
|
+
if (data.type == 'flash') {
|
287
|
+
tinymce.each(editor.getParam('flash_video_player_flashvars', {url : '$url', poster : '$poster'}), function(value, name) {
|
288
|
+
if (value == '$url')
|
289
|
+
data.params.src = parseQueryParams(data.params.flashvars)[name] || data.params.src || '';
|
290
|
+
});
|
291
|
+
}
|
292
|
+
|
293
|
+
setVal('src', data.params.src);
|
294
|
+
}
|
295
|
+
} else {
|
296
|
+
src = getVal("src");
|
297
|
+
|
298
|
+
// YouTube *NEW*
|
299
|
+
if (src.match(/youtu.be\/[a-z1-9.-_]+/)) {
|
300
|
+
data.width = 425;
|
301
|
+
data.height = 350;
|
302
|
+
data.params.frameborder = '0';
|
303
|
+
data.type = 'iframe';
|
304
|
+
src = 'http://www.youtube.com/embed/' + src.match(/youtu.be\/([a-z1-9.-_]+)/)[1];
|
305
|
+
setVal('src', src);
|
306
|
+
setVal('media_type', data.type);
|
307
|
+
}
|
308
|
+
|
309
|
+
// YouTube
|
310
|
+
if (src.match(/youtube.com(.+)v=([^&]+)/)) {
|
311
|
+
data.width = 425;
|
312
|
+
data.height = 350;
|
313
|
+
data.params.frameborder = '0';
|
314
|
+
data.type = 'iframe';
|
315
|
+
src = 'http://www.youtube.com/embed/' + src.match(/v=([^&]+)/)[1];
|
316
|
+
setVal('src', src);
|
317
|
+
setVal('media_type', data.type);
|
318
|
+
}
|
319
|
+
|
320
|
+
// Google video
|
321
|
+
if (src.match(/video.google.com(.+)docid=([^&]+)/)) {
|
322
|
+
data.width = 425;
|
323
|
+
data.height = 326;
|
324
|
+
data.type = 'flash';
|
325
|
+
src = 'http://video.google.com/googleplayer.swf?docId=' + src.match(/docid=([^&]+)/)[1] + '&hl=en';
|
326
|
+
setVal('src', src);
|
327
|
+
setVal('media_type', data.type);
|
328
|
+
}
|
329
|
+
|
330
|
+
if (data.type == 'video') {
|
331
|
+
if (!data.video.sources)
|
332
|
+
data.video.sources = [];
|
333
|
+
|
334
|
+
data.video.sources[0] = {src : src};
|
335
|
+
|
336
|
+
src = getVal("video_altsource1");
|
337
|
+
if (src)
|
338
|
+
data.video.sources[1] = {src : src};
|
339
|
+
|
340
|
+
src = getVal("video_altsource2");
|
341
|
+
if (src)
|
342
|
+
data.video.sources[2] = {src : src};
|
343
|
+
} else if (data.type == 'audio') {
|
344
|
+
if (!data.video.sources)
|
345
|
+
data.video.sources = [];
|
346
|
+
|
347
|
+
data.video.sources[0] = {src : src};
|
348
|
+
|
349
|
+
src = getVal("audio_altsource1");
|
350
|
+
if (src)
|
351
|
+
data.video.sources[1] = {src : src};
|
352
|
+
|
353
|
+
src = getVal("audio_altsource2");
|
354
|
+
if (src)
|
355
|
+
data.video.sources[2] = {src : src};
|
356
|
+
} else
|
357
|
+
data.params.src = src;
|
358
|
+
|
359
|
+
// Set default size
|
360
|
+
setVal('width', data.width || (data.type == 'audio' ? 300 : 320));
|
361
|
+
setVal('height', data.height || (data.type == 'audio' ? 32 : 240));
|
362
|
+
}
|
363
|
+
},
|
364
|
+
|
365
|
+
dataToForm : function() {
|
366
|
+
this.moveStates(true);
|
367
|
+
},
|
368
|
+
|
369
|
+
formToData : function(field) {
|
370
|
+
if (field == "width" || field == "height")
|
371
|
+
this.changeSize(field);
|
372
|
+
|
373
|
+
if (field == 'source') {
|
374
|
+
this.moveStates(false, field);
|
375
|
+
setVal('source', this.editor.plugins.media.dataToHtml(this.data));
|
376
|
+
this.panel = 'source';
|
377
|
+
} else {
|
378
|
+
if (this.panel == 'source') {
|
379
|
+
this.data = clone(this.editor.plugins.media.htmlToData(getVal('source')));
|
380
|
+
this.dataToForm();
|
381
|
+
this.panel = '';
|
382
|
+
}
|
383
|
+
|
384
|
+
this.moveStates(false, field);
|
385
|
+
this.preview();
|
386
|
+
}
|
387
|
+
},
|
388
|
+
|
389
|
+
beforeResize : function() {
|
390
|
+
this.width = parseInt(getVal('width') || (this.data.type == 'audio' ? "300" : "320"), 10);
|
391
|
+
this.height = parseInt(getVal('height') || (this.data.type == 'audio' ? "32" : "240"), 10);
|
392
|
+
},
|
393
|
+
|
394
|
+
changeSize : function(type) {
|
395
|
+
var width, height, scale, size;
|
396
|
+
|
397
|
+
if (get('constrain').checked) {
|
398
|
+
width = parseInt(getVal('width') || (this.data.type == 'audio' ? "300" : "320"), 10);
|
399
|
+
height = parseInt(getVal('height') || (this.data.type == 'audio' ? "32" : "240"), 10);
|
400
|
+
|
401
|
+
if (type == 'width') {
|
402
|
+
this.height = Math.round((width / this.width) * height);
|
403
|
+
setVal('height', this.height);
|
404
|
+
} else {
|
405
|
+
this.width = Math.round((height / this.height) * width);
|
406
|
+
setVal('width', this.width);
|
407
|
+
}
|
408
|
+
}
|
409
|
+
},
|
410
|
+
|
411
|
+
getMediaListHTML : function() {
|
412
|
+
if (typeof(tinyMCEMediaList) != "undefined" && tinyMCEMediaList.length > 0) {
|
413
|
+
var html = "";
|
414
|
+
|
415
|
+
html += '<select id="linklist" name="linklist" style="width: 250px" onchange="this.form.src.value=this.options[this.selectedIndex].value;Media.formToData(\'src\');">';
|
416
|
+
html += '<option value="">---</option>';
|
417
|
+
|
418
|
+
for (var i=0; i<tinyMCEMediaList.length; i++)
|
419
|
+
html += '<option value="' + tinyMCEMediaList[i][1] + '">' + tinyMCEMediaList[i][0] + '</option>';
|
420
|
+
|
421
|
+
html += '</select>';
|
422
|
+
|
423
|
+
return html;
|
424
|
+
}
|
425
|
+
|
426
|
+
return "";
|
427
|
+
},
|
428
|
+
|
429
|
+
getMediaTypeHTML : function(editor) {
|
430
|
+
function option(media_type){
|
431
|
+
return '<option value="'+media_type+'">'+tinyMCEPopup.editor.translate("media_dlg."+media_type)+'</option>'
|
432
|
+
}
|
433
|
+
var html = "";
|
434
|
+
html += '<select id="media_type" name="media_type" onchange="Media.formToData(\'type\');">';
|
435
|
+
html += option("video");
|
436
|
+
html += option("audio");
|
437
|
+
html += option("flash");
|
438
|
+
html += option("quicktime");
|
439
|
+
html += option("shockwave");
|
440
|
+
html += option("windowsmedia");
|
441
|
+
html += option("realmedia");
|
442
|
+
html += option("iframe");
|
443
|
+
|
444
|
+
if (editor.getParam('media_embedded_audio', false)) {
|
445
|
+
html += option('embeddedaudio');
|
446
|
+
}
|
447
|
+
|
448
|
+
html += '</select>';
|
449
|
+
return html;
|
450
|
+
},
|
451
|
+
|
452
|
+
setDefaultDialogSettings : function(editor) {
|
453
|
+
var defaultDialogSettings = editor.getParam("media_dialog_defaults", {});
|
454
|
+
tinymce.each(defaultDialogSettings, function(v, k) {
|
455
|
+
setVal(k, v);
|
456
|
+
});
|
457
|
+
}
|
458
|
+
};
|
459
|
+
|
460
|
+
tinyMCEPopup.requireLangPack();
|
461
|
+
tinyMCEPopup.onInit.add(function() {
|
462
|
+
Media.init();
|
463
|
+
});
|
464
|
+
})();
|