tiny_mce 0.1.4 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (711) hide show
  1. data/CHANGELOG_PLUGIN.rdoc +48 -35
  2. data/CHANGELOG_TINYMCE +180 -7
  3. data/DEV_UPGRADE_NOTES.rdoc +1 -1
  4. data/README.rdoc +69 -4
  5. data/lib/tasks/tiny_mce.rake +9 -0
  6. data/lib/tiny_mce.rb +69 -0
  7. data/lib/tiny_mce/assets/tiny_mce/jquery.tinymce.js +1 -0
  8. data/lib/tiny_mce/assets/tiny_mce/langs/ca.js +1 -170
  9. data/lib/tiny_mce/assets/tiny_mce/langs/cs.js +1 -176
  10. data/lib/tiny_mce/assets/tiny_mce/langs/da.js +1 -0
  11. data/lib/tiny_mce/assets/tiny_mce/langs/en.js +1 -170
  12. data/lib/tiny_mce/assets/tiny_mce/langs/fi.js +1 -0
  13. data/lib/tiny_mce/assets/tiny_mce/langs/fr.js +1 -170
  14. data/lib/tiny_mce/assets/tiny_mce/langs/hu.js +1 -170
  15. data/lib/tiny_mce/assets/tiny_mce/langs/ja.js +1 -170
  16. data/lib/tiny_mce/assets/tiny_mce/langs/ka.js +1 -173
  17. data/lib/tiny_mce/assets/tiny_mce/langs/km.js +1 -0
  18. data/lib/tiny_mce/assets/tiny_mce/langs/nb.js +1 -0
  19. data/lib/tiny_mce/assets/tiny_mce/langs/no.js +1 -0
  20. data/lib/tiny_mce/assets/tiny_mce/langs/pl.js +1 -170
  21. data/lib/tiny_mce/assets/tiny_mce/langs/pt.js +1 -170
  22. data/lib/tiny_mce/assets/tiny_mce/langs/ru.js +1 -173
  23. data/lib/tiny_mce/assets/tiny_mce/langs/sk.js +1 -176
  24. data/lib/tiny_mce/assets/tiny_mce/langs/sl.js +1 -0
  25. data/lib/tiny_mce/assets/tiny_mce/langs/sv.js +1 -170
  26. data/lib/tiny_mce/assets/tiny_mce/langs/zh-cn.js +1 -0
  27. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ca_dlg.js +1 -5
  28. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/cs_dlg.js +1 -5
  29. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/da_dlg.js +1 -0
  30. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/en_dlg.js +1 -5
  31. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/fi_dlg.js +1 -0
  32. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/fr_dlg.js +1 -5
  33. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/hu_dlg.js +1 -5
  34. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ja_dlg.js +1 -5
  35. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ka_dlg.js +1 -5
  36. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/km_dlg.js +1 -0
  37. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/nb_dlg.js +1 -0
  38. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/no_dlg.js +1 -0
  39. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/pl_dlg.js +1 -5
  40. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/pt_dlg.js +1 -5
  41. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ru_dlg.js +1 -5
  42. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/sk_dlg.js +1 -5
  43. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/sl_dlg.js +1 -0
  44. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/sv_dlg.js +1 -5
  45. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/zh-cn_dlg.js +1 -0
  46. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/rule.htm +30 -29
  47. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/image.htm +34 -31
  48. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/js/image.js +3 -1
  49. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ca_dlg.js +1 -43
  50. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/cs_dlg.js +1 -43
  51. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/da_dlg.js +1 -0
  52. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/en_dlg.js +1 -43
  53. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/fi_dlg.js +1 -0
  54. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/fr_dlg.js +1 -43
  55. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/hu_dlg.js +1 -43
  56. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ja_dlg.js +1 -43
  57. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ka_dlg.js +1 -43
  58. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/km_dlg.js +1 -0
  59. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/nb_dlg.js +1 -0
  60. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/no_dlg.js +1 -0
  61. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/pl_dlg.js +1 -43
  62. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/pt_dlg.js +1 -43
  63. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ru_dlg.js +1 -43
  64. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/sk_dlg.js +1 -43
  65. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/sl_dlg.js +1 -0
  66. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/sv_dlg.js +1 -43
  67. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/zh-cn_dlg.js +1 -0
  68. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/js/advlink.js +2 -5
  69. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ca_dlg.js +1 -52
  70. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/cs_dlg.js +1 -52
  71. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/da_dlg.js +1 -0
  72. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/en_dlg.js +1 -52
  73. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/fi_dlg.js +1 -0
  74. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/fr_dlg.js +1 -52
  75. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/hu_dlg.js +1 -52
  76. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ja_dlg.js +1 -52
  77. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ka_dlg.js +1 -52
  78. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/km_dlg.js +1 -0
  79. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/nb_dlg.js +1 -0
  80. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/no_dlg.js +1 -0
  81. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/pl_dlg.js +1 -52
  82. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/pt_dlg.js +1 -52
  83. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ru_dlg.js +1 -52
  84. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/sk_dlg.js +1 -52
  85. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/sl_dlg.js +1 -0
  86. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/sv_dlg.js +1 -52
  87. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/zh-cn_dlg.js +1 -0
  88. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/link.htm +34 -29
  89. data/lib/tiny_mce/assets/tiny_mce/plugins/advlist/editor_plugin.js +1 -1
  90. data/lib/tiny_mce/assets/tiny_mce/plugins/advlist/editor_plugin_src.js +3 -3
  91. data/lib/tiny_mce/assets/tiny_mce/plugins/autosave/editor_plugin.js +1 -1
  92. data/lib/tiny_mce/assets/tiny_mce/plugins/autosave/editor_plugin_src.js +15 -6
  93. data/lib/tiny_mce/assets/tiny_mce/plugins/bbcode/editor_plugin.js +1 -1
  94. data/lib/tiny_mce/assets/tiny_mce/plugins/bbcode/editor_plugin_src.js +1 -1
  95. data/lib/tiny_mce/assets/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -1
  96. data/lib/tiny_mce/assets/tiny_mce/plugins/contextmenu/editor_plugin_src.js +19 -5
  97. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/emotions.htm +15 -14
  98. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ca_dlg.js +1 -20
  99. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/cs_dlg.js +1 -20
  100. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/da_dlg.js +1 -0
  101. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/en_dlg.js +1 -20
  102. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/fi_dlg.js +1 -0
  103. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/fr_dlg.js +1 -20
  104. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/hu_dlg.js +1 -20
  105. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ja_dlg.js +1 -20
  106. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ka_dlg.js +1 -20
  107. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/km_dlg.js +1 -0
  108. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/nb_dlg.js +1 -0
  109. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/no_dlg.js +1 -0
  110. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/pl_dlg.js +1 -20
  111. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/pt_dlg.js +1 -20
  112. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ru_dlg.js +1 -20
  113. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/sk_dlg.js +1 -20
  114. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/sl_dlg.js +1 -0
  115. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/sv_dlg.js +1 -20
  116. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/zh-cn_dlg.js +1 -0
  117. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/editor_plugin.js +1 -1
  118. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/editor_plugin_src.js +21 -4
  119. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/fullpage.htm +2 -2
  120. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/js/fullpage.js +38 -17
  121. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ca_dlg.js +1 -85
  122. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/cs_dlg.js +1 -85
  123. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/da_dlg.js +1 -0
  124. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/en_dlg.js +1 -85
  125. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/fi_dlg.js +1 -0
  126. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/fr_dlg.js +1 -85
  127. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/hu_dlg.js +1 -85
  128. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ja_dlg.js +1 -85
  129. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ka_dlg.js +1 -85
  130. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/km_dlg.js +1 -0
  131. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/nb_dlg.js +1 -0
  132. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/no_dlg.js +1 -0
  133. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/pl_dlg.js +1 -85
  134. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/pt_dlg.js +1 -85
  135. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ru_dlg.js +1 -85
  136. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/sk_dlg.js +1 -85
  137. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/sl_dlg.js +1 -0
  138. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/sv_dlg.js +1 -85
  139. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/zh-cn_dlg.js +1 -0
  140. data/lib/tiny_mce/assets/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -1
  141. data/lib/tiny_mce/assets/tiny_mce/plugins/fullscreen/editor_plugin_src.js +11 -3
  142. data/lib/tiny_mce/assets/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -1
  143. data/lib/tiny_mce/assets/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +76 -15
  144. data/lib/tiny_mce/assets/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +1 -1
  145. data/lib/tiny_mce/assets/tiny_mce/plugins/layer/editor_plugin.js +1 -1
  146. data/lib/tiny_mce/assets/tiny_mce/plugins/layer/editor_plugin_src.js +2 -0
  147. data/lib/tiny_mce/assets/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -1
  148. data/lib/tiny_mce/assets/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +29 -26
  149. data/lib/tiny_mce/assets/tiny_mce/plugins/media/css/media.css +5 -4
  150. data/lib/tiny_mce/assets/tiny_mce/plugins/media/editor_plugin.js +1 -1
  151. data/lib/tiny_mce/assets/tiny_mce/plugins/media/editor_plugin_src.js +652 -296
  152. data/lib/tiny_mce/assets/tiny_mce/plugins/media/js/media.js +308 -598
  153. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ca_dlg.js +1 -103
  154. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/cs_dlg.js +1 -103
  155. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/da_dlg.js +1 -0
  156. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/en_dlg.js +1 -103
  157. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/fi_dlg.js +1 -0
  158. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/fr_dlg.js +1 -103
  159. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/hu_dlg.js +1 -103
  160. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ja_dlg.js +1 -103
  161. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ka_dlg.js +1 -103
  162. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/km_dlg.js +1 -0
  163. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/nb_dlg.js +1 -0
  164. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/no_dlg.js +1 -0
  165. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/pl_dlg.js +1 -103
  166. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/pt_dlg.js +1 -103
  167. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ru_dlg.js +1 -103
  168. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/sk_dlg.js +1 -103
  169. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/sl_dlg.js +1 -0
  170. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/sv_dlg.js +1 -103
  171. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/zh-cn_dlg.js +1 -0
  172. data/lib/tiny_mce/assets/tiny_mce/plugins/media/media.htm +282 -287
  173. data/lib/tiny_mce/assets/tiny_mce/plugins/media/moxieplayer.swf +0 -0
  174. data/lib/tiny_mce/assets/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -1
  175. data/lib/tiny_mce/assets/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +1 -1
  176. data/lib/tiny_mce/assets/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -1
  177. data/lib/tiny_mce/assets/tiny_mce/plugins/pagebreak/editor_plugin_src.js +1 -4
  178. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/editor_plugin.js +1 -1
  179. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/editor_plugin_src.js +68 -109
  180. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ca_dlg.js +1 -5
  181. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/cs_dlg.js +1 -5
  182. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/da_dlg.js +1 -0
  183. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/en_dlg.js +1 -5
  184. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/fi_dlg.js +1 -0
  185. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/fr_dlg.js +1 -5
  186. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/hu_dlg.js +1 -5
  187. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ja_dlg.js +1 -5
  188. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ka_dlg.js +1 -5
  189. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/km_dlg.js +1 -0
  190. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/nb_dlg.js +1 -0
  191. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/no_dlg.js +1 -0
  192. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/pl_dlg.js +1 -5
  193. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/pt_dlg.js +1 -5
  194. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ru_dlg.js +1 -5
  195. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/sk_dlg.js +1 -5
  196. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/sl_dlg.js +1 -0
  197. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/sv_dlg.js +1 -5
  198. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/zh-cn_dlg.js +1 -0
  199. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -1
  200. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/editor_plugin_src.js +4 -0
  201. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/js/searchreplace.js +16 -6
  202. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ca_dlg.js +1 -16
  203. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/cs_dlg.js +1 -16
  204. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/da_dlg.js +1 -0
  205. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/en_dlg.js +1 -16
  206. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/fi_dlg.js +1 -0
  207. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/fr_dlg.js +1 -16
  208. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/hu_dlg.js +1 -16
  209. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ja_dlg.js +1 -16
  210. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ka_dlg.js +1 -16
  211. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/km_dlg.js +1 -0
  212. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/nb_dlg.js +1 -0
  213. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/no_dlg.js +1 -0
  214. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/pl_dlg.js +1 -16
  215. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/pt_dlg.js +1 -16
  216. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ru_dlg.js +1 -16
  217. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/sk_dlg.js +1 -16
  218. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/sl_dlg.js +1 -0
  219. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/sv_dlg.js +1 -16
  220. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/zh-cn_dlg.js +1 -0
  221. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/searchreplace.htm +17 -16
  222. data/lib/tiny_mce/assets/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -1
  223. data/lib/tiny_mce/assets/tiny_mce/plugins/spellchecker/editor_plugin_src.js +16 -16
  224. data/lib/tiny_mce/assets/tiny_mce/plugins/style/js/props.js +2 -8
  225. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ca_dlg.js +1 -63
  226. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/cs_dlg.js +1 -63
  227. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/da_dlg.js +1 -0
  228. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/en_dlg.js +1 -63
  229. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/fi_dlg.js +1 -0
  230. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/fr_dlg.js +1 -63
  231. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/hu_dlg.js +1 -63
  232. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ja_dlg.js +1 -63
  233. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ka_dlg.js +1 -63
  234. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/km_dlg.js +1 -0
  235. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/nb_dlg.js +1 -0
  236. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/no_dlg.js +1 -0
  237. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/pl_dlg.js +1 -63
  238. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/pt_dlg.js +1 -63
  239. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ru_dlg.js +1 -63
  240. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/sk_dlg.js +1 -63
  241. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/sl_dlg.js +1 -0
  242. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/sv_dlg.js +1 -63
  243. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/zh-cn_dlg.js +1 -0
  244. data/lib/tiny_mce/assets/tiny_mce/plugins/style/props.htm +513 -398
  245. data/lib/tiny_mce/assets/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -1
  246. data/lib/tiny_mce/assets/tiny_mce/plugins/tabfocus/editor_plugin_src.js +30 -28
  247. data/lib/tiny_mce/assets/tiny_mce/plugins/table/cell.htm +12 -12
  248. data/lib/tiny_mce/assets/tiny_mce/plugins/table/editor_plugin.js +1 -1
  249. data/lib/tiny_mce/assets/tiny_mce/plugins/table/editor_plugin_src.js +80 -22
  250. data/lib/tiny_mce/assets/tiny_mce/plugins/table/js/cell.js +9 -11
  251. data/lib/tiny_mce/assets/tiny_mce/plugins/table/js/row.js +13 -18
  252. data/lib/tiny_mce/assets/tiny_mce/plugins/table/js/table.js +17 -16
  253. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ca_dlg.js +1 -74
  254. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/cs_dlg.js +1 -74
  255. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/da_dlg.js +1 -0
  256. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/en_dlg.js +1 -74
  257. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/fi_dlg.js +1 -0
  258. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/fr_dlg.js +1 -74
  259. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/hu_dlg.js +1 -74
  260. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ja_dlg.js +1 -74
  261. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ka_dlg.js +1 -74
  262. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/km_dlg.js +1 -0
  263. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/nb_dlg.js +1 -0
  264. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/no_dlg.js +1 -0
  265. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/pl_dlg.js +1 -74
  266. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/pt_dlg.js +1 -74
  267. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ru_dlg.js +1 -74
  268. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/sk_dlg.js +1 -74
  269. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/sl_dlg.js +1 -0
  270. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/sv_dlg.js +1 -73
  271. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/zh-cn_dlg.js +1 -0
  272. data/lib/tiny_mce/assets/tiny_mce/plugins/table/merge_cells.htm +11 -11
  273. data/lib/tiny_mce/assets/tiny_mce/plugins/table/row.htm +10 -8
  274. data/lib/tiny_mce/assets/tiny_mce/plugins/table/table.htm +54 -53
  275. data/lib/tiny_mce/assets/tiny_mce/plugins/template/js/template.js +1 -1
  276. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ca_dlg.js +1 -15
  277. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/cs_dlg.js +1 -15
  278. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/da_dlg.js +1 -0
  279. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/en_dlg.js +1 -15
  280. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/fi_dlg.js +1 -0
  281. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/fr_dlg.js +1 -15
  282. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/hu_dlg.js +1 -15
  283. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ja_dlg.js +1 -15
  284. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ka_dlg.js +1 -15
  285. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/km_dlg.js +1 -0
  286. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/nb_dlg.js +1 -0
  287. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/no_dlg.js +1 -0
  288. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/pl_dlg.js +1 -15
  289. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/pt_dlg.js +1 -15
  290. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ru_dlg.js +1 -15
  291. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/sk_dlg.js +1 -15
  292. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/sl_dlg.js +1 -0
  293. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/sv_dlg.js +1 -15
  294. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/zh-cn_dlg.js +1 -0
  295. data/lib/tiny_mce/assets/tiny_mce/plugins/visualchars/editor_plugin.js +1 -1
  296. data/lib/tiny_mce/assets/tiny_mce/plugins/visualchars/editor_plugin_src.js +20 -13
  297. data/lib/tiny_mce/assets/tiny_mce/plugins/wordcount/editor_plugin.js +1 -1
  298. data/lib/tiny_mce/assets/tiny_mce/plugins/wordcount/editor_plugin_src.js +35 -19
  299. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/abbr.htm +6 -5
  300. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/acronym.htm +6 -5
  301. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/attributes.htm +6 -5
  302. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/cite.htm +5 -4
  303. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/del.htm +9 -8
  304. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -1
  305. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +0 -12
  306. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/ins.htm +11 -10
  307. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/js/attributes.js +0 -1
  308. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/js/del.js +2 -12
  309. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/js/element_common.js +3 -5
  310. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/js/ins.js +4 -13
  311. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ca_dlg.js +1 -32
  312. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/cs_dlg.js +1 -32
  313. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/da_dlg.js +1 -0
  314. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +1 -32
  315. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/fi_dlg.js +1 -0
  316. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/fr_dlg.js +1 -32
  317. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js +1 -32
  318. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js +1 -32
  319. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ka_dlg.js +1 -32
  320. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/km_dlg.js +1 -0
  321. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/nb_dlg.js +1 -0
  322. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/no_dlg.js +1 -0
  323. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/pl_dlg.js +1 -32
  324. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/pt_dlg.js +1 -32
  325. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ru_dlg.js +1 -32
  326. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/sk_dlg.js +1 -32
  327. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/sl_dlg.js +1 -0
  328. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/sv_dlg.js +1 -32
  329. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/zh-cn_dlg.js +1 -0
  330. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/about.htm +3 -5
  331. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/anchor.htm +5 -5
  332. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/charmap.htm +39 -40
  333. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/color_picker.htm +10 -9
  334. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/editor_template.js +1 -1
  335. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/editor_template_src.js +204 -52
  336. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/image.htm +51 -51
  337. data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/flash.gif +0 -0
  338. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/img/iframe.gif +0 -0
  339. data/lib/tiny_mce/assets/tiny_mce/{plugins/pagebreak → themes/advanced}/img/pagebreak.gif +0 -0
  340. data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/quicktime.gif +0 -0
  341. data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/realmedia.gif +0 -0
  342. data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/shockwave.gif +0 -0
  343. data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/trans.gif +0 -0
  344. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/img/video.gif +0 -0
  345. data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/windowsmedia.gif +0 -0
  346. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/about.js +1 -0
  347. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/anchor.js +5 -0
  348. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/charmap.js +23 -4
  349. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/color_picker.js +108 -32
  350. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/image.js +3 -1
  351. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/link.js +4 -7
  352. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/source_editor.js +6 -12
  353. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ca.js +1 -62
  354. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ca_dlg.js +1 -51
  355. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/cs.js +1 -62
  356. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/cs_dlg.js +1 -51
  357. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/da.js +1 -0
  358. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/da_dlg.js +1 -0
  359. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/en.js +1 -62
  360. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/en_dlg.js +1 -51
  361. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/fi.js +1 -0
  362. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/fi_dlg.js +1 -0
  363. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/fr.js +1 -62
  364. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/fr_dlg.js +1 -51
  365. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hu.js +1 -62
  366. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hu_dlg.js +1 -51
  367. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ja.js +1 -62
  368. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ja_dlg.js +1 -51
  369. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ka.js +1 -62
  370. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ka_dlg.js +1 -51
  371. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/km.js +1 -0
  372. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/km_dlg.js +1 -0
  373. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/nb.js +1 -0
  374. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/nb_dlg.js +1 -0
  375. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/no.js +1 -0
  376. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/no_dlg.js +1 -0
  377. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/pl.js +1 -62
  378. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/pl_dlg.js +1 -51
  379. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/pt.js +1 -62
  380. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/pt_dlg.js +1 -51
  381. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ru.js +1 -62
  382. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ru_dlg.js +1 -51
  383. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sk.js +1 -62
  384. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sk_dlg.js +1 -51
  385. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sl.js +1 -0
  386. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sl_dlg.js +1 -0
  387. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sv.js +1 -60
  388. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sv_dlg.js +1 -51
  389. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/zh-cn.js +1 -0
  390. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/zh-cn_dlg.js +1 -0
  391. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/link.htm +27 -28
  392. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/shortcuts.htm +47 -0
  393. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/default/content.css +12 -0
  394. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/default/ui.css +3 -3
  395. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/highcontrast/content.css +23 -0
  396. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +105 -0
  397. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/highcontrast/ui.css +101 -0
  398. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/o2k7/content.css +11 -0
  399. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/o2k7/ui.css +1 -1
  400. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/source_editor.htm +3 -3
  401. data/lib/tiny_mce/assets/tiny_mce/themes/simple/editor_template.js +1 -1
  402. data/lib/tiny_mce/assets/tiny_mce/themes/simple/editor_template_src.js +1 -2
  403. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ca.js +1 -11
  404. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/cs.js +1 -11
  405. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/da.js +1 -0
  406. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/en.js +1 -11
  407. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/fi.js +1 -0
  408. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/fr.js +1 -11
  409. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/hu.js +1 -11
  410. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ja.js +1 -11
  411. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ka.js +1 -11
  412. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/km.js +1 -0
  413. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/nb.js +1 -0
  414. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/no.js +1 -0
  415. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/pl.js +1 -11
  416. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/pt.js +1 -11
  417. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ru.js +1 -11
  418. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/sk.js +1 -11
  419. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/sl.js +1 -0
  420. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/sv.js +1 -11
  421. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/zh-cn.js +1 -0
  422. data/lib/tiny_mce/assets/tiny_mce/tiny_mce.js +1 -1
  423. data/lib/tiny_mce/assets/tiny_mce/tiny_mce_popup.js +1 -1
  424. data/lib/tiny_mce/assets/tiny_mce/tiny_mce_src.js +6062 -5297
  425. data/lib/tiny_mce/assets/tiny_mce/utils/form_utils.js +10 -3
  426. data/lib/tiny_mce/assets/tiny_mce/utils/mctabs.js +95 -10
  427. data/lib/tiny_mce/assets/tiny_mce/utils/validate.js +34 -2
  428. data/lib/tiny_mce/base.rb +9 -1
  429. data/lib/tiny_mce/configuration.rb +11 -1
  430. data/lib/tiny_mce/helpers.rb +38 -6
  431. data/lib/tiny_mce/valid_tinymce_langs.yml +9 -19
  432. data/lib/tiny_mce/valid_tinymce_options.yml +1 -0
  433. data/test/test_helper.rb +1 -1
  434. data/tiny_mce.gemspec +4 -3
  435. metadata +148 -288
  436. data/lib/tiny_mce/assets/tiny_mce/langs/ar.js +0 -170
  437. data/lib/tiny_mce/assets/tiny_mce/langs/ch.js +0 -178
  438. data/lib/tiny_mce/assets/tiny_mce/langs/cy.js +0 -170
  439. data/lib/tiny_mce/assets/tiny_mce/langs/de.js +0 -171
  440. data/lib/tiny_mce/assets/tiny_mce/langs/es.js +0 -172
  441. data/lib/tiny_mce/assets/tiny_mce/langs/he.js +0 -170
  442. data/lib/tiny_mce/assets/tiny_mce/langs/hi.js +0 -170
  443. data/lib/tiny_mce/assets/tiny_mce/langs/hr.js +0 -171
  444. data/lib/tiny_mce/assets/tiny_mce/langs/it.js +0 -206
  445. data/lib/tiny_mce/assets/tiny_mce/langs/kl.js +0 -170
  446. data/lib/tiny_mce/assets/tiny_mce/langs/ko.js +0 -170
  447. data/lib/tiny_mce/assets/tiny_mce/langs/lb.js +0 -171
  448. data/lib/tiny_mce/assets/tiny_mce/langs/nl.js +0 -170
  449. data/lib/tiny_mce/assets/tiny_mce/langs/ta.js +0 -170
  450. data/lib/tiny_mce/assets/tiny_mce/langs/uk.js +0 -173
  451. data/lib/tiny_mce/assets/tiny_mce/langs/vi.js +0 -170
  452. data/lib/tiny_mce/assets/tiny_mce/langs/zh.js +0 -178
  453. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ar_dlg.js +0 -5
  454. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ch_dlg.js +0 -5
  455. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/cy_dlg.js +0 -5
  456. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/de_dlg.js +0 -5
  457. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/es_dlg.js +0 -5
  458. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/he_dlg.js +0 -5
  459. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/hi_dlg.js +0 -5
  460. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/hr_dlg.js +0 -5
  461. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/it_dlg.js +0 -5
  462. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/kl_dlg.js +0 -5
  463. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ko_dlg.js +0 -5
  464. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/lb_dlg.js +0 -5
  465. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/nl_dlg.js +0 -5
  466. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ta_dlg.js +0 -5
  467. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/uk_dlg.js +0 -5
  468. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/vi_dlg.js +0 -5
  469. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/zh_dlg.js +0 -5
  470. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ar_dlg.js +0 -43
  471. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ch_dlg.js +0 -43
  472. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/cy_dlg.js +0 -43
  473. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/de_dlg.js +0 -43
  474. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/es_dlg.js +0 -43
  475. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/he_dlg.js +0 -43
  476. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/hi_dlg.js +0 -43
  477. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/hr_dlg.js +0 -43
  478. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/it_dlg.js +0 -43
  479. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/kl_dlg.js +0 -43
  480. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ko_dlg.js +0 -43
  481. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/lb_dlg.js +0 -43
  482. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/nl_dlg.js +0 -43
  483. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ta_dlg.js +0 -43
  484. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/uk_dlg.js +0 -43
  485. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/vi_dlg.js +0 -43
  486. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/zh_dlg.js +0 -43
  487. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ar_dlg.js +0 -52
  488. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ch_dlg.js +0 -52
  489. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/cy_dlg.js +0 -52
  490. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/de_dlg.js +0 -52
  491. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/es_dlg.js +0 -52
  492. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/he_dlg.js +0 -52
  493. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/hi_dlg.js +0 -52
  494. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/hr_dlg.js +0 -52
  495. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/it_dlg.js +0 -52
  496. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/kl_dlg.js +0 -52
  497. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ko_dlg.js +0 -52
  498. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/lb_dlg.js +0 -52
  499. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/nl_dlg.js +0 -52
  500. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ta_dlg.js +0 -52
  501. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/uk_dlg.js +0 -52
  502. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/vi_dlg.js +0 -52
  503. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/zh_dlg.js +0 -52
  504. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ar_dlg.js +0 -20
  505. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ch_dlg.js +0 -20
  506. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/cy_dlg.js +0 -20
  507. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/de_dlg.js +0 -20
  508. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/es_dlg.js +0 -20
  509. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/he_dlg.js +0 -20
  510. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/hi_dlg.js +0 -20
  511. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/hr_dlg.js +0 -20
  512. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/it_dlg.js +0 -20
  513. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/kl_dlg.js +0 -20
  514. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ko_dlg.js +0 -20
  515. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/lb_dlg.js +0 -20
  516. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/nl_dlg.js +0 -20
  517. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ta_dlg.js +0 -20
  518. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/uk_dlg.js +0 -20
  519. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/vi_dlg.js +0 -20
  520. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/zh_dlg.js +0 -20
  521. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ar_dlg.js +0 -85
  522. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ch_dlg.js +0 -85
  523. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/cy_dlg.js +0 -85
  524. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/de_dlg.js +0 -85
  525. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/es_dlg.js +0 -85
  526. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/he_dlg.js +0 -85
  527. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/hi_dlg.js +0 -85
  528. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/hr_dlg.js +0 -85
  529. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/it_dlg.js +0 -85
  530. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/kl_dlg.js +0 -85
  531. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ko_dlg.js +0 -85
  532. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/lb_dlg.js +0 -85
  533. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/nl_dlg.js +0 -85
  534. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ta_dlg.js +0 -85
  535. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/uk_dlg.js +0 -85
  536. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/vi_dlg.js +0 -85
  537. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/zh_dlg.js +0 -85
  538. data/lib/tiny_mce/assets/tiny_mce/plugins/media/css/content.css +0 -6
  539. data/lib/tiny_mce/assets/tiny_mce/plugins/media/img/flv_player.swf +0 -0
  540. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ar_dlg.js +0 -103
  541. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ch_dlg.js +0 -103
  542. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/cy_dlg.js +0 -103
  543. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/de_dlg.js +0 -103
  544. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/es_dlg.js +0 -103
  545. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/he_dlg.js +0 -103
  546. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/hi_dlg.js +0 -103
  547. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/hr_dlg.js +0 -103
  548. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/it_dlg.js +0 -103
  549. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/kl_dlg.js +0 -103
  550. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ko_dlg.js +0 -103
  551. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/lb_dlg.js +0 -103
  552. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/nl_dlg.js +0 -103
  553. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ta_dlg.js +0 -103
  554. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/uk_dlg.js +0 -103
  555. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/vi_dlg.js +0 -103
  556. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/zh_dlg.js +0 -103
  557. data/lib/tiny_mce/assets/tiny_mce/plugins/pagebreak/css/content.css +0 -1
  558. data/lib/tiny_mce/assets/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
  559. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ar_dlg.js +0 -5
  560. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ch_dlg.js +0 -5
  561. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/cy_dlg.js +0 -5
  562. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/de_dlg.js +0 -5
  563. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/es_dlg.js +0 -5
  564. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/he_dlg.js +0 -5
  565. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/hi_dlg.js +0 -5
  566. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/hr_dlg.js +0 -5
  567. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/it_dlg.js +0 -5
  568. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/kl_dlg.js +0 -5
  569. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ko_dlg.js +0 -5
  570. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/lb_dlg.js +0 -5
  571. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/nl_dlg.js +0 -5
  572. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ta_dlg.js +0 -5
  573. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/uk_dlg.js +0 -5
  574. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/vi_dlg.js +0 -5
  575. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/zh_dlg.js +0 -5
  576. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ar_dlg.js +0 -16
  577. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ch_dlg.js +0 -16
  578. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/cy_dlg.js +0 -16
  579. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/de_dlg.js +0 -16
  580. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/es_dlg.js +0 -16
  581. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/he_dlg.js +0 -16
  582. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/hi_dlg.js +0 -16
  583. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/hr_dlg.js +0 -16
  584. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/it_dlg.js +0 -16
  585. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/kl_dlg.js +0 -16
  586. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ko_dlg.js +0 -16
  587. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/lb_dlg.js +0 -16
  588. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/nl_dlg.js +0 -16
  589. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ta_dlg.js +0 -16
  590. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/uk_dlg.js +0 -16
  591. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/vi_dlg.js +0 -16
  592. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/zh_dlg.js +0 -16
  593. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ar_dlg.js +0 -63
  594. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ch_dlg.js +0 -63
  595. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/cy_dlg.js +0 -63
  596. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/de_dlg.js +0 -63
  597. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/es_dlg.js +0 -63
  598. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/he_dlg.js +0 -63
  599. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/hi_dlg.js +0 -63
  600. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/hr_dlg.js +0 -63
  601. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/it_dlg.js +0 -63
  602. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/kl_dlg.js +0 -63
  603. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ko_dlg.js +0 -63
  604. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/lb_dlg.js +0 -63
  605. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/nl_dlg.js +0 -63
  606. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ta_dlg.js +0 -63
  607. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/uk_dlg.js +0 -63
  608. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/vi_dlg.js +0 -63
  609. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/zh_dlg.js +0 -63
  610. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ar_dlg.js +0 -74
  611. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ch_dlg.js +0 -74
  612. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/cy_dlg.js +0 -74
  613. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/de_dlg.js +0 -74
  614. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/es_dlg.js +0 -74
  615. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/he_dlg.js +0 -74
  616. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/hi_dlg.js +0 -74
  617. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/hr_dlg.js +0 -74
  618. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/it_dlg.js +0 -74
  619. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/kl_dlg.js +0 -74
  620. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ko_dlg.js +0 -74
  621. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/lb_dlg.js +0 -74
  622. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/nl_dlg.js +0 -74
  623. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ta_dlg.js +0 -74
  624. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/uk_dlg.js +0 -74
  625. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/vi_dlg.js +0 -74
  626. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/zh_dlg.js +0 -74
  627. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ar_dlg.js +0 -15
  628. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ch_dlg.js +0 -15
  629. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/cy_dlg.js +0 -15
  630. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/de_dlg.js +0 -15
  631. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/es_dlg.js +0 -15
  632. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/he_dlg.js +0 -15
  633. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/hi_dlg.js +0 -15
  634. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/hr_dlg.js +0 -15
  635. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/it_dlg.js +0 -15
  636. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/kl_dlg.js +0 -15
  637. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ko_dlg.js +0 -15
  638. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/lb_dlg.js +0 -15
  639. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/nl_dlg.js +0 -15
  640. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ta_dlg.js +0 -15
  641. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/uk_dlg.js +0 -15
  642. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/vi_dlg.js +0 -15
  643. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/zh_dlg.js +0 -15
  644. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ar_dlg.js +0 -32
  645. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ch_dlg.js +0 -32
  646. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/cy_dlg.js +0 -32
  647. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +0 -32
  648. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/es_dlg.js +0 -32
  649. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/he_dlg.js +0 -32
  650. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/hi_dlg.js +0 -32
  651. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/hr_dlg.js +0 -32
  652. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/it_dlg.js +0 -32
  653. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/kl_dlg.js +0 -32
  654. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ko_dlg.js +0 -32
  655. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/lb_dlg.js +0 -32
  656. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/nl_dlg.js +0 -32
  657. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ta_dlg.js +0 -32
  658. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/uk_dlg.js +0 -32
  659. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/vi_dlg.js +0 -32
  660. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/zh_dlg.js +0 -32
  661. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ar.js +0 -62
  662. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ar_dlg.js +0 -51
  663. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ch.js +0 -64
  664. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ch_dlg.js +0 -51
  665. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/cy.js +0 -62
  666. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/cy_dlg.js +0 -51
  667. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/de.js +0 -63
  668. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/de_dlg.js +0 -51
  669. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/es.js +0 -62
  670. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/es_dlg.js +0 -51
  671. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/he.js +0 -62
  672. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/he_dlg.js +0 -51
  673. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hi.js +0 -62
  674. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hi_dlg.js +0 -51
  675. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hr.js +0 -62
  676. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hr_dlg.js +0 -51
  677. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/it.js +0 -72
  678. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/it_dlg.js +0 -51
  679. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/kl.js +0 -62
  680. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/kl_dlg.js +0 -51
  681. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ko.js +0 -62
  682. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ko_dlg.js +0 -51
  683. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/lb.js +0 -63
  684. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/lb_dlg.js +0 -51
  685. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/nl.js +0 -62
  686. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/nl_dlg.js +0 -51
  687. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ta.js +0 -62
  688. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ta_dlg.js +0 -51
  689. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/uk.js +0 -62
  690. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/uk_dlg.js +0 -51
  691. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/vi.js +0 -62
  692. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/vi_dlg.js +0 -51
  693. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/zh.js +0 -64
  694. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/zh_dlg.js +0 -51
  695. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ar.js +0 -11
  696. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ch.js +0 -11
  697. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/cy.js +0 -11
  698. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/de.js +0 -11
  699. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/es.js +0 -11
  700. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/he.js +0 -11
  701. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/hi.js +0 -11
  702. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/hr.js +0 -11
  703. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/it.js +0 -11
  704. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/kl.js +0 -11
  705. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ko.js +0 -11
  706. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/lb.js +0 -11
  707. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/nl.js +0 -11
  708. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ta.js +0 -11
  709. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/uk.js +0 -11
  710. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/vi.js +0 -11
  711. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/zh.js +0 -11
@@ -1,5 +1 @@
1
- tinyMCE.addI18n('sv.paste_dlg',{
2
- text_title:"Anv\u00E4nd ctrl-v p\u00E5 ditt tangentbord f\u00F6r att klistra in i detta f\u00F6nster.",
3
- text_linebreaks:"Spara radbrytningar",
4
- word_title:"Anv\u00E4nd ctrl-v p\u00E5 ditt tangentbord f\u00F6r att klistra in i detta f\u00F6nster."
5
- });
1
+ tinyMCE.addI18n('sv.paste_dlg',{"word_title":"Anv\u00e4nd ctrl-v p\u00e5 ditt tangentbord f\u00f6r att klistra in i detta f\u00f6nster.","text_linebreaks":"Spara radbrytningar","text_title":"Anv\u00e4nd ctrl-v p\u00e5 ditt tangentbord f\u00f6r att klistra in i detta f\u00f6nster."});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('zh-cn.paste_dlg',{"word_title":"\u4f7f\u7528CTRL V\u7c98\u8d34\u6587\u672c\u5230\u7a97\u53e3\u4e2d\u3002","text_linebreaks":"\u4fdd\u7559\u65ad\u884c","text_title":"\u4f7f\u7528CTRL V\u7c98\u8d34\u6587\u672c\u5230\u7a97\u53e3\u4e2d\u3002"});
@@ -1 +1 @@
1
- (function(){tinymce.create("tinymce.plugins.SearchReplacePlugin",{init:function(a,c){function b(d){a.windowManager.open({file:c+"/searchreplace.htm",width:420+parseInt(a.getLang("searchreplace.delta_width",0)),height:170+parseInt(a.getLang("searchreplace.delta_height",0)),inline:1,auto_focus:0},{mode:d,search_string:a.selection.getContent({format:"text"}),plugin_url:c})}a.addCommand("mceSearch",function(){b("search")});a.addCommand("mceReplace",function(){b("replace")});a.addButton("search",{title:"searchreplace.search_desc",cmd:"mceSearch"});a.addButton("replace",{title:"searchreplace.replace_desc",cmd:"mceReplace"});a.addShortcut("ctrl+f","searchreplace.search_desc","mceSearch")},getInfo:function(){return{longname:"Search/Replace",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("searchreplace",tinymce.plugins.SearchReplacePlugin)})();
1
+ (function(){tinymce.create("tinymce.plugins.SearchReplacePlugin",{init:function(a,c){function b(d){window.focus();a.windowManager.open({file:c+"/searchreplace.htm",width:420+parseInt(a.getLang("searchreplace.delta_width",0)),height:170+parseInt(a.getLang("searchreplace.delta_height",0)),inline:1,auto_focus:0},{mode:d,search_string:a.selection.getContent({format:"text"}),plugin_url:c})}a.addCommand("mceSearch",function(){b("search")});a.addCommand("mceReplace",function(){b("replace")});a.addButton("search",{title:"searchreplace.search_desc",cmd:"mceSearch"});a.addButton("replace",{title:"searchreplace.replace_desc",cmd:"mceReplace"});a.addShortcut("ctrl+f","searchreplace.search_desc","mceSearch")},getInfo:function(){return{longname:"Search/Replace",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("searchreplace",tinymce.plugins.SearchReplacePlugin)})();
@@ -12,6 +12,10 @@
12
12
  tinymce.create('tinymce.plugins.SearchReplacePlugin', {
13
13
  init : function(ed, url) {
14
14
  function open(m) {
15
+ // Keep IE from writing out the f/r character to the editor
16
+ // instance while initializing a new dialog. See: #3131190
17
+ window.focus();
18
+
15
19
  ed.windowManager.open({
16
20
  file : url + '/searchreplace.htm',
17
21
  width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)),
@@ -2,14 +2,18 @@ tinyMCEPopup.requireLangPack();
2
2
 
3
3
  var SearchReplaceDialog = {
4
4
  init : function(ed) {
5
- var f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode");
5
+ var t = this, f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode");
6
6
 
7
- this.switchMode(m);
7
+ t.switchMode(m);
8
8
 
9
9
  f[m + '_panel_searchstring'].value = tinyMCEPopup.getWindowArg("search_string");
10
10
 
11
11
  // Focus input field
12
12
  f[m + '_panel_searchstring'].focus();
13
+
14
+ mcTabs.onChange.add(function(tab_id, panel_id) {
15
+ t.switchMode(tab_id.substring(0, tab_id.indexOf('_')));
16
+ });
13
17
  },
14
18
 
15
19
  switchMode : function(m) {
@@ -42,21 +46,23 @@ var SearchReplaceDialog = {
42
46
  ca = f[m + '_panel_casesensitivebox'].checked;
43
47
  rs = f['replace_panel_replacestring'].value;
44
48
 
49
+ if (tinymce.isIE) {
50
+ r = ed.getDoc().selection.createRange();
51
+ }
52
+
45
53
  if (s == '')
46
54
  return;
47
55
 
48
56
  function fix() {
49
57
  // Correct Firefox graphics glitches
58
+ // TODO: Verify if this is actually needed any more, maybe it was for very old FF versions?
50
59
  r = se.getRng().cloneRange();
51
60
  ed.getDoc().execCommand('SelectAll', false, null);
52
61
  se.setRng(r);
53
62
  };
54
63
 
55
64
  function replace() {
56
- if (tinymce.isIE)
57
- ed.selection.getRng().duplicate().pasteHTML(rs); // Needs to be duplicated due to selection bug in IE
58
- else
59
- ed.getDoc().execCommand('InsertHTML', false, rs);
65
+ ed.selection.setContent(rs); // Needs to be duplicated due to selection bug in IE
60
66
  };
61
67
 
62
68
  // IE flags
@@ -106,6 +112,10 @@ var SearchReplaceDialog = {
106
112
  se.collapse(b);
107
113
  r = se.getRng();
108
114
 
115
+ if (tinymce.isIE) {
116
+ r = ed.getDoc().selection.createRange();
117
+ }
118
+
109
119
  // Whats the point
110
120
  if (!s)
111
121
  return;
@@ -1,16 +1 @@
1
- tinyMCE.addI18n('ca.searchreplace_dlg',{
2
- searchnext_desc:"Cerca de nou",
3
- notfound:"S\'ha completat la cerca. No s\'ha trobat la cadena cercada.",
4
- search_title:"Cerca",
5
- replace_title:"Cerca/Reempla\u00E7a",
6
- allreplaced:"S\'han reempla\u00E7at totes les ocurr\u00E8ncies de la cadena cercada.",
7
- findwhat:"Cerca",
8
- replacewith:"Reempla\u00E7a amb",
9
- direction:"Direcci\u00F3",
10
- up:"Amunt",
11
- down:"Avall",
12
- mcase:"Distingeix maj\u00FAscules/min\u00FAscules",
13
- findnext:"Seg\u00FCent",
14
- replace:"Reempla\u00E7a",
15
- replaceall:"Reempla\u00E7a-ho tot"
16
- });
1
+ tinyMCE.addI18n('ca.searchreplace_dlg',{findwhat:"Cerca",replacewith:"Reempla\u00e7a amb",direction:"Direcci\u00f3",up:"Amunt",down:"Avall",mcase:"Distingeix maj\u00fascules/min\u00fascules",findnext:"Seg\u00fcent",allreplaced:"S\'han reempla\u00e7at totes les ocurr\u00e8ncies de la cadena cercada.","searchnext_desc":"Cerca de nou",notfound:"S\'ha completat la cerca. No s\'ha trobat la cadena cercada.","search_title":"Cerca","replace_title":"Cerca/Reempla\u00e7a",replaceall:"Reempla\u00e7a-ho tot",replace:"Reempla\u00e7a"});
@@ -1,16 +1 @@
1
- tinyMCE.addI18n('cs.searchreplace_dlg',{
2
- searchnext_desc:"Naj\u00EDt dal\u0161\u00ED",
3
- notfound:"Hled\u00E1n\u00ED bylo dokon\u010Deno. Hledan\u00FD text nebyl nalezen.",
4
- search_title:"Naj\u00EDt",
5
- replace_title:"Naj\u00EDt/nahradit",
6
- allreplaced:"V\u0161echny v\u00FDskyty byly nahrazeny.",
7
- findwhat:"Co hledat",
8
- replacewith:"\u010C\u00EDm nahradit",
9
- direction:"Sm\u011Br",
10
- up:"Nahoru",
11
- down:"Dol\u016F",
12
- mcase:"Rozli\u0161ovat velikost",
13
- findnext:"Naj\u00EDt dal\u0161\u00ED",
14
- replace:"Nahradit",
15
- replaceall:"Nahradit v\u0161e"
16
- });
1
+ tinyMCE.addI18n('cs.searchreplace_dlg',{findwhat:"Co hledat",replacewith:"\u010c\u00edm nahradit",direction:"Sm\u011br",up:"Nahoru",down:"Dol\u016f",mcase:"Rozli\u0161ovat velikost",findnext:"Naj\u00edt dal\u0161\u00ed",allreplaced:"V\u0161echny v\u00fdskyty byly nahrazeny.",searchnext_desc:"Naj\u00edt dal\u0161\u00ed",notfound:"Hled\u00e1n\u00ed bylo dokon\u010deno. Hledan\u00fd text nebyl nalezen.",search_title:"Naj\u00edt",replace_title:"Naj\u00edt/nahradit",replaceall:"Nahradit v\u0161e",replace:"Nahradit"});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('da.searchreplace_dlg',{findwhat:"S\u00f8g efter",replacewith:"Erstat med",direction:"Retning",up:"Op",down:"Ned",mcase:"Forskel p\u00e5 store og sm\u00e5 bogstaver",findnext:"Find n\u00e6ste",allreplaced:"Alle forekomster af s\u00f8gestrengen er erstattet.",searchnext_desc:"S\u00f8g igen",notfound:"S\u00f8gningen gav intet resultat.",search_title:"S\u00f8g",replace_title:"S\u00f8g / erstat",replaceall:"Erstat alle",replace:"Erstat"});
@@ -1,16 +1 @@
1
- tinyMCE.addI18n('en.searchreplace_dlg',{
2
- searchnext_desc:"Find again",
3
- notfound:"The search has been completed. The search string could not be found.",
4
- search_title:"Find",
5
- replace_title:"Find/Replace",
6
- allreplaced:"All occurrences of the search string were replaced.",
7
- findwhat:"Find what",
8
- replacewith:"Replace with",
9
- direction:"Direction",
10
- up:"Up",
11
- down:"Down",
12
- mcase:"Match case",
13
- findnext:"Find next",
14
- replace:"Replace",
15
- replaceall:"Replace all"
16
- });
1
+ tinyMCE.addI18n('en.searchreplace_dlg',{findwhat:"Find what",replacewith:"Replace with",direction:"Direction",up:"Up",down:"Down",mcase:"Match case",findnext:"Find next",allreplaced:"All occurrences of the search string were replaced.",searchnext_desc:"Find again",notfound:"The search has been completed. The search string could not be found.",search_title:"Find",replace_title:"Find/Replace",replaceall:"Replace all",replace:"Replace"});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('fi.searchreplace_dlg',{findwhat:"Etsit\u00e4\u00e4n",replacewith:"Korvataan",direction:"Suunta",up:"Yl\u00f6s",down:"Alas",mcase:"Huomioi isot ja pienet kirjaimet",findnext:"Etsi seuraavaa",allreplaced:"Kaikki l\u00f6ydetyt merkkijonot korvattiin.",searchnext_desc:"Etsi uudestaan",notfound:"Haku on valmis. Haettua teksti\u00e4 ei l\u00f6ytynyt.",search_title:"Haku",replace_title:"Etsi ja korvaa",replaceall:"Korvaa kaikki",replace:"Korvaa"});
@@ -1,16 +1 @@
1
- tinyMCE.addI18n('fr.searchreplace_dlg',{
2
- searchnext_desc:"Suivant",
3
- notfound:"La recherche est termin\u00E9e. La cha\u00EEne recherch\u00E9e n'a pas \u00E9t\u00E9 trouv\u00E9e.",
4
- search_title:"Rechercher",
5
- replace_title:"Rechercher / remplacer",
6
- allreplaced:"Toutes les occurrences de la cha\u00EEne recherch\u00E9e ont \u00E9t\u00E9 remplac\u00E9es.",
7
- findwhat:"Rechercher ceci",
8
- replacewith:"Remplacer par",
9
- direction:"Direction",
10
- up:"Vers le haut",
11
- down:"Vers le bas",
12
- mcase:"Sensible \u00E0 la casse",
13
- findnext:"Rechercher le suivant",
14
- replace:"Remplacer",
15
- replaceall:"Tout remplacer"
16
- });
1
+ tinyMCE.addI18n('fr.searchreplace_dlg',{findwhat:"Rechercher ceci",replacewith:"Remplacer par",direction:"Direction",up:"Vers le haut",down:"Vers le bas",mcase:"Sensible \u00e0 la casse",findnext:"Rechercher le suivant",allreplaced:"Toutes les occurrences de la cha\u00eene recherch\u00e9e ont \u00e9t\u00e9 remplac\u00e9es.",searchnext_desc:"Suivant",notfound:"La recherche est termin\u00e9e. La cha\u00eene recherch\u00e9e n\'a pas \u00e9t\u00e9 trouv\u00e9e.",search_title:"Rechercher",replace_title:"Rechercher / remplacer",replaceall:"Tout remplacer",replace:"Remplacer"});
@@ -1,16 +1 @@
1
- tinyMCE.addI18n('hu.searchreplace_dlg',{
2
- searchnext_desc:"Keres\u00E9s megint",
3
- notfound:"A keres\u00E9s v\u00E9get \u00E9rt. A keresett sz\u00F6vegr\u00E9sz nem tal\u00E1lhat\u00F3.",
4
- search_title:"Keres\u00E9s",
5
- replace_title:"Keres\u00E9s/Csere",
6
- allreplaced:"A keresett r\u00E9szsz\u00F6veg minden el\u0151fordul\u00E1sa cser\u00E9lve lett.",
7
- findwhat:"Mit cser\u00E9l",
8
- replacewith:"Mire cser\u00E9l",
9
- direction:"Ir\u00E1ny",
10
- up:"Fel",
11
- down:"Le",
12
- mcase:"Kis- \u00E9s nagybet\u0171k megk\u00FCl\u00F6nb\u00F6ztet\u00E9se",
13
- findnext:"Keres\u00E9s",
14
- replace:"Csere",
15
- replaceall:"Minden tal\u00E1lat cser\u00E9je"
16
- });
1
+ tinyMCE.addI18n('hu.searchreplace_dlg',{findwhat:"Mit cser\u00e9l",replacewith:"Mire cser\u00e9l",direction:"Ir\u00e1ny",up:"Fel",down:"Le",mcase:"Kis- \u00e9s nagybet\u0171k megk\u00fcl\u00f6nb\u00f6ztet\u00e9se",findnext:"Keres\u00e9s",allreplaced:"A keresett r\u00e9szsz\u00f6veg minden el\u0151fordul\u00e1sa cser\u00e9lve lett.","searchnext_desc":"Keres\u00e9s megint",notfound:"A keres\u00e9s v\u00e9get \u00e9rt. A keresett sz\u00f6vegr\u00e9sz nem tal\u00e1lhat\u00f3.","search_title":"Keres\u00e9s","replace_title":"Keres\u00e9s/Csere",replaceall:"Minden tal\u00e1lat cser\u00e9je",replace:"Csere"});
@@ -1,16 +1 @@
1
- tinyMCE.addI18n('ja.searchreplace_dlg',{
2
- searchnext_desc:"\u518D\u691C\u7D22",
3
- notfound:"\u6700\u5F8C\u307E\u3067\u691C\u7D22\u3057\u307E\u3057\u305F\u304C\u3001\u691C\u7D22\u6587\u5B57\u5217\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002",
4
- search_title:"\u691C\u7D22",
5
- replace_title:"\u691C\u7D22/\u7F6E\u63DB",
6
- allreplaced:"\u5168\u3066\u7F6E\u63DB\u3055\u308C\u307E\u3057\u305F\u3002",
7
- findwhat:"\u691C\u7D22\u6587\u5B57\u5217",
8
- replacewith:"\u7F6E\u63DB\u6587\u5B57\u5217",
9
- direction:"\u65B9\u5411",
10
- up:"\u4E0A\u3078",
11
- down:"\u4E0B\u3078",
12
- mcase:"\u5927\u6587\u5B57/\u5C0F\u6587\u5B57\u3092\u533A\u5225\u3059\u308B",
13
- findnext:"\u6B21\u3078",
14
- replace:"\u7F6E\u63DB",
15
- replaceall:"\u5168\u3066\u7F6E\u63DB"
16
- });
1
+ tinyMCE.addI18n('ja.searchreplace_dlg',{findwhat:"\u691c\u7d22\u6587\u5b57\u5217",replacewith:"\u7f6e\u63db\u6587\u5b57\u5217",direction:"\u65b9\u5411",up:"\u4e0a\u3078",down:"\u4e0b\u3078",mcase:"\u5927\u6587\u5b57/\u5c0f\u6587\u5b57\u3092\u533a\u5225\u3059\u308b",findnext:"\u6b21\u3078",allreplaced:"\u5168\u3066\u7f6e\u63db\u3055\u308c\u307e\u3057\u305f\u3002","searchnext_desc":"\u518d\u691c\u7d22",notfound:"\u6700\u5f8c\u307e\u3067\u691c\u7d22\u3057\u307e\u3057\u305f\u304c\u3001\u691c\u7d22\u6587\u5b57\u5217\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002","search_title":"\u691c\u7d22","replace_title":"\u691c\u7d22/\u7f6e\u63db",replaceall:"\u5168\u3066\u7f6e\u63db",replace:"\u7f6e\u63db"});
@@ -1,16 +1 @@
1
- tinyMCE.addI18n('ka.searchreplace_dlg',{
2
- searchnext_desc:"\u10D3\u10D0\u10DB\u10D0\u10E2\u10D4\u10D1\u10D8\u10D7 \u10DE\u10DD\u10D5\u10DC\u10D0",
3
- notfound:"\u10EB\u10D4\u10D1\u10DC\u10D0 \u10D3\u10D0\u10E1\u10E0\u10E3\u10DA\u10D4\u10D1\u10E3\u10DA\u10D8\u10D0. \u10E8\u10D4\u10E1\u10D0\u10E2\u10E7\u10D5\u10D8\u10E1\u10D1\u10D8 \u10D0\u10E0 \u10D0\u10E0\u10D8\u10E1 \u10DC\u10D0\u10DE\u10DD\u10D5\u10DC\u10D8.",
4
- search_title:"\u10EB\u10D8\u10D4\u10D1\u10D0",
5
- replace_title:"\u10DB\u10DD\u10EB\u10D4\u10D1\u10DC\u10D0 \u10D3\u10D0 \u10E8\u10D4\u10EA\u10D5\u10DA\u10D0",
6
- allreplaced:"\u10E7\u10D5\u10D4\u10DA\u10D0 \u10DB\u10DC\u10D8\u10E8\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0 \u10E8\u10D4\u10EA\u10D5\u10DA\u10D8\u10DA\u10D8\u10D0.",
7
- findwhat:"\u10EB\u10D4\u10D5\u10DC\u10D0",
8
- replacewith:"\u10E8\u10D4\u10EA\u10D5\u10DA\u10D0 ..",
9
- direction:"\u10DB\u10D8\u10DB\u10D0\u10E0\u10D7\u10E3\u10DA\u10D4\u10D1\u10D0",
10
- up:"\u10D6\u10D4\u10DB\u10DD\u10D7 ",
11
- down:"\u10E5\u10D5\u10D4\u10DB\u10DD\u10D7",
12
- mcase:"\u10E0\u10D4\u10D2\u10D8\u10E1\u10E2\u10E0\u10D8\u10E1 \u10D2\u10D0\u10D7\u10D5\u10D0\u10DA\u10D8\u10E1\u10EC\u10D8\u10DC\u10D4\u10D1\u10D0",
13
- findnext:"\u10D8\u10DE\u10DD\u10D5\u10DC\u10D4 \u10E8\u10D4\u10DB\u10D3\u10D4\u10D2",
14
- replace:"\u10E8\u10D4\u10EA\u10D5\u10DA\u10D0",
15
- replaceall:"\u10E7\u10D5\u10D4\u10DA\u10D0\u10E4\u10D4\u10E0\u10D8\u10E1 \u10E8\u10D4\u10EA\u10D5\u10DA\u10D0"
16
- });
1
+ tinyMCE.addI18n('ka.searchreplace_dlg',{findwhat:"\u10eb\u10d4\u10d5\u10dc\u10d0",replacewith:"\u10e8\u10d4\u10ea\u10d5\u10da\u10d0 ..",direction:"\u10db\u10d8\u10db\u10d0\u10e0\u10d7\u10e3\u10da\u10d4\u10d1\u10d0",up:"\u10d6\u10d4\u10db\u10dd\u10d7 ",down:"\u10e5\u10d5\u10d4\u10db\u10dd\u10d7",mcase:"\u10e0\u10d4\u10d2\u10d8\u10e1\u10e2\u10e0\u10d8\u10e1 \u10d2\u10d0\u10d7\u10d5\u10d0\u10da\u10d8\u10e1\u10ec\u10d8\u10dc\u10d4\u10d1\u10d0",findnext:"\u10d8\u10de\u10dd\u10d5\u10dc\u10d4 \u10e8\u10d4\u10db\u10d3\u10d4\u10d2",allreplaced:"\u10e7\u10d5\u10d4\u10da\u10d0 \u10db\u10dc\u10d8\u10e8\u10dc\u10d4\u10da\u10dd\u10d1\u10d0 \u10e8\u10d4\u10ea\u10d5\u10da\u10d8\u10da\u10d8\u10d0.",searchnext_desc:"\u10d3\u10d0\u10db\u10d0\u10e2\u10d4\u10d1\u10d8\u10d7 \u10de\u10dd\u10d5\u10dc\u10d0",notfound:"\u10eb\u10d4\u10d1\u10dc\u10d0 \u10d3\u10d0\u10e1\u10e0\u10e3\u10da\u10d4\u10d1\u10e3\u10da\u10d8\u10d0. \u10e8\u10d4\u10e1\u10d0\u10e2\u10e7\u10d5\u10d8\u10e1\u10d1\u10d8 \u10d0\u10e0 \u10d0\u10e0\u10d8\u10e1 \u10dc\u10d0\u10de\u10dd\u10d5\u10dc\u10d8.",search_title:"\u10eb\u10d8\u10d4\u10d1\u10d0",replace_title:"\u10db\u10dd\u10eb\u10d4\u10d1\u10dc\u10d0 \u10d3\u10d0 \u10e8\u10d4\u10ea\u10d5\u10da\u10d0",replaceall:"\u10e7\u10d5\u10d4\u10da\u10d0\u10e4\u10d4\u10e0\u10d8\u10e1 \u10e8\u10d4\u10ea\u10d5\u10da\u10d0",replace:"\u10e8\u10d4\u10ea\u10d5\u10da\u10d0"});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('km.searchreplace_dlg',{findwhat:"\u179f\u17d2\u179c\u17c2\u1784\u179a\u1780\u17a2\u17d2\u179c\u17b8",replacewith:"\u1787\u17c6\u1793\u17bd\u179f\u178a\u17c4\u1799",direction:"\u1791\u17b7\u179f\u178a\u17c5",up:"\u17a1\u17be\u1784\u179b\u17be",down:"\u1785\u17bb\u17c7\u1780\u17d2\u179a\u17c4\u1798",mcase:"\u1780\u179a\u178e\u17b8\u178a\u17c6\u178e\u17bc\u1785",findnext:"\u179a\u1780\u1794\u1793\u17d2\u1791\u17b6\u1794\u17cb",allreplaced:"\u1781\u17d2\u179f\u17c2\u17a2\u1780\u17d2\u179f\u179a\u178a\u17c2\u179b\u179f\u17d2\u179c\u17c2\u1784\u179a\u1780\u1787\u17bd\u1794\u1794\u17d2\u179a\u1791\u17c7\u1791\u17b6\u17c6\u1784\u17a2\u179f\u17cb\u178f\u17d2\u179a\u17bc\u179c\u1794\u17b6\u1793\u1787\u17c6\u1793\u17bd\u179f\u00a0\u17d4",searchnext_desc:"\u179f\u17d2\u179c\u17c2\u1784\u179a\u1780\u1798\u17d2\u178f\u1784\u1791\u17c0\u178f",notfound:"\u1780\u17b6\u179a\u179f\u17d2\u179c\u17c2\u1784\u179a\u1780\u1794\u17b6\u1793\u1794\u1789\u17d2\u1785\u1794\u17cb\u00a0\u17d4 \u1781\u17d2\u179f\u17c2\u17a2\u1780\u17d2\u179f\u179a\u179f\u17d2\u179c\u17c2\u1784\u179a\u1780\u1798\u17b7\u1793\u17a2\u17b6\u1785\u179a\u1780\u1783\u17be\u1789\u00a0\u17d4",search_title:"\u179f\u17d2\u179c\u17c2\u1784\u179a\u1780",replace_title:"\u179f\u17d2\u179c\u17c2\u1784\u179a\u1780/\u1787\u17c6\u1793\u17bd\u179f",replaceall:"\u1787\u17c6\u1793\u17bd\u179f\u1791\u17b6\u17c6\u1784\u17a2\u179f\u17cb",replace:"\u1787\u17c6\u1793\u17bd\u179f"});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('nb.searchreplace_dlg',{findwhat:"Finn hva",replacewith:"Erstatt med",direction:"Retning",up:"Oppover",down:"Nedover",mcase:"Skill mellom store og sm\u00e5 tegn",findnext:"Finn neste",allreplaced:"Alle forekomster av s\u00f8kestrengen er erstattet.","searchnext_desc":"S\u00f8k igjen",notfound:"S\u00f8ket er avsluttet. Fant ikke s\u00f8kestrengen.","search_title":"S\u00f8k","replace_title":"S\u00f8k/Erstatt",replaceall:"Erstatt alt",replace:"Erstatt"});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('no.searchreplace_dlg',{findwhat:"Finn hva",replacewith:"Erstatt med",direction:"Retning",up:"Oppover",down:"Nedover",mcase:"Skille mellom store og sm\u00e5 bokstaver",findnext:"Finn neste",allreplaced:"Alle forekomster av s\u00f8kestrengen er erstattet.","searchnext_desc":"S\u00f8k igjen",notfound:"S\u00f8ket avsluttet. Fant ikke s\u00f8kestrengen.","search_title":"S\u00f8k","replace_title":"S\u00f8k/Erstatt",replaceall:"Erstatt alle",replace:"Erstatt"});
@@ -1,16 +1 @@
1
- tinyMCE.addI18n('pl.searchreplace_dlg',{
2
- searchnext_desc:"Znajd\u017A ponownie",
3
- notfound:"Wyszukiwanie zako\u0144czone. Poszukiwany fragment nie zosta\u0142 znaleziony.",
4
- search_title:"Znajd\u017A",
5
- replace_title:"Znajd\u017A/Zamie\u0144",
6
- allreplaced:"Wszystkie wyst\u0105pienia szukanego fragmentu zosta\u0142y zast\u0105pione.",
7
- findwhat:"Znajd\u017A...",
8
- replacewith:"Zamie\u0144 z...",
9
- direction:"Kierunek",
10
- up:"W g\u00F3r\u0119",
11
- down:"W d\u00F3\u0142",
12
- mcase:"Dopasuj wielko\u015B\u0107 liter",
13
- findnext:"Znajd\u017A nast\u0119pny",
14
- replace:"Zamie\u0144",
15
- replaceall:"Zamien wszystko"
16
- });
1
+ tinyMCE.addI18n('pl.searchreplace_dlg',{findwhat:"Znajd\u017a...",replacewith:"Zamie\u0144 z...",direction:"Kierunek",up:"W g\u00f3r\u0119",down:"W d\u00f3\u0142",mcase:"Dopasuj wielko\u015b\u0107 liter",findnext:"Znajd\u017a nast\u0119pny",allreplaced:"Wszystkie wyst\u0105pienia szukanego fragmentu zosta\u0142y zast\u0105pione.",searchnext_desc:"Znajd\u017a ponownie",notfound:"Wyszukiwanie zako\u0144czone. Poszukiwany fragment nie zosta\u0142 znaleziony.",search_title:"Znajd\u017a",replace_title:"Znajd\u017a/Zamie\u0144",replaceall:"Zamien wszystko",replace:"Zamie\u0144"});
@@ -1,16 +1 @@
1
- tinyMCE.addI18n('pt.searchreplace_dlg',{
2
- searchnext_desc:"Localizar novamente",
3
- notfound:"A pesquisa foi conclu\u00EDda sem resultados.",
4
- search_title:"Localizar",
5
- replace_title:"Localizar/substituir",
6
- allreplaced:"Todas as substitui\u00E7\u00F5es foram efetuadas.",
7
- findwhat:"Localizar",
8
- replacewith:"Substituir com",
9
- direction:"Dire\u00E7\u00E3o",
10
- up:"Acima",
11
- down:"Abaixo",
12
- mcase:"Diferenciar mai\u00FAsculas",
13
- findnext:"Localizar pr\u00F3ximo",
14
- replace:"Substituir",
15
- replaceall:"Substituir todos"
16
- });
1
+ tinyMCE.addI18n('pt.searchreplace_dlg',{findwhat:"Localizar",replacewith:"Substituir com",direction:"Dire\u00e7\u00e3o",up:"Acima",down:"Abaixo",mcase:"Diferenciar mai\u00fasculas",findnext:"Localizar pr\u00f3ximo",allreplaced:"Todas as substitui\u00e7\u00f5es foram efetuadas.",searchnext_desc:"Localizar novamente",notfound:"A pesquisa foi conclu\u00edda sem resultados.",search_title:"Localizar",replace_title:"Localizar/substituir",replaceall:"Substituir todos",replace:"Substituir"});
@@ -1,16 +1 @@
1
- tinyMCE.addI18n('ru.searchreplace_dlg',{
2
- searchnext_desc:"\u041D\u0430\u0439\u0442\u0438 \u0435\u0449\u0435",
3
- notfound:"\u041F\u043E\u0438\u0441\u043A \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D. \u0421\u043E\u043E\u0442\u0432\u0435\u0441\u0442\u0432\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E.",
4
- search_title:"\u041F\u043E\u0438\u0441\u043A",
5
- replace_title:"\u041F\u043E\u0438\u0441\u043A \u0438 \u0437\u0430\u043C\u0435\u043D\u0430",
6
- allreplaced:"\u0412\u0441\u0435 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044F \u043F\u043E\u0438\u0441\u043A\u0430 \u0431\u044B\u043B\u0438 \u0437\u0430\u043C\u0435\u043D\u0435\u043D\u044B.",
7
- findwhat:"\u041F\u043E\u0438\u0441\u043A",
8
- replacewith:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u0430",
9
- direction:"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",
10
- up:"\u0412\u0432\u0435\u0440\u0445 ",
11
- down:"\u0412\u043D\u0438\u0437",
12
- mcase:"\u0423\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u0440\u0435\u0433\u0438\u0441\u0442\u0440",
13
- findnext:"\u041D\u0430\u0439\u0442\u0438 \u0434\u0430\u043B\u0435\u0435",
14
- replace:"\u0417\u0430\u043C\u0435\u043D\u0430",
15
- replaceall:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435"
16
- });
1
+ tinyMCE.addI18n('ru.searchreplace_dlg',{findwhat:"\u041f\u043e\u0438\u0441\u043a",replacewith:"\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430",direction:"\u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435",up:"\u0412\u0432\u0435\u0440\u0445 ",down:"\u0412\u043d\u0438\u0437",mcase:"\u0423\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440",findnext:"\u041d\u0430\u0439\u0442\u0438 \u0434\u0430\u043b\u0435\u0435",allreplaced:"\u0412\u0441\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0431\u044b\u043b\u0438 \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b.","searchnext_desc":"\u041d\u0430\u0439\u0442\u0438 \u0435\u0449\u0435",notfound:"\u041f\u043e\u0438\u0441\u043a \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d. \u0421\u043e\u043e\u0442\u0432\u0435\u0441\u0442\u0432\u0438\u0439 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e.","search_title":"\u041f\u043e\u0438\u0441\u043a","replace_title":"\u041f\u043e\u0438\u0441\u043a \u0438 \u0437\u0430\u043c\u0435\u043d\u0430",replaceall:"\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0441\u0435",replace:"\u0417\u0430\u043c\u0435\u043d\u0430"});
@@ -1,16 +1 @@
1
- tinyMCE.addI18n('sk.searchreplace_dlg',{
2
- searchnext_desc:"H\u013Eada\u0165 \u010Falej",
3
- notfound:"H\u013Eadanie bolo dokon\u010Den\u00E9. H\u013Eadan\u00FD text nebol n\u00E1jden\u00FD.",
4
- search_title:"H\u013Eada\u0165",
5
- replace_title:"H\u013Eada\u0165 a nahradi\u0165",
6
- allreplaced:"V\u0161etky v\u00FDskyty boli nahraden\u00E9.",
7
- findwhat:"H\u013Eada\u0165 \u010Do",
8
- replacewith:"Nahradi\u0165 \u010D\u00EDm",
9
- direction:"Smer",
10
- up:"Nahor",
11
- down:"Nadol",
12
- mcase:"Rozli\u0161ova\u0165 ve\u013Ekos\u0165",
13
- findnext:"H\u013Eada\u0165 dalej",
14
- replace:"Nahradi\u0165",
15
- replaceall:"Nahradi\u0165 v\u0161etko"
16
- });
1
+ tinyMCE.addI18n('sk.searchreplace_dlg',{findwhat:"H\u013eada\u0165 \u010do",replacewith:"Nahradi\u0165 \u010d\u00edm",direction:"Smer",up:"Nahor",down:"Nadol",mcase:"Rozli\u0161ova\u0165 mal\u00e9 a VE\u013dK\u00c9 p\u00edsmen\u00e1",findnext:"H\u013eada\u0165 dalej",allreplaced:"V\u0161etky v\u00fdskyty boli nahraden\u00e9.",searchnext_desc:"H\u013eada\u0165 \u010falej",notfound:"H\u013eadanie bolo dokon\u010den\u00e9. H\u013eadan\u00fd text nebol n\u00e1jden\u00fd.",search_title:"H\u013eada\u0165",replace_title:"H\u013eada\u0165 a nahradi\u0165",replaceall:"Nahradi\u0165 v\u0161etko",replace:"Nahradi\u0165"});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('sl.searchreplace_dlg',{findwhat:"I\u0161\u010dem za",replacewith:"Zamenjam z",direction:"Smer",up:"navzgor",down:"navzdol",mcase:"ujemanje velikosti",findnext:"Najdi nasled.",allreplaced:"Vse pojavitve iskanega besedila so bile zamenjane.",searchnext_desc:"Najdi znova",notfound:"Preiskovanje zaklju\u010deno. Iskanega besedila nisem na\u0161el.",search_title:"Najdi",replace_title:"Najdi/zamenjaj",replaceall:"Zamenjaj vse",replace:"Zamenjaj"});
@@ -1,16 +1 @@
1
- tinyMCE.addI18n('sv.searchreplace_dlg',{
2
- searchnext_desc:"S\u00F6k igen",
3
- notfound:"S\u00F6kningen har slutf\u00F6rts. S\u00F6kstr\u00E4ngen kunde inte hittas.",
4
- search_title:"S\u00F6k",
5
- replace_title:"S\u00F6k/ers\u00E4tt",
6
- allreplaced:"Alla st\u00E4llen d\u00E4r s\u00F6kstr\u00E4ngen kunde hittas har ersatts.",
7
- findwhat:"Hitta vad",
8
- replacewith:"Ers\u00E4tt med",
9
- direction:"Riktning",
10
- up:"Upp\u00E5t",
11
- down:"Ner\u00E5t",
12
- mcase:"Matcha gemener/versaler",
13
- findnext:"Hitta n\u00E4sta",
14
- replace:"Ers\u00E4tt",
15
- replaceall:"Ers\u00E4tt alla"
16
- });
1
+ tinyMCE.addI18n('sv.searchreplace_dlg',{findwhat:"Hitta vad",replacewith:"Ers\u00e4tt med",direction:"Riktning",up:"Upp\u00e5t",down:"Ner\u00e5t",mcase:"Matcha gemener/versaler",findnext:"Hitta n\u00e4sta",allreplaced:"Alla st\u00e4llen d\u00e4r s\u00f6kstr\u00e4ngen kunde hittas har ersatts.","searchnext_desc":"S\u00f6k igen",notfound:"S\u00f6kningen har slutf\u00f6rts. S\u00f6kstr\u00e4ngen kunde inte hittas.","search_title":"S\u00f6k","replace_title":"S\u00f6k/ers\u00e4tt",replaceall:"Ers\u00e4tt alla",replace:"Ers\u00e4tt"});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('zh-cn.searchreplace_dlg',{findwhat:"\u67e5\u627e\u76ee\u6807",replacewith:"\u66ff\u6362\u4e3a",direction:"\u67e5\u627e\u65b9\u5411",up:"\u5411\u4e0a",down:"\u5411\u4e0b",mcase:"\u533a\u5206\u5927\u5c0f\u5199",findnext:"\u67e5\u627e\u4e0b\u4e00\u4e2a",allreplaced:"\u6240\u6709\u51fa\u73b0\u7684\u5b57\u7b26\u5747\u5df2\u66ff\u6362\u3002","searchnext_desc":"\u7ee7\u7eed\u67e5\u627e",notfound:"\u67e5\u627e\u5b8c\u6210\uff0c\u672a\u627e\u5230\u7b26\u5408\u7684\u6587\u5b57\u3002","search_title":"\u67e5\u627e","replace_title":"\u67e5\u627e/\u66ff\u6362",replaceall:"\u5168\u90e8\u66ff\u6362",replace:"\u66ff\u6362"});
@@ -8,27 +8,28 @@
8
8
  <script type="text/javascript" src="js/searchreplace.js"></script>
9
9
  <link rel="stylesheet" type="text/css" href="css/searchreplace.css" />
10
10
  </head>
11
- <body style="display:none;">
11
+ <body style="display:none;" role="application" aria-labelledby="app_title">
12
+ <span id="app_title" style="display:none">{#searchreplace_dlg.replace_title}</span>
12
13
  <form onsubmit="SearchReplaceDialog.searchNext('none');return false;" action="#">
13
14
  <div class="tabs">
14
15
  <ul>
15
- <li id="search_tab"><span><a href="javascript:SearchReplaceDialog.switchMode('search');" onmousedown="return false;">{#searchreplace.search_desc}</a></span></li>
16
- <li id="replace_tab"><span><a href="javascript:SearchReplaceDialog.switchMode('replace');" onmousedown="return false;">{#searchreplace_dlg.replace}</a></span></li>
16
+ <li id="search_tab" aria-controls="search_panel"><span><a href="javascript:SearchReplaceDialog.switchMode('search');" onmousedown="return false;">{#searchreplace.search_desc}</a></span></li>
17
+ <li id="replace_tab" aria-controls="replace_panel"><span><a href="javascript:SearchReplaceDialog.switchMode('replace');" onmousedown="return false;">{#searchreplace_dlg.replace}</a></span></li>
17
18
  </ul>
18
19
  </div>
19
20
 
20
21
  <div class="panel_wrapper">
21
22
  <div id="search_panel" class="panel">
22
- <table border="0" cellspacing="0" cellpadding="2">
23
+ <table role="presentation" border="0" cellspacing="0" cellpadding="2">
23
24
  <tr>
24
25
  <td><label for="search_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
25
- <td><input type="text" id="search_panel_searchstring" name="search_panel_searchstring" style="width: 200px" /></td>
26
+ <td><input type="text" id="search_panel_searchstring" name="search_panel_searchstring" style="width: 200px" aria-required="true" /></td>
26
27
  </tr>
27
28
  <tr>
28
29
  <td colspan="2">
29
- <table border="0" cellspacing="0" cellpadding="0" class="direction">
30
- <tr>
31
- <td><label>{#searchreplace_dlg.direction}</label></td>
30
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction">
31
+ <tr role="group" aria-labelledby="search_panel_backwards_label">
32
+ <td><label id="search_panel_backwards_label">{#searchreplace_dlg.direction}</label></td>
32
33
  <td><input id="search_panel_backwardsu" name="search_panel_backwards" class="radio" type="radio" /></td>
33
34
  <td><label for="search_panel_backwardsu">{#searchreplace_dlg.up}</label></td>
34
35
  <td><input id="search_panel_backwardsd" name="search_panel_backwards" class="radio" type="radio" checked="checked" /></td>
@@ -39,7 +40,7 @@
39
40
  </tr>
40
41
  <tr>
41
42
  <td colspan="2">
42
- <table border="0" cellspacing="0" cellpadding="0">
43
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
43
44
  <tr>
44
45
  <td><input id="search_panel_casesensitivebox" name="search_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
45
46
  <td><label for="search_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
@@ -51,20 +52,20 @@
51
52
  </div>
52
53
 
53
54
  <div id="replace_panel" class="panel">
54
- <table border="0" cellspacing="0" cellpadding="2">
55
+ <table role="presentation" border="0" cellspacing="0" cellpadding="2">
55
56
  <tr>
56
57
  <td><label for="replace_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
57
- <td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" /></td>
58
+ <td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" aria-required="true" /></td>
58
59
  </tr>
59
60
  <tr>
60
61
  <td><label for="replace_panel_replacestring">{#searchreplace_dlg.replacewith}</label></td>
61
- <td><input type="text" id="replace_panel_replacestring" name="replace_panel_replacestring" style="width: 200px" /></td>
62
+ <td><input type="text" id="replace_panel_replacestring" name="replace_panel_replacestring" style="width: 200px" aria-required="true" /></td>
62
63
  </tr>
63
64
  <tr>
64
65
  <td colspan="2">
65
- <table border="0" cellspacing="0" cellpadding="0" class="direction">
66
- <tr>
67
- <td><label>{#searchreplace_dlg.direction}</label></td>
66
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction">
67
+ <tr role="group" aria-labelledby="replace_panel_dir_label">
68
+ <td><label id="replace_panel_dir_label">{#searchreplace_dlg.direction}</label></td>
68
69
  <td><input id="replace_panel_backwardsu" name="replace_panel_backwards" class="radio" type="radio" /></td>
69
70
  <td><label for="replace_panel_backwardsu">{#searchreplace_dlg.up}</label></td>
70
71
  <td><input id="replace_panel_backwardsd" name="replace_panel_backwards" class="radio" type="radio" checked="checked" /></td>
@@ -75,7 +76,7 @@
75
76
  </tr>
76
77
  <tr>
77
78
  <td colspan="2">
78
- <table border="0" cellspacing="0" cellpadding="0">
79
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
79
80
  <tr>
80
81
  <td><input id="replace_panel_casesensitivebox" name="replace_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
81
82
  <td><label for="replace_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
@@ -1 +1 @@
1
- (function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});e.onInit.add(function(){if(e.settings.content_css!==false){e.dom.loadCSS(f+"/css/content.css")}});e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){l.setSelected(1);f.selectedItem.setSelected(0);f.selectedItem=l;f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);if(n==f.selectedLang){f.selectedItem=l}})});return g}},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}����������������\u201d\u201c');for(d=0;d<f.length;d++){e+="\\"+f.charAt(d)}return e},_getWords:function(){var e=this.editor,g=[],d="",f={},h=[];this._walk(e.getBody(),function(i){if(i.nodeType==3){d+=i.nodeValue+" "}});if(e.getParam("spellchecker_word_pattern")){h=d.match("("+e.getParam("spellchecker_word_pattern")+")","gi")}else{d=d.replace(new RegExp("([0-9]|["+this._getSeparators()+"])","g")," ");d=tinymce.trim(d.replace(/(\s+)/g," "));h=d.split(" ")}c(h,function(i){if(!f[i]){g.push(i);f[i]=1}});return g},_removeWords:function(e){var f=this.editor,h=f.dom,g=f.selection,d=g.getBookmark();c(h.select("span").reverse(),function(i){if(i&&(h.hasClass(i,"mceItemHiddenSpellWord")||h.hasClass(i,"mceItemHidden"))){if(!e||h.decode(i.innerHTML)==e){h.remove(i,1)}}});g.moveToBookmark(d)},_markWords:function(o){var i,h,g,f,e,n="",k=this.editor,p=this._getSeparators(),j=k.dom,d=[];var l=k.selection,m=l.getBookmark();c(o,function(q){n+=(n?"|":"")+q});i=new RegExp("(["+p+"])("+n+")(["+p+"])","g");h=new RegExp("^("+n+")","g");g=new RegExp("("+n+")(["+p+"]?)$","g");f=new RegExp("^("+n+")(["+p+"]?)$","g");e=new RegExp("("+n+")(["+p+"])","g");this._walk(this.editor.getBody(),function(q){if(q.nodeType==3){d.push(q)}});c(d,function(r){var q;if(r.nodeType==3){q=r.nodeValue;if(i.test(q)||h.test(q)||g.test(q)||f.test(q)){q=j.encode(q);q=q.replace(e,'<span class="mceItemHiddenSpellWord">$1</span>$2');q=q.replace(g,'<span class="mceItemHiddenSpellWord">$1</span>$2');j.replace(j.create("span",{"class":"mceItemHidden"},q),r)}}});l.moveToBookmark(m)},_showMenu:function(g,i){var h=this,g=h.editor,d=h._menu,k,j=g.dom,f=j.getViewPort(g.getWin());if(!d){k=b.getPos(g.getContentAreaContainer());d=g.controlManager.createDropMenu("spellcheckermenu",{offset_x:k.x,offset_y:k.y,"class":"mceNoIcons"});h._menu=d}if(j.hasClass(i.target,"mceItemHiddenSpellWord")){d.removeAll();d.add({title:"spellchecker.wait","class":"mceMenuItemTitle"}).setDisabled(1);h._sendRPC("getSuggestions",[h.selectedLang,j.decode(i.target.innerHTML)],function(l){var e;d.removeAll();if(l.length>0){d.add({title:"spellchecker.sug","class":"mceMenuItemTitle"}).setDisabled(1);c(l,function(m){d.add({title:m,onclick:function(){j.replace(g.getDoc().createTextNode(m),i.target);h._checkDone()}})});d.addSeparator()}else{d.add({title:"spellchecker.no_sug","class":"mceMenuItemTitle"}).setDisabled(1)}e=h.editor.getParam("spellchecker_enable_ignore_rpc","");d.add({title:"spellchecker.ignore_word",onclick:function(){var m=i.target.innerHTML;j.remove(i.target,1);h._checkDone();if(e){g.setProgressState(1);h._sendRPC("ignoreWord",[h.selectedLang,m],function(n){g.setProgressState(0)})}}});d.add({title:"spellchecker.ignore_words",onclick:function(){var m=i.target.innerHTML;h._removeWords(j.decode(m));h._checkDone();if(e){g.setProgressState(1);h._sendRPC("ignoreWords",[h.selectedLang,m],function(n){g.setProgressState(0)})}}});if(h.editor.getParam("spellchecker_enable_learn_rpc")){d.add({title:"spellchecker.learn_word",onclick:function(){var m=i.target.innerHTML;j.remove(i.target,1);h._checkDone();g.setProgressState(1);h._sendRPC("learnWord",[h.selectedLang,m],function(n){g.setProgressState(0)})}})}d.update()});g.selection.select(i.target);k=j.getPos(i.target);d.showMenu(k.x,k.y+i.target.offsetHeight-f.y);return tinymce.dom.Event.cancel(i)}else{d.hideMenu()}},_checkDone:function(){var e=this,d=e.editor,g=d.dom,f;c(g.select("span"),function(h){if(h&&g.hasClass(h,"mceItemHiddenSpellWord")){f=true;return false}});if(!f){e._done()}},_done:function(){var d=this,e=d.active;if(d.active){d.active=0;d._removeWords();if(d._menu){d._menu.hideMenu()}if(e){d.editor.nodeChanged()}}},_sendRPC:function(e,g,d){var f=this;a.sendRPC({url:f.rpcUrl,method:e,params:g,success:d,error:function(i,h){f.editor.setProgressState(0);f.editor.windowManager.alert(i.errstr||("Error response: "+h.responseText))}})}});tinymce.PluginManager.add("spellchecker",tinymce.plugins.SpellcheckerPlugin)})();
1
+ (function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});if(e.settings.content_css!==false){e.contentCSS.push(f+"/css/content.css")}e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){l.setSelected(1);f.selectedItem.setSelected(0);f.selectedItem=l;f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);if(n==f.selectedLang){f.selectedItem=l}})});return g}},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}����������������\u201d\u201c');for(d=0;d<f.length;d++){e+="\\"+f.charAt(d)}return e},_getWords:function(){var e=this.editor,g=[],d="",f={},h=[];this._walk(e.getBody(),function(i){if(i.nodeType==3){d+=i.nodeValue+" "}});if(e.getParam("spellchecker_word_pattern")){h=d.match("("+e.getParam("spellchecker_word_pattern")+")","gi")}else{d=d.replace(new RegExp("([0-9]|["+this._getSeparators()+"])","g")," ");d=tinymce.trim(d.replace(/(\s+)/g," "));h=d.split(" ")}c(h,function(i){if(!f[i]){g.push(i);f[i]=1}});return g},_removeWords:function(e){var f=this.editor,h=f.dom,g=f.selection,d=g.getBookmark();c(h.select("span").reverse(),function(i){if(i&&(h.hasClass(i,"mceItemHiddenSpellWord")||h.hasClass(i,"mceItemHidden"))){if(!e||h.decode(i.innerHTML)==e){h.remove(i,1)}}});g.moveToBookmark(d)},_markWords:function(o){var i,h,g,f,e,n="",k=this.editor,p=this._getSeparators(),j=k.dom,d=[];var l=k.selection,m=l.getBookmark();c(o,function(q){n+=(n?"|":"")+q});i=new RegExp("(["+p+"])("+n+")(["+p+"])","g");h=new RegExp("^("+n+")","g");g=new RegExp("("+n+")(["+p+"]?)$","g");f=new RegExp("^("+n+")(["+p+"]?)$","g");e=new RegExp("("+n+")(["+p+"])","g");this._walk(this.editor.getBody(),function(q){if(q.nodeType==3){d.push(q)}});c(d,function(r){var q;if(r.nodeType==3){q=r.nodeValue;if(i.test(q)||h.test(q)||g.test(q)||f.test(q)){q=j.encode(q);q=q.replace(e,'<span class="mceItemHiddenSpellWord">$1</span>$2');q=q.replace(g,'<span class="mceItemHiddenSpellWord">$1</span>$2');j.replace(j.create("span",{"class":"mceItemHidden"},q),r)}}});l.moveToBookmark(m)},_showMenu:function(h,j){var i=this,h=i.editor,d=i._menu,l,k=h.dom,g=k.getViewPort(h.getWin()),f=j.target;j=0;if(!d){l=b.getPos(h.getContentAreaContainer());d=h.controlManager.createDropMenu("spellcheckermenu",{offset_x:l.x,offset_y:l.y,"class":"mceNoIcons"});i._menu=d}if(k.hasClass(f,"mceItemHiddenSpellWord")){d.removeAll();d.add({title:"spellchecker.wait","class":"mceMenuItemTitle"}).setDisabled(1);i._sendRPC("getSuggestions",[i.selectedLang,k.decode(f.innerHTML)],function(m){var e;d.removeAll();if(m.length>0){d.add({title:"spellchecker.sug","class":"mceMenuItemTitle"}).setDisabled(1);c(m,function(n){d.add({title:n,onclick:function(){k.replace(h.getDoc().createTextNode(n),f);i._checkDone()}})});d.addSeparator()}else{d.add({title:"spellchecker.no_sug","class":"mceMenuItemTitle"}).setDisabled(1)}e=i.editor.getParam("spellchecker_enable_ignore_rpc","");d.add({title:"spellchecker.ignore_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});d.add({title:"spellchecker.ignore_words",onclick:function(){var n=f.innerHTML;i._removeWords(k.decode(n));i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWords",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});if(i.editor.getParam("spellchecker_enable_learn_rpc")){d.add({title:"spellchecker.learn_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();h.setProgressState(1);i._sendRPC("learnWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}})}d.update()});h.selection.select(f);l=k.getPos(f);d.showMenu(l.x,l.y+f.offsetHeight-g.y);return tinymce.dom.Event.cancel(j)}else{d.hideMenu()}},_checkDone:function(){var e=this,d=e.editor,g=d.dom,f;c(g.select("span"),function(h){if(h&&g.hasClass(h,"mceItemHiddenSpellWord")){f=true;return false}});if(!f){e._done()}},_done:function(){var d=this,e=d.active;if(d.active){d.active=0;d._removeWords();if(d._menu){d._menu.hideMenu()}if(e){d.editor.nodeChanged()}}},_sendRPC:function(e,g,d){var f=this;a.sendRPC({url:f.rpcUrl,method:e,params:g,success:d,error:function(i,h){f.editor.setProgressState(0);f.editor.windowManager.alert(i.errstr||("Error response: "+h.responseText))}})}});tinymce.PluginManager.add("spellchecker",tinymce.plugins.SpellcheckerPlugin)})();
@@ -70,10 +70,8 @@
70
70
  t._done();
71
71
  });
72
72
 
73
- ed.onInit.add(function() {
74
- if (ed.settings.content_css !== false)
75
- ed.dom.loadCSS(url + '/css/content.css');
76
- });
73
+ if (ed.settings.content_css !== false)
74
+ ed.contentCSS.push(url + '/css/content.css');
77
75
 
78
76
  ed.onClick.add(t._showMenu, t);
79
77
  ed.onContextMenu.add(t._showMenu, t);
@@ -261,7 +259,9 @@
261
259
  },
262
260
 
263
261
  _showMenu : function(ed, e) {
264
- var t = this, ed = t.editor, m = t._menu, p1, dom = ed.dom, vp = dom.getViewPort(ed.getWin());
262
+ var t = this, ed = t.editor, m = t._menu, p1, dom = ed.dom, vp = dom.getViewPort(ed.getWin()), wordSpan = e.target;
263
+
264
+ e = 0; // Fixes IE memory leak
265
265
 
266
266
  if (!m) {
267
267
  p1 = DOM.getPos(ed.getContentAreaContainer());
@@ -276,11 +276,11 @@
276
276
  t._menu = m;
277
277
  }
278
278
 
279
- if (dom.hasClass(e.target, 'mceItemHiddenSpellWord')) {
279
+ if (dom.hasClass(wordSpan, 'mceItemHiddenSpellWord')) {
280
280
  m.removeAll();
281
281
  m.add({title : 'spellchecker.wait', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
282
282
 
283
- t._sendRPC('getSuggestions', [t.selectedLang, dom.decode(e.target.innerHTML)], function(r) {
283
+ t._sendRPC('getSuggestions', [t.selectedLang, dom.decode(wordSpan.innerHTML)], function(r) {
284
284
  var ignoreRpc;
285
285
 
286
286
  m.removeAll();
@@ -289,7 +289,7 @@
289
289
  m.add({title : 'spellchecker.sug', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
290
290
  each(r, function(v) {
291
291
  m.add({title : v, onclick : function() {
292
- dom.replace(ed.getDoc().createTextNode(v), e.target);
292
+ dom.replace(ed.getDoc().createTextNode(v), wordSpan);
293
293
  t._checkDone();
294
294
  }});
295
295
  });
@@ -302,9 +302,9 @@
302
302
  m.add({
303
303
  title : 'spellchecker.ignore_word',
304
304
  onclick : function() {
305
- var word = e.target.innerHTML;
305
+ var word = wordSpan.innerHTML;
306
306
 
307
- dom.remove(e.target, 1);
307
+ dom.remove(wordSpan, 1);
308
308
  t._checkDone();
309
309
 
310
310
  // tell the server if we need to
@@ -320,7 +320,7 @@
320
320
  m.add({
321
321
  title : 'spellchecker.ignore_words',
322
322
  onclick : function() {
323
- var word = e.target.innerHTML;
323
+ var word = wordSpan.innerHTML;
324
324
 
325
325
  t._removeWords(dom.decode(word));
326
326
  t._checkDone();
@@ -340,9 +340,9 @@
340
340
  m.add({
341
341
  title : 'spellchecker.learn_word',
342
342
  onclick : function() {
343
- var word = e.target.innerHTML;
343
+ var word = wordSpan.innerHTML;
344
344
 
345
- dom.remove(e.target, 1);
345
+ dom.remove(wordSpan, 1);
346
346
  t._checkDone();
347
347
 
348
348
  ed.setProgressState(1);
@@ -356,9 +356,9 @@
356
356
  m.update();
357
357
  });
358
358
 
359
- ed.selection.select(e.target);
360
- p1 = dom.getPos(e.target);
361
- m.showMenu(p1.x, p1.y + e.target.offsetHeight - vp.y);
359
+ ed.selection.select(wordSpan);
360
+ p1 = dom.getPos(wordSpan);
361
+ m.showMenu(p1.x, p1.y + wordSpan.offsetHeight - vp.y);
362
362
 
363
363
  return tinymce.dom.Event.cancel(e);
364
364
  } else