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,28 @@
1
+ /**
2
+ * abbr.js
3
+ *
4
+ * Copyright 2009, Moxiecode Systems AB
5
+ * Released under LGPL License.
6
+ *
7
+ * License: http://tinymce.moxiecode.com/license
8
+ * Contributing: http://tinymce.moxiecode.com/contributing
9
+ */
10
+
11
+ function init() {
12
+ SXE.initElementDialog('abbr');
13
+ if (SXE.currentAction == "update") {
14
+ SXE.showRemoveButton();
15
+ }
16
+ }
17
+
18
+ function insertAbbr() {
19
+ SXE.insertElement('abbr');
20
+ tinyMCEPopup.close();
21
+ }
22
+
23
+ function removeAbbr() {
24
+ SXE.removeElement('abbr');
25
+ tinyMCEPopup.close();
26
+ }
27
+
28
+ tinyMCEPopup.onInit.add(init);
@@ -0,0 +1,28 @@
1
+ /**
2
+ * acronym.js
3
+ *
4
+ * Copyright 2009, Moxiecode Systems AB
5
+ * Released under LGPL License.
6
+ *
7
+ * License: http://tinymce.moxiecode.com/license
8
+ * Contributing: http://tinymce.moxiecode.com/contributing
9
+ */
10
+
11
+ function init() {
12
+ SXE.initElementDialog('acronym');
13
+ if (SXE.currentAction == "update") {
14
+ SXE.showRemoveButton();
15
+ }
16
+ }
17
+
18
+ function insertAcronym() {
19
+ SXE.insertElement('acronym');
20
+ tinyMCEPopup.close();
21
+ }
22
+
23
+ function removeAcronym() {
24
+ SXE.removeElement('acronym');
25
+ tinyMCEPopup.close();
26
+ }
27
+
28
+ tinyMCEPopup.onInit.add(init);
@@ -0,0 +1,111 @@
1
+ /**
2
+ * attributes.js
3
+ *
4
+ * Copyright 2009, Moxiecode Systems AB
5
+ * Released under LGPL License.
6
+ *
7
+ * License: http://tinymce.moxiecode.com/license
8
+ * Contributing: http://tinymce.moxiecode.com/contributing
9
+ */
10
+
11
+ function init() {
12
+ tinyMCEPopup.resizeToInnerSize();
13
+ var inst = tinyMCEPopup.editor;
14
+ var dom = inst.dom;
15
+ var elm = inst.selection.getNode();
16
+ var f = document.forms[0];
17
+ var onclick = dom.getAttrib(elm, 'onclick');
18
+
19
+ setFormValue('title', dom.getAttrib(elm, 'title'));
20
+ setFormValue('id', dom.getAttrib(elm, 'id'));
21
+ setFormValue('style', dom.getAttrib(elm, "style"));
22
+ setFormValue('dir', dom.getAttrib(elm, 'dir'));
23
+ setFormValue('lang', dom.getAttrib(elm, 'lang'));
24
+ setFormValue('tabindex', dom.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : ""));
25
+ setFormValue('accesskey', dom.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : ""));
26
+ setFormValue('onfocus', dom.getAttrib(elm, 'onfocus'));
27
+ setFormValue('onblur', dom.getAttrib(elm, 'onblur'));
28
+ setFormValue('onclick', onclick);
29
+ setFormValue('ondblclick', dom.getAttrib(elm, 'ondblclick'));
30
+ setFormValue('onmousedown', dom.getAttrib(elm, 'onmousedown'));
31
+ setFormValue('onmouseup', dom.getAttrib(elm, 'onmouseup'));
32
+ setFormValue('onmouseover', dom.getAttrib(elm, 'onmouseover'));
33
+ setFormValue('onmousemove', dom.getAttrib(elm, 'onmousemove'));
34
+ setFormValue('onmouseout', dom.getAttrib(elm, 'onmouseout'));
35
+ setFormValue('onkeypress', dom.getAttrib(elm, 'onkeypress'));
36
+ setFormValue('onkeydown', dom.getAttrib(elm, 'onkeydown'));
37
+ setFormValue('onkeyup', dom.getAttrib(elm, 'onkeyup'));
38
+ className = dom.getAttrib(elm, 'class');
39
+
40
+ addClassesToList('classlist', 'advlink_styles');
41
+ selectByValue(f, 'classlist', className, true);
42
+
43
+ TinyMCE_EditableSelects.init();
44
+ }
45
+
46
+ function setFormValue(name, value) {
47
+ if(value && document.forms[0].elements[name]){
48
+ document.forms[0].elements[name].value = value;
49
+ }
50
+ }
51
+
52
+ function insertAction() {
53
+ var inst = tinyMCEPopup.editor;
54
+ var elm = inst.selection.getNode();
55
+
56
+ setAllAttribs(elm);
57
+ tinyMCEPopup.execCommand("mceEndUndoLevel");
58
+ tinyMCEPopup.close();
59
+ }
60
+
61
+ function setAttrib(elm, attrib, value) {
62
+ var formObj = document.forms[0];
63
+ var valueElm = formObj.elements[attrib.toLowerCase()];
64
+ var inst = tinyMCEPopup.editor;
65
+ var dom = inst.dom;
66
+
67
+ if (typeof(value) == "undefined" || value == null) {
68
+ value = "";
69
+
70
+ if (valueElm)
71
+ value = valueElm.value;
72
+ }
73
+
74
+ dom.setAttrib(elm, attrib.toLowerCase(), value);
75
+ }
76
+
77
+ function setAllAttribs(elm) {
78
+ var f = document.forms[0];
79
+
80
+ setAttrib(elm, 'title');
81
+ setAttrib(elm, 'id');
82
+ setAttrib(elm, 'style');
83
+ setAttrib(elm, 'class', getSelectValue(f, 'classlist'));
84
+ setAttrib(elm, 'dir');
85
+ setAttrib(elm, 'lang');
86
+ setAttrib(elm, 'tabindex');
87
+ setAttrib(elm, 'accesskey');
88
+ setAttrib(elm, 'onfocus');
89
+ setAttrib(elm, 'onblur');
90
+ setAttrib(elm, 'onclick');
91
+ setAttrib(elm, 'ondblclick');
92
+ setAttrib(elm, 'onmousedown');
93
+ setAttrib(elm, 'onmouseup');
94
+ setAttrib(elm, 'onmouseover');
95
+ setAttrib(elm, 'onmousemove');
96
+ setAttrib(elm, 'onmouseout');
97
+ setAttrib(elm, 'onkeypress');
98
+ setAttrib(elm, 'onkeydown');
99
+ setAttrib(elm, 'onkeyup');
100
+
101
+ // Refresh in old MSIE
102
+ // if (tinyMCE.isMSIE5)
103
+ // elm.outerHTML = elm.outerHTML;
104
+ }
105
+
106
+ function insertAttribute() {
107
+ tinyMCEPopup.close();
108
+ }
109
+
110
+ tinyMCEPopup.onInit.add(init);
111
+ tinyMCEPopup.requireLangPack();
@@ -0,0 +1,28 @@
1
+ /**
2
+ * cite.js
3
+ *
4
+ * Copyright 2009, Moxiecode Systems AB
5
+ * Released under LGPL License.
6
+ *
7
+ * License: http://tinymce.moxiecode.com/license
8
+ * Contributing: http://tinymce.moxiecode.com/contributing
9
+ */
10
+
11
+ function init() {
12
+ SXE.initElementDialog('cite');
13
+ if (SXE.currentAction == "update") {
14
+ SXE.showRemoveButton();
15
+ }
16
+ }
17
+
18
+ function insertCite() {
19
+ SXE.insertElement('cite');
20
+ tinyMCEPopup.close();
21
+ }
22
+
23
+ function removeCite() {
24
+ SXE.removeElement('cite');
25
+ tinyMCEPopup.close();
26
+ }
27
+
28
+ tinyMCEPopup.onInit.add(init);
@@ -0,0 +1,53 @@
1
+ /**
2
+ * del.js
3
+ *
4
+ * Copyright 2009, Moxiecode Systems AB
5
+ * Released under LGPL License.
6
+ *
7
+ * License: http://tinymce.moxiecode.com/license
8
+ * Contributing: http://tinymce.moxiecode.com/contributing
9
+ */
10
+
11
+ function init() {
12
+ SXE.initElementDialog('del');
13
+ if (SXE.currentAction == "update") {
14
+ setFormValue('datetime', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'datetime'));
15
+ setFormValue('cite', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'cite'));
16
+ SXE.showRemoveButton();
17
+ }
18
+ }
19
+
20
+ function setElementAttribs(elm) {
21
+ setAllCommonAttribs(elm);
22
+ setAttrib(elm, 'datetime');
23
+ setAttrib(elm, 'cite');
24
+ elm.removeAttribute('data-mce-new');
25
+ }
26
+
27
+ function insertDel() {
28
+ var elm = tinyMCEPopup.editor.dom.getParent(SXE.focusElement, 'DEL');
29
+
30
+ if (elm == null) {
31
+ var s = SXE.inst.selection.getContent();
32
+ if(s.length > 0) {
33
+ insertInlineElement('del');
34
+ var elementArray = SXE.inst.dom.select('del[data-mce-new]');
35
+ for (var i=0; i<elementArray.length; i++) {
36
+ var elm = elementArray[i];
37
+ setElementAttribs(elm);
38
+ }
39
+ }
40
+ } else {
41
+ setElementAttribs(elm);
42
+ }
43
+ tinyMCEPopup.editor.nodeChanged();
44
+ tinyMCEPopup.execCommand('mceEndUndoLevel');
45
+ tinyMCEPopup.close();
46
+ }
47
+
48
+ function removeDel() {
49
+ SXE.removeElement('del');
50
+ tinyMCEPopup.close();
51
+ }
52
+
53
+ tinyMCEPopup.onInit.add(init);
@@ -0,0 +1,229 @@
1
+ /**
2
+ * element_common.js
3
+ *
4
+ * Copyright 2009, Moxiecode Systems AB
5
+ * Released under LGPL License.
6
+ *
7
+ * License: http://tinymce.moxiecode.com/license
8
+ * Contributing: http://tinymce.moxiecode.com/contributing
9
+ */
10
+
11
+ tinyMCEPopup.requireLangPack();
12
+
13
+ function initCommonAttributes(elm) {
14
+ var formObj = document.forms[0], dom = tinyMCEPopup.editor.dom;
15
+
16
+ // Setup form data for common element attributes
17
+ setFormValue('title', dom.getAttrib(elm, 'title'));
18
+ setFormValue('id', dom.getAttrib(elm, 'id'));
19
+ selectByValue(formObj, 'class', dom.getAttrib(elm, 'class'), true);
20
+ setFormValue('style', dom.getAttrib(elm, 'style'));
21
+ selectByValue(formObj, 'dir', dom.getAttrib(elm, 'dir'));
22
+ setFormValue('lang', dom.getAttrib(elm, 'lang'));
23
+ setFormValue('onfocus', dom.getAttrib(elm, 'onfocus'));
24
+ setFormValue('onblur', dom.getAttrib(elm, 'onblur'));
25
+ setFormValue('onclick', dom.getAttrib(elm, 'onclick'));
26
+ setFormValue('ondblclick', dom.getAttrib(elm, 'ondblclick'));
27
+ setFormValue('onmousedown', dom.getAttrib(elm, 'onmousedown'));
28
+ setFormValue('onmouseup', dom.getAttrib(elm, 'onmouseup'));
29
+ setFormValue('onmouseover', dom.getAttrib(elm, 'onmouseover'));
30
+ setFormValue('onmousemove', dom.getAttrib(elm, 'onmousemove'));
31
+ setFormValue('onmouseout', dom.getAttrib(elm, 'onmouseout'));
32
+ setFormValue('onkeypress', dom.getAttrib(elm, 'onkeypress'));
33
+ setFormValue('onkeydown', dom.getAttrib(elm, 'onkeydown'));
34
+ setFormValue('onkeyup', dom.getAttrib(elm, 'onkeyup'));
35
+ }
36
+
37
+ function setFormValue(name, value) {
38
+ if(document.forms[0].elements[name]) document.forms[0].elements[name].value = value;
39
+ }
40
+
41
+ function insertDateTime(id) {
42
+ document.getElementById(id).value = getDateTime(new Date(), "%Y-%m-%dT%H:%M:%S");
43
+ }
44
+
45
+ function getDateTime(d, fmt) {
46
+ fmt = fmt.replace("%D", "%m/%d/%y");
47
+ fmt = fmt.replace("%r", "%I:%M:%S %p");
48
+ fmt = fmt.replace("%Y", "" + d.getFullYear());
49
+ fmt = fmt.replace("%y", "" + d.getYear());
50
+ fmt = fmt.replace("%m", addZeros(d.getMonth()+1, 2));
51
+ fmt = fmt.replace("%d", addZeros(d.getDate(), 2));
52
+ fmt = fmt.replace("%H", "" + addZeros(d.getHours(), 2));
53
+ fmt = fmt.replace("%M", "" + addZeros(d.getMinutes(), 2));
54
+ fmt = fmt.replace("%S", "" + addZeros(d.getSeconds(), 2));
55
+ fmt = fmt.replace("%I", "" + ((d.getHours() + 11) % 12 + 1));
56
+ fmt = fmt.replace("%p", "" + (d.getHours() < 12 ? "AM" : "PM"));
57
+ fmt = fmt.replace("%%", "%");
58
+
59
+ return fmt;
60
+ }
61
+
62
+ function addZeros(value, len) {
63
+ var i;
64
+
65
+ value = "" + value;
66
+
67
+ if (value.length < len) {
68
+ for (i=0; i<(len-value.length); i++)
69
+ value = "0" + value;
70
+ }
71
+
72
+ return value;
73
+ }
74
+
75
+ function selectByValue(form_obj, field_name, value, add_custom, ignore_case) {
76
+ if (!form_obj || !form_obj.elements[field_name])
77
+ return;
78
+
79
+ var sel = form_obj.elements[field_name];
80
+
81
+ var found = false;
82
+ for (var i=0; i<sel.options.length; i++) {
83
+ var option = sel.options[i];
84
+
85
+ if (option.value == value || (ignore_case && option.value.toLowerCase() == value.toLowerCase())) {
86
+ option.selected = true;
87
+ found = true;
88
+ } else
89
+ option.selected = false;
90
+ }
91
+
92
+ if (!found && add_custom && value != '') {
93
+ var option = new Option('Value: ' + value, value);
94
+ option.selected = true;
95
+ sel.options[sel.options.length] = option;
96
+ }
97
+
98
+ return found;
99
+ }
100
+
101
+ function setAttrib(elm, attrib, value) {
102
+ var formObj = document.forms[0];
103
+ var valueElm = formObj.elements[attrib.toLowerCase()];
104
+ tinyMCEPopup.editor.dom.setAttrib(elm, attrib, value || valueElm.value);
105
+ }
106
+
107
+ function setAllCommonAttribs(elm) {
108
+ setAttrib(elm, 'title');
109
+ setAttrib(elm, 'id');
110
+ setAttrib(elm, 'class');
111
+ setAttrib(elm, 'style');
112
+ setAttrib(elm, 'dir');
113
+ setAttrib(elm, 'lang');
114
+ /*setAttrib(elm, 'onfocus');
115
+ setAttrib(elm, 'onblur');
116
+ setAttrib(elm, 'onclick');
117
+ setAttrib(elm, 'ondblclick');
118
+ setAttrib(elm, 'onmousedown');
119
+ setAttrib(elm, 'onmouseup');
120
+ setAttrib(elm, 'onmouseover');
121
+ setAttrib(elm, 'onmousemove');
122
+ setAttrib(elm, 'onmouseout');
123
+ setAttrib(elm, 'onkeypress');
124
+ setAttrib(elm, 'onkeydown');
125
+ setAttrib(elm, 'onkeyup');*/
126
+ }
127
+
128
+ SXE = {
129
+ currentAction : "insert",
130
+ inst : tinyMCEPopup.editor,
131
+ updateElement : null
132
+ }
133
+
134
+ SXE.focusElement = SXE.inst.selection.getNode();
135
+
136
+ SXE.initElementDialog = function(element_name) {
137
+ addClassesToList('class', 'xhtmlxtras_styles');
138
+ TinyMCE_EditableSelects.init();
139
+
140
+ element_name = element_name.toLowerCase();
141
+ var elm = SXE.inst.dom.getParent(SXE.focusElement, element_name.toUpperCase());
142
+ if (elm != null && elm.nodeName.toUpperCase() == element_name.toUpperCase()) {
143
+ SXE.currentAction = "update";
144
+ }
145
+
146
+ if (SXE.currentAction == "update") {
147
+ initCommonAttributes(elm);
148
+ SXE.updateElement = elm;
149
+ }
150
+
151
+ document.forms[0].insert.value = tinyMCEPopup.getLang(SXE.currentAction, 'Insert', true);
152
+ }
153
+
154
+ SXE.insertElement = function(element_name) {
155
+ var elm = SXE.inst.dom.getParent(SXE.focusElement, element_name.toUpperCase()), h, tagName;
156
+
157
+ if (elm == null) {
158
+ var s = SXE.inst.selection.getContent();
159
+ if(s.length > 0) {
160
+ tagName = element_name;
161
+
162
+ insertInlineElement(element_name);
163
+ var elementArray = tinymce.grep(SXE.inst.dom.select(element_name));
164
+ for (var i=0; i<elementArray.length; i++) {
165
+ var elm = elementArray[i];
166
+
167
+ if (SXE.inst.dom.getAttrib(elm, 'data-mce-new')) {
168
+ elm.id = '';
169
+ elm.setAttribute('id', '');
170
+ elm.removeAttribute('id');
171
+ elm.removeAttribute('data-mce-new');
172
+
173
+ setAllCommonAttribs(elm);
174
+ }
175
+ }
176
+ }
177
+ } else {
178
+ setAllCommonAttribs(elm);
179
+ }
180
+ SXE.inst.nodeChanged();
181
+ tinyMCEPopup.execCommand('mceEndUndoLevel');
182
+ }
183
+
184
+ SXE.removeElement = function(element_name){
185
+ element_name = element_name.toLowerCase();
186
+ elm = SXE.inst.dom.getParent(SXE.focusElement, element_name.toUpperCase());
187
+ if(elm && elm.nodeName.toUpperCase() == element_name.toUpperCase()){
188
+ tinyMCE.execCommand('mceRemoveNode', false, elm);
189
+ SXE.inst.nodeChanged();
190
+ tinyMCEPopup.execCommand('mceEndUndoLevel');
191
+ }
192
+ }
193
+
194
+ SXE.showRemoveButton = function() {
195
+ document.getElementById("remove").style.display = '';
196
+ }
197
+
198
+ SXE.containsClass = function(elm,cl) {
199
+ return (elm.className.indexOf(cl) > -1) ? true : false;
200
+ }
201
+
202
+ SXE.removeClass = function(elm,cl) {
203
+ if(elm.className == null || elm.className == "" || !SXE.containsClass(elm,cl)) {
204
+ return true;
205
+ }
206
+ var classNames = elm.className.split(" ");
207
+ var newClassNames = "";
208
+ for (var x = 0, cnl = classNames.length; x < cnl; x++) {
209
+ if (classNames[x] != cl) {
210
+ newClassNames += (classNames[x] + " ");
211
+ }
212
+ }
213
+ elm.className = newClassNames.substring(0,newClassNames.length-1); //removes extra space at the end
214
+ }
215
+
216
+ SXE.addClass = function(elm,cl) {
217
+ if(!SXE.containsClass(elm,cl)) elm.className ? elm.className += " " + cl : elm.className = cl;
218
+ return true;
219
+ }
220
+
221
+ function insertInlineElement(en) {
222
+ var ed = tinyMCEPopup.editor, dom = ed.dom;
223
+
224
+ ed.getDoc().execCommand('FontName', false, 'mceinline');
225
+ tinymce.each(dom.select('span,font'), function(n) {
226
+ if (n.style.fontFamily == 'mceinline' || n.face == 'mceinline')
227
+ dom.replace(dom.create(en, {'data-mce-new' : 1}), n, 1);
228
+ });
229
+ }