locomotive-tinymce-rails 3.4.7.5 → 3.5.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (627) hide show
  1. data/README.md +3 -21
  2. data/Rakefile +15 -16
  3. data/app/assets/javascripts/tinymce-jquery.js +1 -1
  4. data/lib/tinymce/rails/version.rb +2 -2
  5. data/vendor/assets/javascripts/tinymce/jquery.tinymce.js +1 -1
  6. data/vendor/assets/javascripts/tinymce/langs/de.js +1 -1
  7. data/vendor/assets/javascripts/tinymce/langs/en.js +1 -1
  8. data/vendor/assets/javascripts/tinymce/langs/es.js +1 -1
  9. data/vendor/assets/javascripts/tinymce/langs/et.js +0 -0
  10. data/vendor/assets/javascripts/tinymce/langs/fr.js +0 -0
  11. data/vendor/assets/javascripts/tinymce/langs/it.js +0 -0
  12. data/vendor/assets/javascripts/tinymce/langs/nb.js +1 -0
  13. data/vendor/assets/javascripts/tinymce/langs/nl.js +0 -0
  14. data/vendor/assets/javascripts/tinymce/langs/pl.js +0 -0
  15. data/vendor/assets/javascripts/tinymce/langs/pt.js +0 -0
  16. data/vendor/assets/javascripts/tinymce/langs/ru.js +0 -0
  17. data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/de_dlg.js +0 -0
  18. data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/es_dlg.js +0 -0
  19. data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/et_dlg.js +0 -0
  20. data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/fr_dlg.js +0 -0
  21. data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/it_dlg.js +0 -0
  22. data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/nb_dlg.js +1 -0
  23. data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/nl_dlg.js +0 -0
  24. data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/pl_dlg.js +0 -0
  25. data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/pt_dlg.js +0 -0
  26. data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/ru_dlg.js +0 -0
  27. data/vendor/assets/javascripts/tinymce/plugins/advimage/js/image.js +5 -3
  28. data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/de_dlg.js +1 -1
  29. data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/es_dlg.js +0 -0
  30. data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/et_dlg.js +0 -0
  31. data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/fr_dlg.js +0 -0
  32. data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/it_dlg.js +0 -0
  33. data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/nb_dlg.js +1 -0
  34. data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/nl_dlg.js +0 -0
  35. data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/pl_dlg.js +0 -0
  36. data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/pt_dlg.js +0 -0
  37. data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/ru_dlg.js +0 -0
  38. data/vendor/assets/javascripts/tinymce/plugins/advlink/js/advlink.js +16 -5
  39. data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/de_dlg.js +1 -1
  40. data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/es_dlg.js +0 -0
  41. data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/et_dlg.js +0 -0
  42. data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/fr_dlg.js +0 -0
  43. data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/it_dlg.js +0 -0
  44. data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/nb_dlg.js +1 -0
  45. data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/nl_dlg.js +0 -0
  46. data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/pl_dlg.js +0 -0
  47. data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/pt_dlg.js +0 -0
  48. data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/ru_dlg.js +0 -0
  49. data/vendor/assets/javascripts/tinymce/plugins/autolink/editor_plugin.js +1 -1
  50. data/vendor/assets/javascripts/tinymce/plugins/autolink/editor_plugin_src.js +24 -12
  51. data/vendor/assets/javascripts/tinymce/plugins/autoresize/editor_plugin.js +1 -1
  52. data/vendor/assets/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js +20 -38
  53. data/vendor/assets/javascripts/tinymce/plugins/autosave/editor_plugin.js +1 -1
  54. data/vendor/assets/javascripts/tinymce/plugins/autosave/editor_plugin_src.js +4 -2
  55. data/vendor/assets/javascripts/tinymce/plugins/contextmenu/editor_plugin.js +1 -1
  56. data/vendor/assets/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js +10 -7
  57. data/vendor/assets/javascripts/tinymce/plugins/directionality/editor_plugin.js +1 -1
  58. data/vendor/assets/javascripts/tinymce/plugins/directionality/editor_plugin_src.js +22 -19
  59. data/vendor/assets/javascripts/tinymce/plugins/emotions/emotions.htm +1 -1
  60. data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/de_dlg.js +1 -0
  61. data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/en_dlg.js +1 -1
  62. data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/es_dlg.js +1 -0
  63. data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/et_dlg.js +1 -0
  64. data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/fr_dlg.js +1 -0
  65. data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/it_dlg.js +1 -0
  66. data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/nb_dlg.js +1 -0
  67. data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/nl_dlg.js +1 -0
  68. data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/pl_dlg.js +0 -0
  69. data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/pt_dlg.js +1 -0
  70. data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/ru_dlg.js +1 -0
  71. data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/de_dlg.js +0 -0
  72. data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/es_dlg.js +0 -0
  73. data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/et_dlg.js +0 -0
  74. data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/fr_dlg.js +0 -0
  75. data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/it_dlg.js +0 -0
  76. data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/nb_dlg.js +1 -0
  77. data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/nl_dlg.js +0 -0
  78. data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/pl_dlg.js +0 -0
  79. data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/pt_dlg.js +0 -0
  80. data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/ru_dlg.js +0 -0
  81. data/vendor/assets/javascripts/tinymce/plugins/fullscreen/editor_plugin.js +1 -1
  82. data/vendor/assets/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js +5 -5
  83. data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js +1 -1
  84. data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js +1 -1
  85. data/vendor/assets/javascripts/tinymce/plugins/lists/editor_plugin.js +1 -1
  86. data/vendor/assets/javascripts/tinymce/plugins/lists/editor_plugin_src.js +98 -68
  87. data/vendor/assets/javascripts/tinymce/plugins/media/editor_plugin.js +1 -1
  88. data/vendor/assets/javascripts/tinymce/plugins/media/editor_plugin_src.js +23 -15
  89. data/vendor/assets/javascripts/tinymce/plugins/media/js/media.js +75 -26
  90. data/vendor/assets/javascripts/tinymce/plugins/media/langs/de_dlg.js +1 -1
  91. data/vendor/assets/javascripts/tinymce/plugins/media/langs/en_dlg.js +1 -1
  92. data/vendor/assets/javascripts/tinymce/plugins/media/langs/es_dlg.js +0 -0
  93. data/vendor/assets/javascripts/tinymce/plugins/media/langs/et_dlg.js +0 -0
  94. data/vendor/assets/javascripts/tinymce/plugins/media/langs/fr_dlg.js +0 -0
  95. data/vendor/assets/javascripts/tinymce/plugins/media/langs/it_dlg.js +0 -0
  96. data/vendor/assets/javascripts/tinymce/plugins/media/langs/nb_dlg.js +1 -0
  97. data/vendor/assets/javascripts/tinymce/plugins/media/langs/nl_dlg.js +0 -0
  98. data/vendor/assets/javascripts/tinymce/plugins/media/langs/pl_dlg.js +0 -0
  99. data/vendor/assets/javascripts/tinymce/plugins/media/langs/pt_dlg.js +0 -0
  100. data/vendor/assets/javascripts/tinymce/plugins/media/langs/ru_dlg.js +0 -0
  101. data/vendor/assets/javascripts/tinymce/plugins/noneditable/editor_plugin.js +1 -1
  102. data/vendor/assets/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js +499 -57
  103. data/vendor/assets/javascripts/tinymce/plugins/paste/editor_plugin.js +1 -1
  104. data/vendor/assets/javascripts/tinymce/plugins/paste/editor_plugin_src.js +17 -3
  105. data/vendor/assets/javascripts/tinymce/plugins/paste/langs/de_dlg.js +1 -1
  106. data/vendor/assets/javascripts/tinymce/plugins/paste/langs/es_dlg.js +0 -0
  107. data/vendor/assets/javascripts/tinymce/plugins/paste/langs/et_dlg.js +0 -0
  108. data/vendor/assets/javascripts/tinymce/plugins/paste/langs/fr_dlg.js +0 -0
  109. data/vendor/assets/javascripts/tinymce/plugins/paste/langs/it_dlg.js +0 -0
  110. data/vendor/assets/javascripts/tinymce/plugins/paste/langs/nb_dlg.js +1 -0
  111. data/vendor/assets/javascripts/tinymce/plugins/paste/langs/nl_dlg.js +0 -0
  112. data/vendor/assets/javascripts/tinymce/plugins/paste/langs/pl_dlg.js +0 -0
  113. data/vendor/assets/javascripts/tinymce/plugins/paste/langs/pt_dlg.js +0 -0
  114. data/vendor/assets/javascripts/tinymce/plugins/paste/langs/ru_dlg.js +0 -0
  115. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/de_dlg.js +0 -0
  116. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/es_dlg.js +0 -0
  117. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/et_dlg.js +0 -0
  118. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/fr_dlg.js +0 -0
  119. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/it_dlg.js +0 -0
  120. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/nb_dlg.js +1 -0
  121. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/nl_dlg.js +0 -0
  122. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/pl_dlg.js +0 -0
  123. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/pt_dlg.js +0 -0
  124. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/ru_dlg.js +0 -0
  125. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/searchreplace.htm +1 -1
  126. data/vendor/assets/javascripts/tinymce/plugins/spellchecker/editor_plugin.js +1 -1
  127. data/vendor/assets/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js +4 -4
  128. data/vendor/assets/javascripts/tinymce/plugins/style/css/props.css +1 -0
  129. data/vendor/assets/javascripts/tinymce/plugins/style/editor_plugin.js +1 -1
  130. data/vendor/assets/javascripts/tinymce/plugins/style/editor_plugin_src.js +19 -3
  131. data/vendor/assets/javascripts/tinymce/plugins/style/js/props.js +77 -3
  132. data/vendor/assets/javascripts/tinymce/plugins/style/langs/de_dlg.js +0 -0
  133. data/vendor/assets/javascripts/tinymce/plugins/style/langs/es_dlg.js +0 -0
  134. data/vendor/assets/javascripts/tinymce/plugins/style/langs/et_dlg.js +0 -0
  135. data/vendor/assets/javascripts/tinymce/plugins/style/langs/fr_dlg.js +0 -0
  136. data/vendor/assets/javascripts/tinymce/plugins/style/langs/it_dlg.js +0 -0
  137. data/vendor/assets/javascripts/tinymce/plugins/style/langs/nb_dlg.js +1 -0
  138. data/vendor/assets/javascripts/tinymce/plugins/style/langs/nl_dlg.js +0 -0
  139. data/vendor/assets/javascripts/tinymce/plugins/style/langs/pl_dlg.js +0 -0
  140. data/vendor/assets/javascripts/tinymce/plugins/style/langs/pt_dlg.js +0 -0
  141. data/vendor/assets/javascripts/tinymce/plugins/style/langs/ru_dlg.js +0 -0
  142. data/vendor/assets/javascripts/tinymce/plugins/style/props.htm +6 -1
  143. data/vendor/assets/javascripts/tinymce/plugins/style/readme.txt +19 -0
  144. data/vendor/assets/javascripts/tinymce/plugins/tabfocus/editor_plugin.js +1 -1
  145. data/vendor/assets/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js +1 -1
  146. data/vendor/assets/javascripts/tinymce/plugins/table/editor_plugin.js +1 -1
  147. data/vendor/assets/javascripts/tinymce/plugins/table/editor_plugin_src.js +88 -40
  148. data/vendor/assets/javascripts/tinymce/plugins/table/js/cell.js +2 -2
  149. data/vendor/assets/javascripts/tinymce/plugins/table/js/row.js +17 -0
  150. data/vendor/assets/javascripts/tinymce/plugins/table/js/table.js +20 -3
  151. data/vendor/assets/javascripts/tinymce/plugins/table/langs/de_dlg.js +1 -1
  152. data/vendor/assets/javascripts/tinymce/plugins/table/langs/es_dlg.js +0 -0
  153. data/vendor/assets/javascripts/tinymce/plugins/table/langs/et_dlg.js +0 -0
  154. data/vendor/assets/javascripts/tinymce/plugins/table/langs/fr_dlg.js +0 -0
  155. data/vendor/assets/javascripts/tinymce/plugins/table/langs/it_dlg.js +0 -0
  156. data/vendor/assets/javascripts/tinymce/plugins/table/langs/nb_dlg.js +1 -0
  157. data/vendor/assets/javascripts/tinymce/plugins/table/langs/nl_dlg.js +0 -0
  158. data/vendor/assets/javascripts/tinymce/plugins/table/langs/pl_dlg.js +0 -0
  159. data/vendor/assets/javascripts/tinymce/plugins/table/langs/pt_dlg.js +0 -0
  160. data/vendor/assets/javascripts/tinymce/plugins/table/langs/ru_dlg.js +0 -0
  161. data/vendor/assets/javascripts/tinymce/plugins/table/row.htm +15 -15
  162. data/vendor/assets/javascripts/tinymce/plugins/template/langs/de_dlg.js +1 -0
  163. data/vendor/assets/javascripts/tinymce/plugins/template/langs/es_dlg.js +1 -0
  164. data/vendor/assets/javascripts/tinymce/plugins/template/langs/et_dlg.js +1 -0
  165. data/vendor/assets/javascripts/tinymce/plugins/template/langs/fr_dlg.js +1 -0
  166. data/vendor/assets/javascripts/tinymce/plugins/template/langs/it_dlg.js +1 -0
  167. data/vendor/assets/javascripts/tinymce/plugins/template/langs/nb_dlg.js +1 -0
  168. data/vendor/assets/javascripts/tinymce/plugins/template/langs/nl_dlg.js +1 -0
  169. data/vendor/assets/javascripts/tinymce/plugins/template/langs/pl_dlg.js +0 -0
  170. data/vendor/assets/javascripts/tinymce/plugins/template/langs/pt_dlg.js +1 -0
  171. data/vendor/assets/javascripts/tinymce/plugins/template/langs/ru_dlg.js +1 -0
  172. data/vendor/assets/javascripts/tinymce/plugins/visualblocks/css/visualblocks.css +21 -0
  173. data/vendor/assets/javascripts/tinymce/plugins/visualblocks/editor_plugin.js +1 -0
  174. data/vendor/assets/javascripts/tinymce/plugins/visualblocks/editor_plugin_src.js +63 -0
  175. data/vendor/assets/javascripts/tinymce/plugins/wordcount/editor_plugin.js +1 -1
  176. data/vendor/assets/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js +14 -6
  177. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/de_dlg.js +0 -0
  178. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/es_dlg.js +0 -0
  179. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/et_dlg.js +0 -0
  180. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/fr_dlg.js +0 -0
  181. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/it_dlg.js +0 -0
  182. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/nb_dlg.js +1 -0
  183. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/nl_dlg.js +0 -0
  184. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/pl_dlg.js +0 -0
  185. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/pt_dlg.js +0 -0
  186. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/ru_dlg.js +0 -0
  187. data/vendor/assets/javascripts/tinymce/themes/advanced/color_picker.htm +2 -6
  188. data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template.js +1 -1
  189. data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template_src.js +176 -48
  190. data/vendor/assets/javascripts/tinymce/themes/advanced/img/icons.gif +0 -0
  191. data/vendor/assets/javascripts/tinymce/themes/advanced/js/anchor.js +19 -6
  192. data/vendor/assets/javascripts/tinymce/themes/advanced/js/color_picker.js +345 -329
  193. data/vendor/assets/javascripts/tinymce/themes/advanced/js/image.js +4 -2
  194. data/vendor/assets/javascripts/tinymce/themes/advanced/js/link.js +9 -3
  195. data/vendor/assets/javascripts/tinymce/themes/advanced/js/source_editor.js +27 -5
  196. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/de.js +1 -1
  197. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/de_dlg.js +1 -1
  198. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en.js +1 -1
  199. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en_dlg.js +1 -1
  200. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/es.js +0 -0
  201. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/es_dlg.js +0 -0
  202. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/et.js +0 -0
  203. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/et_dlg.js +0 -0
  204. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/fr.js +0 -0
  205. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/fr_dlg.js +0 -0
  206. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/it.js +0 -0
  207. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/it_dlg.js +0 -0
  208. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nb.js +1 -0
  209. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nb_dlg.js +1 -0
  210. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nl.js +0 -0
  211. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nl_dlg.js +0 -0
  212. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pl.js +0 -0
  213. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pl_dlg.js +0 -0
  214. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pt.js +0 -0
  215. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pt_dlg.js +0 -0
  216. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/ru.js +0 -0
  217. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/ru_dlg.js +0 -0
  218. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/dialog.css +3 -2
  219. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/ui.css +6 -1
  220. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css +4 -3
  221. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css +5 -1
  222. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css +3 -2
  223. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css +6 -1
  224. data/vendor/assets/javascripts/tinymce/themes/advanced/source_editor.htm +1 -1
  225. data/vendor/assets/javascripts/tinymce/themes/simple/langs/de.js +1 -0
  226. data/vendor/assets/javascripts/tinymce/themes/simple/langs/es.js +1 -0
  227. data/vendor/assets/javascripts/tinymce/themes/simple/langs/et.js +1 -0
  228. data/vendor/assets/javascripts/tinymce/themes/simple/langs/fr.js +1 -0
  229. data/vendor/assets/javascripts/tinymce/themes/simple/langs/it.js +1 -0
  230. data/vendor/assets/javascripts/tinymce/themes/simple/langs/nb.js +1 -0
  231. data/vendor/assets/javascripts/tinymce/themes/simple/langs/nl.js +1 -0
  232. data/vendor/assets/javascripts/tinymce/themes/simple/langs/pl.js +0 -0
  233. data/vendor/assets/javascripts/tinymce/themes/simple/langs/pt.js +1 -0
  234. data/vendor/assets/javascripts/tinymce/themes/simple/langs/ru.js +1 -0
  235. data/vendor/assets/javascripts/tinymce/tiny_mce.js +1 -1
  236. data/vendor/assets/javascripts/tinymce/tiny_mce_popup.js +1 -1
  237. data/vendor/assets/javascripts/tinymce/tiny_mce_src.js +9799 -8716
  238. data/vendor/assets/javascripts_old/tinymce/jquery.tinymce.js +1 -0
  239. data/vendor/assets/javascripts_old/tinymce/langs/de.js +1 -0
  240. data/vendor/assets/javascripts_old/tinymce/langs/en.js +1 -0
  241. data/vendor/assets/javascripts_old/tinymce/langs/es.js +1 -0
  242. data/vendor/assets/javascripts_old/tinymce/langs/et.js +1 -0
  243. data/vendor/assets/javascripts_old/tinymce/langs/fr.js +1 -0
  244. data/vendor/assets/javascripts_old/tinymce/langs/it.js +1 -0
  245. data/vendor/assets/javascripts_old/tinymce/langs/nl.js +1 -0
  246. data/vendor/assets/{javascripts → javascripts_old}/tinymce/langs/no.js +0 -0
  247. data/vendor/assets/javascripts_old/tinymce/langs/pl.js +1 -0
  248. data/vendor/assets/javascripts_old/tinymce/langs/pt.js +1 -0
  249. data/vendor/assets/javascripts_old/tinymce/langs/ru.js +1 -0
  250. data/vendor/assets/javascripts_old/tinymce/license.txt +504 -0
  251. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/css/advhr.css +5 -0
  252. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/editor_plugin.js +1 -0
  253. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/editor_plugin_src.js +57 -0
  254. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/js/rule.js +43 -0
  255. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/de_dlg.js +1 -0
  256. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/en_dlg.js +1 -0
  257. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/es_dlg.js +1 -0
  258. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/et_dlg.js +1 -0
  259. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/fr_dlg.js +1 -0
  260. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/it_dlg.js +1 -0
  261. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/nl_dlg.js +1 -0
  262. data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/advhr/langs/no_dlg.js +0 -0
  263. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/pl_dlg.js +1 -0
  264. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/pt_dlg.js +1 -0
  265. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/langs/ru_dlg.js +1 -0
  266. data/vendor/assets/javascripts_old/tinymce/plugins/advhr/rule.htm +58 -0
  267. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/css/advimage.css +13 -0
  268. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/editor_plugin.js +1 -0
  269. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/editor_plugin_src.js +50 -0
  270. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/image.htm +235 -0
  271. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/img/sample.gif +0 -0
  272. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/js/image.js +462 -0
  273. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/de_dlg.js +1 -0
  274. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/en_dlg.js +1 -0
  275. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/es_dlg.js +1 -0
  276. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/et_dlg.js +1 -0
  277. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/fr_dlg.js +1 -0
  278. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/it_dlg.js +1 -0
  279. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/nl_dlg.js +1 -0
  280. data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/advimage/langs/no_dlg.js +0 -0
  281. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/pl_dlg.js +1 -0
  282. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/pt_dlg.js +1 -0
  283. data/vendor/assets/javascripts_old/tinymce/plugins/advimage/langs/ru_dlg.js +1 -0
  284. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/css/advlink.css +8 -0
  285. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/editor_plugin.js +1 -0
  286. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/editor_plugin_src.js +61 -0
  287. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/js/advlink.js +532 -0
  288. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/de_dlg.js +1 -0
  289. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/en_dlg.js +1 -0
  290. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/es_dlg.js +1 -0
  291. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/et_dlg.js +1 -0
  292. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/fr_dlg.js +1 -0
  293. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/it_dlg.js +1 -0
  294. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/nl_dlg.js +1 -0
  295. data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/advlink/langs/no_dlg.js +0 -0
  296. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/pl_dlg.js +1 -0
  297. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/pt_dlg.js +1 -0
  298. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/langs/ru_dlg.js +1 -0
  299. data/vendor/assets/javascripts_old/tinymce/plugins/advlink/link.htm +338 -0
  300. data/vendor/assets/javascripts_old/tinymce/plugins/advlist/editor_plugin.js +1 -0
  301. data/vendor/assets/javascripts_old/tinymce/plugins/advlist/editor_plugin_src.js +176 -0
  302. data/vendor/assets/javascripts_old/tinymce/plugins/autolink/editor_plugin.js +1 -0
  303. data/vendor/assets/javascripts_old/tinymce/plugins/autolink/editor_plugin_src.js +172 -0
  304. data/vendor/assets/javascripts_old/tinymce/plugins/autoresize/editor_plugin.js +1 -0
  305. data/vendor/assets/javascripts_old/tinymce/plugins/autoresize/editor_plugin_src.js +137 -0
  306. data/vendor/assets/javascripts_old/tinymce/plugins/autosave/editor_plugin.js +1 -0
  307. data/vendor/assets/javascripts_old/tinymce/plugins/autosave/editor_plugin_src.js +431 -0
  308. data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/autosave/langs/en.js +0 -0
  309. data/vendor/assets/javascripts_old/tinymce/plugins/bbcode/editor_plugin.js +1 -0
  310. data/vendor/assets/javascripts_old/tinymce/plugins/bbcode/editor_plugin_src.js +120 -0
  311. data/vendor/assets/javascripts_old/tinymce/plugins/contextmenu/editor_plugin.js +1 -0
  312. data/vendor/assets/javascripts_old/tinymce/plugins/contextmenu/editor_plugin_src.js +160 -0
  313. data/vendor/assets/javascripts_old/tinymce/plugins/directionality/editor_plugin.js +1 -0
  314. data/vendor/assets/javascripts_old/tinymce/plugins/directionality/editor_plugin_src.js +82 -0
  315. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/editor_plugin.js +1 -0
  316. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/editor_plugin_src.js +43 -0
  317. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/emotions.htm +42 -0
  318. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-cool.gif +0 -0
  319. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-cry.gif +0 -0
  320. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-embarassed.gif +0 -0
  321. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
  322. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-frown.gif +0 -0
  323. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-innocent.gif +0 -0
  324. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-kiss.gif +0 -0
  325. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-laughing.gif +0 -0
  326. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
  327. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-sealed.gif +0 -0
  328. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-smile.gif +0 -0
  329. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-surprised.gif +0 -0
  330. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
  331. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-undecided.gif +0 -0
  332. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-wink.gif +0 -0
  333. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/img/smiley-yell.gif +0 -0
  334. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/js/emotions.js +43 -0
  335. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/langs/en_dlg.js +1 -0
  336. data/vendor/assets/javascripts_old/tinymce/plugins/emotions/langs/pl_dlg.js +1 -0
  337. data/vendor/assets/javascripts_old/tinymce/plugins/example/dialog.htm +22 -0
  338. data/vendor/assets/javascripts_old/tinymce/plugins/example/editor_plugin.js +1 -0
  339. data/vendor/assets/javascripts_old/tinymce/plugins/example/editor_plugin_src.js +84 -0
  340. data/vendor/assets/javascripts_old/tinymce/plugins/example/img/example.gif +0 -0
  341. data/vendor/assets/javascripts_old/tinymce/plugins/example/js/dialog.js +19 -0
  342. data/vendor/assets/javascripts_old/tinymce/plugins/example/langs/en.js +3 -0
  343. data/vendor/assets/javascripts_old/tinymce/plugins/example/langs/en_dlg.js +3 -0
  344. data/vendor/assets/javascripts_old/tinymce/plugins/example_dependency/editor_plugin.js +1 -0
  345. data/vendor/assets/javascripts_old/tinymce/plugins/example_dependency/editor_plugin_src.js +50 -0
  346. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/css/fullpage.css +143 -0
  347. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/editor_plugin.js +1 -0
  348. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/editor_plugin_src.js +405 -0
  349. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/fullpage.htm +259 -0
  350. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/js/fullpage.js +232 -0
  351. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/de_dlg.js +1 -0
  352. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/en_dlg.js +1 -0
  353. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/es_dlg.js +1 -0
  354. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/et_dlg.js +1 -0
  355. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/fr_dlg.js +1 -0
  356. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/it_dlg.js +1 -0
  357. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/nl_dlg.js +1 -0
  358. data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/fullpage/langs/no_dlg.js +0 -0
  359. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/pl_dlg.js +1 -0
  360. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/pt_dlg.js +1 -0
  361. data/vendor/assets/javascripts_old/tinymce/plugins/fullpage/langs/ru_dlg.js +1 -0
  362. data/vendor/assets/javascripts_old/tinymce/plugins/fullscreen/editor_plugin.js +1 -0
  363. data/vendor/assets/javascripts_old/tinymce/plugins/fullscreen/editor_plugin_src.js +159 -0
  364. data/vendor/assets/javascripts_old/tinymce/plugins/fullscreen/fullscreen.htm +110 -0
  365. data/vendor/assets/javascripts_old/tinymce/plugins/iespell/editor_plugin.js +1 -0
  366. data/vendor/assets/javascripts_old/tinymce/plugins/iespell/editor_plugin_src.js +54 -0
  367. data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/editor_plugin.js +1 -0
  368. data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/editor_plugin_src.js +699 -0
  369. data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
  370. data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
  371. data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
  372. data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
  373. data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
  374. data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
  375. data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
  376. data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
  377. data/vendor/assets/javascripts_old/tinymce/plugins/inlinepopups/template.htm +387 -0
  378. data/vendor/assets/javascripts_old/tinymce/plugins/insertdatetime/editor_plugin.js +1 -0
  379. data/vendor/assets/javascripts_old/tinymce/plugins/insertdatetime/editor_plugin_src.js +83 -0
  380. data/vendor/assets/javascripts_old/tinymce/plugins/layer/editor_plugin.js +1 -0
  381. data/vendor/assets/javascripts_old/tinymce/plugins/layer/editor_plugin_src.js +262 -0
  382. data/vendor/assets/javascripts_old/tinymce/plugins/legacyoutput/editor_plugin.js +1 -0
  383. data/vendor/assets/javascripts_old/tinymce/plugins/legacyoutput/editor_plugin_src.js +139 -0
  384. data/vendor/assets/javascripts_old/tinymce/plugins/lists/editor_plugin.js +1 -0
  385. data/vendor/assets/javascripts_old/tinymce/plugins/lists/editor_plugin_src.js +925 -0
  386. data/vendor/assets/javascripts_old/tinymce/plugins/media/css/media.css +17 -0
  387. data/vendor/assets/javascripts_old/tinymce/plugins/media/editor_plugin.js +1 -0
  388. data/vendor/assets/javascripts_old/tinymce/plugins/media/editor_plugin_src.js +890 -0
  389. data/vendor/assets/javascripts_old/tinymce/plugins/media/js/embed.js +73 -0
  390. data/vendor/assets/javascripts_old/tinymce/plugins/media/js/media.js +464 -0
  391. data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/de_dlg.js +1 -0
  392. data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/en_dlg.js +1 -0
  393. data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/es_dlg.js +1 -0
  394. data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/et_dlg.js +1 -0
  395. data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/fr_dlg.js +1 -0
  396. data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/it_dlg.js +1 -0
  397. data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/nl_dlg.js +1 -0
  398. data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/media/langs/no_dlg.js +0 -0
  399. data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/pl_dlg.js +1 -0
  400. data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/pt_dlg.js +1 -0
  401. data/vendor/assets/javascripts_old/tinymce/plugins/media/langs/ru_dlg.js +1 -0
  402. data/vendor/assets/javascripts_old/tinymce/plugins/media/media.htm +922 -0
  403. data/vendor/assets/javascripts_old/tinymce/plugins/media/moxieplayer.swf +0 -0
  404. data/vendor/assets/javascripts_old/tinymce/plugins/nonbreaking/editor_plugin.js +1 -0
  405. data/vendor/assets/javascripts_old/tinymce/plugins/nonbreaking/editor_plugin_src.js +54 -0
  406. data/vendor/assets/javascripts_old/tinymce/plugins/noneditable/editor_plugin.js +1 -0
  407. data/vendor/assets/javascripts_old/tinymce/plugins/noneditable/editor_plugin_src.js +95 -0
  408. data/vendor/assets/javascripts_old/tinymce/plugins/pagebreak/editor_plugin.js +1 -0
  409. data/vendor/assets/javascripts_old/tinymce/plugins/pagebreak/editor_plugin_src.js +74 -0
  410. data/vendor/assets/javascripts_old/tinymce/plugins/paste/editor_plugin.js +1 -0
  411. data/vendor/assets/javascripts_old/tinymce/plugins/paste/editor_plugin_src.js +871 -0
  412. data/vendor/assets/javascripts_old/tinymce/plugins/paste/js/pastetext.js +36 -0
  413. data/vendor/assets/javascripts_old/tinymce/plugins/paste/js/pasteword.js +51 -0
  414. data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/de_dlg.js +1 -0
  415. data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/en_dlg.js +1 -0
  416. data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/es_dlg.js +1 -0
  417. data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/et_dlg.js +1 -0
  418. data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/fr_dlg.js +1 -0
  419. data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/it_dlg.js +1 -0
  420. data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/nl_dlg.js +1 -0
  421. data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/paste/langs/no_dlg.js +0 -0
  422. data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/pl_dlg.js +1 -0
  423. data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/pt_dlg.js +1 -0
  424. data/vendor/assets/javascripts_old/tinymce/plugins/paste/langs/ru_dlg.js +1 -0
  425. data/vendor/assets/javascripts_old/tinymce/plugins/paste/pastetext.htm +27 -0
  426. data/vendor/assets/javascripts_old/tinymce/plugins/paste/pasteword.htm +21 -0
  427. data/vendor/assets/javascripts_old/tinymce/plugins/preview/editor_plugin.js +1 -0
  428. data/vendor/assets/javascripts_old/tinymce/plugins/preview/editor_plugin_src.js +53 -0
  429. data/vendor/assets/javascripts_old/tinymce/plugins/preview/example.html +28 -0
  430. data/vendor/assets/javascripts_old/tinymce/plugins/preview/jscripts/embed.js +73 -0
  431. data/vendor/assets/javascripts_old/tinymce/plugins/preview/preview.html +17 -0
  432. data/vendor/assets/javascripts_old/tinymce/plugins/print/editor_plugin.js +1 -0
  433. data/vendor/assets/javascripts_old/tinymce/plugins/print/editor_plugin_src.js +34 -0
  434. data/vendor/assets/javascripts_old/tinymce/plugins/save/editor_plugin.js +1 -0
  435. data/vendor/assets/javascripts_old/tinymce/plugins/save/editor_plugin_src.js +101 -0
  436. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/css/searchreplace.css +6 -0
  437. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/editor_plugin.js +1 -0
  438. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/editor_plugin_src.js +61 -0
  439. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/js/searchreplace.js +142 -0
  440. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/de_dlg.js +1 -0
  441. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/en_dlg.js +1 -0
  442. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/es_dlg.js +1 -0
  443. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/et_dlg.js +1 -0
  444. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/fr_dlg.js +1 -0
  445. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/it_dlg.js +1 -0
  446. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/nl_dlg.js +1 -0
  447. data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/searchreplace/langs/no_dlg.js +0 -0
  448. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/pl_dlg.js +1 -0
  449. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/pt_dlg.js +1 -0
  450. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/langs/ru_dlg.js +1 -0
  451. data/vendor/assets/javascripts_old/tinymce/plugins/searchreplace/searchreplace.htm +100 -0
  452. data/vendor/assets/javascripts_old/tinymce/plugins/spellchecker/css/content.css +1 -0
  453. data/vendor/assets/javascripts_old/tinymce/plugins/spellchecker/editor_plugin.js +1 -0
  454. data/vendor/assets/javascripts_old/tinymce/plugins/spellchecker/editor_plugin_src.js +436 -0
  455. data/vendor/assets/javascripts_old/tinymce/plugins/spellchecker/img/wline.gif +0 -0
  456. data/vendor/assets/javascripts_old/tinymce/plugins/style/css/props.css +13 -0
  457. data/vendor/assets/javascripts_old/tinymce/plugins/style/editor_plugin.js +1 -0
  458. data/vendor/assets/javascripts_old/tinymce/plugins/style/editor_plugin_src.js +55 -0
  459. data/vendor/assets/javascripts_old/tinymce/plugins/style/js/props.js +635 -0
  460. data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/de_dlg.js +1 -0
  461. data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/en_dlg.js +1 -0
  462. data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/es_dlg.js +1 -0
  463. data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/et_dlg.js +1 -0
  464. data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/fr_dlg.js +1 -0
  465. data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/it_dlg.js +1 -0
  466. data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/nl_dlg.js +1 -0
  467. data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/style/langs/no_dlg.js +0 -0
  468. data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/pl_dlg.js +1 -0
  469. data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/pt_dlg.js +1 -0
  470. data/vendor/assets/javascripts_old/tinymce/plugins/style/langs/ru_dlg.js +1 -0
  471. data/vendor/assets/javascripts_old/tinymce/plugins/style/props.htm +840 -0
  472. data/vendor/assets/javascripts_old/tinymce/plugins/tabfocus/editor_plugin.js +1 -0
  473. data/vendor/assets/javascripts_old/tinymce/plugins/tabfocus/editor_plugin_src.js +122 -0
  474. data/vendor/assets/javascripts_old/tinymce/plugins/table/cell.htm +180 -0
  475. data/vendor/assets/javascripts_old/tinymce/plugins/table/css/cell.css +17 -0
  476. data/vendor/assets/javascripts_old/tinymce/plugins/table/css/row.css +25 -0
  477. data/vendor/assets/javascripts_old/tinymce/plugins/table/css/table.css +13 -0
  478. data/vendor/assets/javascripts_old/tinymce/plugins/table/editor_plugin.js +1 -0
  479. data/vendor/assets/javascripts_old/tinymce/plugins/table/editor_plugin_src.js +1408 -0
  480. data/vendor/assets/javascripts_old/tinymce/plugins/table/js/cell.js +319 -0
  481. data/vendor/assets/javascripts_old/tinymce/plugins/table/js/merge_cells.js +27 -0
  482. data/vendor/assets/javascripts_old/tinymce/plugins/table/js/row.js +237 -0
  483. data/vendor/assets/javascripts_old/tinymce/plugins/table/js/table.js +484 -0
  484. data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/de_dlg.js +1 -0
  485. data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/en_dlg.js +1 -0
  486. data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/es_dlg.js +1 -0
  487. data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/et_dlg.js +1 -0
  488. data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/fr_dlg.js +1 -0
  489. data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/it_dlg.js +1 -0
  490. data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/nl_dlg.js +1 -0
  491. data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/table/langs/no_dlg.js +0 -0
  492. data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/pl_dlg.js +1 -0
  493. data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/pt_dlg.js +1 -0
  494. data/vendor/assets/javascripts_old/tinymce/plugins/table/langs/ru_dlg.js +1 -0
  495. data/vendor/assets/javascripts_old/tinymce/plugins/table/merge_cells.htm +32 -0
  496. data/vendor/assets/javascripts_old/tinymce/plugins/table/row.htm +158 -0
  497. data/vendor/assets/javascripts_old/tinymce/plugins/table/table.htm +188 -0
  498. data/vendor/assets/javascripts_old/tinymce/plugins/template/blank.htm +12 -0
  499. data/vendor/assets/javascripts_old/tinymce/plugins/template/css/template.css +23 -0
  500. data/vendor/assets/javascripts_old/tinymce/plugins/template/editor_plugin.js +1 -0
  501. data/vendor/assets/javascripts_old/tinymce/plugins/template/editor_plugin_src.js +159 -0
  502. data/vendor/assets/javascripts_old/tinymce/plugins/template/js/template.js +106 -0
  503. data/vendor/assets/javascripts_old/tinymce/plugins/template/langs/en_dlg.js +1 -0
  504. data/vendor/assets/javascripts_old/tinymce/plugins/template/langs/pl_dlg.js +1 -0
  505. data/vendor/assets/javascripts_old/tinymce/plugins/template/template.htm +31 -0
  506. data/vendor/assets/javascripts_old/tinymce/plugins/visualchars/editor_plugin.js +1 -0
  507. data/vendor/assets/javascripts_old/tinymce/plugins/visualchars/editor_plugin_src.js +83 -0
  508. data/vendor/assets/javascripts_old/tinymce/plugins/wordcount/editor_plugin.js +1 -0
  509. data/vendor/assets/javascripts_old/tinymce/plugins/wordcount/editor_plugin_src.js +114 -0
  510. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/abbr.htm +142 -0
  511. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/acronym.htm +142 -0
  512. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/attributes.htm +149 -0
  513. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/cite.htm +142 -0
  514. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/css/attributes.css +11 -0
  515. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/css/popup.css +9 -0
  516. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/del.htm +162 -0
  517. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/editor_plugin.js +1 -0
  518. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/editor_plugin_src.js +132 -0
  519. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/ins.htm +162 -0
  520. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/abbr.js +28 -0
  521. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/acronym.js +28 -0
  522. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/attributes.js +111 -0
  523. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/cite.js +28 -0
  524. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/del.js +53 -0
  525. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/element_common.js +229 -0
  526. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/js/ins.js +53 -0
  527. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/de_dlg.js +1 -0
  528. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/en_dlg.js +1 -0
  529. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/es_dlg.js +1 -0
  530. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/et_dlg.js +1 -0
  531. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/fr_dlg.js +1 -0
  532. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/it_dlg.js +1 -0
  533. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/nl_dlg.js +1 -0
  534. data/vendor/assets/{javascripts → javascripts_old}/tinymce/plugins/xhtmlxtras/langs/no_dlg.js +0 -0
  535. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/pl_dlg.js +1 -0
  536. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/pt_dlg.js +1 -0
  537. data/vendor/assets/javascripts_old/tinymce/plugins/xhtmlxtras/langs/ru_dlg.js +1 -0
  538. data/vendor/assets/javascripts_old/tinymce/themes/advanced/about.htm +52 -0
  539. data/vendor/assets/javascripts_old/tinymce/themes/advanced/anchor.htm +26 -0
  540. data/vendor/assets/javascripts_old/tinymce/themes/advanced/charmap.htm +55 -0
  541. data/vendor/assets/javascripts_old/tinymce/themes/advanced/color_picker.htm +74 -0
  542. data/vendor/assets/javascripts_old/tinymce/themes/advanced/editor_template.js +1 -0
  543. data/vendor/assets/javascripts_old/tinymce/themes/advanced/editor_template_src.js +1362 -0
  544. data/vendor/assets/javascripts_old/tinymce/themes/advanced/image.htm +80 -0
  545. data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/colorpicker.jpg +0 -0
  546. data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/flash.gif +0 -0
  547. data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/icons.gif +0 -0
  548. data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/iframe.gif +0 -0
  549. data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/pagebreak.gif +0 -0
  550. data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/quicktime.gif +0 -0
  551. data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/realmedia.gif +0 -0
  552. data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/shockwave.gif +0 -0
  553. data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/trans.gif +0 -0
  554. data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/video.gif +0 -0
  555. data/vendor/assets/javascripts_old/tinymce/themes/advanced/img/windowsmedia.gif +0 -0
  556. data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/about.js +73 -0
  557. data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/anchor.js +43 -0
  558. data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/charmap.js +363 -0
  559. data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/color_picker.js +329 -0
  560. data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/image.js +251 -0
  561. data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/link.js +153 -0
  562. data/vendor/assets/javascripts_old/tinymce/themes/advanced/js/source_editor.js +56 -0
  563. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/de.js +1 -0
  564. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/de_dlg.js +1 -0
  565. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/en.js +1 -0
  566. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/en_dlg.js +1 -0
  567. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/es.js +1 -0
  568. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/es_dlg.js +1 -0
  569. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/et.js +1 -0
  570. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/et_dlg.js +1 -0
  571. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/fr.js +1 -0
  572. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/fr_dlg.js +1 -0
  573. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/it.js +1 -0
  574. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/it_dlg.js +1 -0
  575. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/nl.js +1 -0
  576. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/nl_dlg.js +1 -0
  577. data/vendor/assets/{javascripts → javascripts_old}/tinymce/themes/advanced/langs/no.js +0 -0
  578. data/vendor/assets/{javascripts → javascripts_old}/tinymce/themes/advanced/langs/no_dlg.js +0 -0
  579. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/pl.js +1 -0
  580. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/pl_dlg.js +1 -0
  581. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/pt.js +1 -0
  582. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/pt_dlg.js +1 -0
  583. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/ru.js +1 -0
  584. data/vendor/assets/javascripts_old/tinymce/themes/advanced/langs/ru_dlg.js +1 -0
  585. data/vendor/assets/javascripts_old/tinymce/themes/advanced/link.htm +57 -0
  586. data/vendor/assets/javascripts_old/tinymce/themes/advanced/shortcuts.htm +47 -0
  587. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/content.css +50 -0
  588. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/dialog.css +117 -0
  589. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/buttons.png +0 -0
  590. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/items.gif +0 -0
  591. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  592. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  593. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/progress.gif +0 -0
  594. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/img/tabs.gif +0 -0
  595. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/default/ui.css +214 -0
  596. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/highcontrast/content.css +24 -0
  597. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/highcontrast/dialog.css +105 -0
  598. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/highcontrast/ui.css +102 -0
  599. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/content.css +48 -0
  600. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/dialog.css +117 -0
  601. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  602. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  603. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  604. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/ui.css +217 -0
  605. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/ui_black.css +8 -0
  606. data/vendor/assets/javascripts_old/tinymce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
  607. data/vendor/assets/javascripts_old/tinymce/themes/advanced/source_editor.htm +25 -0
  608. data/vendor/assets/javascripts_old/tinymce/themes/simple/editor_template.js +1 -0
  609. data/vendor/assets/javascripts_old/tinymce/themes/simple/editor_template_src.js +84 -0
  610. data/vendor/assets/javascripts_old/tinymce/themes/simple/img/icons.gif +0 -0
  611. data/vendor/assets/javascripts_old/tinymce/themes/simple/langs/en.js +1 -0
  612. data/vendor/assets/javascripts_old/tinymce/themes/simple/langs/pl.js +1 -0
  613. data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/default/content.css +25 -0
  614. data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/default/ui.css +32 -0
  615. data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/o2k7/content.css +17 -0
  616. data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
  617. data/vendor/assets/javascripts_old/tinymce/themes/simple/skins/o2k7/ui.css +35 -0
  618. data/vendor/assets/javascripts_old/tinymce/tiny_mce.js +1 -0
  619. data/vendor/assets/{javascripts → javascripts_old}/tinymce/tiny_mce_jquery.js +0 -0
  620. data/vendor/assets/{javascripts → javascripts_old}/tinymce/tiny_mce_jquery_src.js +0 -0
  621. data/vendor/assets/javascripts_old/tinymce/tiny_mce_popup.js +5 -0
  622. data/vendor/assets/javascripts_old/tinymce/tiny_mce_src.js +16728 -0
  623. data/vendor/assets/javascripts_old/tinymce/utils/editable_selects.js +70 -0
  624. data/vendor/assets/javascripts_old/tinymce/utils/form_utils.js +210 -0
  625. data/vendor/assets/javascripts_old/tinymce/utils/mctabs.js +162 -0
  626. data/vendor/assets/javascripts_old/tinymce/utils/validate.js +252 -0
  627. metadata +437 -20
@@ -0,0 +1,319 @@
1
+ tinyMCEPopup.requireLangPack();
2
+
3
+ var ed;
4
+
5
+ function init() {
6
+ ed = tinyMCEPopup.editor;
7
+ tinyMCEPopup.resizeToInnerSize();
8
+
9
+ document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table');
10
+ document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor');
11
+ document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor')
12
+
13
+ var inst = ed;
14
+ var tdElm = ed.dom.getParent(ed.selection.getStart(), "td,th");
15
+ var formObj = document.forms[0];
16
+ var st = ed.dom.parseStyle(ed.dom.getAttrib(tdElm, "style"));
17
+
18
+ // Get table cell data
19
+ var celltype = tdElm.nodeName.toLowerCase();
20
+ var align = ed.dom.getAttrib(tdElm, 'align');
21
+ var valign = ed.dom.getAttrib(tdElm, 'valign');
22
+ var width = trimSize(getStyle(tdElm, 'width', 'width'));
23
+ var height = trimSize(getStyle(tdElm, 'height', 'height'));
24
+ var bordercolor = convertRGBToHex(getStyle(tdElm, 'bordercolor', 'borderLeftColor'));
25
+ var bgcolor = convertRGBToHex(getStyle(tdElm, 'bgcolor', 'backgroundColor'));
26
+ var className = ed.dom.getAttrib(tdElm, 'class');
27
+ var backgroundimage = getStyle(tdElm, 'background', 'backgroundImage').replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1");
28
+ var id = ed.dom.getAttrib(tdElm, 'id');
29
+ var lang = ed.dom.getAttrib(tdElm, 'lang');
30
+ var dir = ed.dom.getAttrib(tdElm, 'dir');
31
+ var scope = ed.dom.getAttrib(tdElm, 'scope');
32
+
33
+ // Setup form
34
+ addClassesToList('class', 'table_cell_styles');
35
+ TinyMCE_EditableSelects.init();
36
+
37
+ if (!ed.dom.hasClass(tdElm, 'mceSelected')) {
38
+ formObj.bordercolor.value = bordercolor;
39
+ formObj.bgcolor.value = bgcolor;
40
+ formObj.backgroundimage.value = backgroundimage;
41
+ formObj.width.value = width;
42
+ formObj.height.value = height;
43
+ formObj.id.value = id;
44
+ formObj.lang.value = lang;
45
+ formObj.style.value = ed.dom.serializeStyle(st);
46
+ selectByValue(formObj, 'align', align);
47
+ selectByValue(formObj, 'valign', valign);
48
+ selectByValue(formObj, 'class', className, true, true);
49
+ selectByValue(formObj, 'celltype', celltype);
50
+ selectByValue(formObj, 'dir', dir);
51
+ selectByValue(formObj, 'scope', scope);
52
+
53
+ // Resize some elements
54
+ if (isVisible('backgroundimagebrowser'))
55
+ document.getElementById('backgroundimage').style.width = '180px';
56
+
57
+ updateColor('bordercolor_pick', 'bordercolor');
58
+ updateColor('bgcolor_pick', 'bgcolor');
59
+ } else
60
+ tinyMCEPopup.dom.hide('action');
61
+ }
62
+
63
+ function updateAction() {
64
+ var el, inst = ed, tdElm, trElm, tableElm, formObj = document.forms[0];
65
+
66
+ if (!AutoValidator.validate(formObj)) {
67
+ tinyMCEPopup.alert(AutoValidator.getErrorMessages(formObj).join('. ') + '.');
68
+ return false;
69
+ }
70
+
71
+ tinyMCEPopup.restoreSelection();
72
+ el = ed.selection.getStart();
73
+ tdElm = ed.dom.getParent(el, "td,th");
74
+ trElm = ed.dom.getParent(el, "tr");
75
+ tableElm = ed.dom.getParent(el, "table");
76
+
77
+ // Cell is selected
78
+ if (ed.dom.hasClass(tdElm, 'mceSelected')) {
79
+ // Update all selected sells
80
+ tinymce.each(ed.dom.select('td.mceSelected,th.mceSelected'), function(td) {
81
+ updateCell(td);
82
+ });
83
+
84
+ ed.addVisual();
85
+ ed.nodeChanged();
86
+ inst.execCommand('mceEndUndoLevel');
87
+ tinyMCEPopup.close();
88
+ return;
89
+ }
90
+
91
+ switch (getSelectValue(formObj, 'action')) {
92
+ case "cell":
93
+ var celltype = getSelectValue(formObj, 'celltype');
94
+ var scope = getSelectValue(formObj, 'scope');
95
+
96
+ function doUpdate(s) {
97
+ if (s) {
98
+ updateCell(tdElm);
99
+
100
+ ed.addVisual();
101
+ ed.nodeChanged();
102
+ inst.execCommand('mceEndUndoLevel');
103
+ tinyMCEPopup.close();
104
+ }
105
+ };
106
+
107
+ if (ed.getParam("accessibility_warnings", 1)) {
108
+ if (celltype == "th" && scope == "")
109
+ tinyMCEPopup.confirm(ed.getLang('table_dlg.missing_scope', '', true), doUpdate);
110
+ else
111
+ doUpdate(1);
112
+
113
+ return;
114
+ }
115
+
116
+ updateCell(tdElm);
117
+ break;
118
+
119
+ case "row":
120
+ var cell = trElm.firstChild;
121
+
122
+ if (cell.nodeName != "TD" && cell.nodeName != "TH")
123
+ cell = nextCell(cell);
124
+
125
+ do {
126
+ cell = updateCell(cell, true);
127
+ } while ((cell = nextCell(cell)) != null);
128
+
129
+ break;
130
+
131
+ case "col":
132
+ var curr, col = 0, cell = trElm.firstChild, rows = tableElm.getElementsByTagName("tr");
133
+
134
+ if (cell.nodeName != "TD" && cell.nodeName != "TH")
135
+ cell = nextCell(cell);
136
+
137
+ do {
138
+ if (cell == tdElm)
139
+ break;
140
+ col += cell.getAttribute("colspan");
141
+ } while ((cell = nextCell(cell)) != null);
142
+
143
+ for (var i=0; i<rows.length; i++) {
144
+ cell = rows[i].firstChild;
145
+
146
+ if (cell.nodeName != "TD" && cell.nodeName != "TH")
147
+ cell = nextCell(cell);
148
+
149
+ curr = 0;
150
+ do {
151
+ if (curr == col) {
152
+ cell = updateCell(cell, true);
153
+ break;
154
+ }
155
+ curr += cell.getAttribute("colspan");
156
+ } while ((cell = nextCell(cell)) != null);
157
+ }
158
+
159
+ break;
160
+
161
+ case "all":
162
+ var rows = tableElm.getElementsByTagName("tr");
163
+
164
+ for (var i=0; i<rows.length; i++) {
165
+ var cell = rows[i].firstChild;
166
+
167
+ if (cell.nodeName != "TD" && cell.nodeName != "TH")
168
+ cell = nextCell(cell);
169
+
170
+ do {
171
+ cell = updateCell(cell, true);
172
+ } while ((cell = nextCell(cell)) != null);
173
+ }
174
+
175
+ break;
176
+ }
177
+
178
+ ed.addVisual();
179
+ ed.nodeChanged();
180
+ inst.execCommand('mceEndUndoLevel');
181
+ tinyMCEPopup.close();
182
+ }
183
+
184
+ function nextCell(elm) {
185
+ while ((elm = elm.nextSibling) != null) {
186
+ if (elm.nodeName == "TD" || elm.nodeName == "TH")
187
+ return elm;
188
+ }
189
+
190
+ return null;
191
+ }
192
+
193
+ function updateCell(td, skip_id) {
194
+ var inst = ed;
195
+ var formObj = document.forms[0];
196
+ var curCellType = td.nodeName.toLowerCase();
197
+ var celltype = getSelectValue(formObj, 'celltype');
198
+ var doc = inst.getDoc();
199
+ var dom = ed.dom;
200
+
201
+ if (!skip_id)
202
+ dom.setAttrib(td, 'id', formObj.id.value);
203
+
204
+ dom.setAttrib(td, 'align', formObj.align.value);
205
+ dom.setAttrib(td, 'vAlign', formObj.valign.value);
206
+ dom.setAttrib(td, 'lang', formObj.lang.value);
207
+ dom.setAttrib(td, 'dir', getSelectValue(formObj, 'dir'));
208
+ dom.setAttrib(td, 'style', ed.dom.serializeStyle(ed.dom.parseStyle(formObj.style.value)));
209
+ dom.setAttrib(td, 'scope', formObj.scope.value);
210
+ dom.setAttrib(td, 'class', getSelectValue(formObj, 'class'));
211
+
212
+ // Clear deprecated attributes
213
+ ed.dom.setAttrib(td, 'width', '');
214
+ ed.dom.setAttrib(td, 'height', '');
215
+ ed.dom.setAttrib(td, 'bgColor', '');
216
+ ed.dom.setAttrib(td, 'borderColor', '');
217
+ ed.dom.setAttrib(td, 'background', '');
218
+
219
+ // Set styles
220
+ td.style.width = getCSSSize(formObj.width.value);
221
+ td.style.height = getCSSSize(formObj.height.value);
222
+ if (formObj.bordercolor.value != "") {
223
+ td.style.borderColor = formObj.bordercolor.value;
224
+ td.style.borderStyle = td.style.borderStyle == "" ? "solid" : td.style.borderStyle;
225
+ td.style.borderWidth = td.style.borderWidth == "" ? "1px" : td.style.borderWidth;
226
+ } else
227
+ td.style.borderColor = '';
228
+
229
+ td.style.backgroundColor = formObj.bgcolor.value;
230
+
231
+ if (formObj.backgroundimage.value != "")
232
+ td.style.backgroundImage = "url('" + formObj.backgroundimage.value + "')";
233
+ else
234
+ td.style.backgroundImage = '';
235
+
236
+ if (curCellType != celltype) {
237
+ // changing to a different node type
238
+ var newCell = doc.createElement(celltype);
239
+
240
+ for (var c=0; c<td.childNodes.length; c++)
241
+ newCell.appendChild(td.childNodes[c].cloneNode(1));
242
+
243
+ for (var a=0; a<td.attributes.length; a++)
244
+ ed.dom.setAttrib(newCell, td.attributes[a].name, ed.dom.getAttrib(td, td.attributes[a].name));
245
+
246
+ td.parentNode.replaceChild(newCell, td);
247
+ td = newCell;
248
+ }
249
+
250
+ dom.setAttrib(td, 'style', dom.serializeStyle(dom.parseStyle(td.style.cssText)));
251
+
252
+ return td;
253
+ }
254
+
255
+ function changedBackgroundImage() {
256
+ var formObj = document.forms[0];
257
+ var st = ed.dom.parseStyle(formObj.style.value);
258
+
259
+ st['background-image'] = "url('" + formObj.backgroundimage.value + "')";
260
+
261
+ formObj.style.value = ed.dom.serializeStyle(st);
262
+ }
263
+
264
+ function changedSize() {
265
+ var formObj = document.forms[0];
266
+ var st = ed.dom.parseStyle(formObj.style.value);
267
+
268
+ var width = formObj.width.value;
269
+ if (width != "")
270
+ st['width'] = getCSSSize(width);
271
+ else
272
+ st['width'] = "";
273
+
274
+ var height = formObj.height.value;
275
+ if (height != "")
276
+ st['height'] = getCSSSize(height);
277
+ else
278
+ st['height'] = "";
279
+
280
+ formObj.style.value = ed.dom.serializeStyle(st);
281
+ }
282
+
283
+ function changedColor() {
284
+ var formObj = document.forms[0];
285
+ var st = ed.dom.parseStyle(formObj.style.value);
286
+
287
+ st['background-color'] = formObj.bgcolor.value;
288
+ st['border-color'] = formObj.bordercolor.value;
289
+
290
+ formObj.style.value = ed.dom.serializeStyle(st);
291
+ }
292
+
293
+ function changedStyle() {
294
+ var formObj = document.forms[0];
295
+ var st = ed.dom.parseStyle(formObj.style.value);
296
+
297
+ if (st['background-image'])
298
+ formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
299
+ else
300
+ formObj.backgroundimage.value = '';
301
+
302
+ if (st['width'])
303
+ formObj.width.value = trimSize(st['width']);
304
+
305
+ if (st['height'])
306
+ formObj.height.value = trimSize(st['height']);
307
+
308
+ if (st['background-color']) {
309
+ formObj.bgcolor.value = st['background-color'];
310
+ updateColor('bgcolor_pick','bgcolor');
311
+ }
312
+
313
+ if (st['border-color']) {
314
+ formObj.bordercolor.value = st['border-color'];
315
+ updateColor('bordercolor_pick','bordercolor');
316
+ }
317
+ }
318
+
319
+ tinyMCEPopup.onInit.add(init);
@@ -0,0 +1,27 @@
1
+ tinyMCEPopup.requireLangPack();
2
+
3
+ var MergeCellsDialog = {
4
+ init : function() {
5
+ var f = document.forms[0];
6
+
7
+ f.numcols.value = tinyMCEPopup.getWindowArg('cols', 1);
8
+ f.numrows.value = tinyMCEPopup.getWindowArg('rows', 1);
9
+ },
10
+
11
+ merge : function() {
12
+ var func, f = document.forms[0];
13
+
14
+ tinyMCEPopup.restoreSelection();
15
+
16
+ func = tinyMCEPopup.getWindowArg('onaction');
17
+
18
+ func({
19
+ cols : f.numcols.value,
20
+ rows : f.numrows.value
21
+ });
22
+
23
+ tinyMCEPopup.close();
24
+ }
25
+ };
26
+
27
+ tinyMCEPopup.onInit.add(MergeCellsDialog.init, MergeCellsDialog);
@@ -0,0 +1,237 @@
1
+ tinyMCEPopup.requireLangPack();
2
+
3
+ function init() {
4
+ tinyMCEPopup.resizeToInnerSize();
5
+
6
+ document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table');
7
+ document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
8
+
9
+ var inst = tinyMCEPopup.editor;
10
+ var dom = inst.dom;
11
+ var trElm = dom.getParent(inst.selection.getStart(), "tr");
12
+ var formObj = document.forms[0];
13
+ var st = dom.parseStyle(dom.getAttrib(trElm, "style"));
14
+
15
+ // Get table row data
16
+ var rowtype = trElm.parentNode.nodeName.toLowerCase();
17
+ var align = dom.getAttrib(trElm, 'align');
18
+ var valign = dom.getAttrib(trElm, 'valign');
19
+ var height = trimSize(getStyle(trElm, 'height', 'height'));
20
+ var className = dom.getAttrib(trElm, 'class');
21
+ var bgcolor = convertRGBToHex(getStyle(trElm, 'bgcolor', 'backgroundColor'));
22
+ var backgroundimage = getStyle(trElm, 'background', 'backgroundImage').replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1");
23
+ var id = dom.getAttrib(trElm, 'id');
24
+ var lang = dom.getAttrib(trElm, 'lang');
25
+ var dir = dom.getAttrib(trElm, 'dir');
26
+
27
+ selectByValue(formObj, 'rowtype', rowtype);
28
+
29
+ // Any cells selected
30
+ if (dom.select('td.mceSelected,th.mceSelected', trElm).length == 0) {
31
+ // Setup form
32
+ addClassesToList('class', 'table_row_styles');
33
+ TinyMCE_EditableSelects.init();
34
+
35
+ formObj.bgcolor.value = bgcolor;
36
+ formObj.backgroundimage.value = backgroundimage;
37
+ formObj.height.value = height;
38
+ formObj.id.value = id;
39
+ formObj.lang.value = lang;
40
+ formObj.style.value = dom.serializeStyle(st);
41
+ selectByValue(formObj, 'align', align);
42
+ selectByValue(formObj, 'valign', valign);
43
+ selectByValue(formObj, 'class', className, true, true);
44
+ selectByValue(formObj, 'dir', dir);
45
+
46
+ // Resize some elements
47
+ if (isVisible('backgroundimagebrowser'))
48
+ document.getElementById('backgroundimage').style.width = '180px';
49
+
50
+ updateColor('bgcolor_pick', 'bgcolor');
51
+ } else
52
+ tinyMCEPopup.dom.hide('action');
53
+ }
54
+
55
+ function updateAction() {
56
+ var inst = tinyMCEPopup.editor, dom = inst.dom, trElm, tableElm, formObj = document.forms[0];
57
+ var action = getSelectValue(formObj, 'action');
58
+
59
+ if (!AutoValidator.validate(formObj)) {
60
+ tinyMCEPopup.alert(AutoValidator.getErrorMessages(formObj).join('. ') + '.');
61
+ return false;
62
+ }
63
+
64
+ tinyMCEPopup.restoreSelection();
65
+ trElm = dom.getParent(inst.selection.getStart(), "tr");
66
+ tableElm = dom.getParent(inst.selection.getStart(), "table");
67
+
68
+ // Update all selected rows
69
+ if (dom.select('td.mceSelected,th.mceSelected', trElm).length > 0) {
70
+ tinymce.each(tableElm.rows, function(tr) {
71
+ var i;
72
+
73
+ for (i = 0; i < tr.cells.length; i++) {
74
+ if (dom.hasClass(tr.cells[i], 'mceSelected')) {
75
+ updateRow(tr, true);
76
+ return;
77
+ }
78
+ }
79
+ });
80
+
81
+ inst.addVisual();
82
+ inst.nodeChanged();
83
+ inst.execCommand('mceEndUndoLevel');
84
+ tinyMCEPopup.close();
85
+ return;
86
+ }
87
+
88
+ switch (action) {
89
+ case "row":
90
+ updateRow(trElm);
91
+ break;
92
+
93
+ case "all":
94
+ var rows = tableElm.getElementsByTagName("tr");
95
+
96
+ for (var i=0; i<rows.length; i++)
97
+ updateRow(rows[i], true);
98
+
99
+ break;
100
+
101
+ case "odd":
102
+ case "even":
103
+ var rows = tableElm.getElementsByTagName("tr");
104
+
105
+ for (var i=0; i<rows.length; i++) {
106
+ if ((i % 2 == 0 && action == "odd") || (i % 2 != 0 && action == "even"))
107
+ updateRow(rows[i], true, true);
108
+ }
109
+
110
+ break;
111
+ }
112
+
113
+ inst.addVisual();
114
+ inst.nodeChanged();
115
+ inst.execCommand('mceEndUndoLevel');
116
+ tinyMCEPopup.close();
117
+ }
118
+
119
+ function updateRow(tr_elm, skip_id, skip_parent) {
120
+ var inst = tinyMCEPopup.editor;
121
+ var formObj = document.forms[0];
122
+ var dom = inst.dom;
123
+ var curRowType = tr_elm.parentNode.nodeName.toLowerCase();
124
+ var rowtype = getSelectValue(formObj, 'rowtype');
125
+ var doc = inst.getDoc();
126
+
127
+ // Update row element
128
+ if (!skip_id)
129
+ dom.setAttrib(tr_elm, 'id', formObj.id.value);
130
+
131
+ dom.setAttrib(tr_elm, 'align', getSelectValue(formObj, 'align'));
132
+ dom.setAttrib(tr_elm, 'vAlign', getSelectValue(formObj, 'valign'));
133
+ dom.setAttrib(tr_elm, 'lang', formObj.lang.value);
134
+ dom.setAttrib(tr_elm, 'dir', getSelectValue(formObj, 'dir'));
135
+ dom.setAttrib(tr_elm, 'style', dom.serializeStyle(dom.parseStyle(formObj.style.value)));
136
+ dom.setAttrib(tr_elm, 'class', getSelectValue(formObj, 'class'));
137
+
138
+ // Clear deprecated attributes
139
+ dom.setAttrib(tr_elm, 'background', '');
140
+ dom.setAttrib(tr_elm, 'bgColor', '');
141
+ dom.setAttrib(tr_elm, 'height', '');
142
+
143
+ // Set styles
144
+ tr_elm.style.height = getCSSSize(formObj.height.value);
145
+ tr_elm.style.backgroundColor = formObj.bgcolor.value;
146
+
147
+ if (formObj.backgroundimage.value != "")
148
+ tr_elm.style.backgroundImage = "url('" + formObj.backgroundimage.value + "')";
149
+ else
150
+ tr_elm.style.backgroundImage = '';
151
+
152
+ // Setup new rowtype
153
+ if (curRowType != rowtype && !skip_parent) {
154
+ // first, clone the node we are working on
155
+ var newRow = tr_elm.cloneNode(1);
156
+
157
+ // next, find the parent of its new destination (creating it if necessary)
158
+ var theTable = dom.getParent(tr_elm, "table");
159
+ var dest = rowtype;
160
+ var newParent = null;
161
+ for (var i = 0; i < theTable.childNodes.length; i++) {
162
+ if (theTable.childNodes[i].nodeName.toLowerCase() == dest)
163
+ newParent = theTable.childNodes[i];
164
+ }
165
+
166
+ if (newParent == null) {
167
+ newParent = doc.createElement(dest);
168
+
169
+ if (theTable.firstChild.nodeName == 'CAPTION')
170
+ inst.dom.insertAfter(newParent, theTable.firstChild);
171
+ else
172
+ theTable.insertBefore(newParent, theTable.firstChild);
173
+ }
174
+
175
+ // append the row to the new parent
176
+ newParent.appendChild(newRow);
177
+
178
+ // remove the original
179
+ tr_elm.parentNode.removeChild(tr_elm);
180
+
181
+ // set tr_elm to the new node
182
+ tr_elm = newRow;
183
+ }
184
+
185
+ dom.setAttrib(tr_elm, 'style', dom.serializeStyle(dom.parseStyle(tr_elm.style.cssText)));
186
+ }
187
+
188
+ function changedBackgroundImage() {
189
+ var formObj = document.forms[0], dom = tinyMCEPopup.editor.dom;
190
+ var st = dom.parseStyle(formObj.style.value);
191
+
192
+ st['background-image'] = "url('" + formObj.backgroundimage.value + "')";
193
+
194
+ formObj.style.value = dom.serializeStyle(st);
195
+ }
196
+
197
+ function changedStyle() {
198
+ var formObj = document.forms[0], dom = tinyMCEPopup.editor.dom;
199
+ var st = dom.parseStyle(formObj.style.value);
200
+
201
+ if (st['background-image'])
202
+ formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
203
+ else
204
+ formObj.backgroundimage.value = '';
205
+
206
+ if (st['height'])
207
+ formObj.height.value = trimSize(st['height']);
208
+
209
+ if (st['background-color']) {
210
+ formObj.bgcolor.value = st['background-color'];
211
+ updateColor('bgcolor_pick','bgcolor');
212
+ }
213
+ }
214
+
215
+ function changedSize() {
216
+ var formObj = document.forms[0], dom = tinyMCEPopup.editor.dom;
217
+ var st = dom.parseStyle(formObj.style.value);
218
+
219
+ var height = formObj.height.value;
220
+ if (height != "")
221
+ st['height'] = getCSSSize(height);
222
+ else
223
+ st['height'] = "";
224
+
225
+ formObj.style.value = dom.serializeStyle(st);
226
+ }
227
+
228
+ function changedColor() {
229
+ var formObj = document.forms[0], dom = tinyMCEPopup.editor.dom;
230
+ var st = dom.parseStyle(formObj.style.value);
231
+
232
+ st['background-color'] = formObj.bgcolor.value;
233
+
234
+ formObj.style.value = dom.serializeStyle(st);
235
+ }
236
+
237
+ tinyMCEPopup.onInit.add(init);