tiny_mce 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +5 -0
- data/CHANGELOG_PLUGIN +51 -0
- data/CHANGELOG_TINYMCE +912 -0
- data/DEV_UPGRADE_NOTES +13 -0
- data/README.rdoc +155 -0
- data/Rakefile +40 -0
- data/SPELLCHECKING_PLUGIN.rdoc +54 -0
- data/VERSION +1 -0
- data/init.rb +13 -0
- data/install.rb +8 -0
- data/lib/options_validator.rb +35 -0
- data/lib/spellchecker.rb +69 -0
- data/lib/tiny_mce.rb +40 -0
- data/lib/tiny_mce_helpers.rb +91 -0
- data/public/javascripts/tiny_mce/langs/ar.js +154 -0
- data/public/javascripts/tiny_mce/langs/az.js +155 -0
- data/public/javascripts/tiny_mce/langs/be.js +155 -0
- data/public/javascripts/tiny_mce/langs/bg.js +154 -0
- data/public/javascripts/tiny_mce/langs/bn.js +154 -0
- data/public/javascripts/tiny_mce/langs/br.js +154 -0
- data/public/javascripts/tiny_mce/langs/bs.js +154 -0
- data/public/javascripts/tiny_mce/langs/ca.js +154 -0
- data/public/javascripts/tiny_mce/langs/ch.js +154 -0
- data/public/javascripts/tiny_mce/langs/cs.js +154 -0
- data/public/javascripts/tiny_mce/langs/cy.js +154 -0
- data/public/javascripts/tiny_mce/langs/da.js +155 -0
- data/public/javascripts/tiny_mce/langs/de.js +155 -0
- data/public/javascripts/tiny_mce/langs/dv.js +154 -0
- data/public/javascripts/tiny_mce/langs/el.js +158 -0
- data/public/javascripts/tiny_mce/langs/en.js +154 -0
- data/public/javascripts/tiny_mce/langs/es.js +154 -0
- data/public/javascripts/tiny_mce/langs/et.js +154 -0
- data/public/javascripts/tiny_mce/langs/fa.js +154 -0
- data/public/javascripts/tiny_mce/langs/fi.js +155 -0
- data/public/javascripts/tiny_mce/langs/fr.js +154 -0
- data/public/javascripts/tiny_mce/langs/gl.js +154 -0
- data/public/javascripts/tiny_mce/langs/gu.js +154 -0
- data/public/javascripts/tiny_mce/langs/he.js +154 -0
- data/public/javascripts/tiny_mce/langs/hi.js +154 -0
- data/public/javascripts/tiny_mce/langs/hr.js +154 -0
- data/public/javascripts/tiny_mce/langs/hu.js +154 -0
- data/public/javascripts/tiny_mce/langs/ia.js +154 -0
- data/public/javascripts/tiny_mce/langs/id.js +154 -0
- data/public/javascripts/tiny_mce/langs/ii.js +154 -0
- data/public/javascripts/tiny_mce/langs/is.js +154 -0
- data/public/javascripts/tiny_mce/langs/it.js +154 -0
- data/public/javascripts/tiny_mce/langs/ja.js +154 -0
- data/public/javascripts/tiny_mce/langs/ko.js +154 -0
- data/public/javascripts/tiny_mce/langs/lt.js +172 -0
- data/public/javascripts/tiny_mce/langs/lv.js +154 -0
- data/public/javascripts/tiny_mce/langs/mk.js +154 -0
- data/public/javascripts/tiny_mce/langs/ml.js +154 -0
- data/public/javascripts/tiny_mce/langs/mn.js +154 -0
- data/public/javascripts/tiny_mce/langs/ms.js +154 -0
- data/public/javascripts/tiny_mce/langs/nb.js +154 -0
- data/public/javascripts/tiny_mce/langs/nl.js +154 -0
- data/public/javascripts/tiny_mce/langs/nn.js +154 -0
- data/public/javascripts/tiny_mce/langs/no.js +154 -0
- data/public/javascripts/tiny_mce/langs/pl.js +154 -0
- data/public/javascripts/tiny_mce/langs/pt.js +154 -0
- data/public/javascripts/tiny_mce/langs/ro.js +154 -0
- data/public/javascripts/tiny_mce/langs/ru.js +155 -0
- data/public/javascripts/tiny_mce/langs/sc.js +162 -0
- data/public/javascripts/tiny_mce/langs/se.js +154 -0
- data/public/javascripts/tiny_mce/langs/si.js +154 -0
- data/public/javascripts/tiny_mce/langs/sk.js +154 -0
- data/public/javascripts/tiny_mce/langs/sl.js +155 -0
- data/public/javascripts/tiny_mce/langs/sq.js +154 -0
- data/public/javascripts/tiny_mce/langs/sr.js +154 -0
- data/public/javascripts/tiny_mce/langs/sv.js +154 -0
- data/public/javascripts/tiny_mce/langs/ta.js +154 -0
- data/public/javascripts/tiny_mce/langs/te.js +154 -0
- data/public/javascripts/tiny_mce/langs/th.js +154 -0
- data/public/javascripts/tiny_mce/langs/tr.js +154 -0
- data/public/javascripts/tiny_mce/langs/tt.js +154 -0
- data/public/javascripts/tiny_mce/langs/tw.js +162 -0
- data/public/javascripts/tiny_mce/langs/uk.js +157 -0
- data/public/javascripts/tiny_mce/langs/vi.js +154 -0
- data/public/javascripts/tiny_mce/langs/zh.js +162 -0
- data/public/javascripts/tiny_mce/license.txt +504 -0
- data/public/javascripts/tiny_mce/plugins/advhr/css/advhr.css +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/advhr/editor_plugin_src.js +54 -0
- data/public/javascripts/tiny_mce/plugins/advhr/js/rule.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/ar_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/az_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/be_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/bg_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/bn_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/br_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/bs_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/ca_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/ch_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/cs_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/cy_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/da_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/de_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/dv_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/el_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/en_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/es_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/et_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/fa_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/fi_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/fr_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/gl_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/gu_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/he_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/hi_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/hr_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/hu_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/ia_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/id_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/ii_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/is_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/it_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/ja_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/ko_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/lt_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/lv_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/mk_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/ml_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/mn_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/ms_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/nb_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/nl_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/nn_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/no_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/pl_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/pt_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/ro_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/ru_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/sc_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/se_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/si_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/sk_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/sl_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/sq_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/sr_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/sv_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/ta_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/te_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/th_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/tr_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/tt_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/tw_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/uk_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/vi_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/zh_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/rule.htm +62 -0
- data/public/javascripts/tiny_mce/plugins/advimage/css/advimage.css +13 -0
- data/public/javascripts/tiny_mce/plugins/advimage/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/advimage/editor_plugin_src.js +47 -0
- data/public/javascripts/tiny_mce/plugins/advimage/image.htm +237 -0
- data/public/javascripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/advimage/js/image.js +443 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/ar_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/az_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/be_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/bg_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/bn_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/br_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/bs_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/ca_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/ch_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/cs_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/cy_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/da_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/de_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/dv_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/el_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/en_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/es_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/et_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/fa_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/fi_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/fr_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/gl_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/gu_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/he_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/hi_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/hr_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/hu_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/ia_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/id_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/ii_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/is_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/it_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/ja_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/ko_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/lt_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/lv_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/mk_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/ml_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/mn_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/ms_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/nb_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/nl_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/nn_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/no_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/pl_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/pt_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/ro_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/ru_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/sc_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/se_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/si_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/sk_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/sl_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/sq_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/sr_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/sv_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/ta_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/te_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/th_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/tr_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/tt_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/tw_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/uk_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/vi_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/zh_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advlink/css/advlink.css +8 -0
- data/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/advlink/editor_plugin_src.js +58 -0
- data/public/javascripts/tiny_mce/plugins/advlink/js/advlink.js +528 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/ar_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/az_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/be_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/bg_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/bn_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/br_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/bs_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/ca_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/ch_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/cs_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/cy_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/da_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/de_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/dv_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/el_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/en_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/es_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/et_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/fa_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/fi_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/fr_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/gl_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/gu_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/he_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/hi_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/hr_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/hu_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/ia_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/id_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/ii_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/is_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/it_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/ja_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/ko_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/lt_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/lv_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/mk_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/ml_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/mn_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/ms_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/nb_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/nl_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/nn_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/no_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/pl_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/pt_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/ro_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/ru_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/sc_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/se_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/si_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/sk_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/sl_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/sq_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/sr_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/sv_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/ta_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/te_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/th_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/tr_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/tt_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/tw_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/uk_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/vi_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/zh_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/link.htm +338 -0
- data/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js +114 -0
- data/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js +51 -0
- data/public/javascripts/tiny_mce/plugins/bbcode/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +117 -0
- data/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +95 -0
- data/public/javascripts/tiny_mce/plugins/directionality/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/directionality/editor_plugin_src.js +79 -0
- data/public/javascripts/tiny_mce/plugins/emotions/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/emotions/editor_plugin_src.js +40 -0
- data/public/javascripts/tiny_mce/plugins/emotions/emotions.htm +40 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js +22 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/ar_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/az_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/be_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/bg_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/bn_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/br_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/bs_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/ca_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/ch_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/cs_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/cy_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/da_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/de_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/dv_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/el_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/en_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/es_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/et_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/fa_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/fi_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/fr_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/gl_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/gu_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/he_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/hi_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/hr_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/hu_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/ia_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/id_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/ii_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/is_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/it_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/ja_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/ko_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/lt_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/lv_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/mk_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/ml_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/mn_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/ms_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/nb_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/nl_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/nn_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/no_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/pl_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/pt_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/ro_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/ru_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/sc_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/se_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/si_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/sk_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/sl_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/sq_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/sr_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/sv_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/ta_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/te_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/th_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/tr_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/tt_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/tw_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/uk_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/vi_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/zh_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/example/dialog.htm +27 -0
- data/public/javascripts/tiny_mce/plugins/example/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/example/editor_plugin_src.js +81 -0
- data/public/javascripts/tiny_mce/plugins/example/img/example.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/example/js/dialog.js +19 -0
- data/public/javascripts/tiny_mce/plugins/example/langs/en.js +3 -0
- data/public/javascripts/tiny_mce/plugins/example/langs/en_dlg.js +3 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/css/fullpage.css +182 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/editor_plugin_src.js +146 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/fullpage.htm +576 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/js/fullpage.js +461 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/ar_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/az_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/be_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/bg_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/bn_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/br_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/bs_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/ca_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/ch_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/cs_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/cy_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/da_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/de_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/dv_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/el_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/es_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/et_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/fa_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/fi_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/fr_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/gl_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/gu_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/he_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/hi_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/hr_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/hu_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/ia_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/id_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/ii_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/is_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/it_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/ja_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/ko_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/lt_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/lv_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/mk_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/ml_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/mn_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/ms_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/nb_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/nl_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/nn_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/no_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/pl_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/pt_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/ro_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/ru_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/sc_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/se_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/si_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/sk_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/sl_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/sq_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/sr_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/sv_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/ta_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/te_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/th_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/tr_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/tt_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/tw_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/uk_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/vi_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/zh_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js +145 -0
- data/public/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +110 -0
- data/public/javascripts/tiny_mce/plugins/iespell/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js +51 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +632 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/template.htm +387 -0
- data/public/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +80 -0
- data/public/javascripts/tiny_mce/plugins/layer/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/layer/editor_plugin_src.js +209 -0
- data/public/javascripts/tiny_mce/plugins/media/css/content.css +6 -0
- data/public/javascripts/tiny_mce/plugins/media/css/media.css +16 -0
- data/public/javascripts/tiny_mce/plugins/media/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/media/editor_plugin_src.js +405 -0
- data/public/javascripts/tiny_mce/plugins/media/img/flash.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/flv_player.swf +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/quicktime.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/realmedia.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/shockwave.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/trans.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/js/embed.js +73 -0
- data/public/javascripts/tiny_mce/plugins/media/js/media.js +630 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/ar_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/az_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/be_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/bg_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/bn_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/br_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/bs_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/ca_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/ch_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/cs_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/cy_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/da_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/de_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/dv_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/el_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/en_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/es_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/et_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/fa_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/fi_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/fr_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/gl_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/gu_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/he_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/hi_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/hr_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/hu_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/ia_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/id_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/ii_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/is_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/it_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/ja_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/ko_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/lt_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/lv_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/mk_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/ml_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/mn_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/ms_dlg.js +102 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/nb_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/nl_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/nn_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/no_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/pl_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/pt_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/ro_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/ru_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/sc_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/se_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/si_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/sk_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/sl_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/sq_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/sr_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/sv_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/ta_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/te_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/th_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/tr_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/tt_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/tw_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/uk_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/vi_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/zh_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/media.htm +822 -0
- data/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +50 -0
- data/public/javascripts/tiny_mce/plugins/noneditable/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/noneditable/editor_plugin_src.js +87 -0
- data/public/javascripts/tiny_mce/plugins/pagebreak/css/content.css +1 -0
- data/public/javascripts/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +74 -0
- data/public/javascripts/tiny_mce/plugins/pagebreak/img/pagebreak.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/paste/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/paste/editor_plugin_src.js +512 -0
- data/public/javascripts/tiny_mce/plugins/paste/js/pastetext.js +36 -0
- data/public/javascripts/tiny_mce/plugins/paste/js/pasteword.js +51 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/ar_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/az_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/be_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/bg_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/bn_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/br_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/bs_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/ca_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/ch_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/cs_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/cy_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/da_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/de_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/dv_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/el_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/es_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/et_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/fa_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/fi_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/fr_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/gl_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/gu_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/he_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/hi_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/hr_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/hu_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/ia_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/id_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/ii_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/is_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/it_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/ja_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/ko_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/lt_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/lv_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/mk_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/ml_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/mn_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/ms_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/nb_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/nl_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/nn_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/no_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/pl_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/pt_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/ro_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/ru_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/sc_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/se_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/si_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/sk_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/sl_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/sq_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/sr_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/sv_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/ta_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/te_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/th_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/tr_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/tt_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/tw_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/uk_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/vi_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/zh_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/pastetext.htm +33 -0
- data/public/javascripts/tiny_mce/plugins/paste/pasteword.htm +27 -0
- data/public/javascripts/tiny_mce/plugins/preview/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/preview/editor_plugin_src.js +50 -0
- data/public/javascripts/tiny_mce/plugins/preview/example.html +28 -0
- data/public/javascripts/tiny_mce/plugins/preview/jscripts/embed.js +73 -0
- data/public/javascripts/tiny_mce/plugins/preview/preview.html +17 -0
- data/public/javascripts/tiny_mce/plugins/print/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/print/editor_plugin_src.js +31 -0
- data/public/javascripts/tiny_mce/plugins/safari/blank.htm +1 -0
- data/public/javascripts/tiny_mce/plugins/safari/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/safari/editor_plugin_src.js +438 -0
- data/public/javascripts/tiny_mce/plugins/save/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/save/editor_plugin_src.js +98 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +6 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +54 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +126 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/ar_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/az_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/be_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/bg_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/bn_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/br_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/bs_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/ca_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/ch_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/cs_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/cy_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/da_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/de_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/dv_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/el_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/es_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/et_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/fa_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/fi_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/fr_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/gl_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/gu_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/he_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/hi_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/hr_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/hu_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/ia_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/id_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/ii_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/is_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/ja_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/ko_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/lt_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/lv_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/mk_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/ml_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/mn_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/ms_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/nb_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/nl_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/nn_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/no_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/pl_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/pt_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/ro_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/ru_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/sc_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/se_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/si_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/sk_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/sl_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/sq_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/sr_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/sv_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/ta_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/te_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/th_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/tr_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/tt_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/tw_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/uk_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/vi_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/zh_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm +104 -0
- data/public/javascripts/tiny_mce/plugins/spellchecker/css/content.css +1 -0
- data/public/javascripts/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +338 -0
- data/public/javascripts/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/style/css/props.css +13 -0
- data/public/javascripts/tiny_mce/plugins/style/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/style/editor_plugin_src.js +52 -0
- data/public/javascripts/tiny_mce/plugins/style/js/props.js +641 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/ar_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/az_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/be_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/bg_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/bn_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/br_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/bs_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/ca_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/ch_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/cs_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/cy_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/da_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/de_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/dv_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/el_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/en_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/es_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/et_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/fa_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/fi_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/fr_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/gl_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/gu_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/he_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/hi_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/hr_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/hu_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/ia_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/id_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/ii_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/is_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/it_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/ja_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/ko_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/lt_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/lv_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/mk_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/ml_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/mn_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/ms_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/nb_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/nl_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/nn_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/no_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/pl_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/pt_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/ro_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/ru_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/sc_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/se_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/si_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/sk_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/sl_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/sq_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/sr_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/sv_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/ta_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/te_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/th_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/tr_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/tt_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/tw_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/uk_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/vi_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/zh_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/props.htm +730 -0
- data/public/javascripts/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js +109 -0
- data/public/javascripts/tiny_mce/plugins/table/cell.htm +183 -0
- data/public/javascripts/tiny_mce/plugins/table/css/cell.css +17 -0
- data/public/javascripts/tiny_mce/plugins/table/css/row.css +25 -0
- data/public/javascripts/tiny_mce/plugins/table/css/table.css +13 -0
- data/public/javascripts/tiny_mce/plugins/table/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/table/editor_plugin_src.js +1160 -0
- data/public/javascripts/tiny_mce/plugins/table/js/cell.js +269 -0
- data/public/javascripts/tiny_mce/plugins/table/js/merge_cells.js +29 -0
- data/public/javascripts/tiny_mce/plugins/table/js/row.js +212 -0
- data/public/javascripts/tiny_mce/plugins/table/js/table.js +440 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/ar_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/az_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/be_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/bg_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/bn_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/br_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/bs_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/ca_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/ch_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/cs_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/cy_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/da_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/de_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/dv_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/el_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/en_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/es_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/et_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/fa_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/fi_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/fr_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/gl_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/gu_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/he_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/hi_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/hr_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/hu_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/ia_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/id_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/ii_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/is_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/it_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/ja_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/ko_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/lt_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/lv_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/mk_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/ml_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/mn_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/ms_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/nb_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/nl_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/nn_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/no_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/pl_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/pt_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/ro_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/ru_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/sc_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/se_dlg.js +73 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/si_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/sk_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/sl_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/sq_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/sr_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/sv_dlg.js +73 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/ta_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/te_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/th_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/tr_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/tt_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/tw_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/uk_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/vi_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/zh_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/merge_cells.htm +37 -0
- data/public/javascripts/tiny_mce/plugins/table/row.htm +160 -0
- data/public/javascripts/tiny_mce/plugins/table/table.htm +192 -0
- data/public/javascripts/tiny_mce/plugins/template/blank.htm +12 -0
- data/public/javascripts/tiny_mce/plugins/template/css/template.css +23 -0
- data/public/javascripts/tiny_mce/plugins/template/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/template/editor_plugin_src.js +156 -0
- data/public/javascripts/tiny_mce/plugins/template/js/template.js +106 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/ar_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/az_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/be_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/bg_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/bn_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/br_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/bs_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/ca_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/ch_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/cs_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/cy_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/da_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/de_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/dv_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/el_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/en_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/es_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/et_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/fa_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/fi_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/fr_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/gl_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/gu_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/he_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/hi_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/hr_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/hu_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/ia_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/id_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/ii_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/is_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/it_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/ja_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/ko_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/lt_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/lv_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/mk_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/ml_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/mn_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/ms_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/nb_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/nl_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/nn_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/no_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/pl_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/pt_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/ro_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/ru_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/sc_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/se_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/si_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/sk_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/sl_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/sq_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/sr_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/sv_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/ta_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/te_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/th_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/tr_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/tt_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/tw_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/uk_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/vi_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/zh_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/template.htm +38 -0
- data/public/javascripts/tiny_mce/plugins/visualchars/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/visualchars/editor_plugin_src.js +73 -0
- data/public/javascripts/tiny_mce/plugins/wordcount/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/wordcount/editor_plugin_src.js +95 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +148 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +148 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +153 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/cite.htm +148 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +11 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +9 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/del.htm +169 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +136 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/ins.htm +169 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +25 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +25 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +123 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +25 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/del.js +60 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +231 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +59 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ar_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/az_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/be_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/bg_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/bn_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/br_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/bs_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ca_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ch_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cs_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cy_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/da_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/dv_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/el_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/es_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/et_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/fa_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/fi_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/fr_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/gl_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/gu_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/he_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hi_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hr_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ia_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/id_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ii_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/is_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/it_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ko_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/lt_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/lv_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/mk_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ml_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/mn_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ms_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/nb_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/nl_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/nn_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/no_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pl_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pt_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ro_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ru_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sc_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/se_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/si_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sk_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sl_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sq_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sr_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sv_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ta_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/te_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/th_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/tr_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/tt_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/tw_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/uk_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/vi_dlg.js +32 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/zh_dlg.js +32 -0
- data/public/javascripts/tiny_mce/themes/advanced/about.htm +56 -0
- data/public/javascripts/tiny_mce/themes/advanced/anchor.htm +31 -0
- data/public/javascripts/tiny_mce/themes/advanced/charmap.htm +53 -0
- data/public/javascripts/tiny_mce/themes/advanced/color_picker.htm +75 -0
- data/public/javascripts/tiny_mce/themes/advanced/editor_template.js +1 -0
- data/public/javascripts/tiny_mce/themes/advanced/editor_template_src.js +1153 -0
- data/public/javascripts/tiny_mce/themes/advanced/image.htm +85 -0
- data/public/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/about.js +72 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/anchor.js +37 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/charmap.js +325 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/color_picker.js +253 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/image.js +245 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/link.js +156 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/source_editor.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ar.js +64 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ar_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/az.js +63 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/az_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/be.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/be_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/bg.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/bg_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/bn.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/bn_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/br.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/br_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/bs.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/bs_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ca.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ca_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ch.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ch_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/cs.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/cs_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/cy.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/cy_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/da.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/da_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/de.js +63 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/de_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/dv.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/dv_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/el.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/el_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/en.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/es.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/es_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/et.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/et_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/fa.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/fa_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/fi.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/fi_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/fr.js +65 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/fr_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/gl.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/gl_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/gu.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/gu_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/he.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/he_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/hi.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/hi_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/hr.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/hr_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/hu.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/hu_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ia.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ia_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/id.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/id_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ii.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ii_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/is.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/is_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/it.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/it_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ja.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ja_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ko.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ko_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/lt.js +63 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/lt_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/lv.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/lv_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/mk.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/mk_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ml.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ml_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/mn.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/mn_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ms.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ms_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/nb.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/nb_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/nl.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/nl_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/nn.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/nn_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/no.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/no_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/pl.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/pl_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/pt.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/pt_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ro.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ro_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ru.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ru_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/sc.js +64 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/sc_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/se.js +60 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/se_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/si.js +61 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/si_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/sk.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/sk_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/sl.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/sl_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/sq.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/sq_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/sr.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/sr_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/sv.js +60 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/sv_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ta.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/ta_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/te.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/te_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/th.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/th_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/tr.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/tr_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/tt.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/tt_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/tw.js +64 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/tw_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/uk.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/uk_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/vi.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/vi_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/zh.js +64 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/zh_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/link.htm +63 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/content.css +32 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +116 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +214 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +32 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +115 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +215 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +8 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
- data/public/javascripts/tiny_mce/themes/advanced/source_editor.htm +31 -0
- data/public/javascripts/tiny_mce/themes/simple/editor_template.js +1 -0
- data/public/javascripts/tiny_mce/themes/simple/editor_template_src.js +85 -0
- data/public/javascripts/tiny_mce/themes/simple/img/icons.gif +0 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/ar.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/az.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/be.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/bg.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/bn.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/br.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/bs.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/ca.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/ch.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/cs.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/cy.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/da.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/de.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/dv.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/el.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/en.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/es.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/et.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/fa.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/fi.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/fr.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/gl.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/gu.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/he.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/hi.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/hr.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/hu.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/ia.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/id.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/ii.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/is.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/it.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/ja.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/ko.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/lt.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/lv.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/mk.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/ml.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/mn.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/ms.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/nb.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/nl.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/nn.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/no.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/pl.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/pt.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/ro.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/ru.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/sc.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/se.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/si.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/sk.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/sl.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/sq.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/sr.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/sv.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/ta.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/te.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/th.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/tr.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/tt.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/tw.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/uk.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/vi.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/zh.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/default/content.css +25 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/default/ui.css +32 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css +17 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css +35 -0
- data/public/javascripts/tiny_mce/tiny_mce.js +1 -0
- data/public/javascripts/tiny_mce/tiny_mce_popup.js +5 -0
- data/public/javascripts/tiny_mce/tiny_mce_src.js +13135 -0
- data/public/javascripts/tiny_mce/utils/editable_selects.js +69 -0
- data/public/javascripts/tiny_mce/utils/form_utils.js +199 -0
- data/public/javascripts/tiny_mce/utils/mctabs.js +76 -0
- data/public/javascripts/tiny_mce/utils/validate.js +219 -0
- data/tasks/tiny_mce.rake +45 -0
- data/test/functional/full_tiny_mce_controller_test.rb +74 -0
- data/test/functional/slim_tiny_mce_controller_test.rb +45 -0
- data/test/test_helper.rb +19 -0
- data/test/unit/helpers/tiny_mce_helper_test.rb +116 -0
- data/test/unit/options_validator_test.rb +51 -0
- data/test/unit/tiny_mce_test.rb +17 -0
- data/tiny_mce.gemspec +1332 -0
- data/tiny_mce_options.yml +167 -0
- metadata +1350 -0
data/DEV_UPGRADE_NOTES
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
---------------------------------
|
2
|
+
How to update the bundled TinyMCE
|
3
|
+
---------------------------------
|
4
|
+
|
5
|
+
1) Download TinyMCE, and extract it to your Desktop
|
6
|
+
2) Delete the copy of TinyMCE in the plugin at public/javascripts/tiny_mce (this ensures old/removed files are deleted)
|
7
|
+
3) Copy the source files of TinyMCE (not documentation) to public/javascripts/tiny_mce
|
8
|
+
4) Update the CHANGELOG_PLUGIN to say what you upgraded from, what you upgraded to, and your name
|
9
|
+
5) Update CHANGELOG_TINYMCE (download and overwrite the file with http://tinymce.moxiecode.com/js/tinymce/changelog.txt)
|
10
|
+
6) Update the 'Bundled TinyMCE version' value at the bottom of README.rdoc
|
11
|
+
7) Update the version value in tasks/tiny_mce.rake
|
12
|
+
8) Update tiny_mce_options.yml with any new options, or remove old ones, as described in the tinymce changelog
|
13
|
+
9) Commit, push, and send pull request to http://github.com/kete/tiny_mce
|
data/README.rdoc
ADDED
@@ -0,0 +1,155 @@
|
|
1
|
+
= TinyMCE for Rails
|
2
|
+
|
3
|
+
This plugin provides for the installation and utilization of TinyMCE in Ruby on Rails applications.
|
4
|
+
|
5
|
+
TinyMCE is a WYSIWYG HTML editing component released under the GNU Public License 2.1 (GPL 2.1) by Moxiecode Systems (http://tinymce.moxiecode.com/).
|
6
|
+
|
7
|
+
|
8
|
+
== Installation
|
9
|
+
|
10
|
+
Installing TinyMCE for Rails takes no more than a few minutes to install.
|
11
|
+
|
12
|
+
=== Step 1
|
13
|
+
|
14
|
+
Open a console, and in the root of you Rails application, install the plugin by running one of the following (depending on the method you use to import plugins):
|
15
|
+
|
16
|
+
* script/plugin install git://github.com/kete/tiny_mce.git
|
17
|
+
* piston import git://github.com/kete/tiny_mce.git vendor/plugins/tiny_mce
|
18
|
+
* git submodule add git://github.com/kete/tiny_mce.git vendor/plugins/tiny_mce
|
19
|
+
* Download the latest files ( http://github.com/kete/tiny_mce/tarball/master ) and extract to vendor/plugins/tiny_mce
|
20
|
+
|
21
|
+
=== Step 2
|
22
|
+
|
23
|
+
Then install the necessary files into your public directory by running
|
24
|
+
|
25
|
+
rake tiny_mce:install
|
26
|
+
|
27
|
+
or, if you are updating a previously installed version
|
28
|
+
|
29
|
+
rake tiny_mce:update
|
30
|
+
|
31
|
+
=== Step 3
|
32
|
+
|
33
|
+
Add the following to the controller of the page you want to add TinyMCE to.
|
34
|
+
|
35
|
+
uses_tiny_mce
|
36
|
+
|
37
|
+
Then append the following to the text area you want to transform into a TinyMCE editor. You can change the name by editing the 'editor_selector' param in the controller code options.
|
38
|
+
|
39
|
+
:class => "mceEditor"
|
40
|
+
|
41
|
+
Lastly, add the following line(s) to the <head> element of your application view:
|
42
|
+
|
43
|
+
<%= include_tiny_mce_if_needed %>
|
44
|
+
|
45
|
+
Now you're all set!
|
46
|
+
|
47
|
+
|
48
|
+
== Configuration
|
49
|
+
|
50
|
+
There are several ways to configure the plugin to get the desirable effect you're looking for. The following ways can be combined to create complex tiny mce setups
|
51
|
+
|
52
|
+
=== TinyMCE options
|
53
|
+
|
54
|
+
You can change the theme, order/choice of buttons, selectors Id, plugins, and many more by passing an :options hash to the uses_tiny_mce declaration.
|
55
|
+
|
56
|
+
The options hash can contain any number of settings available in tiny_mce_options.yml (a copy of the settings available per version).
|
57
|
+
|
58
|
+
If an option is misspelled, invalid, or deprecated (no longer in TinyMCE), when you go to a page containing your editor, you will receive an Exception, which must be dealt with before continuing.
|
59
|
+
|
60
|
+
You can read about all these options at http://tinymce.moxiecode.com/documentation.php
|
61
|
+
|
62
|
+
==== Example
|
63
|
+
|
64
|
+
uses_tiny_mce :options => {
|
65
|
+
:theme => 'advanced',
|
66
|
+
:theme_advanced_resizing => true,
|
67
|
+
:theme_advanced_resize_horizontal => false,
|
68
|
+
:plugins => %w{ table fullscreen }
|
69
|
+
}
|
70
|
+
|
71
|
+
=== Filter options
|
72
|
+
|
73
|
+
If, like most applications, you only need the editor on the new, create, edit, and update pages, then tell the uses_tiny_mce declaration this, so it doesn't load up all the files unnecessarily.
|
74
|
+
|
75
|
+
The declaration accepts any number of default parameters a normal controller filter would.
|
76
|
+
|
77
|
+
==== Example
|
78
|
+
|
79
|
+
uses_tiny_mce :only => [:new, :create, :edit, :update]
|
80
|
+
|
81
|
+
|
82
|
+
=== Additional Javascript options
|
83
|
+
|
84
|
+
Sometimes, when you need complex arrays of data for plugins or such, the plugin helpers aren't complex enough to do what you need. But you can always fall back to supplying your own options. You can this by passing a raw javascript (no <script> tags) to the uses_tiny_mce declaration. Consider the following example for the template plugin.
|
85
|
+
|
86
|
+
uses_tiny_mce :raw_options => "template_templates : [ {
|
87
|
+
title : 'Editor Details',
|
88
|
+
src : 'editor_details.htm',
|
89
|
+
description : 'Adds Editors Name and Staff ID'
|
90
|
+
} ]"
|
91
|
+
|
92
|
+
|
93
|
+
== Methods
|
94
|
+
|
95
|
+
TinyMCE has a range of convenience methods for loading TinyMCE. Besides the uses_tiny_mce shown above, they include:
|
96
|
+
|
97
|
+
using_tiny_mce?
|
98
|
+
Check whether the uses_tiny_mce declaration has been made in the current controller
|
99
|
+
|
100
|
+
raw_tiny_mce_init
|
101
|
+
Creates a string of javascript formed from the options declared to uses_tiny_mce (is not wrapped in a JS tag though, use tiny_mce_init for that)
|
102
|
+
|
103
|
+
tiny_mce_init
|
104
|
+
Creates a javascript tag formed from the options declared to uses_tiny_mce (executes whether uses_tiny_mce was declared or not)
|
105
|
+
tiny_mce_init_if_needed
|
106
|
+
Creates a javascript tag formed from the options declared to uses_tiny_mce (executes only when uses_tiny_mce has been declared)
|
107
|
+
|
108
|
+
include_tiny_mce_js
|
109
|
+
Includes the TinyMCE core javascript file, must be declared before tiny_mce_init (executes whether uses_tiny_mce was declared or not)
|
110
|
+
include_tiny_mce_js_if_needed
|
111
|
+
Includes the TinyMCE core javascript file, must be declared before tiny_mce_init (executes only when uses_tiny_mce has been declared)
|
112
|
+
|
113
|
+
include_tiny_mce_if_needed
|
114
|
+
Includes the TinyMCE core javascript file, and creates a string of javascript formed from the options declared to uses_tiny_mce (executes only when uses_tiny_mce has been declared)
|
115
|
+
|
116
|
+
|
117
|
+
== Spellchecking
|
118
|
+
|
119
|
+
See SPELLCHECKING_PLUGIN.rdoc
|
120
|
+
|
121
|
+
http://github.com/kete/tiny_mce/tree/master/SPELLCHECKING_PLUGIN.rdoc
|
122
|
+
|
123
|
+
|
124
|
+
== Testing
|
125
|
+
|
126
|
+
The plugin comes with a test suite that can be run once the plugin is installed in an application.
|
127
|
+
|
128
|
+
Change into the plugins directory and run 'rake' to start them.
|
129
|
+
|
130
|
+
Note: The tests require Rails 2.2 or higher, and are currently tested on Rails 2.3 RC1 (so problems in older versions may arise - please see "Reporting an Issue" if they do)
|
131
|
+
|
132
|
+
|
133
|
+
== Reporting an Issue
|
134
|
+
|
135
|
+
If you have a problem, please report it on the tiny_mce plugin ticket tracker (on Ligthouseapp)
|
136
|
+
|
137
|
+
http://kete.lighthouseapp.com/projects/14744-tiny_mce/tickets
|
138
|
+
|
139
|
+
Be sure to include Rails version, plugin version, and when possible, a sample application that can reproduce the problem. Upload it to one of the various file hosting sites and link to it in the ticket. Don't include vendored rails or the tiny_mce plugin in the archive (if I know the versions, I'll add these myself).
|
140
|
+
|
141
|
+
|
142
|
+
== Contributing
|
143
|
+
|
144
|
+
If you've added something, why not share it. Fork the repository (http://github.com/kete/tiny_mce), make the changes and send a pull request to the maintainers.
|
145
|
+
|
146
|
+
Changes with tests, and full documentation are preferred.
|
147
|
+
|
148
|
+
|
149
|
+
= Credits
|
150
|
+
|
151
|
+
This plugin was created by Blake Watters <blake@near-time.com>
|
152
|
+
|
153
|
+
This plugin is currently maintained by Kieran Pilkington <kieran@katipo.co.nz>
|
154
|
+
|
155
|
+
Bundled TinyMCE version: 3.2.6
|
data/Rakefile
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
require 'rake'
|
2
|
+
require 'rake/testtask'
|
3
|
+
require 'rake/rdoctask'
|
4
|
+
|
5
|
+
begin
|
6
|
+
require 'jeweler'
|
7
|
+
Jeweler::Tasks.new do |gem|
|
8
|
+
gem.name = 'tiny_mce'
|
9
|
+
gem.summary = %Q{TinyMCE editor for your rails applications}
|
10
|
+
gem.description = %Q{gem that allows easy implementation of the TinyMCE editor into your applications.}
|
11
|
+
gem.email = "rotuka@rotuka.com"
|
12
|
+
gem.homepage = "http://github.com/krasivotokak/tiny_mce"
|
13
|
+
gem.authors = ['Blake Watters', 'Kieran Pilkington', "Alexander Semyonov"]
|
14
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
15
|
+
end
|
16
|
+
Jeweler::GemcutterTasks.new
|
17
|
+
rescue LoadError
|
18
|
+
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
19
|
+
end
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
desc 'Default: run unit tests.'
|
24
|
+
task :default => :test
|
25
|
+
|
26
|
+
desc 'Test the tiny_mce plugin.'
|
27
|
+
Rake::TestTask.new(:test) do |t|
|
28
|
+
t.libs << 'lib'
|
29
|
+
t.pattern = 'test/**/*_test.rb'
|
30
|
+
t.verbose = true
|
31
|
+
end
|
32
|
+
|
33
|
+
desc 'Generate documentation for the tiny_mce plugin.'
|
34
|
+
Rake::RDocTask.new(:rdoc) do |rdoc|
|
35
|
+
rdoc.rdoc_dir = 'rdoc'
|
36
|
+
rdoc.title = 'TinyMce'
|
37
|
+
rdoc.options << '--line-numbers' << '--inline-source'
|
38
|
+
rdoc.rdoc_files.include('README')
|
39
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
40
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
= Spellchecking in TinyMCE for Rails
|
2
|
+
|
3
|
+
TinyMCE comes packed with a spellcheck plugin that relies on a server-side call to function.
|
4
|
+
|
5
|
+
If uses_tiny_mce is called in a controller, the controller will get a "spellchecker" action added to it that validates text given to it with aspell. Right now, only aspell is supported.
|
6
|
+
|
7
|
+
|
8
|
+
== Installing Aspell
|
9
|
+
|
10
|
+
If your distribution has Aspell in its package repositories, then use it. Some commands include (as root):
|
11
|
+
|
12
|
+
Debian/Ubuntu: apt-get install aspell aspell-en
|
13
|
+
openSUSE: yast2 -i aspell aspell-en
|
14
|
+
Mac OS X: port install aspell aspell-dict-en
|
15
|
+
|
16
|
+
If you're package repositories don't have Aspell, you'll need to compile from source. Whatever way you install it, make sure that you see the language dictionaries you plan to use when you run
|
17
|
+
|
18
|
+
aspell dicts
|
19
|
+
|
20
|
+
|
21
|
+
== Installing Spellchecker on TinyMCE
|
22
|
+
|
23
|
+
The SpellCheck plugin is not enabled by default in TinyMCE. To enable it, do the following.
|
24
|
+
|
25
|
+
Add the following to your uses_tiny_mce controller options declaration (edit toolbar location to suit and merge with existing settings):
|
26
|
+
|
27
|
+
:theme => 'advanced',
|
28
|
+
:theme_advanced_buttons3_add => %w{ spellchecker },
|
29
|
+
:spellchecker_languages => "+English=en",
|
30
|
+
:plugins => %w{ spellchecker },
|
31
|
+
|
32
|
+
|
33
|
+
== Customization
|
34
|
+
|
35
|
+
By default, Spellchecking calls "/controller/spellchecker". But this won't always be where the spellchecker method is accessible. But you can easily change where it should call by supplying the following setting to the options hash on the uses_tiny_mce declaration in the controller.
|
36
|
+
|
37
|
+
:spellchecker_rpc_url => '/blog/posts/spellchecker'
|
38
|
+
|
39
|
+
Also, if you want to have other languages spellchecked, make sure they're installed for Aspell to use and then add to the comma delimited value of :spellchecker_languages in the format of
|
40
|
+
|
41
|
+
FriendlyName=code
|
42
|
+
|
43
|
+
So the value for English, French, German and Spanish would look like this for example
|
44
|
+
|
45
|
+
:spellchecker_languages => "+English=en,French=fr,German=de,Spanish=es",
|
46
|
+
|
47
|
+
The + sign in front of a friendly name indicates the default option for spellchecking.
|
48
|
+
|
49
|
+
|
50
|
+
= Credits
|
51
|
+
|
52
|
+
Spellchecking functionality created by Akhil Bansal ( http://webonrails.com/2008/08/08/configuring-tinymce-spellchecker-with-rails-application/ )
|
53
|
+
|
54
|
+
Spellchecking functionality integrated into plugin by Terry Heath
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.1
|
data/init.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Require all the necessary files to run TinyMCE
|
2
|
+
require 'tiny_mce'
|
3
|
+
require 'options_validator'
|
4
|
+
require 'spellchecker'
|
5
|
+
require 'tiny_mce_helpers'
|
6
|
+
|
7
|
+
# Load up the available configuration options (we do it here because
|
8
|
+
# the result doesn't, so we don't want to load it per request)
|
9
|
+
TinyMCE::OptionValidator.load
|
10
|
+
|
11
|
+
# Include the TinyMCE methods and TinyMCE Helpers into ActionController::Base
|
12
|
+
ActionController::Base.send(:include, TinyMCE)
|
13
|
+
ActionController::Base.send(:helper, TinyMCEHelpers)
|
data/install.rb
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
# Lets output something to the console when people use script/plugin to install tiny_mce
|
2
|
+
puts "-------"
|
3
|
+
puts "tiny_mce plugin"
|
4
|
+
puts ""
|
5
|
+
puts "Thanks for installing the tiny_mce plugin."
|
6
|
+
puts "To complete the process, please view README.rdoc."
|
7
|
+
puts "Read the section entitled 'Installation"
|
8
|
+
puts "-------"
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# The base module we include into ActionController::Base
|
2
|
+
module TinyMCE
|
3
|
+
# We use this to validate whether options passed in by the users are valid
|
4
|
+
# tiny mce configuration settings. Also loads which options are valid, and
|
5
|
+
# provides an plugins attribute to allow more configuration options dynamicly
|
6
|
+
module OptionValidator
|
7
|
+
class << self
|
8
|
+
|
9
|
+
# Used to set the array of plugins being used
|
10
|
+
cattr_accessor :plugins
|
11
|
+
|
12
|
+
# Parse the options file and load it into an array
|
13
|
+
# (this method is called when tiny_mce is initialized - see init.rb)
|
14
|
+
def load
|
15
|
+
@@valid_options = File.open(File.dirname(__FILE__) + "/../tiny_mce_options.yml") { |f| YAML.load(f.read) }
|
16
|
+
self.plugins = Array.new
|
17
|
+
end
|
18
|
+
|
19
|
+
# Does the check to see if the option is valid. It checks the valid_options
|
20
|
+
# array (see above), checks if the start of the option name is in the plugin list
|
21
|
+
# or checks if it's an theme_advanced_container setting
|
22
|
+
def valid?(option)
|
23
|
+
option = option.to_s
|
24
|
+
@@valid_options.include?(option) ||
|
25
|
+
(plugins && plugins.include?(option.split('_')[0])) ||
|
26
|
+
option =~ /^theme_advanced_container_\w+$/
|
27
|
+
end
|
28
|
+
|
29
|
+
# If we need to get the array of valid options, we can call this method
|
30
|
+
def options
|
31
|
+
@@valid_options
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
data/lib/spellchecker.rb
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
# The base module we include into ActionController::Base
|
2
|
+
module TinyMCE
|
3
|
+
|
4
|
+
# Provides Spell checking capability to tiny_mce plugin
|
5
|
+
# Note: this may not always be up to date.
|
6
|
+
# Please supply patches if this isn't working
|
7
|
+
module SpellChecker
|
8
|
+
|
9
|
+
require 'net/https'
|
10
|
+
require 'uri'
|
11
|
+
require 'rexml/document'
|
12
|
+
|
13
|
+
ASPELL_WORD_DATA_REGEX = Regexp.new(/\&\s\w+\s\d+\s\d+(.*)$/)
|
14
|
+
|
15
|
+
# Attempt to determine where Aspell is
|
16
|
+
# Might be slow and a horrible way to do it, but it works!
|
17
|
+
# Should also grab Mac OS X and Window path's instead of assuming linux
|
18
|
+
aspell_path = nil
|
19
|
+
['/usr/bin/aspell', '/usr/local/bin/aspell'].each do |path|
|
20
|
+
if File.exists?(path)
|
21
|
+
aspell_path = path
|
22
|
+
break
|
23
|
+
end
|
24
|
+
end
|
25
|
+
ASPELL_PATH = aspell_path || "aspell" # fall back to a pathless call
|
26
|
+
|
27
|
+
# The method called via AJAX request by the Spellchecking plugin in TinyMCE.
|
28
|
+
# Passes in various params (language, words, and method)
|
29
|
+
# Return a JSON object required by the Spellchecking plugin
|
30
|
+
def spellchecker
|
31
|
+
language, words, method = params[:params][0], params[:params][1], params[:method] unless params[:params].blank?
|
32
|
+
return render :nothing => true if language.blank? || words.blank? || method.blank?
|
33
|
+
headers["Content-Type"] = "text/plain"
|
34
|
+
headers["charset"] = "utf-8"
|
35
|
+
suggestions = check_spelling(words, method, language)
|
36
|
+
results = {"id" => nil, "result" => suggestions, "error" => nil}
|
37
|
+
render :json => results
|
38
|
+
end
|
39
|
+
|
40
|
+
private
|
41
|
+
|
42
|
+
# This method is called by the spellchecker action.
|
43
|
+
# Is sends a command to the system, and parses the output
|
44
|
+
# Returns different value depending on the command (checking words, or getting suggestions)
|
45
|
+
def check_spelling(spell_check_text, command, lang)
|
46
|
+
xml_response_values = Array.new
|
47
|
+
spell_check_text = spell_check_text.join(' ') if command == 'checkWords'
|
48
|
+
logger.debug("Spellchecking via: echo \"#{spell_check_text}\" | #{ASPELL_PATH} -a -l #{lang}")
|
49
|
+
spell_check_response = `echo "#{spell_check_text}" | #{ASPELL_PATH} -a -l #{lang}`
|
50
|
+
return xml_response_values if spell_check_response.blank?
|
51
|
+
spelling_errors = spell_check_response.split("\n").slice(1..-1)
|
52
|
+
for error in spelling_errors
|
53
|
+
error.strip!
|
54
|
+
if (match_data = error.match(ASPELL_WORD_DATA_REGEX))
|
55
|
+
if (command == 'checkWords')
|
56
|
+
arr = match_data[0].split(' ')
|
57
|
+
xml_response_values << arr[1]
|
58
|
+
elsif (command == 'getSuggestions')
|
59
|
+
xml_response_values << error.split(',')[1..-1].collect(&:strip!)
|
60
|
+
xml_response_values = xml_response_values.first
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
return xml_response_values
|
65
|
+
end
|
66
|
+
|
67
|
+
end
|
68
|
+
|
69
|
+
end
|
data/lib/tiny_mce.rb
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# The base module we include into ActionController::Base
|
2
|
+
module TinyMCE
|
3
|
+
|
4
|
+
# When this module is included, extend it with the available class methods
|
5
|
+
def self.included(base)
|
6
|
+
base.extend(ClassMethods)
|
7
|
+
end
|
8
|
+
|
9
|
+
module ClassMethods
|
10
|
+
|
11
|
+
# The controller declaration to enable tiny_mce on certain actions.
|
12
|
+
# Takes options hash, raw_options string, and any normal params you
|
13
|
+
# can send to a before_filter (only, except etc)
|
14
|
+
def uses_tiny_mce(options = {})
|
15
|
+
tiny_mce_options = options.delete(:options) || {}
|
16
|
+
raw_tiny_mce_options = options.delete(:raw_options) || ''
|
17
|
+
|
18
|
+
# If the tiny_mce plugins includes the spellchecker, then form a spellchecking path,
|
19
|
+
# add it to the tiny_mce_options, and include the SpellChecking module
|
20
|
+
if !tiny_mce_options[:plugins].blank? && tiny_mce_options[:plugins].include?('spellchecker')
|
21
|
+
tiny_mce_options.reverse_merge!(:spellchecker_rpc_url => "/" + self.controller_name + "/spellchecker")
|
22
|
+
self.class_eval do
|
23
|
+
include TinyMCE::SpellChecker
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
# Set instance vars in the current class
|
28
|
+
proc = Proc.new do |c|
|
29
|
+
c.instance_variable_set(:@tiny_mce_options, tiny_mce_options)
|
30
|
+
c.instance_variable_set(:@raw_tiny_mce_options, raw_tiny_mce_options)
|
31
|
+
c.instance_variable_set(:@uses_tiny_mce, true)
|
32
|
+
end
|
33
|
+
|
34
|
+
# Run the above proc before each page load this method is declared in
|
35
|
+
before_filter(proc, options)
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
@@ -0,0 +1,91 @@
|
|
1
|
+
# The helper module we include into ActionController::Base
|
2
|
+
module TinyMCEHelpers
|
3
|
+
|
4
|
+
# Setup a couple of Exception classes that we use later on
|
5
|
+
class TinyMCEInvalidOption < Exception; end
|
6
|
+
class TinyMCEInvalidOptionType < Exception; end
|
7
|
+
|
8
|
+
# Has uses_tiny_mce method been declared in the controller for this page?
|
9
|
+
def using_tiny_mce?
|
10
|
+
!@uses_tiny_mce.blank?
|
11
|
+
end
|
12
|
+
|
13
|
+
# Parse @tiny_mce_options and @raw_tiny_mce_options to create a raw JS string
|
14
|
+
# used by TinyMCE. Returns errors if the option or options type is invalid
|
15
|
+
def raw_tiny_mce_init(options = {}, raw_options = '')
|
16
|
+
# first we set some defaults, then we merge in the controller level options
|
17
|
+
# and finally merge in the view level options (to give presidence)
|
18
|
+
@tiny_mce_options ||= {}
|
19
|
+
default_options = { 'mode' => 'textareas',
|
20
|
+
'editor_selector' => 'mceEditor',
|
21
|
+
'theme' => 'simple',
|
22
|
+
'language' => (defined?(I18n) ? I18n.locale : :en) }
|
23
|
+
options = default_options.merge(@tiny_mce_options.stringify_keys).merge(options.stringify_keys)
|
24
|
+
raw_options = @raw_tiny_mce_options + raw_options unless @raw_tiny_mce_options.nil?
|
25
|
+
|
26
|
+
unless options['plugins'].nil?
|
27
|
+
raise TinyMCEInvalidOptionType.new("Invalid value of type #{options['plugins'].class} passed for TinyMCE option plugins") unless options['plugins'].kind_of?(Array)
|
28
|
+
|
29
|
+
# Append the plugins we have enabled for this field to the OptionsValidator
|
30
|
+
TinyMCE::OptionValidator.plugins += options['plugins']
|
31
|
+
end
|
32
|
+
|
33
|
+
tinymce_js = "tinyMCE.init({\n"
|
34
|
+
options.sort.each_with_index do |values, index|
|
35
|
+
key, value = values[0], values[1]
|
36
|
+
raise TinyMCEInvalidOption.new("Invalid option #{key} passed to tinymce") unless TinyMCE::OptionValidator.valid?(key)
|
37
|
+
tinymce_js += "#{key} : "
|
38
|
+
case value
|
39
|
+
when String, Symbol, Fixnum
|
40
|
+
tinymce_js += "'#{value.to_s}'"
|
41
|
+
when Array
|
42
|
+
tinymce_js += '"' + value.join(',') + '"'
|
43
|
+
when TrueClass
|
44
|
+
tinymce_js += 'true'
|
45
|
+
when FalseClass
|
46
|
+
tinymce_js += 'false'
|
47
|
+
else
|
48
|
+
raise TinyMCEInvalidOptionType.new("Invalid value of type #{value.class} passed for TinyMCE option #{key}")
|
49
|
+
end
|
50
|
+
if (index < options.size - 1)
|
51
|
+
# there are more options in this array
|
52
|
+
tinymce_js += ",\n"
|
53
|
+
else
|
54
|
+
# no more options in this array. Finish it by adding the addition JS
|
55
|
+
tinymce_js += ",\n#{raw_options}" unless raw_options.blank?
|
56
|
+
tinymce_js += "\n"
|
57
|
+
end
|
58
|
+
end
|
59
|
+
tinymce_js += "\n});"
|
60
|
+
end
|
61
|
+
|
62
|
+
# Form the raw JS and wrap in in a <script> tag for inclusion in the <head>
|
63
|
+
def tiny_mce_init(options = {}, raw_options = '')
|
64
|
+
javascript_tag raw_tiny_mce_init(options, raw_options)
|
65
|
+
end
|
66
|
+
# Form the raw JS and wrap in in a <script> tag for inclusion in the <head>
|
67
|
+
# (only if tiny mce is actually being used)
|
68
|
+
def tiny_mce_init_if_needed(options = {}, raw_options = '')
|
69
|
+
tiny_mce_init(options, raw_options) if using_tiny_mce?
|
70
|
+
end
|
71
|
+
|
72
|
+
# Form a JS include tag for the TinyMCE JS src for inclusion in the <head>
|
73
|
+
def include_tiny_mce_js
|
74
|
+
javascript_include_tag (Rails.env.development? ? "tiny_mce/tiny_mce_src" : "tiny_mce/tiny_mce")
|
75
|
+
end
|
76
|
+
# Form a JS include tag for the TinyMCE JS src for inclusion in the <head>
|
77
|
+
# (only if tiny mce is actually being used)
|
78
|
+
def include_tiny_mce_js_if_needed
|
79
|
+
include_tiny_mce_js if using_tiny_mce?
|
80
|
+
end
|
81
|
+
|
82
|
+
# Form a JS include tag for the TinyMCE JS src, and form the raw JS and wrap
|
83
|
+
# in in a <script> tag for inclusion in the <head> for inclusion in the <head>
|
84
|
+
# (only if tiny mce is actually being used)
|
85
|
+
def include_tiny_mce_if_needed(options = {}, raw_options = '')
|
86
|
+
if using_tiny_mce?
|
87
|
+
include_tiny_mce_js + tiny_mce_init(options, raw_options)
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|