tiny_mce 0.1.4 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG_PLUGIN.rdoc +48 -35
- data/CHANGELOG_TINYMCE +180 -7
- data/DEV_UPGRADE_NOTES.rdoc +1 -1
- data/README.rdoc +69 -4
- data/lib/tasks/tiny_mce.rake +9 -0
- data/lib/tiny_mce.rb +69 -0
- data/lib/tiny_mce/assets/tiny_mce/jquery.tinymce.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/langs/ca.js +1 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/cs.js +1 -176
- data/lib/tiny_mce/assets/tiny_mce/langs/da.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/langs/en.js +1 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/fi.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/langs/fr.js +1 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/hu.js +1 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/ja.js +1 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/ka.js +1 -173
- data/lib/tiny_mce/assets/tiny_mce/langs/km.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/langs/nb.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/langs/no.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/langs/pl.js +1 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/pt.js +1 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/ru.js +1 -173
- data/lib/tiny_mce/assets/tiny_mce/langs/sk.js +1 -176
- data/lib/tiny_mce/assets/tiny_mce/langs/sl.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/langs/sv.js +1 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/zh-cn.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ca_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/cs_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/da_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/en_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/fi_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/fr_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/hu_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ja_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ka_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/km_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/nb_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/no_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/pl_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/pt_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ru_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/sk_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/sl_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/sv_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/zh-cn_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/rule.htm +30 -29
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/image.htm +34 -31
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/js/image.js +3 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ca_dlg.js +1 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/cs_dlg.js +1 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/da_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/en_dlg.js +1 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/fi_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/fr_dlg.js +1 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/hu_dlg.js +1 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ja_dlg.js +1 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ka_dlg.js +1 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/km_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/nb_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/no_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/pl_dlg.js +1 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/pt_dlg.js +1 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ru_dlg.js +1 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/sk_dlg.js +1 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/sl_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/sv_dlg.js +1 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/zh-cn_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/js/advlink.js +2 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ca_dlg.js +1 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/cs_dlg.js +1 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/da_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/en_dlg.js +1 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/fi_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/fr_dlg.js +1 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/hu_dlg.js +1 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ja_dlg.js +1 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ka_dlg.js +1 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/km_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/nb_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/no_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/pl_dlg.js +1 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/pt_dlg.js +1 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ru_dlg.js +1 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/sk_dlg.js +1 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/sl_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/sv_dlg.js +1 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/zh-cn_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/link.htm +34 -29
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlist/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlist/editor_plugin_src.js +3 -3
- data/lib/tiny_mce/assets/tiny_mce/plugins/autosave/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/autosave/editor_plugin_src.js +15 -6
- data/lib/tiny_mce/assets/tiny_mce/plugins/bbcode/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/bbcode/editor_plugin_src.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/contextmenu/editor_plugin_src.js +19 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/emotions.htm +15 -14
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ca_dlg.js +1 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/cs_dlg.js +1 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/da_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/en_dlg.js +1 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/fi_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/fr_dlg.js +1 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/hu_dlg.js +1 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ja_dlg.js +1 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ka_dlg.js +1 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/km_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/nb_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/no_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/pl_dlg.js +1 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/pt_dlg.js +1 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ru_dlg.js +1 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/sk_dlg.js +1 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/sl_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/sv_dlg.js +1 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/zh-cn_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/editor_plugin_src.js +21 -4
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/fullpage.htm +2 -2
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/js/fullpage.js +38 -17
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ca_dlg.js +1 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/cs_dlg.js +1 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/da_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/en_dlg.js +1 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/fi_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/fr_dlg.js +1 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/hu_dlg.js +1 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ja_dlg.js +1 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ka_dlg.js +1 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/km_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/nb_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/no_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/pl_dlg.js +1 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/pt_dlg.js +1 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ru_dlg.js +1 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/sk_dlg.js +1 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/sl_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/sv_dlg.js +1 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/zh-cn_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullscreen/editor_plugin_src.js +11 -3
- data/lib/tiny_mce/assets/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +76 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/layer/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/layer/editor_plugin_src.js +2 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +29 -26
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/css/media.css +5 -4
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/editor_plugin_src.js +652 -296
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/js/media.js +308 -598
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ca_dlg.js +1 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/cs_dlg.js +1 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/da_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/en_dlg.js +1 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/fi_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/fr_dlg.js +1 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/hu_dlg.js +1 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ja_dlg.js +1 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ka_dlg.js +1 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/km_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/nb_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/no_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/pl_dlg.js +1 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/pt_dlg.js +1 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ru_dlg.js +1 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/sk_dlg.js +1 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/sl_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/sv_dlg.js +1 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/zh-cn_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/media.htm +282 -287
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/moxieplayer.swf +0 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/pagebreak/editor_plugin_src.js +1 -4
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/editor_plugin_src.js +68 -109
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ca_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/cs_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/da_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/en_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/fi_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/fr_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/hu_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ja_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ka_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/km_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/nb_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/no_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/pl_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/pt_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ru_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/sk_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/sl_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/sv_dlg.js +1 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/zh-cn_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/editor_plugin_src.js +4 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/js/searchreplace.js +16 -6
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ca_dlg.js +1 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/cs_dlg.js +1 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/da_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/en_dlg.js +1 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/fi_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/fr_dlg.js +1 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/hu_dlg.js +1 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ja_dlg.js +1 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ka_dlg.js +1 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/km_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/nb_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/no_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/pl_dlg.js +1 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/pt_dlg.js +1 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ru_dlg.js +1 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/sk_dlg.js +1 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/sl_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/sv_dlg.js +1 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/zh-cn_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/searchreplace.htm +17 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/spellchecker/editor_plugin_src.js +16 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/js/props.js +2 -8
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ca_dlg.js +1 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/cs_dlg.js +1 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/da_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/en_dlg.js +1 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/fi_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/fr_dlg.js +1 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/hu_dlg.js +1 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ja_dlg.js +1 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ka_dlg.js +1 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/km_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/nb_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/no_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/pl_dlg.js +1 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/pt_dlg.js +1 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ru_dlg.js +1 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/sk_dlg.js +1 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/sl_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/sv_dlg.js +1 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/zh-cn_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/props.htm +513 -398
- data/lib/tiny_mce/assets/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/tabfocus/editor_plugin_src.js +30 -28
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/cell.htm +12 -12
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/editor_plugin_src.js +80 -22
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/js/cell.js +9 -11
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/js/row.js +13 -18
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/js/table.js +17 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ca_dlg.js +1 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/cs_dlg.js +1 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/da_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/en_dlg.js +1 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/fi_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/fr_dlg.js +1 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/hu_dlg.js +1 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ja_dlg.js +1 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ka_dlg.js +1 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/km_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/nb_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/no_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/pl_dlg.js +1 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/pt_dlg.js +1 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ru_dlg.js +1 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/sk_dlg.js +1 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/sl_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/sv_dlg.js +1 -73
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/zh-cn_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/merge_cells.htm +11 -11
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/row.htm +10 -8
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/table.htm +54 -53
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/js/template.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ca_dlg.js +1 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/cs_dlg.js +1 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/da_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/en_dlg.js +1 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/fi_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/fr_dlg.js +1 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/hu_dlg.js +1 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ja_dlg.js +1 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ka_dlg.js +1 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/km_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/nb_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/no_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/pl_dlg.js +1 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/pt_dlg.js +1 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ru_dlg.js +1 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/sk_dlg.js +1 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/sl_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/sv_dlg.js +1 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/zh-cn_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/visualchars/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/visualchars/editor_plugin_src.js +20 -13
- data/lib/tiny_mce/assets/tiny_mce/plugins/wordcount/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/wordcount/editor_plugin_src.js +35 -19
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/abbr.htm +6 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/acronym.htm +6 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/attributes.htm +6 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/cite.htm +5 -4
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/del.htm +9 -8
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +0 -12
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/ins.htm +11 -10
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/js/attributes.js +0 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/js/del.js +2 -12
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/js/element_common.js +3 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/js/ins.js +4 -13
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ca_dlg.js +1 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/cs_dlg.js +1 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/da_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +1 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/fi_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/fr_dlg.js +1 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js +1 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js +1 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ka_dlg.js +1 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/km_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/nb_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/no_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/pl_dlg.js +1 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/pt_dlg.js +1 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ru_dlg.js +1 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/sk_dlg.js +1 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/sl_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/sv_dlg.js +1 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/zh-cn_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/about.htm +3 -5
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/anchor.htm +5 -5
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/charmap.htm +39 -40
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/color_picker.htm +10 -9
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/editor_template.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/editor_template_src.js +204 -52
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/image.htm +51 -51
- data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/flash.gif +0 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/img/iframe.gif +0 -0
- data/lib/tiny_mce/assets/tiny_mce/{plugins/pagebreak → themes/advanced}/img/pagebreak.gif +0 -0
- data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/quicktime.gif +0 -0
- data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/realmedia.gif +0 -0
- data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/shockwave.gif +0 -0
- data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/trans.gif +0 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/img/video.gif +0 -0
- data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/windowsmedia.gif +0 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/about.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/anchor.js +5 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/charmap.js +23 -4
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/color_picker.js +108 -32
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/image.js +3 -1
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/link.js +4 -7
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/source_editor.js +6 -12
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ca.js +1 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ca_dlg.js +1 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/cs.js +1 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/cs_dlg.js +1 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/da.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/da_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/en.js +1 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/en_dlg.js +1 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/fi.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/fi_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/fr.js +1 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/fr_dlg.js +1 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hu.js +1 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hu_dlg.js +1 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ja.js +1 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ja_dlg.js +1 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ka.js +1 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ka_dlg.js +1 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/km.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/km_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/nb.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/nb_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/no.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/no_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/pl.js +1 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/pl_dlg.js +1 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/pt.js +1 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/pt_dlg.js +1 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ru.js +1 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ru_dlg.js +1 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sk.js +1 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sk_dlg.js +1 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sl.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sl_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sv.js +1 -60
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sv_dlg.js +1 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/zh-cn.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/zh-cn_dlg.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/link.htm +27 -28
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/shortcuts.htm +47 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/default/content.css +12 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/default/ui.css +3 -3
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/highcontrast/content.css +23 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +105 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/highcontrast/ui.css +101 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/o2k7/content.css +11 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/o2k7/ui.css +1 -1
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/source_editor.htm +3 -3
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/editor_template.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/editor_template_src.js +1 -2
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ca.js +1 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/cs.js +1 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/da.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/en.js +1 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/fi.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/fr.js +1 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/hu.js +1 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ja.js +1 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ka.js +1 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/km.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/nb.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/no.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/pl.js +1 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/pt.js +1 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ru.js +1 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/sk.js +1 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/sl.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/sv.js +1 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/zh-cn.js +1 -0
- data/lib/tiny_mce/assets/tiny_mce/tiny_mce.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/tiny_mce_popup.js +1 -1
- data/lib/tiny_mce/assets/tiny_mce/tiny_mce_src.js +6062 -5297
- data/lib/tiny_mce/assets/tiny_mce/utils/form_utils.js +10 -3
- data/lib/tiny_mce/assets/tiny_mce/utils/mctabs.js +95 -10
- data/lib/tiny_mce/assets/tiny_mce/utils/validate.js +34 -2
- data/lib/tiny_mce/base.rb +9 -1
- data/lib/tiny_mce/configuration.rb +11 -1
- data/lib/tiny_mce/helpers.rb +38 -6
- data/lib/tiny_mce/valid_tinymce_langs.yml +9 -19
- data/lib/tiny_mce/valid_tinymce_options.yml +1 -0
- data/test/test_helper.rb +1 -1
- data/tiny_mce.gemspec +4 -3
- metadata +148 -288
- data/lib/tiny_mce/assets/tiny_mce/langs/ar.js +0 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/ch.js +0 -178
- data/lib/tiny_mce/assets/tiny_mce/langs/cy.js +0 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/de.js +0 -171
- data/lib/tiny_mce/assets/tiny_mce/langs/es.js +0 -172
- data/lib/tiny_mce/assets/tiny_mce/langs/he.js +0 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/hi.js +0 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/hr.js +0 -171
- data/lib/tiny_mce/assets/tiny_mce/langs/it.js +0 -206
- data/lib/tiny_mce/assets/tiny_mce/langs/kl.js +0 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/ko.js +0 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/lb.js +0 -171
- data/lib/tiny_mce/assets/tiny_mce/langs/nl.js +0 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/ta.js +0 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/uk.js +0 -173
- data/lib/tiny_mce/assets/tiny_mce/langs/vi.js +0 -170
- data/lib/tiny_mce/assets/tiny_mce/langs/zh.js +0 -178
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ar_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ch_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/cy_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/de_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/es_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/he_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/hi_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/hr_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/it_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/kl_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ko_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/lb_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/nl_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ta_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/uk_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/vi_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/zh_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ar_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ch_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/cy_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/de_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/es_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/he_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/hi_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/hr_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/it_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/kl_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ko_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/lb_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/nl_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ta_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/uk_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/vi_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/zh_dlg.js +0 -43
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ar_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ch_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/cy_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/de_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/es_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/he_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/hi_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/hr_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/it_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/kl_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ko_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/lb_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/nl_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ta_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/uk_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/vi_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/zh_dlg.js +0 -52
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ar_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ch_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/cy_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/de_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/es_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/he_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/hi_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/hr_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/it_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/kl_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ko_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/lb_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/nl_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ta_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/uk_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/vi_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/zh_dlg.js +0 -20
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ar_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ch_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/cy_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/de_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/es_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/he_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/hi_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/hr_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/it_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/kl_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ko_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/lb_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/nl_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ta_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/uk_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/vi_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/zh_dlg.js +0 -85
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/css/content.css +0 -6
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/img/flv_player.swf +0 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ar_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ch_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/cy_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/de_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/es_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/he_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/hi_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/hr_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/it_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/kl_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ko_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/lb_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/nl_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ta_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/uk_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/vi_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/zh_dlg.js +0 -103
- data/lib/tiny_mce/assets/tiny_mce/plugins/pagebreak/css/content.css +0 -1
- data/lib/tiny_mce/assets/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ar_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ch_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/cy_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/de_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/es_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/he_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/hi_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/hr_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/it_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/kl_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ko_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/lb_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/nl_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ta_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/uk_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/vi_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/zh_dlg.js +0 -5
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ar_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ch_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/cy_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/de_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/es_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/he_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/hi_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/hr_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/it_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/kl_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ko_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/lb_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/nl_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ta_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/uk_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/vi_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/zh_dlg.js +0 -16
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ar_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ch_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/cy_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/de_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/es_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/he_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/hi_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/hr_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/it_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/kl_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ko_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/lb_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/nl_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ta_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/uk_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/vi_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/zh_dlg.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ar_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ch_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/cy_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/de_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/es_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/he_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/hi_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/hr_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/it_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/kl_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ko_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/lb_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/nl_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ta_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/uk_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/vi_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/zh_dlg.js +0 -74
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ar_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ch_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/cy_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/de_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/es_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/he_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/hi_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/hr_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/it_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/kl_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ko_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/lb_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/nl_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ta_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/uk_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/vi_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/zh_dlg.js +0 -15
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ar_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ch_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/cy_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/es_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/he_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/hi_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/hr_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/it_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/kl_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ko_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/lb_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/nl_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ta_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/uk_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/vi_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/zh_dlg.js +0 -32
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ar.js +0 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ar_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ch.js +0 -64
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ch_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/cy.js +0 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/cy_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/de.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/de_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/es.js +0 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/es_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/he.js +0 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/he_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hi.js +0 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hi_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hr.js +0 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hr_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/it.js +0 -72
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/it_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/kl.js +0 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/kl_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ko.js +0 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ko_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/lb.js +0 -63
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/lb_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/nl.js +0 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/nl_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ta.js +0 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ta_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/uk.js +0 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/uk_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/vi.js +0 -62
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/vi_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/zh.js +0 -64
- data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/zh_dlg.js +0 -51
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ar.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ch.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/cy.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/de.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/es.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/he.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/hi.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/hr.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/it.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/kl.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ko.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/lb.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/nl.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ta.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/uk.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/vi.js +0 -11
- data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/zh.js +0 -11
@@ -1 +1 @@
|
|
1
|
-
(function(){var c=tinymce.DOM,a=tinymce.dom.Event,d=tinymce.each,b=tinymce.explode;tinymce.create("tinymce.plugins.TabFocusPlugin",{init:function(f,g){function e(i,j){if(j.keyCode===9){return a.cancel(j)}}function h(l,p){var j,m,o,n,k;function q(
|
1
|
+
(function(){var c=tinymce.DOM,a=tinymce.dom.Event,d=tinymce.each,b=tinymce.explode;tinymce.create("tinymce.plugins.TabFocusPlugin",{init:function(f,g){function e(i,j){if(j.keyCode===9){return a.cancel(j)}}function h(l,p){var j,m,o,n,k;function q(r){n=c.select(":input:enabled,*[tabindex]");function i(s){return s.type!="hidden"&&s.tabIndex!="-1"&&!(n[m].style.display=="none")&&!(n[m].style.visibility=="hidden")}d(n,function(t,s){if(t.id==l.id){j=s;return false}});if(r>0){for(m=j+1;m<n.length;m++){if(i(n[m])){return n[m]}}}else{for(m=j-1;m>=0;m--){if(i(n[m])){return n[m]}}}return null}if(p.keyCode===9){k=b(l.getParam("tab_focus",l.getParam("tabfocus_elements",":prev,:next")));if(k.length==1){k[1]=k[0];k[0]=":prev"}if(p.shiftKey){if(k[0]==":prev"){n=q(-1)}else{n=c.get(k[0])}}else{if(k[1]==":next"){n=q(1)}else{n=c.get(k[1])}}if(n){if(n.id&&(l=tinymce.get(n.id||n.name))){l.focus()}else{window.setTimeout(function(){if(!tinymce.isWebKit){window.focus()}n.focus()},10)}return a.cancel(p)}}}f.onKeyUp.add(e);if(tinymce.isGecko){f.onKeyPress.add(h);f.onKeyDown.add(e)}else{f.onKeyDown.add(h)}},getInfo:function(){return{longname:"Tabfocus",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("tabfocus",tinymce.plugins.TabFocusPlugin)})();
|
@@ -22,27 +22,30 @@
|
|
22
22
|
var x, i, f, el, v;
|
23
23
|
|
24
24
|
function find(d) {
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
25
|
+
el = DOM.select(':input:enabled,*[tabindex]');
|
26
|
+
function canSelect(e) {
|
27
|
+
return e.type != 'hidden' &&
|
28
|
+
e.tabIndex != '-1' &&
|
29
|
+
!(el[i].style.display == "none") &&
|
30
|
+
!(el[i].style.visibility == "hidden");
|
31
|
+
}
|
32
|
+
|
33
|
+
each(el, function(e, i) {
|
34
|
+
if (e.id == ed.id) {
|
35
|
+
x = i;
|
36
|
+
return false;
|
37
|
+
}
|
38
|
+
});
|
39
|
+
|
40
|
+
if (d > 0) {
|
41
|
+
for (i = x + 1; i < el.length; i++) {
|
42
|
+
if (canSelect(el[i]))
|
43
|
+
return el[i];
|
44
|
+
}
|
45
|
+
} else {
|
46
|
+
for (i = x - 1; i >= 0; i--) {
|
47
|
+
if (canSelect(el[i]))
|
48
|
+
return el[i];
|
46
49
|
}
|
47
50
|
}
|
48
51
|
|
@@ -71,10 +74,14 @@
|
|
71
74
|
}
|
72
75
|
|
73
76
|
if (el) {
|
74
|
-
if (ed = tinymce.get(el.id || el.name))
|
77
|
+
if (el.id && (ed = tinymce.get(el.id || el.name)))
|
75
78
|
ed.focus();
|
76
79
|
else
|
77
|
-
window.setTimeout(function() {
|
80
|
+
window.setTimeout(function() {
|
81
|
+
if (!tinymce.isWebKit)
|
82
|
+
window.focus();
|
83
|
+
el.focus();
|
84
|
+
}, 10);
|
78
85
|
|
79
86
|
return Event.cancel(e);
|
80
87
|
}
|
@@ -89,11 +96,6 @@
|
|
89
96
|
} else
|
90
97
|
ed.onKeyDown.add(tabHandler);
|
91
98
|
|
92
|
-
ed.onInit.add(function() {
|
93
|
-
each(DOM.select('a:first,a:last', ed.getContainer()), function(n) {
|
94
|
-
Event.add(n, 'focus', function() {ed.focus();});
|
95
|
-
});
|
96
|
-
});
|
97
99
|
},
|
98
100
|
|
99
101
|
getInfo : function() {
|
@@ -9,12 +9,12 @@
|
|
9
9
|
<script type="text/javascript" src="js/cell.js"></script>
|
10
10
|
<link href="css/cell.css" rel="stylesheet" type="text/css" />
|
11
11
|
</head>
|
12
|
-
<body id="tablecell" style="display: none">
|
12
|
+
<body id="tablecell" style="display: none" role="application">
|
13
13
|
<form onsubmit="updateAction();return false;" action="#">
|
14
14
|
<div class="tabs">
|
15
15
|
<ul>
|
16
|
-
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#table_dlg.general_tab}</a></span></li>
|
17
|
-
<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#table_dlg.advanced_tab}</a></span></li>
|
16
|
+
<li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#table_dlg.general_tab}</a></span></li>
|
17
|
+
<li id="advanced_tab" aria-controls="advanced_panel"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#table_dlg.advanced_tab}</a></span></li>
|
18
18
|
</ul>
|
19
19
|
</div>
|
20
20
|
|
@@ -23,7 +23,7 @@
|
|
23
23
|
<fieldset>
|
24
24
|
<legend>{#table_dlg.general_props}</legend>
|
25
25
|
|
26
|
-
<table border="0" cellpadding="4" cellspacing="0">
|
26
|
+
<table role="presentation" border="0" cellpadding="4" cellspacing="0">
|
27
27
|
<tr>
|
28
28
|
<td><label for="align">{#table_dlg.align}</label></td>
|
29
29
|
<td>
|
@@ -92,7 +92,7 @@
|
|
92
92
|
<fieldset>
|
93
93
|
<legend>{#table_dlg.advanced_props}</legend>
|
94
94
|
|
95
|
-
<table border="0" cellpadding="0" cellspacing="4">
|
95
|
+
<table role="presentation" border="0" cellpadding="0" cellspacing="4">
|
96
96
|
<tr>
|
97
97
|
<td class="column1"><label for="id">{#table_dlg.id}</label></td>
|
98
98
|
<td><input id="id" name="id" type="text" value="" style="width: 200px" /></td>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
<tr>
|
125
125
|
<td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
|
126
126
|
<td>
|
127
|
-
<table border="0" cellpadding="0" cellspacing="0">
|
127
|
+
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
|
128
128
|
<tr>
|
129
129
|
<td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
|
130
130
|
<td id="backgroundimagebrowsercontainer"> </td>
|
@@ -133,10 +133,10 @@
|
|
133
133
|
</td>
|
134
134
|
</tr>
|
135
135
|
|
136
|
-
<tr>
|
137
|
-
<td class="column1"><label for="bordercolor">{#table_dlg.bordercolor}</label></td>
|
136
|
+
<tr role="group" aria-labelledby="bordercolor_label">
|
137
|
+
<td class="column1"><label id="bordercolor_label" for="bordercolor">{#table_dlg.bordercolor}</label></td>
|
138
138
|
<td>
|
139
|
-
<table border="0" cellpadding="0" cellspacing="0">
|
139
|
+
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
|
140
140
|
<tr>
|
141
141
|
<td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
|
142
142
|
<td id="bordercolor_pickcontainer"> </td>
|
@@ -145,10 +145,10 @@
|
|
145
145
|
</td>
|
146
146
|
</tr>
|
147
147
|
|
148
|
-
<tr>
|
149
|
-
<td class="column1"><label for="bgcolor">{#table_dlg.bgcolor}</label></td>
|
148
|
+
<tr role="group" aria-labelledby="bgcolor_label">
|
149
|
+
<td class="column1"><label id="bgcolor_label" for="bgcolor">{#table_dlg.bgcolor}</label></td>
|
150
150
|
<td>
|
151
|
-
<table border="0" cellpadding="0" cellspacing="0">
|
151
|
+
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
|
152
152
|
<tr>
|
153
153
|
<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
|
154
154
|
<td id="bgcolor_pickcontainer"> </td>
|
@@ -1 +1 @@
|
|
1
|
-
(function(b){var c=b.each;function a(F,E,I){var e,J,B,n;r();n=E.getParent(I.getStart(),"th,td");if(n){J=D(n);B=G();n=v(J.x,J.y)}function w(L,K){L=L.cloneNode(K);L.removeAttribute("id");return L}function r(){var K=0;e=[];c(["thead","tbody","tfoot"],function(L){var M=E.select(L+" tr",F);c(M,function(N,O){O+=K;c(E.select("td,th",N),function(U,P){var Q,R,S,T;if(e[O]){while(e[O][P]){P++}}S=g(U,"rowspan");T=g(U,"colspan");for(R=O;R<O+S;R++){if(!e[R]){e[R]=[]}for(Q=P;Q<P+T;Q++){e[R][Q]={part:L,real:R==O&&Q==P,elm:U,rowspan:S,colspan:T}}}})});K+=M.length})}function v(K,M){var L;L=e[M];if(L){return L[K]}}function g(L,K){return parseInt(L.getAttribute(K)||1)}function h(K){return E.hasClass(K.elm,"mceSelected")||K==n}function j(){var K=[];c(F.rows,function(L){c(L.cells,function(M){if(E.hasClass(M,"mceSelected")||M==n.elm){K.push(L);return false}})});return K}function q(){var K=E.createRng();K.setStartAfter(F);K.setEndAfter(F);I.setRng(K);E.remove(F)}function d(K){var L;b.walk(K,function(N){var M;if(N.nodeType==3){c(E.getParents(N.parentNode,null,K).reverse(),function(O){O=w(O,false);if(!L){L=M=O}else{if(M){M.appendChild(O)}}M=O});if(M){M.innerHTML=b.isIE?" ":'<br _mce_bogus="1" />'}return false}},"childNodes");K=w(K,false);K.rowSpan=K.colSpan=1;if(L){K.appendChild(L)}else{if(!b.isIE){K.innerHTML='<br _mce_bogus="1" />'}}return K}function p(){var K=E.createRng();c(E.select("tr",F),function(L){if(L.cells.length==0){E.remove(L)}});if(E.select("tr",F).length==0){K.setStartAfter(F);K.setEndAfter(F);I.setRng(K);E.remove(F);return}c(E.select("thead,tbody,tfoot",F),function(L){if(L.rows.length==0){E.remove(L)}});r();row=e[Math.min(e.length-1,J.y)];if(row){I.select(row[Math.min(row.length-1,J.x)].elm,true);I.collapse(true)}}function s(Q,O,S,P){var N,L,K,M,R;N=e[O][Q].elm.parentNode;for(K=1;K<=S;K++){N=E.getNext(N,"tr");if(N){for(L=Q;L>=0;L--){R=e[O+K][L].elm;if(R.parentNode==N){for(M=1;M<=P;M++){E.insertAfter(d(R),R)}break}}if(L==-1){for(M=1;M<=P;M++){N.insertBefore(d(N.cells[0]),N.cells[0])}}}}}function A(){c(e,function(K,L){c(K,function(N,M){var Q,P,R,O;if(h(N)){N=N.elm;Q=g(N,"colspan");P=g(N,"rowspan");if(Q>1||P>1){N.colSpan=N.rowSpan=1;for(O=0;O<Q-1;O++){E.insertAfter(d(N),N)}s(M,L,P-1,Q)}}})})}function o(S,P,V){var N,M,U,T,R,O,Q,K,S,L;if(S){pos=D(S);N=pos.x;M=pos.y;U=N+(P-1);T=M+(V-1)}else{N=J.x;M=J.y;U=B.x;T=B.y}Q=v(N,M);K=v(U,T);if(Q&&K&&Q.part==K.part){A();r();Q=v(N,M).elm;Q.colSpan=(U-N)+1;Q.rowSpan=(T-M)+1;for(O=M;O<=T;O++){for(R=N;R<=U;R++){S=e[O][R].elm;if(S!=Q){L=b.grep(S.childNodes);c(L,function(X,W){if(X.nodeName!="BR"||W!=L.length-1){Q.appendChild(X)}});E.remove(S)}}}p()}}function k(N){var K,P,M,O,Q,R,L,S;c(e,function(T,U){c(T,function(W,V){if(h(W)){W=W.elm;Q=W.parentNode;R=w(Q,false);K=U;if(N){return false}}});if(N){return !K}});for(O=0;O<e[0].length;O++){P=e[K][O].elm;if(P!=M){if(!N){rowSpan=g(P,"rowspan");if(rowSpan>1){P.rowSpan=rowSpan+1;continue}}else{if(K>0&&e[K-1][O]){S=e[K-1][O].elm;rowSpan=g(S,"rowspan");if(rowSpan>1){S.rowSpan=rowSpan+1;continue}}}L=d(P);L.colSpan=P.colSpan;R.appendChild(L);M=P}}if(R.hasChildNodes()){if(!N){E.insertAfter(R,Q)}else{Q.parentNode.insertBefore(R,Q)}}}function f(L){var M,K;c(e,function(N,O){c(N,function(Q,P){if(h(Q)){M=P;if(L){return false}}});if(L){return !M}});c(e,function(Q,R){var N=Q[M].elm,O,P;if(N!=K){P=g(N,"colspan");O=g(N,"rowspan");if(P==1){if(!L){E.insertAfter(d(N),N);s(M,R,O-1,P)}else{N.parentNode.insertBefore(d(N),N);s(M,R,O-1,P)}}else{N.colSpan++}K=N}})}function m(){var K=[];c(e,function(L,M){c(L,function(O,N){if(h(O)&&b.inArray(K,N)===-1){c(e,function(R){var P=R[N].elm,Q;Q=g(P,"colspan");if(Q>1){P.colSpan=Q-1}else{E.remove(P)}});K.push(N)}})});p()}function l(){var L;function K(O){var N,P,M;N=E.getNext(O,"tr");c(O.cells,function(Q){var R=g(Q,"rowspan");if(R>1){Q.rowSpan=R-1;P=D(Q);s(P.x,P.y,1,1)}});P=D(O.cells[0]);c(e[P.y],function(Q){var R;Q=Q.elm;if(Q!=M){R=g(Q,"rowspan");if(R<=1){E.remove(Q)}else{Q.rowSpan=R-1}M=Q}})}L=j();c(L.reverse(),function(M){K(M)});p()}function C(){var K=j();E.remove(K);p();return K}function H(){var K=j();c(K,function(M,L){K[L]=w(M,true)});return K}function z(M,L){var N=j(),K=N[L?0:N.length-1],O=K.cells.length;c(e,function(Q){var P;O=0;c(Q,function(S,R){if(S.real){O+=S.colspan}if(S.elm.parentNode==K){P=1}});if(P){return false}});if(!L){M.reverse()}c(M,function(R){var Q=R.cells.length,P;for(i=0;i<Q;i++){P=R.cells[i];P.colSpan=P.rowSpan=1}for(i=Q;i<O;i++){R.appendChild(d(R.cells[Q-1]))}for(i=O;i<Q;i++){E.remove(R.cells[i])}if(L){K.parentNode.insertBefore(R,K)}else{E.insertAfter(R,K)}})}function D(K){var L;c(e,function(M,N){c(M,function(P,O){if(P.elm==K){L={x:O,y:N};return false}});return !L});return L}function u(K){J=D(K)}function G(){var M,L,K;L=K=0;c(e,function(N,O){c(N,function(Q,P){var S,R;if(h(Q)){Q=e[O][P];if(P>L){L=P}if(O>K){K=O}if(Q.real){S=Q.colspan-1;R=Q.rowspan-1;if(S){if(P+S>L){L=P+S}}if(R){if(O+R>K){K=O+R}}}}})});return{x:L,y:K}}function t(Q){var N,M,S,R,L,K,O,P;B=D(Q);if(J&&B){N=Math.min(J.x,B.x);M=Math.min(J.y,B.y);S=Math.max(J.x,B.x);R=Math.max(J.y,B.y);L=S;K=R;for(y=M;y<=K;y++){Q=e[y][N];if(!Q.real){if(N-(Q.colspan-1)<N){N-=Q.colspan-1}}}for(x=N;x<=L;x++){Q=e[M][x];if(!Q.real){if(M-(Q.rowspan-1)<M){M-=Q.rowspan-1}}}for(y=M;y<=R;y++){for(x=N;x<=S;x++){Q=e[y][x];if(Q.real){O=Q.colspan-1;P=Q.rowspan-1;if(O){if(x+O>L){L=x+O}}if(P){if(y+P>K){K=y+P}}}}}E.removeClass(E.select("td.mceSelected,th.mceSelected"),"mceSelected");for(y=M;y<=K;y++){for(x=N;x<=L;x++){E.addClass(e[y][x].elm,"mceSelected")}}}}b.extend(this,{deleteTable:q,split:A,merge:o,insertRow:k,insertCol:f,deleteCols:m,deleteRows:l,cutRows:C,copyRows:H,pasteRows:z,getPos:D,setStartCell:u,setEndCell:t})}b.create("tinymce.plugins.TablePlugin",{init:function(e,f){var d,j;function h(m){var l=e.selection,k=e.dom.getParent(m||l.getNode(),"table");if(k){return new a(k,e.dom,l)}}function g(){e.getBody().style.webkitUserSelect="";e.dom.removeClass(e.dom.select("td.mceSelected,th.mceSelected"),"mceSelected")}c([["table","table.desc","mceInsertTable",true],["delete_table","table.del","mceTableDelete"],["delete_col","table.delete_col_desc","mceTableDeleteCol"],["delete_row","table.delete_row_desc","mceTableDeleteRow"],["col_after","table.col_after_desc","mceTableInsertColAfter"],["col_before","table.col_before_desc","mceTableInsertColBefore"],["row_after","table.row_after_desc","mceTableInsertRowAfter"],["row_before","table.row_before_desc","mceTableInsertRowBefore"],["row_props","table.row_desc","mceTableRowProps",true],["cell_props","table.cell_desc","mceTableCellProps",true],["split_cells","table.split_cells_desc","mceTableSplitCells",true],["merge_cells","table.merge_cells_desc","mceTableMergeCells",true]],function(k){e.addButton(k[0],{title:k[1],cmd:k[2],ui:k[3]})});if(!b.isIE){e.onClick.add(function(k,l){l=l.target;if(l.nodeName==="TABLE"){k.selection.select(l)}})}e.onNodeChange.add(function(l,k,o){var m;o=l.selection.getStart();m=l.dom.getParent(o,"td,th,caption");k.setActive("table",o.nodeName==="TABLE"||!!m);if(m&&m.nodeName==="CAPTION"){m=0}k.setDisabled("delete_table",!m);k.setDisabled("delete_col",!m);k.setDisabled("delete_table",!m);k.setDisabled("delete_row",!m);k.setDisabled("col_after",!m);k.setDisabled("col_before",!m);k.setDisabled("row_after",!m);k.setDisabled("row_before",!m);k.setDisabled("row_props",!m);k.setDisabled("cell_props",!m);k.setDisabled("split_cells",!m);k.setDisabled("merge_cells",!m)});e.onInit.add(function(l){var k,o,p=l.dom,m;d=l.windowManager;l.onMouseDown.add(function(q,r){if(r.button!=2){g();o=p.getParent(r.target,"td,th");k=p.getParent(o,"table")}});p.bind(l.getDoc(),"mouseover",function(t){var r,q,s=t.target;if(o&&(m||s!=o)&&(s.nodeName=="TD"||s.nodeName=="TH")){q=p.getParent(s,"table");if(q==k){if(!m){m=h(q);m.setStartCell(o);l.getBody().style.webkitUserSelect="none"}m.setEndCell(s)}r=l.selection.getSel();if(r.removeAllRanges){r.removeAllRanges()}else{r.empty()}t.preventDefault()}});l.onMouseUp.add(function(z,A){var r,t=z.selection,B,C=t.getSel(),q,u,s,w;if(o){if(m){z.getBody().style.webkitUserSelect=""}function v(D,F){var E=new b.dom.TreeWalker(D,D);do{if(D.nodeType==3&&b.trim(D.nodeValue).length!=0){if(F){r.setStart(D,0)}else{r.setEnd(D,D.nodeValue.length)}return}if(D.nodeName=="BR"){if(F){r.setStartBefore(D)}else{r.setEndBefore(D)}return}}while(D=(F?E.next():E.prev()))}B=p.select("td.mceSelected,th.mceSelected");if(B.length>0){r=p.createRng();u=B[0];w=B[B.length-1];v(u,1);q=new b.dom.TreeWalker(u,p.getParent(B[0],"table"));do{if(u.nodeName=="TD"||u.nodeName=="TH"){if(!p.hasClass(u,"mceSelected")){break}s=u}}while(u=q.next());v(s);t.setRng(r)}z.nodeChanged();o=m=k=null}});l.onKeyUp.add(function(q,r){g()});if(l&&l.plugins.contextmenu){l.plugins.contextmenu.onContextMenu.add(function(s,q,u){var v,t=l.selection,r=t.getNode()||l.getBody();if(l.dom.getParent(u,"td")||l.dom.getParent(u,"th")||l.dom.select("td.mceSelected,th.mceSelected").length){q.removeAll();if(r.nodeName=="A"&&!l.dom.getAttrib(r,"name")){q.add({title:"advanced.link_desc",icon:"link",cmd:l.plugins.advlink?"mceAdvLink":"mceLink",ui:true});q.add({title:"advanced.unlink_desc",icon:"unlink",cmd:"UnLink"});q.addSeparator()}if(r.nodeName=="IMG"&&r.className.indexOf("mceItem")==-1){q.add({title:"advanced.image_desc",icon:"image",cmd:l.plugins.advimage?"mceAdvImage":"mceImage",ui:true});q.addSeparator()}q.add({title:"table.desc",icon:"table",cmd:"mceInsertTable",value:{action:"insert"}});q.add({title:"table.props_desc",icon:"table_props",cmd:"mceInsertTable"});q.add({title:"table.del",icon:"delete_table",cmd:"mceTableDelete"});q.addSeparator();v=q.addMenu({title:"table.cell"});v.add({title:"table.cell_desc",icon:"cell_props",cmd:"mceTableCellProps"});v.add({title:"table.split_cells_desc",icon:"split_cells",cmd:"mceTableSplitCells"});v.add({title:"table.merge_cells_desc",icon:"merge_cells",cmd:"mceTableMergeCells"});v=q.addMenu({title:"table.row"});v.add({title:"table.row_desc",icon:"row_props",cmd:"mceTableRowProps"});v.add({title:"table.row_before_desc",icon:"row_before",cmd:"mceTableInsertRowBefore"});v.add({title:"table.row_after_desc",icon:"row_after",cmd:"mceTableInsertRowAfter"});v.add({title:"table.delete_row_desc",icon:"delete_row",cmd:"mceTableDeleteRow"});v.addSeparator();v.add({title:"table.cut_row_desc",icon:"cut",cmd:"mceTableCutRow"});v.add({title:"table.copy_row_desc",icon:"copy",cmd:"mceTableCopyRow"});v.add({title:"table.paste_row_before_desc",icon:"paste",cmd:"mceTablePasteRowBefore"}).setDisabled(!j);v.add({title:"table.paste_row_after_desc",icon:"paste",cmd:"mceTablePasteRowAfter"}).setDisabled(!j);v=q.addMenu({title:"table.col"});v.add({title:"table.col_before_desc",icon:"col_before",cmd:"mceTableInsertColBefore"});v.add({title:"table.col_after_desc",icon:"col_after",cmd:"mceTableInsertColAfter"});v.add({title:"table.delete_col_desc",icon:"delete_col",cmd:"mceTableDeleteCol"})}else{q.add({title:"table.desc",icon:"table",cmd:"mceInsertTable"})}})}if(!b.isIE){function n(){var q;for(q=l.getBody().lastChild;q&&q.nodeType==3&&!q.nodeValue.length;q=q.previousSibling){}if(q&&q.nodeName=="TABLE"){l.dom.add(l.getBody(),"p",null,'<br mce_bogus="1" />')}}if(b.isGecko){l.onKeyDown.add(function(r,t){var q,s,u=r.dom;if(t.keyCode==37||t.keyCode==38){q=r.selection.getRng();s=u.getParent(q.startContainer,"table");if(s&&r.getBody().firstChild==s){if(isAtStart(q,s)){q=u.createRng();q.setStartBefore(s);q.setEndBefore(s);r.selection.setRng(q);t.preventDefault()}}}})}l.onKeyUp.add(n);l.onSetContent.add(n);l.onVisualAid.add(n);l.onPreProcess.add(function(q,s){var r=s.node.lastChild;if(r&&r.childNodes.length==1&&r.firstChild.nodeName=="BR"){q.dom.remove(r)}});n()}});c({mceTableSplitCells:function(k){k.split()},mceTableMergeCells:function(l){var m,n,k;k=e.dom.getParent(e.selection.getNode(),"th,td");if(k){m=k.rowSpan;n=k.colSpan}if(!e.dom.select("td.mceSelected,th.mceSelected").length){d.open({url:f+"/merge_cells.htm",width:240+parseInt(e.getLang("table.merge_cells_delta_width",0)),height:110+parseInt(e.getLang("table.merge_cells_delta_height",0)),inline:1},{rows:m,cols:n,onaction:function(o){l.merge(k,o.cols,o.rows)},plugin_url:f})}else{l.merge()}},mceTableInsertRowBefore:function(k){k.insertRow(true)},mceTableInsertRowAfter:function(k){k.insertRow()},mceTableInsertColBefore:function(k){k.insertCol(true)},mceTableInsertColAfter:function(k){k.insertCol()},mceTableDeleteCol:function(k){k.deleteCols()},mceTableDeleteRow:function(k){k.deleteRows()},mceTableCutRow:function(k){j=k.cutRows()},mceTableCopyRow:function(k){j=k.copyRows()},mceTablePasteRowBefore:function(k){k.pasteRows(j,true)},mceTablePasteRowAfter:function(k){k.pasteRows(j)},mceTableDelete:function(k){k.deleteTable()}},function(l,k){e.addCommand(k,function(){var m=h();if(m){l(m);e.execCommand("mceRepaint");g()}})});c({mceInsertTable:function(k){d.open({url:f+"/table.htm",width:400+parseInt(e.getLang("table.table_delta_width",0)),height:320+parseInt(e.getLang("table.table_delta_height",0)),inline:1},{plugin_url:f,action:k?k.action:0})},mceTableRowProps:function(){d.open({url:f+"/row.htm",width:400+parseInt(e.getLang("table.rowprops_delta_width",0)),height:295+parseInt(e.getLang("table.rowprops_delta_height",0)),inline:1},{plugin_url:f})},mceTableCellProps:function(){d.open({url:f+"/cell.htm",width:400+parseInt(e.getLang("table.cellprops_delta_width",0)),height:295+parseInt(e.getLang("table.cellprops_delta_height",0)),inline:1},{plugin_url:f})}},function(l,k){e.addCommand(k,function(m,n){l(n)})})}});b.PluginManager.add("table",b.plugins.TablePlugin)})(tinymce);
|
1
|
+
(function(c){var d=c.each;function b(f,g){var h=g.ownerDocument,e=h.createRange(),j;e.setStartBefore(g);e.setEnd(f.endContainer,f.endOffset);j=h.createElement("body");j.appendChild(e.cloneContents());return j.innerHTML.replace(/<(br|img|object|embed|input|textarea)[^>]*>/gi,"-").replace(/<[^>]+>/g,"").length==0}function a(H,G,K){var f,L,D,o;t();o=G.getParent(K.getStart(),"th,td");if(o){L=F(o);D=I();o=z(L.x,L.y)}function A(N,M){N=N.cloneNode(M);N.removeAttribute("id");return N}function t(){var M=0;f=[];d(["thead","tbody","tfoot"],function(N){var O=G.select("> "+N+" tr",H);d(O,function(P,Q){Q+=M;d(G.select("> td, > th",P),function(W,R){var S,T,U,V;if(f[Q]){while(f[Q][R]){R++}}U=h(W,"rowspan");V=h(W,"colspan");for(T=Q;T<Q+U;T++){if(!f[T]){f[T]=[]}for(S=R;S<R+V;S++){f[T][S]={part:N,real:T==Q&&S==R,elm:W,rowspan:U,colspan:V}}}})});M+=O.length})}function z(M,O){var N;N=f[O];if(N){return N[M]}}function h(N,M){return parseInt(N.getAttribute(M)||1)}function s(O,M,N){if(O){N=parseInt(N);if(N===1){O.removeAttribute(M,1)}else{O.setAttribute(M,N,1)}}}function j(M){return G.hasClass(M.elm,"mceSelected")||M==o}function k(){var M=[];d(H.rows,function(N){d(N.cells,function(O){if(G.hasClass(O,"mceSelected")||O==o.elm){M.push(N);return false}})});return M}function r(){var M=G.createRng();M.setStartAfter(H);M.setEndAfter(H);K.setRng(M);G.remove(H)}function e(M){var N;c.walk(M,function(P){var O;if(P.nodeType==3){d(G.getParents(P.parentNode,null,M).reverse(),function(Q){Q=A(Q,false);if(!N){N=O=Q}else{if(O){O.appendChild(Q)}}O=Q});if(O){O.innerHTML=c.isIE?" ":'<br data-mce-bogus="1" />'}return false}},"childNodes");M=A(M,false);s(M,"rowspan",1);s(M,"colspan",1);if(N){M.appendChild(N)}else{if(!c.isIE){M.innerHTML='<br data-mce-bogus="1" />'}}return M}function q(){var M=G.createRng();d(G.select("tr",H),function(N){if(N.cells.length==0){G.remove(N)}});if(G.select("tr",H).length==0){M.setStartAfter(H);M.setEndAfter(H);K.setRng(M);G.remove(H);return}d(G.select("thead,tbody,tfoot",H),function(N){if(N.rows.length==0){G.remove(N)}});t();row=f[Math.min(f.length-1,L.y)];if(row){K.select(row[Math.min(row.length-1,L.x)].elm,true);K.collapse(true)}}function u(S,Q,U,R){var P,N,M,O,T;P=f[Q][S].elm.parentNode;for(M=1;M<=U;M++){P=G.getNext(P,"tr");if(P){for(N=S;N>=0;N--){T=f[Q+M][N].elm;if(T.parentNode==P){for(O=1;O<=R;O++){G.insertAfter(e(T),T)}break}}if(N==-1){for(O=1;O<=R;O++){P.insertBefore(e(P.cells[0]),P.cells[0])}}}}}function C(){d(f,function(M,N){d(M,function(P,O){var S,R,T,Q;if(j(P)){P=P.elm;S=h(P,"colspan");R=h(P,"rowspan");if(S>1||R>1){s(P,"rowspan",1);s(P,"colspan",1);for(Q=0;Q<S-1;Q++){G.insertAfter(e(P),P)}u(O,N,R-1,S)}}})})}function p(V,S,Y){var P,O,X,W,U,R,T,M,V,N,Q;if(V){pos=F(V);P=pos.x;O=pos.y;X=P+(S-1);W=O+(Y-1)}else{P=L.x;O=L.y;X=D.x;W=D.y}T=z(P,O);M=z(X,W);if(T&&M&&T.part==M.part){C();t();T=z(P,O).elm;s(T,"colspan",(X-P)+1);s(T,"rowspan",(W-O)+1);for(R=O;R<=W;R++){for(U=P;U<=X;U++){V=f[R][U].elm;if(V!=T){N=c.grep(V.childNodes);d(N,function(Z){T.appendChild(Z)});if(N.length){N=c.grep(T.childNodes);Q=0;d(N,function(Z){if(Z.nodeName=="BR"&&G.getAttrib(Z,"data-mce-bogus")&&Q++<N.length-1){T.removeChild(Z)}})}G.remove(V)}}}q()}}function l(P){var M,R,O,Q,S,T,N,U;d(f,function(V,W){d(V,function(Y,X){if(j(Y)){Y=Y.elm;S=Y.parentNode;T=A(S,false);M=W;if(P){return false}}});if(P){return !M}});for(Q=0;Q<f[0].length;Q++){R=f[M][Q].elm;if(R!=O){if(!P){rowSpan=h(R,"rowspan");if(rowSpan>1){s(R,"rowspan",rowSpan+1);continue}}else{if(M>0&&f[M-1][Q]){U=f[M-1][Q].elm;rowSpan=h(U,"rowspan");if(rowSpan>1){s(U,"rowspan",rowSpan+1);continue}}}N=e(R);s(N,"colspan",R.colSpan);T.appendChild(N);O=R}}if(T.hasChildNodes()){if(!P){G.insertAfter(T,S)}else{S.parentNode.insertBefore(T,S)}}}function g(N){var O,M;d(f,function(P,Q){d(P,function(S,R){if(j(S)){O=R;if(N){return false}}});if(N){return !O}});d(f,function(S,T){var P=S[O].elm,Q,R;if(P!=M){R=h(P,"colspan");Q=h(P,"rowspan");if(R==1){if(!N){G.insertAfter(e(P),P);u(O,T,Q-1,R)}else{P.parentNode.insertBefore(e(P),P);u(O,T,Q-1,R)}}else{s(P,"colspan",P.colSpan+1)}M=P}})}function n(){var M=[];d(f,function(N,O){d(N,function(Q,P){if(j(Q)&&c.inArray(M,P)===-1){d(f,function(T){var R=T[P].elm,S;S=h(R,"colspan");if(S>1){s(R,"colspan",S-1)}else{G.remove(R)}});M.push(P)}})});q()}function m(){var N;function M(Q){var P,R,O;P=G.getNext(Q,"tr");d(Q.cells,function(S){var T=h(S,"rowspan");if(T>1){s(S,"rowspan",T-1);R=F(S);u(R.x,R.y,1,1)}});R=F(Q.cells[0]);d(f[R.y],function(S){var T;S=S.elm;if(S!=O){T=h(S,"rowspan");if(T<=1){G.remove(S)}else{s(S,"rowspan",T-1)}O=S}})}N=k();d(N.reverse(),function(O){M(O)});q()}function E(){var M=k();G.remove(M);q();return M}function J(){var M=k();d(M,function(O,N){M[N]=A(O,true)});return M}function B(O,N){var P=k(),M=P[N?0:P.length-1],Q=M.cells.length;d(f,function(S){var R;Q=0;d(S,function(U,T){if(U.real){Q+=U.colspan}if(U.elm.parentNode==M){R=1}});if(R){return false}});if(!N){O.reverse()}d(O,function(T){var S=T.cells.length,R;for(i=0;i<S;i++){R=T.cells[i];s(R,"colspan",1);s(R,"rowspan",1)}for(i=S;i<Q;i++){T.appendChild(e(T.cells[S-1]))}for(i=Q;i<S;i++){G.remove(T.cells[i])}if(N){M.parentNode.insertBefore(T,M)}else{G.insertAfter(T,M)}})}function F(M){var N;d(f,function(O,P){d(O,function(R,Q){if(R.elm==M){N={x:Q,y:P};return false}});return !N});return N}function w(M){L=F(M)}function I(){var O,N,M;N=M=0;d(f,function(P,Q){d(P,function(S,R){var U,T;if(j(S)){S=f[Q][R];if(R>N){N=R}if(Q>M){M=Q}if(S.real){U=S.colspan-1;T=S.rowspan-1;if(U){if(R+U>N){N=R+U}}if(T){if(Q+T>M){M=Q+T}}}}})});return{x:N,y:M}}function v(S){var P,O,U,T,N,M,Q,R;D=F(S);if(L&&D){P=Math.min(L.x,D.x);O=Math.min(L.y,D.y);U=Math.max(L.x,D.x);T=Math.max(L.y,D.y);N=U;M=T;for(y=O;y<=M;y++){S=f[y][P];if(!S.real){if(P-(S.colspan-1)<P){P-=S.colspan-1}}}for(x=P;x<=N;x++){S=f[O][x];if(!S.real){if(O-(S.rowspan-1)<O){O-=S.rowspan-1}}}for(y=O;y<=T;y++){for(x=P;x<=U;x++){S=f[y][x];if(S.real){Q=S.colspan-1;R=S.rowspan-1;if(Q){if(x+Q>N){N=x+Q}}if(R){if(y+R>M){M=y+R}}}}}G.removeClass(G.select("td.mceSelected,th.mceSelected"),"mceSelected");for(y=O;y<=M;y++){for(x=P;x<=N;x++){G.addClass(f[y][x].elm,"mceSelected")}}}}c.extend(this,{deleteTable:r,split:C,merge:p,insertRow:l,insertCol:g,deleteCols:n,deleteRows:m,cutRows:E,copyRows:J,pasteRows:B,getPos:F,setStartCell:w,setEndCell:v})}c.create("tinymce.plugins.TablePlugin",{init:function(f,g){var e,k;function j(n){var m=f.selection,l=f.dom.getParent(n||m.getNode(),"table");if(l){return new a(l,f.dom,m)}}function h(){f.getBody().style.webkitUserSelect="";f.dom.removeClass(f.dom.select("td.mceSelected,th.mceSelected"),"mceSelected")}d([["table","table.desc","mceInsertTable",true],["delete_table","table.del","mceTableDelete"],["delete_col","table.delete_col_desc","mceTableDeleteCol"],["delete_row","table.delete_row_desc","mceTableDeleteRow"],["col_after","table.col_after_desc","mceTableInsertColAfter"],["col_before","table.col_before_desc","mceTableInsertColBefore"],["row_after","table.row_after_desc","mceTableInsertRowAfter"],["row_before","table.row_before_desc","mceTableInsertRowBefore"],["row_props","table.row_desc","mceTableRowProps",true],["cell_props","table.cell_desc","mceTableCellProps",true],["split_cells","table.split_cells_desc","mceTableSplitCells",true],["merge_cells","table.merge_cells_desc","mceTableMergeCells",true]],function(l){f.addButton(l[0],{title:l[1],cmd:l[2],ui:l[3]})});if(!c.isIE){f.onClick.add(function(l,m){m=m.target;if(m.nodeName==="TABLE"){l.selection.select(m)}})}f.onPreProcess.add(function(m,n){var l,o,p,r=m.dom,q;l=r.select("table",n.node);o=l.length;while(o--){p=l[o];r.setAttrib(p,"data-mce-style","");if((q=r.getAttrib(p,"width"))){r.setStyle(p,"width",q);r.setAttrib(p,"width","")}if((q=r.getAttrib(p,"height"))){r.setStyle(p,"height",q);r.setAttrib(p,"height","")}}});f.onNodeChange.add(function(m,l,q){var o;q=m.selection.getStart();o=m.dom.getParent(q,"td,th,caption");l.setActive("table",q.nodeName==="TABLE"||!!o);if(o&&o.nodeName==="CAPTION"){o=0}l.setDisabled("delete_table",!o);l.setDisabled("delete_col",!o);l.setDisabled("delete_table",!o);l.setDisabled("delete_row",!o);l.setDisabled("col_after",!o);l.setDisabled("col_before",!o);l.setDisabled("row_after",!o);l.setDisabled("row_before",!o);l.setDisabled("row_props",!o);l.setDisabled("cell_props",!o);l.setDisabled("split_cells",!o);l.setDisabled("merge_cells",!o)});f.onInit.add(function(m){var l,p,q=m.dom,n;e=m.windowManager;m.onMouseDown.add(function(r,s){if(s.button!=2){h();p=q.getParent(s.target,"td,th");l=q.getParent(p,"table")}});q.bind(m.getDoc(),"mouseover",function(u){var s,r,t=u.target;if(p&&(n||t!=p)&&(t.nodeName=="TD"||t.nodeName=="TH")){r=q.getParent(t,"table");if(r==l){if(!n){n=j(r);n.setStartCell(p);m.getBody().style.webkitUserSelect="none"}n.setEndCell(t)}s=m.selection.getSel();if(s.removeAllRanges){s.removeAllRanges()}else{s.empty()}u.preventDefault()}});m.onMouseUp.add(function(A,B){var s,u=A.selection,C,D=u.getSel(),r,v,t,z;if(p){if(n){A.getBody().style.webkitUserSelect=""}function w(E,G){var F=new c.dom.TreeWalker(E,E);do{if(E.nodeType==3&&c.trim(E.nodeValue).length!=0){if(G){s.setStart(E,0)}else{s.setEnd(E,E.nodeValue.length)}return}if(E.nodeName=="BR"){if(G){s.setStartBefore(E)}else{s.setEndBefore(E)}return}}while(E=(G?F.next():F.prev()))}C=q.select("td.mceSelected,th.mceSelected");if(C.length>0){s=q.createRng();v=C[0];z=C[C.length-1];w(v,1);r=new c.dom.TreeWalker(v,q.getParent(C[0],"table"));do{if(v.nodeName=="TD"||v.nodeName=="TH"){if(!q.hasClass(v,"mceSelected")){break}t=v}}while(v=r.next());w(t);u.setRng(s)}A.nodeChanged();p=n=l=null}});m.onKeyUp.add(function(r,s){h()});if(m&&m.plugins.contextmenu){m.plugins.contextmenu.onContextMenu.add(function(t,r,v){var w,u=m.selection,s=u.getNode()||m.getBody();if(m.dom.getParent(v,"td")||m.dom.getParent(v,"th")||m.dom.select("td.mceSelected,th.mceSelected").length){r.removeAll();if(s.nodeName=="A"&&!m.dom.getAttrib(s,"name")){r.add({title:"advanced.link_desc",icon:"link",cmd:m.plugins.advlink?"mceAdvLink":"mceLink",ui:true});r.add({title:"advanced.unlink_desc",icon:"unlink",cmd:"UnLink"});r.addSeparator()}if(s.nodeName=="IMG"&&s.className.indexOf("mceItem")==-1){r.add({title:"advanced.image_desc",icon:"image",cmd:m.plugins.advimage?"mceAdvImage":"mceImage",ui:true});r.addSeparator()}r.add({title:"table.desc",icon:"table",cmd:"mceInsertTable",value:{action:"insert"}});r.add({title:"table.props_desc",icon:"table_props",cmd:"mceInsertTable"});r.add({title:"table.del",icon:"delete_table",cmd:"mceTableDelete"});r.addSeparator();w=r.addMenu({title:"table.cell"});w.add({title:"table.cell_desc",icon:"cell_props",cmd:"mceTableCellProps"});w.add({title:"table.split_cells_desc",icon:"split_cells",cmd:"mceTableSplitCells"});w.add({title:"table.merge_cells_desc",icon:"merge_cells",cmd:"mceTableMergeCells"});w=r.addMenu({title:"table.row"});w.add({title:"table.row_desc",icon:"row_props",cmd:"mceTableRowProps"});w.add({title:"table.row_before_desc",icon:"row_before",cmd:"mceTableInsertRowBefore"});w.add({title:"table.row_after_desc",icon:"row_after",cmd:"mceTableInsertRowAfter"});w.add({title:"table.delete_row_desc",icon:"delete_row",cmd:"mceTableDeleteRow"});w.addSeparator();w.add({title:"table.cut_row_desc",icon:"cut",cmd:"mceTableCutRow"});w.add({title:"table.copy_row_desc",icon:"copy",cmd:"mceTableCopyRow"});w.add({title:"table.paste_row_before_desc",icon:"paste",cmd:"mceTablePasteRowBefore"}).setDisabled(!k);w.add({title:"table.paste_row_after_desc",icon:"paste",cmd:"mceTablePasteRowAfter"}).setDisabled(!k);w=r.addMenu({title:"table.col"});w.add({title:"table.col_before_desc",icon:"col_before",cmd:"mceTableInsertColBefore"});w.add({title:"table.col_after_desc",icon:"col_after",cmd:"mceTableInsertColAfter"});w.add({title:"table.delete_col_desc",icon:"delete_col",cmd:"mceTableDeleteCol"})}else{r.add({title:"table.desc",icon:"table",cmd:"mceInsertTable"})}})}if(!c.isIE){function o(){var r;for(r=m.getBody().lastChild;r&&r.nodeType==3&&!r.nodeValue.length;r=r.previousSibling){}if(r&&r.nodeName=="TABLE"){m.dom.add(m.getBody(),"p",null,'<br mce_bogus="1" />')}}if(c.isGecko){m.onKeyDown.add(function(s,u){var r,t,v=s.dom;if(u.keyCode==37||u.keyCode==38){r=s.selection.getRng();t=v.getParent(r.startContainer,"table");if(t&&s.getBody().firstChild==t){if(b(r,t)){r=v.createRng();r.setStartBefore(t);r.setEndBefore(t);s.selection.setRng(r);u.preventDefault()}}}})}m.onKeyUp.add(o);m.onSetContent.add(o);m.onVisualAid.add(o);m.onPreProcess.add(function(r,t){var s=t.node.lastChild;if(s&&s.childNodes.length==1&&s.firstChild.nodeName=="BR"){r.dom.remove(s)}});o()}});d({mceTableSplitCells:function(l){l.split()},mceTableMergeCells:function(m){var n,o,l;l=f.dom.getParent(f.selection.getNode(),"th,td");if(l){n=l.rowSpan;o=l.colSpan}if(!f.dom.select("td.mceSelected,th.mceSelected").length){e.open({url:g+"/merge_cells.htm",width:240+parseInt(f.getLang("table.merge_cells_delta_width",0)),height:110+parseInt(f.getLang("table.merge_cells_delta_height",0)),inline:1},{rows:n,cols:o,onaction:function(p){m.merge(l,p.cols,p.rows)},plugin_url:g})}else{m.merge()}},mceTableInsertRowBefore:function(l){l.insertRow(true)},mceTableInsertRowAfter:function(l){l.insertRow()},mceTableInsertColBefore:function(l){l.insertCol(true)},mceTableInsertColAfter:function(l){l.insertCol()},mceTableDeleteCol:function(l){l.deleteCols()},mceTableDeleteRow:function(l){l.deleteRows()},mceTableCutRow:function(l){k=l.cutRows()},mceTableCopyRow:function(l){k=l.copyRows()},mceTablePasteRowBefore:function(l){l.pasteRows(k,true)},mceTablePasteRowAfter:function(l){l.pasteRows(k)},mceTableDelete:function(l){l.deleteTable()}},function(m,l){f.addCommand(l,function(){var n=j();if(n){m(n);f.execCommand("mceRepaint");h()}})});d({mceInsertTable:function(l){e.open({url:g+"/table.htm",width:400+parseInt(f.getLang("table.table_delta_width",0)),height:320+parseInt(f.getLang("table.table_delta_height",0)),inline:1},{plugin_url:g,action:l?l.action:0})},mceTableRowProps:function(){e.open({url:g+"/row.htm",width:400+parseInt(f.getLang("table.rowprops_delta_width",0)),height:295+parseInt(f.getLang("table.rowprops_delta_height",0)),inline:1},{plugin_url:g})},mceTableCellProps:function(){e.open({url:g+"/cell.htm",width:400+parseInt(f.getLang("table.cellprops_delta_width",0)),height:295+parseInt(f.getLang("table.cellprops_delta_height",0)),inline:1},{plugin_url:g})}},function(m,l){f.addCommand(l,function(n,o){m(o)})})}});c.PluginManager.add("table",c.plugins.TablePlugin)})(tinymce);
|
@@ -11,6 +11,20 @@
|
|
11
11
|
(function(tinymce) {
|
12
12
|
var each = tinymce.each;
|
13
13
|
|
14
|
+
// Checks if the selection/caret is at the start of the specified block element
|
15
|
+
function isAtStart(rng, par) {
|
16
|
+
var doc = par.ownerDocument, rng2 = doc.createRange(), elm;
|
17
|
+
|
18
|
+
rng2.setStartBefore(par);
|
19
|
+
rng2.setEnd(rng.endContainer, rng.endOffset);
|
20
|
+
|
21
|
+
elm = doc.createElement('body');
|
22
|
+
elm.appendChild(rng2.cloneContents());
|
23
|
+
|
24
|
+
// Check for text characters of other elements that should be treated as content
|
25
|
+
return elm.innerHTML.replace(/<(br|img|object|embed|input|textarea)[^>]*>/gi, '-').replace(/<[^>]+>/g, '').length == 0;
|
26
|
+
};
|
27
|
+
|
14
28
|
/**
|
15
29
|
* Table Grid class.
|
16
30
|
*/
|
@@ -38,12 +52,12 @@
|
|
38
52
|
grid = [];
|
39
53
|
|
40
54
|
each(['thead', 'tbody', 'tfoot'], function(part) {
|
41
|
-
var rows = dom.select(part + ' tr', table);
|
55
|
+
var rows = dom.select('> ' + part + ' tr', table);
|
42
56
|
|
43
57
|
each(rows, function(tr, y) {
|
44
58
|
y += startY;
|
45
59
|
|
46
|
-
each(dom.select('td,th', tr), function(td, x) {
|
60
|
+
each(dom.select('> td, > th', tr), function(td, x) {
|
47
61
|
var x2, y2, rowspan, colspan;
|
48
62
|
|
49
63
|
// Skip over existing cells produced by rowspan
|
@@ -90,6 +104,17 @@
|
|
90
104
|
return parseInt(td.getAttribute(name) || 1);
|
91
105
|
};
|
92
106
|
|
107
|
+
function setSpanVal(td, name, val) {
|
108
|
+
if (td) {
|
109
|
+
val = parseInt(val);
|
110
|
+
|
111
|
+
if (val === 1)
|
112
|
+
td.removeAttribute(name, 1);
|
113
|
+
else
|
114
|
+
td.setAttribute(name, val, 1);
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
93
118
|
function isCellSelected(cell) {
|
94
119
|
return dom.hasClass(cell.elm, 'mceSelected') || cell == selectedCell;
|
95
120
|
};
|
@@ -141,20 +166,21 @@
|
|
141
166
|
|
142
167
|
// Add something to the inner node
|
143
168
|
if (curNode)
|
144
|
-
curNode.innerHTML = tinymce.isIE ? ' ' : '<br
|
169
|
+
curNode.innerHTML = tinymce.isIE ? ' ' : '<br data-mce-bogus="1" />';
|
145
170
|
|
146
171
|
return false;
|
147
172
|
}
|
148
173
|
}, 'childNodes');
|
149
174
|
|
150
175
|
cell = cloneNode(cell, false);
|
151
|
-
cell
|
176
|
+
setSpanVal(cell, 'rowspan', 1);
|
177
|
+
setSpanVal(cell, 'colspan', 1);
|
152
178
|
|
153
179
|
if (formatNode) {
|
154
180
|
cell.appendChild(formatNode);
|
155
181
|
} else {
|
156
182
|
if (!tinymce.isIE)
|
157
|
-
cell.innerHTML = '<br
|
183
|
+
cell.innerHTML = '<br data-mce-bogus="1" />';
|
158
184
|
}
|
159
185
|
|
160
186
|
return cell;
|
@@ -236,7 +262,8 @@
|
|
236
262
|
rowSpan = getSpanVal(cell, 'rowspan');
|
237
263
|
|
238
264
|
if (colSpan > 1 || rowSpan > 1) {
|
239
|
-
cell
|
265
|
+
setSpanVal(cell, 'rowspan', 1);
|
266
|
+
setSpanVal(cell, 'colspan', 1);
|
240
267
|
|
241
268
|
// Insert cells right
|
242
269
|
for (i = 0; i < colSpan - 1; i++)
|
@@ -250,7 +277,7 @@
|
|
250
277
|
};
|
251
278
|
|
252
279
|
function merge(cell, cols, rows) {
|
253
|
-
var startX, startY, endX, endY, x, y, startCell, endCell, cell, children;
|
280
|
+
var startX, startY, endX, endY, x, y, startCell, endCell, cell, children, count;
|
254
281
|
|
255
282
|
// Use specified cell and cols/rows
|
256
283
|
if (cell) {
|
@@ -279,8 +306,8 @@
|
|
279
306
|
|
280
307
|
// Set row/col span to start cell
|
281
308
|
startCell = getCell(startX, startY).elm;
|
282
|
-
startCell
|
283
|
-
startCell
|
309
|
+
setSpanVal(startCell, 'colspan', (endX - startX) + 1);
|
310
|
+
setSpanVal(startCell, 'rowspan', (endY - startY) + 1);
|
284
311
|
|
285
312
|
// Remove other cells and add it's contents to the start cell
|
286
313
|
for (y = startY; y <= endY; y++) {
|
@@ -290,12 +317,20 @@
|
|
290
317
|
if (cell != startCell) {
|
291
318
|
// Move children to startCell
|
292
319
|
children = tinymce.grep(cell.childNodes);
|
293
|
-
each(children, function(node
|
294
|
-
|
295
|
-
if (node.nodeName != 'BR' || i != children.length - 1)
|
296
|
-
startCell.appendChild(node);
|
320
|
+
each(children, function(node) {
|
321
|
+
startCell.appendChild(node);
|
297
322
|
});
|
298
323
|
|
324
|
+
// Remove bogus nodes if there is children in the target cell
|
325
|
+
if (children.length) {
|
326
|
+
children = tinymce.grep(startCell.childNodes);
|
327
|
+
count = 0;
|
328
|
+
each(children, function(node) {
|
329
|
+
if (node.nodeName == 'BR' && dom.getAttrib(node, 'data-mce-bogus') && count++ < children.length - 1)
|
330
|
+
startCell.removeChild(node);
|
331
|
+
});
|
332
|
+
}
|
333
|
+
|
299
334
|
// Remove cell
|
300
335
|
dom.remove(cell);
|
301
336
|
}
|
@@ -335,7 +370,7 @@
|
|
335
370
|
if (!before) {
|
336
371
|
rowSpan = getSpanVal(cell, 'rowspan');
|
337
372
|
if (rowSpan > 1) {
|
338
|
-
cell
|
373
|
+
setSpanVal(cell, 'rowspan', rowSpan + 1);
|
339
374
|
continue;
|
340
375
|
}
|
341
376
|
} else {
|
@@ -344,15 +379,16 @@
|
|
344
379
|
otherCell = grid[posY - 1][x].elm;
|
345
380
|
rowSpan = getSpanVal(otherCell, 'rowspan');
|
346
381
|
if (rowSpan > 1) {
|
347
|
-
otherCell
|
382
|
+
setSpanVal(otherCell, 'rowspan', rowSpan + 1);
|
348
383
|
continue;
|
349
384
|
}
|
350
385
|
}
|
351
386
|
}
|
352
387
|
|
353
388
|
// Insert new cell into new row
|
354
|
-
newCell = cloneCell(cell)
|
355
|
-
newCell
|
389
|
+
newCell = cloneCell(cell);
|
390
|
+
setSpanVal(newCell, 'colspan', cell.colSpan);
|
391
|
+
|
356
392
|
newRow.appendChild(newCell);
|
357
393
|
|
358
394
|
lastCell = cell;
|
@@ -401,7 +437,7 @@
|
|
401
437
|
fillLeftDown(posX, y, rowSpan - 1, colSpan);
|
402
438
|
}
|
403
439
|
} else
|
404
|
-
cell.colSpan
|
440
|
+
setSpanVal(cell, 'colspan', cell.colSpan + 1);
|
405
441
|
|
406
442
|
lastCell = cell;
|
407
443
|
}
|
@@ -421,7 +457,7 @@
|
|
421
457
|
colSpan = getSpanVal(cell, 'colspan');
|
422
458
|
|
423
459
|
if (colSpan > 1)
|
424
|
-
cell
|
460
|
+
setSpanVal(cell, 'colspan', colSpan - 1);
|
425
461
|
else
|
426
462
|
dom.remove(cell);
|
427
463
|
});
|
@@ -447,7 +483,7 @@
|
|
447
483
|
var rowSpan = getSpanVal(cell, 'rowspan');
|
448
484
|
|
449
485
|
if (rowSpan > 1) {
|
450
|
-
cell
|
486
|
+
setSpanVal(cell, 'rowspan', rowSpan - 1);
|
451
487
|
pos = getPos(cell);
|
452
488
|
fillLeftDown(pos.x, pos.y, 1, 1);
|
453
489
|
}
|
@@ -466,7 +502,7 @@
|
|
466
502
|
if (rowSpan <= 1)
|
467
503
|
dom.remove(cell);
|
468
504
|
else
|
469
|
-
cell
|
505
|
+
setSpanVal(cell, 'rowspan', rowSpan - 1);
|
470
506
|
|
471
507
|
lastCell = cell;
|
472
508
|
}
|
@@ -534,7 +570,8 @@
|
|
534
570
|
// Remove col/rowspans
|
535
571
|
for (i = 0; i < cellCount; i++) {
|
536
572
|
cell = row.cells[i];
|
537
|
-
cell
|
573
|
+
setSpanVal(cell, 'colspan', 1);
|
574
|
+
setSpanVal(cell, 'rowspan', 1);
|
538
575
|
}
|
539
576
|
|
540
577
|
// Needs more cells
|
@@ -745,6 +782,27 @@
|
|
745
782
|
});
|
746
783
|
}
|
747
784
|
|
785
|
+
ed.onPreProcess.add(function(ed, args) {
|
786
|
+
var nodes, i, node, dom = ed.dom, value;
|
787
|
+
|
788
|
+
nodes = dom.select('table', args.node);
|
789
|
+
i = nodes.length;
|
790
|
+
while (i--) {
|
791
|
+
node = nodes[i];
|
792
|
+
dom.setAttrib(node, 'data-mce-style', '');
|
793
|
+
|
794
|
+
if ((value = dom.getAttrib(node, 'width'))) {
|
795
|
+
dom.setStyle(node, 'width', value);
|
796
|
+
dom.setAttrib(node, 'width', '');
|
797
|
+
}
|
798
|
+
|
799
|
+
if ((value = dom.getAttrib(node, 'height'))) {
|
800
|
+
dom.setStyle(node, 'height', value);
|
801
|
+
dom.setAttrib(node, 'height', '');
|
802
|
+
}
|
803
|
+
}
|
804
|
+
});
|
805
|
+
|
748
806
|
// Handle node change updates
|
749
807
|
ed.onNodeChange.add(function(ed, cm, n) {
|
750
808
|
var p;
|
@@ -83,8 +83,6 @@ function updateAction() {
|
|
83
83
|
return;
|
84
84
|
}
|
85
85
|
|
86
|
-
ed.execCommand('mceBeginUndoLevel');
|
87
|
-
|
88
86
|
switch (getSelectValue(formObj, 'action')) {
|
89
87
|
case "cell":
|
90
88
|
var celltype = getSelectValue(formObj, 'celltype');
|
@@ -166,15 +164,15 @@ function updateCell(td, skip_id) {
|
|
166
164
|
var dom = ed.dom;
|
167
165
|
|
168
166
|
if (!skip_id)
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
167
|
+
dom.setAttrib(td, 'id', formObj.id.value);
|
168
|
+
|
169
|
+
dom.setAttrib(td, 'align', formObj.align.value);
|
170
|
+
dom.setAttrib(td, 'vAlign', formObj.valign.value);
|
171
|
+
dom.setAttrib(td, 'lang', formObj.lang.value);
|
172
|
+
dom.setAttrib(td, 'dir', getSelectValue(formObj, 'dir'));
|
173
|
+
dom.setAttrib(td, 'style', ed.dom.serializeStyle(ed.dom.parseStyle(formObj.style.value)));
|
174
|
+
dom.setAttrib(td, 'scope', formObj.scope.value);
|
175
|
+
dom.setAttrib(td, 'class', getSelectValue(formObj, 'class'));
|
178
176
|
|
179
177
|
// Clear deprecated attributes
|
180
178
|
ed.dom.setAttrib(td, 'width', '');
|
@@ -80,8 +80,6 @@ function updateAction() {
|
|
80
80
|
return;
|
81
81
|
}
|
82
82
|
|
83
|
-
inst.execCommand('mceBeginUndoLevel');
|
84
|
-
|
85
83
|
switch (action) {
|
86
84
|
case "row":
|
87
85
|
updateRow(trElm);
|
@@ -123,19 +121,19 @@ function updateRow(tr_elm, skip_id, skip_parent) {
|
|
123
121
|
|
124
122
|
// Update row element
|
125
123
|
if (!skip_id)
|
126
|
-
|
124
|
+
dom.setAttrib(tr_elm, 'id', formObj.id.value);
|
127
125
|
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
126
|
+
dom.setAttrib(tr_elm, 'align', getSelectValue(formObj, 'align'));
|
127
|
+
dom.setAttrib(tr_elm, 'vAlign', getSelectValue(formObj, 'valign'));
|
128
|
+
dom.setAttrib(tr_elm, 'lang', formObj.lang.value);
|
129
|
+
dom.setAttrib(tr_elm, 'dir', getSelectValue(formObj, 'dir'));
|
130
|
+
dom.setAttrib(tr_elm, 'style', dom.serializeStyle(dom.parseStyle(formObj.style.value)));
|
133
131
|
dom.setAttrib(tr_elm, 'class', getSelectValue(formObj, 'class'));
|
134
132
|
|
135
133
|
// Clear deprecated attributes
|
136
|
-
|
137
|
-
|
138
|
-
|
134
|
+
dom.setAttrib(tr_elm, 'background', '');
|
135
|
+
dom.setAttrib(tr_elm, 'bgColor', '');
|
136
|
+
dom.setAttrib(tr_elm, 'height', '');
|
139
137
|
|
140
138
|
// Set styles
|
141
139
|
tr_elm.style.height = getCSSSize(formObj.height.value);
|
@@ -163,13 +161,10 @@ function updateRow(tr_elm, skip_id, skip_parent) {
|
|
163
161
|
if (newParent == null) {
|
164
162
|
newParent = doc.createElement(dest);
|
165
163
|
|
166
|
-
if (
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
theTable.insertBefore(newParent, theTable.firstChild);
|
171
|
-
} else
|
172
|
-
theTable.appendChild(newParent);
|
164
|
+
if (theTable.firstChild.nodeName == 'CAPTION')
|
165
|
+
inst.dom.insertAfter(newParent, theTable.firstChild);
|
166
|
+
else
|
167
|
+
theTable.insertBefore(newParent, theTable.firstChild);
|
173
168
|
}
|
174
169
|
|
175
170
|
// append the row to the new parent
|