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 +1 @@
1
- (function(){tinymce.create("tinymce.plugins.Nonbreaking",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceNonBreaking",function(){a.execCommand("mceInsertContent",false,(a.plugins.visualchars&&a.plugins.visualchars.state)?'<span class="mceItemHidden mceVisualNbsp">&middot;</span>':"&nbsp;")});a.addButton("nonbreaking",{title:"nonbreaking.nonbreaking_desc",cmd:"mceNonBreaking"});if(a.getParam("nonbreaking_force_tab")){a.onKeyDown.add(function(d,f){if(tinymce.isIE&&f.keyCode==9){d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");tinymce.dom.Event.cancel(f)}})}},getInfo:function(){return{longname:"Nonbreaking space",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("nonbreaking",tinymce.plugins.Nonbreaking)})();
1
+ (function(){tinymce.create("tinymce.plugins.Nonbreaking",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceNonBreaking",function(){a.execCommand("mceInsertContent",false,(a.plugins.visualchars&&a.plugins.visualchars.state)?'<span data-mce-bogus="1" class="mceItemHidden mceItemNbsp">&nbsp;</span>':"&nbsp;")});a.addButton("nonbreaking",{title:"nonbreaking.nonbreaking_desc",cmd:"mceNonBreaking"});if(a.getParam("nonbreaking_force_tab")){a.onKeyDown.add(function(d,f){if(tinymce.isIE&&f.keyCode==9){d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");tinymce.dom.Event.cancel(f)}})}},getInfo:function(){return{longname:"Nonbreaking space",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("nonbreaking",tinymce.plugins.Nonbreaking)})();
@@ -17,7 +17,7 @@
17
17
 
18
18
  // Register commands
19
19
  ed.addCommand('mceNonBreaking', function() {
20
- ed.execCommand('mceInsertContent', false, (ed.plugins.visualchars && ed.plugins.visualchars.state) ? '<span class="mceItemHidden mceVisualNbsp">&middot;</span>' : '&nbsp;');
20
+ ed.execCommand('mceInsertContent', false, (ed.plugins.visualchars && ed.plugins.visualchars.state) ? '<span data-mce-bogus="1" class="mceItemHidden mceItemNbsp">&nbsp;</span>' : '&nbsp;');
21
21
  });
22
22
 
23
23
  // Register buttons
@@ -1 +1 @@
1
- (function(){tinymce.create("tinymce.plugins.PageBreakPlugin",{init:function(b,d){var f='<img src="'+d+'/img/trans.gif" class="mcePageBreak mceItemNoResize" />',a="mcePageBreak",c=b.getParam("pagebreak_separator","<!-- pagebreak -->"),e;e=new RegExp(c.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(g){return"\\"+g}),"g");b.addCommand("mcePageBreak",function(){b.execCommand("mceInsertContent",0,f)});b.addButton("pagebreak",{title:"pagebreak.desc",cmd:a});b.onInit.add(function(){if(b.settings.content_css!==false){b.dom.loadCSS(d+"/css/content.css")}if(b.theme.onResolveName){b.theme.onResolveName.add(function(g,h){if(h.node.nodeName=="IMG"&&b.dom.hasClass(h.node,a)){h.name="pagebreak"}})}});b.onClick.add(function(g,h){h=h.target;if(h.nodeName==="IMG"&&g.dom.hasClass(h,a)){g.selection.select(h)}});b.onNodeChange.add(function(h,g,i){g.setActive("pagebreak",i.nodeName==="IMG"&&h.dom.hasClass(i,a))});b.onBeforeSetContent.add(function(g,h){h.content=h.content.replace(e,f)});b.onPostProcess.add(function(g,h){if(h.get){h.content=h.content.replace(/<img[^>]+>/g,function(i){if(i.indexOf('class="mcePageBreak')!==-1){i=c}return i})}})},getInfo:function(){return{longname:"PageBreak",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/pagebreak",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("pagebreak",tinymce.plugins.PageBreakPlugin)})();
1
+ (function(){tinymce.create("tinymce.plugins.PageBreakPlugin",{init:function(b,d){var f='<img src="'+b.theme.url+'/img/trans.gif" class="mcePageBreak mceItemNoResize" />',a="mcePageBreak",c=b.getParam("pagebreak_separator","<!-- pagebreak -->"),e;e=new RegExp(c.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(g){return"\\"+g}),"g");b.addCommand("mcePageBreak",function(){b.execCommand("mceInsertContent",0,f)});b.addButton("pagebreak",{title:"pagebreak.desc",cmd:a});b.onInit.add(function(){if(b.theme.onResolveName){b.theme.onResolveName.add(function(g,h){if(h.node.nodeName=="IMG"&&b.dom.hasClass(h.node,a)){h.name="pagebreak"}})}});b.onClick.add(function(g,h){h=h.target;if(h.nodeName==="IMG"&&g.dom.hasClass(h,a)){g.selection.select(h)}});b.onNodeChange.add(function(h,g,i){g.setActive("pagebreak",i.nodeName==="IMG"&&h.dom.hasClass(i,a))});b.onBeforeSetContent.add(function(g,h){h.content=h.content.replace(e,f)});b.onPostProcess.add(function(g,h){if(h.get){h.content=h.content.replace(/<img[^>]+>/g,function(i){if(i.indexOf('class="mcePageBreak')!==-1){i=c}return i})}})},getInfo:function(){return{longname:"PageBreak",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/pagebreak",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("pagebreak",tinymce.plugins.PageBreakPlugin)})();
@@ -11,7 +11,7 @@
11
11
  (function() {
12
12
  tinymce.create('tinymce.plugins.PageBreakPlugin', {
13
13
  init : function(ed, url) {
14
- var pb = '<img src="' + url + '/img/trans.gif" class="mcePageBreak mceItemNoResize" />', cls = 'mcePageBreak', sep = ed.getParam('pagebreak_separator', '<!-- pagebreak -->'), pbRE;
14
+ var pb = '<img src="' + ed.theme.url + '/img/trans.gif" class="mcePageBreak mceItemNoResize" />', cls = 'mcePageBreak', sep = ed.getParam('pagebreak_separator', '<!-- pagebreak -->'), pbRE;
15
15
 
16
16
  pbRE = new RegExp(sep.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, function(a) {return '\\' + a;}), 'g');
17
17
 
@@ -24,9 +24,6 @@
24
24
  ed.addButton('pagebreak', {title : 'pagebreak.desc', cmd : cls});
25
25
 
26
26
  ed.onInit.add(function() {
27
- if (ed.settings.content_css !== false)
28
- ed.dom.loadCSS(url + "/css/content.css");
29
-
30
27
  if (ed.theme.onResolveName) {
31
28
  ed.theme.onResolveName.add(function(th, o) {
32
29
  if (o.node.nodeName == 'IMG' && ed.dom.hasClass(o.node, cls))
@@ -1 +1 @@
1
- (function(){var c=tinymce.each,d=null,a={paste_auto_cleanup_on_paste:true,paste_block_drop:false,paste_retain_style_properties:"none",paste_strip_class_attributes:"mso",paste_remove_spans:false,paste_remove_styles:false,paste_remove_styles_if_webkit:true,paste_convert_middot_lists:true,paste_convert_headers_to_strong:false,paste_dialog_width:"450",paste_dialog_height:"400",paste_text_use_dialog:false,paste_text_sticky:false,paste_text_notifyalways:false,paste_text_linebreaktype:"p",paste_text_replacements:[[/\u2026/g,"..."],[/[\x93\x94\u201c\u201d]/g,'"'],[/[\x60\x91\x92\u2018\u2019]/g,"'"]]};function b(e,f){return e.getParam(f,a[f])}tinymce.create("tinymce.plugins.PastePlugin",{init:function(e,f){var g=this;g.editor=e;g.url=f;g.onPreProcess=new tinymce.util.Dispatcher(g);g.onPostProcess=new tinymce.util.Dispatcher(g);g.onPreProcess.add(g._preProcess);g.onPostProcess.add(g._postProcess);g.onPreProcess.add(function(j,k){e.execCallback("paste_preprocess",j,k)});g.onPostProcess.add(function(j,k){e.execCallback("paste_postprocess",j,k)});e.pasteAsPlainText=false;function i(l,j){var k=e.dom;g.onPreProcess.dispatch(g,l);l.node=k.create("div",0,l.content);g.onPostProcess.dispatch(g,l);l.content=e.serializer.serialize(l.node,{getInner:1});if((!j)&&(e.pasteAsPlainText)){g._insertPlainText(e,k,l.content);if(!b(e,"paste_text_sticky")){e.pasteAsPlainText=false;e.controlManager.setActive("pastetext",false)}}else{if(/<(p|h[1-6]|ul|ol)/.test(l.content)){g._insertBlockContent(e,k,l.content)}else{g._insert(l.content)}}}e.addCommand("mceInsertClipboardContent",function(j,k){i(k,true)});if(!b(e,"paste_text_use_dialog")){e.addCommand("mcePasteText",function(k,j){var l=tinymce.util.Cookie;e.pasteAsPlainText=!e.pasteAsPlainText;e.controlManager.setActive("pastetext",e.pasteAsPlainText);if((e.pasteAsPlainText)&&(!l.get("tinymcePasteText"))){if(b(e,"paste_text_sticky")){e.windowManager.alert(e.translate("paste.plaintext_mode_sticky"))}else{e.windowManager.alert(e.translate("paste.plaintext_mode_sticky"))}if(!b(e,"paste_text_notifyalways")){l.set("tinymcePasteText","1",new Date(new Date().getFullYear()+1,12,31))}}})}e.addButton("pastetext",{title:"paste.paste_text_desc",cmd:"mcePasteText"});e.addButton("selectall",{title:"paste.selectall_desc",cmd:"selectall"});function h(s){var m,q,k,l=e.selection,p=e.dom,r=e.getBody(),j;if(e.pasteAsPlainText&&(s.clipboardData||p.doc.dataTransfer)){s.preventDefault();i({content:(s.clipboardData||p.doc.dataTransfer).getData("Text")},true);return}if(p.get("_mcePaste")){return}m=p.add(r,"div",{id:"_mcePaste","class":"mcePaste"},"\uFEFF");if(r!=e.getDoc().body){j=p.getPos(e.selection.getStart(),r).y}else{j=r.scrollTop}p.setStyles(m,{position:"absolute",left:-10000,top:j,width:1,height:1,overflow:"hidden"});if(tinymce.isIE){k=p.doc.body.createTextRange();k.moveToElementText(m);k.execCommand("Paste");p.remove(m);if(m.innerHTML==="\uFEFF"){e.execCommand("mcePasteWord");s.preventDefault();return}i({content:m.innerHTML});return tinymce.dom.Event.cancel(s)}else{function o(n){n.preventDefault()}p.bind(e.getDoc(),"mousedown",o);p.bind(e.getDoc(),"keydown",o);q=e.selection.getRng();m=m.firstChild;k=e.getDoc().createRange();k.setStart(m,0);k.setEnd(m,1);l.setRng(k);window.setTimeout(function(){var t="",n=p.select("div.mcePaste");c(n,function(u){c(p.select("div.mcePaste",u),function(v){p.remove(v,1)});c(p.select("span.Apple-style-span",u),function(v){p.remove(v,1)});t+=u.innerHTML});c(n,function(u){p.remove(u)});if(q){l.setRng(q)}i({content:t});p.unbind(e.getDoc(),"mousedown",o);p.unbind(e.getDoc(),"keydown",o)},0)}}if(b(e,"paste_auto_cleanup_on_paste")){if(tinymce.isOpera||/Firefox\/2/.test(navigator.userAgent)){e.onKeyDown.add(function(j,k){if(((tinymce.isMac?k.metaKey:k.ctrlKey)&&k.keyCode==86)||(k.shiftKey&&k.keyCode==45)){h(k)}})}else{e.onPaste.addToTop(function(j,k){return h(k)})}}if(b(e,"paste_block_drop")){e.onInit.add(function(){e.dom.bind(e.getBody(),["dragend","dragover","draggesture","dragdrop","drop","drag"],function(j){j.preventDefault();j.stopPropagation();return false})})}g._legacySupport()},getInfo:function(){return{longname:"Paste text/word",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_preProcess:function(i,f){var l=this.editor,k=f.content,q=tinymce.grep,p=tinymce.explode,g=tinymce.trim,m,j;function e(h){c(h,function(o){if(o.constructor==RegExp){k=k.replace(o,"")}else{k=k.replace(o[0],o[1])}})}if(/class="?Mso|style="[^"]*\bmso-|w:WordDocument/i.test(k)||f.wordContent){f.wordContent=true;e([/^\s*(&nbsp;)+/gi,/(&nbsp;|<br[^>]*>)+\s*$/gi]);if(b(l,"paste_convert_headers_to_strong")){k=k.replace(/<p [^>]*class="?MsoHeading"?[^>]*>(.*?)<\/p>/gi,"<p><strong>$1</strong></p>")}if(b(l,"paste_convert_middot_lists")){e([[/<!--\[if !supportLists\]-->/gi,"$&__MCE_ITEM__"],[/(<span[^>]+(?:mso-list:|:\s*symbol)[^>]+>)/gi,"$1__MCE_ITEM__"]])}e([/<!--[\s\S]+?-->/gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/&nbsp;/gi,"\u00a0"]]);do{m=k.length;k=k.replace(/(<[a-z][^>]*\s)(?:id|name|language|type|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi,"$1")}while(m!=k.length);if(b(l,"paste_retain_style_properties").replace(/^none$/i,"").length==0){k=k.replace(/<\/?span[^>]*>/gi,"")}else{e([[/<span\s+style\s*=\s*"\s*mso-spacerun\s*:\s*yes\s*;?\s*"\s*>([\s\u00a0]*)<\/span>/gi,function(o,h){return(h.length>0)?h.replace(/./," ").slice(Math.floor(h.length/2)).split("").join("\u00a0"):""}],[/(<[a-z][^>]*)\sstyle="([^"]*)"/gi,function(u,h,t){var v=[],o=0,r=p(g(t).replace(/&quot;/gi,"'"),";");c(r,function(s){var w,y,z=p(s,":");function x(A){return A+((A!=="0")&&(/\d$/.test(A)))?"px":""}if(z.length==2){w=z[0].toLowerCase();y=z[1].toLowerCase();switch(w){case"mso-padding-alt":case"mso-padding-top-alt":case"mso-padding-right-alt":case"mso-padding-bottom-alt":case"mso-padding-left-alt":case"mso-margin-alt":case"mso-margin-top-alt":case"mso-margin-right-alt":case"mso-margin-bottom-alt":case"mso-margin-left-alt":case"mso-table-layout-alt":case"mso-height":case"mso-width":case"mso-vertical-align-alt":v[o++]=w.replace(/^mso-|-alt$/g,"")+":"+x(y);return;case"horiz-align":v[o++]="text-align:"+y;return;case"vert-align":v[o++]="vertical-align:"+y;return;case"font-color":case"mso-foreground":v[o++]="color:"+y;return;case"mso-background":case"mso-highlight":v[o++]="background:"+y;return;case"mso-default-height":v[o++]="min-height:"+x(y);return;case"mso-default-width":v[o++]="min-width:"+x(y);return;case"mso-padding-between-alt":v[o++]="border-collapse:separate;border-spacing:"+x(y);return;case"text-line-through":if((y=="single")||(y=="double")){v[o++]="text-decoration:line-through"}return;case"mso-zero-height":if(y=="yes"){v[o++]="display:none"}return}if(/^(mso|column|font-emph|lang|layout|line-break|list-image|nav|panose|punct|row|ruby|sep|size|src|tab-|table-border|text-(?!align|decor|indent|trans)|top-bar|version|vnd|word-break)/.test(w)){return}v[o++]=w+":"+z[1]}});if(o>0){return h+' style="'+v.join(";")+'"'}else{return h}}]])}}if(b(l,"paste_convert_headers_to_strong")){e([[/<h[1-6][^>]*>/gi,"<p><strong>"],[/<\/h[1-6][^>]*>/gi,"</strong></p>"]])}j=b(l,"paste_strip_class_attributes");if(j!=="none"){function n(r,o){if(j==="all"){return""}var h=q(p(o.replace(/^(["'])(.*)\1$/,"$2")," "),function(s){return(/^(?!mso)/i.test(s))});return h.length?' class="'+h.join(" ")+'"':""}k=k.replace(/ class="([^"]+)"/gi,n);k=k.replace(/ class=(\w+)/gi,n)}if(b(l,"paste_remove_spans")){k=k.replace(/<\/?span[^>]*>/gi,"")}f.content=k},_postProcess:function(h,j){var g=this,f=g.editor,i=f.dom,e;if(j.wordContent){c(i.select("a",j.node),function(k){if(!k.href||k.href.indexOf("#_Toc")!=-1){i.remove(k,1)}});if(b(f,"paste_convert_middot_lists")){g._convertLists(h,j)}e=b(f,"paste_retain_style_properties");if((tinymce.is(e,"string"))&&(e!=="all")&&(e!=="*")){e=tinymce.explode(e.replace(/^none$/i,""));c(i.select("*",j.node),function(n){var o={},l=0,m,p,k;if(e){for(m=0;m<e.length;m++){p=e[m];k=i.getStyle(n,p);if(k){o[p]=k;l++}}}i.setAttrib(n,"style","");if(e&&l>0){i.setStyles(n,o)}else{if(n.nodeName=="SPAN"&&!n.className){i.remove(n,true)}}})}}if(b(f,"paste_remove_styles")||(b(f,"paste_remove_styles_if_webkit")&&tinymce.isWebKit)){c(i.select("*[style]",j.node),function(k){k.removeAttribute("style");k.removeAttribute("_mce_style")})}else{if(tinymce.isWebKit){c(i.select("*",j.node),function(k){k.removeAttribute("_mce_style")})}}},_convertLists:function(h,f){var j=h.editor.dom,i,m,e=-1,g,n=[],l,k;c(j.select("p",f.node),function(u){var r,v="",t,s,o,q;for(r=u.firstChild;r&&r.nodeType==3;r=r.nextSibling){v+=r.nodeValue}v=u.innerHTML.replace(/<\/?\w+[^>]*>/gi,"").replace(/&nbsp;/g,"\u00a0");if(/^(__MCE_ITEM__)+[\u2022\u00b7\u00a7\u00d8o]\s*\u00a0*/.test(v)){t="ul"}if(/^__MCE_ITEM__\s*\w+\.\s*\u00a0{2,}/.test(v)){t="ol"}if(t){g=parseFloat(u.style.marginLeft||0);if(g>e){n.push(g)}if(!i||t!=l){i=j.create(t);j.insertAfter(i,u)}else{if(g>e){i=m.appendChild(j.create(t))}else{if(g<e){o=tinymce.inArray(n,g);q=j.getParents(i.parentNode,t);i=q[q.length-1-o]||i}}}c(j.select("span",u),function(w){var p=w.innerHTML.replace(/<\/?\w+[^>]*>/gi,"");if(t=="ul"&&/^[\u2022\u00b7\u00a7\u00d8o]/.test(p)){j.remove(w)}else{if(/^[\s\S]*\w+\.(&nbsp;|\u00a0)*\s*/.test(p)){j.remove(w)}}});s=u.innerHTML;if(t=="ul"){s=u.innerHTML.replace(/__MCE_ITEM__/g,"").replace(/^[\u2022\u00b7\u00a7\u00d8o]\s*(&nbsp;|\u00a0)+\s*/,"")}else{s=u.innerHTML.replace(/__MCE_ITEM__/g,"").replace(/^\s*\w+\.(&nbsp;|\u00a0)+\s*/,"")}m=i.appendChild(j.create("li",0,s));j.remove(u);e=g;l=t}else{i=e=0}});k=f.node.innerHTML;if(k.indexOf("__MCE_ITEM__")!=-1){f.node.innerHTML=k.replace(/__MCE_ITEM__/g,"")}},_insertBlockContent:function(l,h,m){var f,j,g=l.selection,q,n,e,o,i,k="mce_marker";function p(t){var s;if(tinymce.isIE){s=l.getDoc().body.createTextRange();s.moveToElementText(t);s.collapse(false);s.select()}else{g.select(t,1);g.collapse(false)}}this._insert('<span id="'+k+'">&nbsp;</span>',1);j=h.get(k);f=h.getParent(j,"p,h1,h2,h3,h4,h5,h6,ul,ol,th,td");if(f&&!/TD|TH/.test(f.nodeName)){j=h.split(f,j);c(h.create("div",0,m).childNodes,function(r){q=j.parentNode.insertBefore(r.cloneNode(true),j)});p(q)}else{h.setOuterHTML(j,m);g.select(l.getBody(),1);g.collapse(0)}while(n=h.get(k)){h.remove(n)}n=g.getStart();e=h.getViewPort(l.getWin());o=l.dom.getPos(n).y;i=n.clientHeight;if(o<e.y||o+i>e.y+e.h){l.getDoc().body.scrollTop=o<e.y?o:o-e.h+25}},_insert:function(g,e){var f=this.editor,i=f.selection.getRng();if(!f.selection.isCollapsed()&&i.startContainer!=i.endContainer){f.getDoc().execCommand("Delete",false,null)}f.execCommand(tinymce.isGecko?"insertHTML":"mceInsertContent",false,g,{skip_undo:e})},_insertPlainText:function(j,x,v){var t,u,l,k,r,e,p,f,n=j.getWin(),z=j.getDoc(),s=j.selection,m=tinymce.is,y=tinymce.inArray,g=b(j,"paste_text_linebreaktype"),o=b(j,"paste_text_replacements");function q(h){c(h,function(i){if(i.constructor==RegExp){v=v.replace(i,"")}else{v=v.replace(i[0],i[1])}})}if((typeof(v)==="string")&&(v.length>0)){if(!d){d=("34,quot,38,amp,39,apos,60,lt,62,gt,"+j.serializer.settings.entities).split(",")}if(/<(?:p|br|h[1-6]|ul|ol|dl|table|t[rdh]|div|blockquote|fieldset|pre|address|center)[^>]*>/i.test(v)){q([/[\n\r]+/g])}else{q([/\r+/g])}q([[/<\/(?:p|h[1-6]|ul|ol|dl|table|div|blockquote|fieldset|pre|address|center)>/gi,"\n\n"],[/<br[^>]*>|<\/tr>/gi,"\n"],[/<\/t[dh]>\s*<t[dh][^>]*>/gi,"\t"],/<[a-z!\/?][^>]*>/gi,[/&nbsp;/gi," "],[/&(#\d+|[a-z0-9]{1,10});/gi,function(i,h){if(h.charAt(0)==="#"){return String.fromCharCode(h.slice(1))}else{return((i=y(d,h))>0)?String.fromCharCode(d[i-1]):" "}}],[/(?:(?!\n)\s)*(\n+)(?:(?!\n)\s)*/gi,"$1"],[/\n{3,}/g,"\n\n"],/^\s+|\s+$/g]);v=x.encode(v);if(!s.isCollapsed()){z.execCommand("Delete",false,null)}if(m(o,"array")||(m(o,"array"))){q(o)}else{if(m(o,"string")){q(new RegExp(o,"gi"))}}if(g=="none"){q([[/\n+/g," "]])}else{if(g=="br"){q([[/\n/g,"<br />"]])}else{q([/^\s+|\s+$/g,[/\n\n/g,"</p><p>"],[/\n/g,"<br />"]])}}if((l=v.indexOf("</p><p>"))!=-1){k=v.lastIndexOf("</p><p>");r=s.getNode();e=[];do{if(r.nodeType==1){if(r.nodeName=="TD"||r.nodeName=="BODY"){break}e[e.length]=r}}while(r=r.parentNode);if(e.length>0){p=v.substring(0,l);f="";for(t=0,u=e.length;t<u;t++){p+="</"+e[t].nodeName.toLowerCase()+">";f+="<"+e[e.length-t-1].nodeName.toLowerCase()+">"}if(l==k){v=p+f+v.substring(l+7)}else{v=p+v.substring(l+4,k+4)+f+v.substring(k+7)}}}j.execCommand("mceInsertRawHTML",false,v+'<span id="_plain_text_marker">&nbsp;</span>');window.setTimeout(function(){var h=x.get("_plain_text_marker"),B,i,A,w;s.select(h,false);z.execCommand("Delete",false,null);h=null;B=s.getStart();i=x.getViewPort(n);A=x.getPos(B).y;w=B.clientHeight;if((A<i.y)||(A+w>i.y+i.h)){z.body.scrollTop=A<i.y?A:A-i.h+25}},0)}},_legacySupport:function(){var f=this,e=f.editor;e.addCommand("mcePasteWord",function(){e.windowManager.open({file:f.url+"/pasteword.htm",width:parseInt(b(e,"paste_dialog_width")),height:parseInt(b(e,"paste_dialog_height")),inline:1})});if(b(e,"paste_text_use_dialog")){e.addCommand("mcePasteText",function(){e.windowManager.open({file:f.url+"/pastetext.htm",width:parseInt(b(e,"paste_dialog_width")),height:parseInt(b(e,"paste_dialog_height")),inline:1})})}e.addButton("pasteword",{title:"paste.paste_word_desc",cmd:"mcePasteWord"})}});tinymce.PluginManager.add("paste",tinymce.plugins.PastePlugin)})();
1
+ (function(){var c=tinymce.each,a={paste_auto_cleanup_on_paste:true,paste_block_drop:false,paste_retain_style_properties:"none",paste_strip_class_attributes:"mso",paste_remove_spans:false,paste_remove_styles:false,paste_remove_styles_if_webkit:true,paste_convert_middot_lists:true,paste_convert_headers_to_strong:false,paste_dialog_width:"450",paste_dialog_height:"400",paste_text_use_dialog:false,paste_text_sticky:false,paste_text_notifyalways:false,paste_text_linebreaktype:"p",paste_text_replacements:[[/\u2026/g,"..."],[/[\x93\x94\u201c\u201d]/g,'"'],[/[\x60\x91\x92\u2018\u2019]/g,"'"]]};function b(d,e){return d.getParam(e,a[e])}tinymce.create("tinymce.plugins.PastePlugin",{init:function(d,e){var f=this;f.editor=d;f.url=e;f.onPreProcess=new tinymce.util.Dispatcher(f);f.onPostProcess=new tinymce.util.Dispatcher(f);f.onPreProcess.add(f._preProcess);f.onPostProcess.add(f._postProcess);f.onPreProcess.add(function(i,j){d.execCallback("paste_preprocess",i,j)});f.onPostProcess.add(function(i,j){d.execCallback("paste_postprocess",i,j)});d.pasteAsPlainText=false;function h(m,k){var l=d.dom,i,j;f.onPreProcess.dispatch(f,m);m.node=l.create("div",0,m.content);if(tinymce.isGecko){i=d.selection.getRng(true);if(i.startContainer==i.endContainer&&i.startContainer.nodeType==3){j=l.select("p,h1,h2,h3,h4,h5,h6,pre",m.node);if(j.length==1){l.remove(j.reverse(),true)}}}f.onPostProcess.dispatch(f,m);m.content=d.serializer.serialize(m.node,{getInner:1});if((!k)&&(d.pasteAsPlainText)){f._insertPlainText(d,l,m.content);if(!b(d,"paste_text_sticky")){d.pasteAsPlainText=false;d.controlManager.setActive("pastetext",false)}}else{f._insert(m.content)}}d.addCommand("mceInsertClipboardContent",function(i,j){h(j,true)});if(!b(d,"paste_text_use_dialog")){d.addCommand("mcePasteText",function(j,i){var k=tinymce.util.Cookie;d.pasteAsPlainText=!d.pasteAsPlainText;d.controlManager.setActive("pastetext",d.pasteAsPlainText);if((d.pasteAsPlainText)&&(!k.get("tinymcePasteText"))){if(b(d,"paste_text_sticky")){d.windowManager.alert(d.translate("paste.plaintext_mode_sticky"))}else{d.windowManager.alert(d.translate("paste.plaintext_mode_sticky"))}if(!b(d,"paste_text_notifyalways")){k.set("tinymcePasteText","1",new Date(new Date().getFullYear()+1,12,31))}}})}d.addButton("pastetext",{title:"paste.paste_text_desc",cmd:"mcePasteText"});d.addButton("selectall",{title:"paste.selectall_desc",cmd:"selectall"});function g(s){var l,p,j,k=d.selection,o=d.dom,q=d.getBody(),i,r;if(s.clipboardData||o.doc.dataTransfer){r=(s.clipboardData||o.doc.dataTransfer).getData("Text");if(d.pasteAsPlainText){s.preventDefault();h({content:r.replace(/\r?\n/g,"<br />")});return}}if(o.get("_mcePaste")){return}l=o.add(q,"div",{id:"_mcePaste","class":"mcePaste","data-mce-bogus":"1"},'\uFEFF<br data-mce-bogus="1">');if(q!=d.getDoc().body){i=o.getPos(d.selection.getStart(),q).y}else{i=q.scrollTop+o.getViewPort().y}o.setStyles(l,{position:"absolute",left:-10000,top:i,width:1,height:1,overflow:"hidden"});if(tinymce.isIE){j=o.doc.body.createTextRange();j.moveToElementText(l);j.execCommand("Paste");o.remove(l);if(l.innerHTML==="\uFEFF"){d.execCommand("mcePasteWord");s.preventDefault();return}h({content:l.innerHTML});return tinymce.dom.Event.cancel(s)}else{function m(n){n.preventDefault()}o.bind(d.getDoc(),"mousedown",m);o.bind(d.getDoc(),"keydown",m);p=d.selection.getRng();l=l.firstChild;j=d.getDoc().createRange();j.setStart(l,0);j.setEnd(l,1);k.setRng(j);window.setTimeout(function(){var t="",n;if(!o.select("div.mcePaste > div.mcePaste").length){n=o.select("div.mcePaste");c(n,function(v){var u=v.firstChild;if(u&&u.nodeName=="DIV"&&u.style.marginTop&&u.style.backgroundColor){o.remove(u,1)}c(o.select("span.Apple-style-span",v),function(w){o.remove(w,1)});c(o.select("br[data-mce-bogus]",v),function(w){o.remove(w)});if(v.parentNode.className!="mcePaste"){t+=v.innerHTML}})}else{t="<pre>"+o.encode(r).replace(/\r?\n/g,"<br />")+"</pre>"}c(o.select("div.mcePaste"),function(u){o.remove(u)});if(p){k.setRng(p)}h({content:t});o.unbind(d.getDoc(),"mousedown",m);o.unbind(d.getDoc(),"keydown",m)},0)}}if(b(d,"paste_auto_cleanup_on_paste")){if(tinymce.isOpera||/Firefox\/2/.test(navigator.userAgent)){d.onKeyDown.add(function(i,j){if(((tinymce.isMac?j.metaKey:j.ctrlKey)&&j.keyCode==86)||(j.shiftKey&&j.keyCode==45)){g(j)}})}else{d.onPaste.addToTop(function(i,j){return g(j)})}}if(b(d,"paste_block_drop")){d.onInit.add(function(){d.dom.bind(d.getBody(),["dragend","dragover","draggesture","dragdrop","drop","drag"],function(i){i.preventDefault();i.stopPropagation();return false})})}f._legacySupport()},getInfo:function(){return{longname:"Paste text/word",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_preProcess:function(g,e){var k=this.editor,j=e.content,p=tinymce.grep,n=tinymce.explode,f=tinymce.trim,l,i;function d(h){c(h,function(o){if(o.constructor==RegExp){j=j.replace(o,"")}else{j=j.replace(o[0],o[1])}})}if(/class="?Mso|style="[^"]*\bmso-|w:WordDocument/i.test(j)||e.wordContent){e.wordContent=true;d([/^\s*(&nbsp;)+/gi,/(&nbsp;|<br[^>]*>)+\s*$/gi]);if(b(k,"paste_convert_headers_to_strong")){j=j.replace(/<p [^>]*class="?MsoHeading"?[^>]*>(.*?)<\/p>/gi,"<p><strong>$1</strong></p>")}if(b(k,"paste_convert_middot_lists")){d([[/<!--\[if !supportLists\]-->/gi,"$&__MCE_ITEM__"],[/(<span[^>]+(?:mso-list:|:\s*symbol)[^>]+>)/gi,"$1__MCE_ITEM__"],[/(<p[^>]+(?:MsoListParagraph)[^>]+>)/gi,"$1__MCE_ITEM__"]])}d([/<!--[\s\S]+?-->/gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/&nbsp;/gi,"\u00a0"]]);do{l=j.length;j=j.replace(/(<[a-z][^>]*\s)(?:id|name|language|type|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi,"$1")}while(l!=j.length);if(b(k,"paste_retain_style_properties").replace(/^none$/i,"").length==0){j=j.replace(/<\/?span[^>]*>/gi,"")}else{d([[/<span\s+style\s*=\s*"\s*mso-spacerun\s*:\s*yes\s*;?\s*"\s*>([\s\u00a0]*)<\/span>/gi,function(o,h){return(h.length>0)?h.replace(/./," ").slice(Math.floor(h.length/2)).split("").join("\u00a0"):""}],[/(<[a-z][^>]*)\sstyle="([^"]*)"/gi,function(t,h,r){var u=[],o=0,q=n(f(r).replace(/&quot;/gi,"'"),";");c(q,function(s){var w,y,z=n(s,":");function x(A){return A+((A!=="0")&&(/\d$/.test(A)))?"px":""}if(z.length==2){w=z[0].toLowerCase();y=z[1].toLowerCase();switch(w){case"mso-padding-alt":case"mso-padding-top-alt":case"mso-padding-right-alt":case"mso-padding-bottom-alt":case"mso-padding-left-alt":case"mso-margin-alt":case"mso-margin-top-alt":case"mso-margin-right-alt":case"mso-margin-bottom-alt":case"mso-margin-left-alt":case"mso-table-layout-alt":case"mso-height":case"mso-width":case"mso-vertical-align-alt":u[o++]=w.replace(/^mso-|-alt$/g,"")+":"+x(y);return;case"horiz-align":u[o++]="text-align:"+y;return;case"vert-align":u[o++]="vertical-align:"+y;return;case"font-color":case"mso-foreground":u[o++]="color:"+y;return;case"mso-background":case"mso-highlight":u[o++]="background:"+y;return;case"mso-default-height":u[o++]="min-height:"+x(y);return;case"mso-default-width":u[o++]="min-width:"+x(y);return;case"mso-padding-between-alt":u[o++]="border-collapse:separate;border-spacing:"+x(y);return;case"text-line-through":if((y=="single")||(y=="double")){u[o++]="text-decoration:line-through"}return;case"mso-zero-height":if(y=="yes"){u[o++]="display:none"}return}if(/^(mso|column|font-emph|lang|layout|line-break|list-image|nav|panose|punct|row|ruby|sep|size|src|tab-|table-border|text-(?!align|decor|indent|trans)|top-bar|version|vnd|word-break)/.test(w)){return}u[o++]=w+":"+z[1]}});if(o>0){return h+' style="'+u.join(";")+'"'}else{return h}}]])}}if(b(k,"paste_convert_headers_to_strong")){d([[/<h[1-6][^>]*>/gi,"<p><strong>"],[/<\/h[1-6][^>]*>/gi,"</strong></p>"]])}d([[/Version:[\d.]+\nStartHTML:\d+\nEndHTML:\d+\nStartFragment:\d+\nEndFragment:\d+/gi,""]]);i=b(k,"paste_strip_class_attributes");if(i!=="none"){function m(q,o){if(i==="all"){return""}var h=p(n(o.replace(/^(["'])(.*)\1$/,"$2")," "),function(r){return(/^(?!mso)/i.test(r))});return h.length?' class="'+h.join(" ")+'"':""}j=j.replace(/ class="([^"]+)"/gi,m);j=j.replace(/ class=([\-\w]+)/gi,m)}if(b(k,"paste_remove_spans")){j=j.replace(/<\/?span[^>]*>/gi,"")}e.content=j},_postProcess:function(g,i){var f=this,e=f.editor,h=e.dom,d;if(i.wordContent){c(h.select("a",i.node),function(j){if(!j.href||j.href.indexOf("#_Toc")!=-1){h.remove(j,1)}});if(b(e,"paste_convert_middot_lists")){f._convertLists(g,i)}d=b(e,"paste_retain_style_properties");if((tinymce.is(d,"string"))&&(d!=="all")&&(d!=="*")){d=tinymce.explode(d.replace(/^none$/i,""));c(h.select("*",i.node),function(m){var n={},k=0,l,o,j;if(d){for(l=0;l<d.length;l++){o=d[l];j=h.getStyle(m,o);if(j){n[o]=j;k++}}}h.setAttrib(m,"style","");if(d&&k>0){h.setStyles(m,n)}else{if(m.nodeName=="SPAN"&&!m.className){h.remove(m,true)}}})}}if(b(e,"paste_remove_styles")||(b(e,"paste_remove_styles_if_webkit")&&tinymce.isWebKit)){c(h.select("*[style]",i.node),function(j){j.removeAttribute("style");j.removeAttribute("data-mce-style")})}else{if(tinymce.isWebKit){c(h.select("*",i.node),function(j){j.removeAttribute("data-mce-style")})}}},_convertLists:function(g,e){var i=g.editor.dom,h,l,d=-1,f,m=[],k,j;c(i.select("p",e.node),function(t){var q,u="",s,r,n,o;for(q=t.firstChild;q&&q.nodeType==3;q=q.nextSibling){u+=q.nodeValue}u=t.innerHTML.replace(/<\/?\w+[^>]*>/gi,"").replace(/&nbsp;/g,"\u00a0");if(/^(__MCE_ITEM__)+[\u2022\u00b7\u00a7\u00d8o]\s*\u00a0*/.test(u)){s="ul"}if(/^__MCE_ITEM__\s*\w+\.\s*\u00a0+/.test(u)){s="ol"}if(s){f=parseFloat(t.style.marginLeft||0);if(f>d){m.push(f)}if(!h||s!=k){h=i.create(s);i.insertAfter(h,t)}else{if(f>d){h=l.appendChild(i.create(s))}else{if(f<d){n=tinymce.inArray(m,f);o=i.getParents(h.parentNode,s);h=o[o.length-1-n]||h}}}c(i.select("span",t),function(v){var p=v.innerHTML.replace(/<\/?\w+[^>]*>/gi,"");if(s=="ul"&&/^[\u2022\u00b7\u00a7\u00d8o]/.test(p)){i.remove(v)}else{if(/^[\s\S]*\w+\.(&nbsp;|\u00a0)*\s*/.test(p)){i.remove(v)}}});r=t.innerHTML;if(s=="ul"){r=t.innerHTML.replace(/__MCE_ITEM__/g,"").replace(/^[\u2022\u00b7\u00a7\u00d8o]\s*(&nbsp;|\u00a0)+\s*/,"")}else{r=t.innerHTML.replace(/__MCE_ITEM__/g,"").replace(/^\s*\w+\.(&nbsp;|\u00a0)+\s*/,"")}l=h.appendChild(i.create("li",0,r));i.remove(t);d=f;k=s}else{h=d=0}});j=e.node.innerHTML;if(j.indexOf("__MCE_ITEM__")!=-1){e.node.innerHTML=j.replace(/__MCE_ITEM__/g,"")}},_insert:function(f,d){var e=this.editor,g=e.selection.getRng();if(!e.selection.isCollapsed()&&g.startContainer!=g.endContainer){e.getDoc().execCommand("Delete",false,null)}e.execCommand("mceInsertContent",false,f,{skip_undo:d})},_insertPlainText:function(j,x,v){var t,u,l,k,r,e,p,f,n=j.getWin(),z=j.getDoc(),s=j.selection,m=tinymce.is,y=tinymce.inArray,g=b(j,"paste_text_linebreaktype"),o=b(j,"paste_text_replacements");function q(d){c(d,function(h){if(h.constructor==RegExp){v=v.replace(h,"")}else{v=v.replace(h[0],h[1])}})}if((typeof(v)==="string")&&(v.length>0)){if(/<(?:p|br|h[1-6]|ul|ol|dl|table|t[rdh]|div|blockquote|fieldset|pre|address|center)[^>]*>/i.test(v)){q([/[\n\r]+/g])}else{q([/\r+/g])}q([[/<\/(?:p|h[1-6]|ul|ol|dl|table|div|blockquote|fieldset|pre|address|center)>/gi,"\n\n"],[/<br[^>]*>|<\/tr>/gi,"\n"],[/<\/t[dh]>\s*<t[dh][^>]*>/gi,"\t"],/<[a-z!\/?][^>]*>/gi,[/&nbsp;/gi," "],[/(?:(?!\n)\s)*(\n+)(?:(?!\n)\s)*/gi,"$1"],[/\n{3,}/g,"\n\n"],/^\s+|\s+$/g]);v=x.decode(tinymce.html.Entities.encodeRaw(v));if(!s.isCollapsed()){z.execCommand("Delete",false,null)}if(m(o,"array")||(m(o,"array"))){q(o)}else{if(m(o,"string")){q(new RegExp(o,"gi"))}}if(g=="none"){q([[/\n+/g," "]])}else{if(g=="br"){q([[/\n/g,"<br />"]])}else{q([/^\s+|\s+$/g,[/\n\n/g,"</p><p>"],[/\n/g,"<br />"]])}}if((l=v.indexOf("</p><p>"))!=-1){k=v.lastIndexOf("</p><p>");r=s.getNode();e=[];do{if(r.nodeType==1){if(r.nodeName=="TD"||r.nodeName=="BODY"){break}e[e.length]=r}}while(r=r.parentNode);if(e.length>0){p=v.substring(0,l);f="";for(t=0,u=e.length;t<u;t++){p+="</"+e[t].nodeName.toLowerCase()+">";f+="<"+e[e.length-t-1].nodeName.toLowerCase()+">"}if(l==k){v=p+f+v.substring(l+7)}else{v=p+v.substring(l+4,k+4)+f+v.substring(k+7)}}}j.execCommand("mceInsertRawHTML",false,v+'<span id="_plain_text_marker">&nbsp;</span>');window.setTimeout(function(){var d=x.get("_plain_text_marker"),A,h,w,i;s.select(d,false);z.execCommand("Delete",false,null);d=null;A=s.getStart();h=x.getViewPort(n);w=x.getPos(A).y;i=A.clientHeight;if((w<h.y)||(w+i>h.y+h.h)){z.body.scrollTop=w<h.y?w:w-h.h+25}},0)}},_legacySupport:function(){var e=this,d=e.editor;d.addCommand("mcePasteWord",function(){d.windowManager.open({file:e.url+"/pasteword.htm",width:parseInt(b(d,"paste_dialog_width")),height:parseInt(b(d,"paste_dialog_height")),inline:1})});if(b(d,"paste_text_use_dialog")){d.addCommand("mcePasteText",function(){d.windowManager.open({file:e.url+"/pastetext.htm",width:parseInt(b(d,"paste_dialog_width")),height:parseInt(b(d,"paste_dialog_height")),inline:1})})}d.addButton("pasteword",{title:"paste.paste_word_desc",cmd:"mcePasteWord"})}});tinymce.PluginManager.add("paste",tinymce.plugins.PastePlugin)})();
@@ -10,7 +10,6 @@
10
10
 
11
11
  (function() {
12
12
  var each = tinymce.each,
13
- entities = null,
14
13
  defs = {
15
14
  paste_auto_cleanup_on_paste : true,
16
15
  paste_block_drop : false,
@@ -69,7 +68,7 @@
69
68
  // This function executes the process handlers and inserts the contents
70
69
  // force_rich overrides plain text mode set by user, important for pasting with execCommand
71
70
  function process(o, force_rich) {
72
- var dom = ed.dom;
71
+ var dom = ed.dom, rng, nodes;
73
72
 
74
73
  // Execute pre process handlers
75
74
  t.onPreProcess.dispatch(t, o);
@@ -77,6 +76,18 @@
77
76
  // Create DOM structure
78
77
  o.node = dom.create('div', 0, o.content);
79
78
 
79
+ // If pasting inside the same element and the contents is only one block
80
+ // remove the block and keep the text since Firefox will copy parts of pre and h1-h6 as a pre element
81
+ if (tinymce.isGecko) {
82
+ rng = ed.selection.getRng(true);
83
+ if (rng.startContainer == rng.endContainer && rng.startContainer.nodeType == 3) {
84
+ nodes = dom.select('p,h1,h2,h3,h4,h5,h6,pre', o.node);
85
+
86
+ if (nodes.length == 1)
87
+ dom.remove(nodes.reverse(), true);
88
+ }
89
+ }
90
+
80
91
  // Execute post process handlers
81
92
  t.onPostProcess.dispatch(t, o);
82
93
 
@@ -91,9 +102,6 @@
91
102
  ed.pasteAsPlainText = false;
92
103
  ed.controlManager.setActive("pastetext", false);
93
104
  }
94
- } else if (/<(p|h[1-6]|ul|ol)/.test(o.content)) {
95
- // Handle insertion of contents containing block elements separately
96
- t._insertBlockContent(ed, dom, o.content);
97
105
  } else {
98
106
  t._insert(o.content);
99
107
  }
@@ -132,26 +140,30 @@
132
140
  // hidden div and placing the caret inside it and after the browser paste
133
141
  // is done it grabs that contents and processes that
134
142
  function grabContent(e) {
135
- var n, or, rng, sel = ed.selection, dom = ed.dom, body = ed.getBody(), posY;
143
+ var n, or, rng, sel = ed.selection, dom = ed.dom, body = ed.getBody(), posY, textContent;
136
144
 
137
145
  // Check if browser supports direct plaintext access
138
- if (ed.pasteAsPlainText && (e.clipboardData || dom.doc.dataTransfer)) {
139
- e.preventDefault();
140
- process({content : (e.clipboardData || dom.doc.dataTransfer).getData('Text')}, true);
141
- return;
146
+ if (e.clipboardData || dom.doc.dataTransfer) {
147
+ textContent = (e.clipboardData || dom.doc.dataTransfer).getData('Text');
148
+
149
+ if (ed.pasteAsPlainText) {
150
+ e.preventDefault();
151
+ process({content : textContent.replace(/\r?\n/g, '<br />')});
152
+ return;
153
+ }
142
154
  }
143
155
 
144
156
  if (dom.get('_mcePaste'))
145
157
  return;
146
158
 
147
159
  // Create container to paste into
148
- n = dom.add(body, 'div', {id : '_mcePaste', 'class' : 'mcePaste'}, '\uFEFF');
160
+ n = dom.add(body, 'div', {id : '_mcePaste', 'class' : 'mcePaste', 'data-mce-bogus' : '1'}, '\uFEFF<br data-mce-bogus="1">');
149
161
 
150
162
  // If contentEditable mode we need to find out the position of the closest element
151
163
  if (body != ed.getDoc().body)
152
164
  posY = dom.getPos(ed.selection.getStart(), body).y;
153
165
  else
154
- posY = body.scrollTop;
166
+ posY = body.scrollTop + dom.getViewPort().y;
155
167
 
156
168
  // Styles needs to be applied after the element is added to the document since WebKit will otherwise remove all styles
157
169
  dom.setStyles(n, {
@@ -205,25 +217,42 @@
205
217
 
206
218
  // Wait a while and grab the pasted contents
207
219
  window.setTimeout(function() {
208
- var h = '', nl = dom.select('div.mcePaste');
220
+ var h = '', nl;
209
221
 
210
- // WebKit will split the div into multiple ones so this will loop through then all and join them to get the whole HTML string
211
- each(nl, function(n) {
212
- // WebKit duplicates the divs so we need to remove them
213
- each(dom.select('div.mcePaste', n), function(n) {
214
- dom.remove(n, 1);
215
- });
222
+ // Paste divs duplicated in paste divs seems to happen when you paste plain text so lets first look for that broken behavior in WebKit
223
+ if (!dom.select('div.mcePaste > div.mcePaste').length) {
224
+ nl = dom.select('div.mcePaste');
216
225
 
217
- // Remove apply style spans
218
- each(dom.select('span.Apple-style-span', n), function(n) {
219
- dom.remove(n, 1);
220
- });
226
+ // WebKit will split the div into multiple ones so this will loop through then all and join them to get the whole HTML string
227
+ each(nl, function(n) {
228
+ var child = n.firstChild;
221
229
 
222
- h += n.innerHTML;
223
- });
230
+ // WebKit inserts a DIV container with lots of odd styles
231
+ if (child && child.nodeName == 'DIV' && child.style.marginTop && child.style.backgroundColor) {
232
+ dom.remove(child, 1);
233
+ }
234
+
235
+ // Remove apply style spans
236
+ each(dom.select('span.Apple-style-span', n), function(n) {
237
+ dom.remove(n, 1);
238
+ });
239
+
240
+ // Remove bogus br elements
241
+ each(dom.select('br[data-mce-bogus]', n), function(n) {
242
+ dom.remove(n);
243
+ });
244
+
245
+ // WebKit will make a copy of the DIV for each line of plain text pasted and insert them into the DIV
246
+ if (n.parentNode.className != 'mcePaste')
247
+ h += n.innerHTML;
248
+ });
249
+ } else {
250
+ // Found WebKit weirdness so force the content into plain text mode
251
+ h = '<pre>' + dom.encode(textContent).replace(/\r?\n/g, '<br />') + '</pre>';
252
+ }
224
253
 
225
254
  // Remove the nodes
226
- each(nl, function(n) {
255
+ each(dom.select('div.mcePaste'), function(n) {
227
256
  dom.remove(n);
228
257
  });
229
258
 
@@ -320,7 +349,8 @@
320
349
  if (getParam(ed, "paste_convert_middot_lists")) {
321
350
  process([
322
351
  [/<!--\[if !supportLists\]-->/gi, '$&__MCE_ITEM__'], // Convert supportLists to a list item marker
323
- [/(<span[^>]+(?:mso-list:|:\s*symbol)[^>]+>)/gi, '$1__MCE_ITEM__'] // Convert mso-list and symbol spans to item markers
352
+ [/(<span[^>]+(?:mso-list:|:\s*symbol)[^>]+>)/gi, '$1__MCE_ITEM__'], // Convert mso-list and symbol spans to item markers
353
+ [/(<p[^>]+(?:MsoListParagraph)[^>]+>)/gi, '$1__MCE_ITEM__'] // Convert mso-list and symbol paragraphs to item markers (FF)
324
354
  ]);
325
355
  }
326
356
 
@@ -472,6 +502,11 @@
472
502
  ]);
473
503
  }
474
504
 
505
+ process([
506
+ // Copy paste from Java like Open Office will produce this junk on FF
507
+ [/Version:[\d.]+\nStartHTML:\d+\nEndHTML:\d+\nStartFragment:\d+\nEndFragment:\d+/gi, '']
508
+ ]);
509
+
475
510
  // Class attribute options are: leave all as-is ("none"), remove all ("all"), or remove only those starting with mso ("mso").
476
511
  // Note:- paste_strip_class_attributes: "none", verify_css_classes: true is also a good variation.
477
512
  stripClass = getParam(ed, "paste_strip_class_attributes");
@@ -491,7 +526,7 @@
491
526
  };
492
527
 
493
528
  h = h.replace(/ class="([^"]+)"/gi, removeClasses);
494
- h = h.replace(/ class=(\w+)/gi, removeClasses);
529
+ h = h.replace(/ class=([\-\w]+)/gi, removeClasses);
495
530
  }
496
531
 
497
532
  // Remove spans option
@@ -561,14 +596,14 @@
561
596
  if (getParam(ed, "paste_remove_styles") || (getParam(ed, "paste_remove_styles_if_webkit") && tinymce.isWebKit)) {
562
597
  each(dom.select('*[style]', o.node), function(el) {
563
598
  el.removeAttribute('style');
564
- el.removeAttribute('_mce_style');
599
+ el.removeAttribute('data-mce-style');
565
600
  });
566
601
  } else {
567
602
  if (tinymce.isWebKit) {
568
603
  // We need to compress the styles on WebKit since if you paste <img border="0" /> it will become <img border="0" style="... lots of junk ..." />
569
604
  // Removing the mce_style that contains the real value will force the Serializer engine to compress the styles
570
605
  each(dom.select('*', o.node), function(el) {
571
- el.removeAttribute('_mce_style');
606
+ el.removeAttribute('data-mce-style');
572
607
  });
573
608
  }
574
609
  }
@@ -595,7 +630,7 @@
595
630
  type = 'ul';
596
631
 
597
632
  // Detect ordered lists 1., a. or ixv.
598
- if (/^__MCE_ITEM__\s*\w+\.\s*\u00a0{2,}/.test(val))
633
+ if (/^__MCE_ITEM__\s*\w+\.\s*\u00a0+/.test(val))
599
634
  type = 'ol';
600
635
 
601
636
  // Check if node value matches the list pattern: o&nbsp;&nbsp;
@@ -655,65 +690,6 @@
655
690
  o.node.innerHTML = html.replace(/__MCE_ITEM__/g, '');
656
691
  },
657
692
 
658
- /**
659
- * This method will split the current block parent and insert the contents inside the split position.
660
- * This logic can be improved so text nodes at the start/end remain in the start/end block elements
661
- */
662
- _insertBlockContent : function(ed, dom, content) {
663
- var parentBlock, marker, sel = ed.selection, last, elm, vp, y, elmHeight, markerId = 'mce_marker';
664
-
665
- function select(n) {
666
- var r;
667
-
668
- if (tinymce.isIE) {
669
- r = ed.getDoc().body.createTextRange();
670
- r.moveToElementText(n);
671
- r.collapse(false);
672
- r.select();
673
- } else {
674
- sel.select(n, 1);
675
- sel.collapse(false);
676
- }
677
- }
678
-
679
- // Insert a marker for the caret position
680
- this._insert('<span id="' + markerId + '">&nbsp;</span>', 1);
681
- marker = dom.get(markerId);
682
- parentBlock = dom.getParent(marker, 'p,h1,h2,h3,h4,h5,h6,ul,ol,th,td');
683
-
684
- // If it's a parent block but not a table cell
685
- if (parentBlock && !/TD|TH/.test(parentBlock.nodeName)) {
686
- // Split parent block
687
- marker = dom.split(parentBlock, marker);
688
-
689
- // Insert nodes before the marker
690
- each(dom.create('div', 0, content).childNodes, function(n) {
691
- last = marker.parentNode.insertBefore(n.cloneNode(true), marker);
692
- });
693
-
694
- // Move caret after marker
695
- select(last);
696
- } else {
697
- dom.setOuterHTML(marker, content);
698
- sel.select(ed.getBody(), 1);
699
- sel.collapse(0);
700
- }
701
-
702
- // Remove marker if it's left
703
- while (elm = dom.get(markerId))
704
- dom.remove(elm);
705
-
706
- // Get element, position and height
707
- elm = sel.getStart();
708
- vp = dom.getViewPort(ed.getWin());
709
- y = ed.dom.getPos(elm).y;
710
- elmHeight = elm.clientHeight;
711
-
712
- // Is element within viewport if not then scroll it into view
713
- if (y < vp.y || y + elmHeight > vp.y + vp.h)
714
- ed.getDoc().body.scrollTop = y < vp.y ? y : y - vp.h + 25;
715
- },
716
-
717
693
  /**
718
694
  * Inserts the specified contents at the caret position.
719
695
  */
@@ -725,7 +701,7 @@
725
701
  ed.getDoc().execCommand('Delete', false, null);
726
702
 
727
703
  // It's better to use the insertHTML method on Gecko since it will combine paragraphs correctly before inserting the contents
728
- ed.execCommand(tinymce.isGecko ? 'insertHTML' : 'mceInsertContent', false, h, {skip_undo : skip_undo});
704
+ ed.execCommand('mceInsertContent', false, h, {skip_undo : skip_undo});
729
705
  },
730
706
 
731
707
  /**
@@ -757,9 +733,6 @@
757
733
  };
758
734
 
759
735
  if ((typeof(h) === "string") && (h.length > 0)) {
760
- if (!entities)
761
- entities = ("34,quot,38,amp,39,apos,60,lt,62,gt," + ed.serializer.settings.entities).split(",");
762
-
763
736
  // If HTML content with line-breaking tags, then remove all cr/lf chars because only tags will break a line
764
737
  if (/<(?:p|br|h[1-6]|ul|ol|dl|table|t[rdh]|div|blockquote|fieldset|pre|address|center)[^>]*>/i.test(h)) {
765
738
  process([
@@ -778,26 +751,12 @@
778
751
  [/<\/t[dh]>\s*<t[dh][^>]*>/gi, "\t"], // Table cells get tabs betweem them
779
752
  /<[a-z!\/?][^>]*>/gi, // Delete all remaining tags
780
753
  [/&nbsp;/gi, " "], // Convert non-break spaces to regular spaces (remember, *plain text*)
781
- [
782
- // HTML entity
783
- /&(#\d+|[a-z0-9]{1,10});/gi,
784
-
785
- // Replace with actual character
786
- function(e, s) {
787
- if (s.charAt(0) === "#") {
788
- return String.fromCharCode(s.slice(1));
789
- }
790
- else {
791
- return ((e = inArray(entities, s)) > 0)? String.fromCharCode(entities[e-1]) : " ";
792
- }
793
- }
794
- ],
795
754
  [/(?:(?!\n)\s)*(\n+)(?:(?!\n)\s)*/gi, "$1"], // Cool little RegExp deletes whitespace around linebreak chars.
796
755
  [/\n{3,}/g, "\n\n"], // Max. 2 consecutive linebreaks
797
756
  /^\s+|\s+$/g // Trim the front & back
798
757
  ]);
799
758
 
800
- h = dom.encode(h);
759
+ h = dom.decode(tinymce.html.Entities.encodeRaw(h));
801
760
 
802
761
  // Delete any highlighted text before pasting
803
762
  if (!sel.isCollapsed()) {
@@ -1,5 +1 @@
1
- tinyMCE.addI18n('ca.paste_dlg',{
2
- text_title:"Amb el teclat utilitzeu CTRL+V per a enganxar el text dins la finestra.",
3
- text_linebreaks:"Conserva els salts de l\u00EDnia",
4
- word_title:"Amb el teclat utilitzeu CTRL+V per a enganxar el text dins la finestra."
5
- });
1
+ tinyMCE.addI18n('ca.paste_dlg',{"word_title":"Amb el teclat utilitzeu CTRL+V per a enganxar el text dins la finestra.","text_linebreaks":"Conserva els salts de l\u00ednia","text_title":"Amb el teclat utilitzeu CTRL+V per a enganxar el text dins la finestra."});
@@ -1,5 +1 @@
1
- tinyMCE.addI18n('cs.paste_dlg',{
2
- text_title:"Pou\u017Eijte CTRL+V pro vlo\u017Een\u00ED textu do okna.",
3
- text_linebreaks:"Zachovat zalamov\u00E1n\u00ED \u0159\u00E1dk\u016F",
4
- word_title:"Pou\u017Eijte CTRL+V pro vlo\u017Een\u00ED textu do okna."
5
- });
1
+ tinyMCE.addI18n('cs.paste_dlg',{word_title:"Pou\u017eijte CTRL+V pro vlo\u017een\u00ed textu do okna.",text_linebreaks:"Zachovat zalamov\u00e1n\u00ed \u0159\u00e1dk\u016f",text_title:"Pou\u017eijte CTRL+V pro vlo\u017een\u00ed textu do okna."});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('da.paste_dlg',{word_title:"Anvend CTRL+V p\u00e5 tastaturet for at inds\u00e6tte teksten.",text_linebreaks:"Bevar linieskift",text_title:"Anvend CTRL+V p\u00e5 tastaturet for at inds\u00e6tte teksten."});
@@ -1,5 +1 @@
1
- tinyMCE.addI18n('en.paste_dlg',{
2
- text_title:"Use CTRL+V on your keyboard to paste the text into the window.",
3
- text_linebreaks:"Keep linebreaks",
4
- word_title:"Use CTRL+V on your keyboard to paste the text into the window."
5
- });
1
+ tinyMCE.addI18n('en.paste_dlg',{word_title:"Use CTRL+V on your keyboard to paste the text into the window.",text_linebreaks:"Keep linebreaks",text_title:"Use CTRL+V on your keyboard to paste the text into the window."});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('fi.paste_dlg',{word_title:"Paina Ctrl+V liitt\u00e4\u00e4ksesi sis\u00e4ll\u00f6n ikkunaan.",text_linebreaks:"S\u00e4ilyt\u00e4 rivinvaihdot",text_title:"Paina Ctrl+V liitt\u00e4\u00e4ksesi sis\u00e4ll\u00f6n ikkunaan."});
@@ -1,5 +1 @@
1
- tinyMCE.addI18n('fr.paste_dlg',{
2
- text_title:"Utilisez CTRL+V sur votre clavier pour coller le texte dans la fen\u00EAtre.",
3
- text_linebreaks:"Conserver les retours \u00E0 la ligne",
4
- word_title:"Utilisez CTRL+V sur votre clavier pour coller le texte dans la fen\u00EAtre."
5
- });
1
+ tinyMCE.addI18n('fr.paste_dlg',{word_title:"Utilisez CTRL+V sur votre clavier pour coller le texte dans la fen\u00eatre.",text_linebreaks:"Conserver les retours \u00e0 la ligne",text_title:"Utilisez CTRL+V sur votre clavier pour coller le texte dans la fen\u00eatre."});
@@ -1,5 +1 @@
1
- tinyMCE.addI18n('hu.paste_dlg',{
2
- text_title:"Haszn\u00E1lja a Ctrl+V-t a billenty\u0171zet\u00E9n a beilleszt\u00E9shez.",
3
- text_linebreaks:"Sort\u00F6r\u00E9sek megtart\u00E1sa",
4
- word_title:"Haszn\u00E1lja a Ctrl+V-t a billenty\u0171zet\u00E9n a beilleszt\u00E9shez."
5
- });
1
+ tinyMCE.addI18n('hu.paste_dlg',{"word_title":"Haszn\u00e1lja a Ctrl+V-t a billenty\u0171zet\u00e9n a beilleszt\u00e9shez.","text_linebreaks":"Sort\u00f6r\u00e9sek megtart\u00e1sa","text_title":"Haszn\u00e1lja a Ctrl+V-t a billenty\u0171zet\u00e9n a beilleszt\u00e9shez."});
@@ -1,5 +1 @@
1
- tinyMCE.addI18n('ja.paste_dlg',{
2
- text_title:"\u30AD\u30FC\u30DC\u30FC\u30C9\u3067CTRL+V\u3092\u62BC\u3057\u3066\u30C6\u30AD\u30B9\u30C8\u3092\u8CBC\u308A\u4ED8\u3051\u3066\u304F\u3060\u3055\u3044\u3002",
3
- text_linebreaks:"\u6539\u884C\u3092\u4FDD\u6301\u3059\u308B",
4
- word_title:"\u30AD\u30FC\u30DC\u30FC\u30C9\u3067CTRL+V\u3092\u62BC\u3057\u3066\u30C6\u30AD\u30B9\u30C8\u3092\u8CBC\u308A\u4ED8\u3051\u3066\u304F\u3060\u3055\u3044\u3002"
5
- });
1
+ tinyMCE.addI18n('ja.paste_dlg',{"word_title":"\u30ad\u30fc\u30dc\u30fc\u30c9\u3067CTRL+V\u3092\u62bc\u3057\u3066\u30c6\u30ad\u30b9\u30c8\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002","text_linebreaks":"\u6539\u884c\u3092\u4fdd\u6301\u3059\u308b","text_title":"\u30ad\u30fc\u30dc\u30fc\u30c9\u3067CTRL+V\u3092\u62bc\u3057\u3066\u30c6\u30ad\u30b9\u30c8\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002"});
@@ -1,5 +1 @@
1
- tinyMCE.addI18n('ka.paste_dlg',{
2
- text_title:"\u10E2\u10D4\u10E5\u10E1\u10E2\u10D8\u10E1 \u10E9\u10D0\u10E1\u10D0\u10E1\u10DB\u10D4\u10DA\u10D0\u10D3 \u10D2\u10D0\u10DB\u10DD\u10D8\u10E7\u10D4\u10DC\u10D4\u10D7 \u10D9\u10DA\u10D0\u10D5\u10D8\u10D0\u10E2\u10E3\u10E0\u10E3\u10DA\u10D8 \u10D9\u10DD\u10DB\u10D1\u10D8\u10DC\u10D0\u10EA\u10D8\u10D0 CTRL+V.",
3
- text_linebreaks:"\u10D2\u10D0\u10D3\u10D0\u10E2\u10D0\u10DC\u10D8\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10E5\u10DD\u10DC\u10D4\u10D1\u10D8\u10E1 \u10E8\u10D4\u10DC\u10D0\u10EE\u10D5\u10D0",
4
- word_title:"\u0418\u10E2\u10D4\u10E5\u10E1\u10E2\u10D8\u10E1 \u10E9\u10D0\u10E1\u10D0\u10E1\u10DB\u10D4\u10DA\u10D0\u10D3 \u10D2\u10D0\u10DB\u10DD\u10D8\u10E7\u10D4\u10DC\u10D4\u10D7 \u10D9\u10DA\u10D0\u10D5\u10D8\u10D0\u10E2\u10E3\u10E0\u10E3\u10DA\u10D8 \u10D9\u10DD\u10DB\u10D1\u10D8\u10DC\u10D0\u10EA\u10D8\u10D0 CTRL+V."
5
- });
1
+ tinyMCE.addI18n('ka.paste_dlg',{word_title:"\u0418\u10e2\u10d4\u10e5\u10e1\u10e2\u10d8\u10e1 \u10e9\u10d0\u10e1\u10d0\u10e1\u10db\u10d4\u10da\u10d0\u10d3 \u10d2\u10d0\u10db\u10dd\u10d8\u10e7\u10d4\u10dc\u10d4\u10d7 \u10d9\u10da\u10d0\u10d5\u10d8\u10d0\u10e2\u10e3\u10e0\u10e3\u10da\u10d8 \u10d9\u10dd\u10db\u10d1\u10d8\u10dc\u10d0\u10ea\u10d8\u10d0 CTRL+V.",text_linebreaks:"\u10d2\u10d0\u10d3\u10d0\u10e2\u10d0\u10dc\u10d8\u10da\u10d8 \u10e1\u10e2\u10e0\u10d8\u10e5\u10dd\u10dc\u10d4\u10d1\u10d8\u10e1 \u10e8\u10d4\u10dc\u10d0\u10ee\u10d5\u10d0",text_title:"\u10e2\u10d4\u10e5\u10e1\u10e2\u10d8\u10e1 \u10e9\u10d0\u10e1\u10d0\u10e1\u10db\u10d4\u10da\u10d0\u10d3 \u10d2\u10d0\u10db\u10dd\u10d8\u10e7\u10d4\u10dc\u10d4\u10d7 \u10d9\u10da\u10d0\u10d5\u10d8\u10d0\u10e2\u10e3\u10e0\u10e3\u10da\u10d8 \u10d9\u10dd\u10db\u10d1\u10d8\u10dc\u10d0\u10ea\u10d8\u10d0 CTRL+V."});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('km.paste_dlg',{word_title:"\u1794\u17d2\u179a\u17be CTRL V \u1793\u17c5\u179b\u17be\u1780\u17d2\u178a\u17b6\u179a\u1785\u17bb\u1785\u178a\u17be\u1798\u17d2\u1794\u17b8\u1794\u17b7\u1791\u1797\u17d2\u1787\u17b6\u1794\u17cb\u17a2\u178f\u17d2\u1790\u1794\u1791\u1791\u17c5\u1793\u17b9\u1784\u1794\u1784\u17d2\u17a2\u17bd\u1785\u1793\u17c1\u17c7\u00a0\u17d4",text_linebreaks:"\u179a\u1780\u17d2\u179f\u17b6\u179f\u1789\u17d2\u1789\u17b6\u1785\u17bb\u17c7\u1794\u1793\u17d2\u1791\u17b6\u178f\u17cb",text_title:"\u1794\u17d2\u179a\u17be CTRL V \u1793\u17c5\u179b\u17be\u1780\u17d2\u178a\u17b6\u179a\u1785\u17bb\u1785\u178a\u17be\u1798\u17d2\u1794\u17b8\u1794\u17b7\u1791\u1797\u17d2\u1787\u17b6\u1794\u17cb\u17a2\u178f\u17d2\u1790\u1794\u1791\u1791\u17c5\u1793\u17b9\u1784\u1794\u1784\u17d2\u17a2\u17bd\u1785\u1793\u17c1\u17c7\u00a0\u17d4"});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('nb.paste_dlg',{"word_title":"Bruk CTRL+V p\u00e5 tastaturet for \u00e5 lime inn i dette vinduet.","text_linebreaks":"Behold tekstbryting","text_title":"Bruk CTRL+V p\u00e5 tastaturet for \u00e5 lime inn i dette vinduet."});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('no.paste_dlg',{"word_title":"Bruk CTRL+V p\u00e5 tastaturet for \u00e5 lime inn teksten i dette vinduet.","text_linebreaks":"Behold tekstbryting","text_title":"Bruk CTRL+V p\u00e5 tastaturet for \u00e5 lime inn teksten i dette vinduet."});
@@ -1,5 +1 @@
1
- tinyMCE.addI18n('pl.paste_dlg',{
2
- text_title:"U\u017Cyj CTRL+V na swojej klawiaturze \u017Ceby wklei\u0107 tekst do okna.",
3
- text_linebreaks:"Zachowaj ko\u0144ce linii.",
4
- word_title:"U\u017Cyj CTRL+V na swojej klawiaturze \u017Ceby wklei\u0107 tekst do okna."
5
- });
1
+ tinyMCE.addI18n('pl.paste_dlg',{word_title:"U\u017cyj CTRL+V na swojej klawiaturze \u017ceby wklei\u0107 tekst do okna.",text_linebreaks:"Zachowaj ko\u0144ce linii.",text_title:"U\u017cyj CTRL+V na swojej klawiaturze \u017ceby wklei\u0107 tekst do okna."});
@@ -1,5 +1 @@
1
- tinyMCE.addI18n('pt.paste_dlg',{
2
- text_title:"Use CTRL+V para colar o texto na janela.",
3
- text_linebreaks:"Manter quebras de linha",
4
- word_title:"Use CTRL+V para colar o texto na janela."
5
- });
1
+ tinyMCE.addI18n('pt.paste_dlg',{word_title:"Use CTRL+V para colar o texto na janela.",text_linebreaks:"Manter quebras de linha",text_title:"Use CTRL+V para colar o texto na janela."});
@@ -1,5 +1 @@
1
- tinyMCE.addI18n('ru.paste_dlg',{
2
- text_title:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 CTRL+V \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043A\u0438 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u043E\u043A\u043D\u043E.",
3
- text_linebreaks:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u044B \u0441\u0442\u0440\u043E\u043A",
4
- word_title:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 CTRL+V \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043A\u0438 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u043E\u043A\u043D\u043E."
5
- });
1
+ tinyMCE.addI18n('ru.paste_dlg',{"word_title":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 CTRL+V \u0434\u043b\u044f \u0432\u0441\u0442\u0430\u0432\u043a\u0438 \u0442\u0435\u043a\u0441\u0442\u0430 \u0432 \u043e\u043a\u043d\u043e.","text_linebreaks":"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u044b \u0441\u0442\u0440\u043e\u043a","text_title":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 CTRL+V \u0434\u043b\u044f \u0432\u0441\u0442\u0430\u0432\u043a\u0438 \u0442\u0435\u043a\u0441\u0442\u0430 \u0432 \u043e\u043a\u043d\u043e."});
@@ -1,5 +1 @@
1
- tinyMCE.addI18n('sk.paste_dlg',{
2
- text_title:"Pou\u017Eite CTRL+V pre vlo\u017Eenie textu do okna.",
3
- text_linebreaks:"Zachova\u0165 zalamovanie riadkov",
4
- word_title:"Pou\u017Eite CTRL+V pre vlo\u017Eenie textu do okna."
5
- });
1
+ tinyMCE.addI18n('sk.paste_dlg',{word_title:"Pou\u017eite CTRL+V pre vlo\u017eenie textu do okna.",text_linebreaks:"Zachova\u0165 zalamovanie riadkov",text_title:"Pou\u017eite CTRL+V pre vlo\u017eenie textu do okna."});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('sl.paste_dlg',{word_title:"Uporabite kombinacijo tipk CTRL+V, da prilepite vsebino v okno.",text_linebreaks:"Obdr\u017ei prelome vrstic",text_title:"Uporabite kombinacijo tipk CTRL+V, da prilepite vsebino v okno."});