sbdevcore 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (658) hide show
  1. data/app/views/layouts/application.html.haml +1 -1
  2. data/lib/sbdevcore/version.rb +1 -1
  3. metadata +1 -656
  4. data/app/assets/javascripts/tiny_mce/langs/ar.js +0 -170
  5. data/app/assets/javascripts/tiny_mce/langs/ca.js +0 -170
  6. data/app/assets/javascripts/tiny_mce/langs/ch.js +0 -178
  7. data/app/assets/javascripts/tiny_mce/langs/cs.js +0 -176
  8. data/app/assets/javascripts/tiny_mce/langs/cy.js +0 -170
  9. data/app/assets/javascripts/tiny_mce/langs/de.js +0 -171
  10. data/app/assets/javascripts/tiny_mce/langs/en.js +0 -170
  11. data/app/assets/javascripts/tiny_mce/langs/es.js +0 -172
  12. data/app/assets/javascripts/tiny_mce/langs/fr.js +0 -170
  13. data/app/assets/javascripts/tiny_mce/langs/he.js +0 -170
  14. data/app/assets/javascripts/tiny_mce/langs/hi.js +0 -170
  15. data/app/assets/javascripts/tiny_mce/langs/hr.js +0 -171
  16. data/app/assets/javascripts/tiny_mce/langs/hu.js +0 -170
  17. data/app/assets/javascripts/tiny_mce/langs/it.js +0 -206
  18. data/app/assets/javascripts/tiny_mce/langs/ja.js +0 -170
  19. data/app/assets/javascripts/tiny_mce/langs/ka.js +0 -173
  20. data/app/assets/javascripts/tiny_mce/langs/kl.js +0 -170
  21. data/app/assets/javascripts/tiny_mce/langs/ko.js +0 -170
  22. data/app/assets/javascripts/tiny_mce/langs/lb.js +0 -171
  23. data/app/assets/javascripts/tiny_mce/langs/nl.js +0 -170
  24. data/app/assets/javascripts/tiny_mce/langs/pl.js +0 -170
  25. data/app/assets/javascripts/tiny_mce/langs/pt.js +0 -170
  26. data/app/assets/javascripts/tiny_mce/langs/ru.js +0 -173
  27. data/app/assets/javascripts/tiny_mce/langs/sk.js +0 -176
  28. data/app/assets/javascripts/tiny_mce/langs/sv.js +0 -170
  29. data/app/assets/javascripts/tiny_mce/langs/ta.js +0 -170
  30. data/app/assets/javascripts/tiny_mce/langs/uk.js +0 -173
  31. data/app/assets/javascripts/tiny_mce/langs/vi.js +0 -170
  32. data/app/assets/javascripts/tiny_mce/langs/zh.js +0 -178
  33. data/app/assets/javascripts/tiny_mce/license.txt +0 -504
  34. data/app/assets/javascripts/tiny_mce/plugins/advhr/css/advhr.css +0 -5
  35. data/app/assets/javascripts/tiny_mce/plugins/advhr/editor_plugin.js +0 -1
  36. data/app/assets/javascripts/tiny_mce/plugins/advhr/editor_plugin_src.js +0 -57
  37. data/app/assets/javascripts/tiny_mce/plugins/advhr/js/rule.js +0 -43
  38. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ar_dlg.js +0 -5
  39. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ca_dlg.js +0 -5
  40. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ch_dlg.js +0 -5
  41. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/cs_dlg.js +0 -5
  42. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/cy_dlg.js +0 -5
  43. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/de_dlg.js +0 -5
  44. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/en_dlg.js +0 -5
  45. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/es_dlg.js +0 -5
  46. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/fr_dlg.js +0 -5
  47. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/he_dlg.js +0 -5
  48. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/hi_dlg.js +0 -5
  49. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/hr_dlg.js +0 -5
  50. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/hu_dlg.js +0 -5
  51. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/it_dlg.js +0 -5
  52. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ja_dlg.js +0 -5
  53. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ka_dlg.js +0 -5
  54. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/kl_dlg.js +0 -5
  55. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ko_dlg.js +0 -5
  56. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/lb_dlg.js +0 -5
  57. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/nl_dlg.js +0 -5
  58. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/pl_dlg.js +0 -5
  59. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/pt_dlg.js +0 -5
  60. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ru_dlg.js +0 -5
  61. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/sk_dlg.js +0 -5
  62. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/sv_dlg.js +0 -5
  63. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/ta_dlg.js +0 -5
  64. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/uk_dlg.js +0 -5
  65. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/vi_dlg.js +0 -5
  66. data/app/assets/javascripts/tiny_mce/plugins/advhr/langs/zh_dlg.js +0 -5
  67. data/app/assets/javascripts/tiny_mce/plugins/advhr/rule.htm +0 -57
  68. data/app/assets/javascripts/tiny_mce/plugins/advimage/css/advimage.css +0 -13
  69. data/app/assets/javascripts/tiny_mce/plugins/advimage/editor_plugin.js +0 -1
  70. data/app/assets/javascripts/tiny_mce/plugins/advimage/editor_plugin_src.js +0 -50
  71. data/app/assets/javascripts/tiny_mce/plugins/advimage/image.htm +0 -232
  72. data/app/assets/javascripts/tiny_mce/plugins/advimage/js/image.js +0 -443
  73. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ar_dlg.js +0 -43
  74. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ca_dlg.js +0 -43
  75. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ch_dlg.js +0 -43
  76. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/cs_dlg.js +0 -43
  77. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/cy_dlg.js +0 -43
  78. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/de_dlg.js +0 -43
  79. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/en_dlg.js +0 -43
  80. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/es_dlg.js +0 -43
  81. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/fr_dlg.js +0 -43
  82. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/he_dlg.js +0 -43
  83. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/hi_dlg.js +0 -43
  84. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/hr_dlg.js +0 -43
  85. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/hu_dlg.js +0 -43
  86. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/it_dlg.js +0 -43
  87. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ja_dlg.js +0 -43
  88. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ka_dlg.js +0 -43
  89. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/kl_dlg.js +0 -43
  90. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ko_dlg.js +0 -43
  91. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/lb_dlg.js +0 -43
  92. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/nl_dlg.js +0 -43
  93. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/pl_dlg.js +0 -43
  94. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/pt_dlg.js +0 -43
  95. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ru_dlg.js +0 -43
  96. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/sk_dlg.js +0 -43
  97. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/sv_dlg.js +0 -43
  98. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/ta_dlg.js +0 -43
  99. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/uk_dlg.js +0 -43
  100. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/vi_dlg.js +0 -43
  101. data/app/assets/javascripts/tiny_mce/plugins/advimage/langs/zh_dlg.js +0 -43
  102. data/app/assets/javascripts/tiny_mce/plugins/advlink/css/advlink.css +0 -8
  103. data/app/assets/javascripts/tiny_mce/plugins/advlink/editor_plugin.js +0 -1
  104. data/app/assets/javascripts/tiny_mce/plugins/advlink/editor_plugin_src.js +0 -61
  105. data/app/assets/javascripts/tiny_mce/plugins/advlink/js/advlink.js +0 -528
  106. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ar_dlg.js +0 -52
  107. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ca_dlg.js +0 -52
  108. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ch_dlg.js +0 -52
  109. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/cs_dlg.js +0 -52
  110. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/cy_dlg.js +0 -52
  111. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/de_dlg.js +0 -52
  112. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/en_dlg.js +0 -52
  113. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/es_dlg.js +0 -52
  114. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/fr_dlg.js +0 -52
  115. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/he_dlg.js +0 -52
  116. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/hi_dlg.js +0 -52
  117. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/hr_dlg.js +0 -52
  118. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/hu_dlg.js +0 -52
  119. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/it_dlg.js +0 -52
  120. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ja_dlg.js +0 -52
  121. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ka_dlg.js +0 -52
  122. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/kl_dlg.js +0 -52
  123. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ko_dlg.js +0 -52
  124. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/lb_dlg.js +0 -52
  125. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/nl_dlg.js +0 -52
  126. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/pl_dlg.js +0 -52
  127. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/pt_dlg.js +0 -52
  128. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ru_dlg.js +0 -52
  129. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/sk_dlg.js +0 -52
  130. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/sv_dlg.js +0 -52
  131. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/ta_dlg.js +0 -52
  132. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/uk_dlg.js +0 -52
  133. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/vi_dlg.js +0 -52
  134. data/app/assets/javascripts/tiny_mce/plugins/advlink/langs/zh_dlg.js +0 -52
  135. data/app/assets/javascripts/tiny_mce/plugins/advlink/link.htm +0 -333
  136. data/app/assets/javascripts/tiny_mce/plugins/advlist/editor_plugin.js +0 -1
  137. data/app/assets/javascripts/tiny_mce/plugins/advlist/editor_plugin_src.js +0 -154
  138. data/app/assets/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +0 -3
  139. data/app/assets/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js +0 -165
  140. data/app/assets/javascripts/tiny_mce/plugins/autosave/editor_plugin.js +0 -1
  141. data/app/assets/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js +0 -422
  142. data/app/assets/javascripts/tiny_mce/plugins/autosave/langs/en.js +0 -4
  143. data/app/assets/javascripts/tiny_mce/plugins/bbcode/editor_plugin.js +0 -1
  144. data/app/assets/javascripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +0 -120
  145. data/app/assets/javascripts/tiny_mce/plugins/contextmenu/editor_plugin.js +0 -1
  146. data/app/assets/javascripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +0 -140
  147. data/app/assets/javascripts/tiny_mce/plugins/directionality/editor_plugin.js +0 -1
  148. data/app/assets/javascripts/tiny_mce/plugins/directionality/editor_plugin_src.js +0 -82
  149. data/app/assets/javascripts/tiny_mce/plugins/emotions/editor_plugin.js +0 -1
  150. data/app/assets/javascripts/tiny_mce/plugins/emotions/editor_plugin_src.js +0 -43
  151. data/app/assets/javascripts/tiny_mce/plugins/emotions/emotions.htm +0 -40
  152. data/app/assets/javascripts/tiny_mce/plugins/emotions/js/emotions.js +0 -22
  153. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ar_dlg.js +0 -20
  154. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ca_dlg.js +0 -20
  155. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ch_dlg.js +0 -20
  156. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/cs_dlg.js +0 -20
  157. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/cy_dlg.js +0 -20
  158. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/de_dlg.js +0 -20
  159. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/en_dlg.js +0 -20
  160. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/es_dlg.js +0 -20
  161. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/fr_dlg.js +0 -20
  162. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/he_dlg.js +0 -20
  163. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/hi_dlg.js +0 -20
  164. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/hr_dlg.js +0 -20
  165. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/hu_dlg.js +0 -20
  166. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/it_dlg.js +0 -20
  167. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ja_dlg.js +0 -20
  168. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ka_dlg.js +0 -20
  169. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/kl_dlg.js +0 -20
  170. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ko_dlg.js +0 -20
  171. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/lb_dlg.js +0 -20
  172. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/nl_dlg.js +0 -20
  173. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/pl_dlg.js +0 -20
  174. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/pt_dlg.js +0 -20
  175. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ru_dlg.js +0 -20
  176. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/sk_dlg.js +0 -20
  177. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/sv_dlg.js +0 -20
  178. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/ta_dlg.js +0 -20
  179. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/uk_dlg.js +0 -20
  180. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/vi_dlg.js +0 -20
  181. data/app/assets/javascripts/tiny_mce/plugins/emotions/langs/zh_dlg.js +0 -20
  182. data/app/assets/javascripts/tiny_mce/plugins/example/dialog.htm +0 -22
  183. data/app/assets/javascripts/tiny_mce/plugins/example/editor_plugin.js +0 -1
  184. data/app/assets/javascripts/tiny_mce/plugins/example/editor_plugin_src.js +0 -84
  185. data/app/assets/javascripts/tiny_mce/plugins/example/js/dialog.js +0 -19
  186. data/app/assets/javascripts/tiny_mce/plugins/example/langs/en.js +0 -3
  187. data/app/assets/javascripts/tiny_mce/plugins/example/langs/en_dlg.js +0 -3
  188. data/app/assets/javascripts/tiny_mce/plugins/fullpage/css/fullpage.css +0 -182
  189. data/app/assets/javascripts/tiny_mce/plugins/fullpage/editor_plugin.js +0 -1
  190. data/app/assets/javascripts/tiny_mce/plugins/fullpage/editor_plugin_src.js +0 -149
  191. data/app/assets/javascripts/tiny_mce/plugins/fullpage/fullpage.htm +0 -571
  192. data/app/assets/javascripts/tiny_mce/plugins/fullpage/js/fullpage.js +0 -471
  193. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ar_dlg.js +0 -85
  194. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ca_dlg.js +0 -85
  195. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ch_dlg.js +0 -85
  196. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/cs_dlg.js +0 -85
  197. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/cy_dlg.js +0 -85
  198. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/de_dlg.js +0 -85
  199. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +0 -85
  200. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/es_dlg.js +0 -85
  201. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/fr_dlg.js +0 -85
  202. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/he_dlg.js +0 -85
  203. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/hi_dlg.js +0 -85
  204. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/hr_dlg.js +0 -85
  205. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/hu_dlg.js +0 -85
  206. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/it_dlg.js +0 -85
  207. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ja_dlg.js +0 -85
  208. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ka_dlg.js +0 -85
  209. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/kl_dlg.js +0 -85
  210. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ko_dlg.js +0 -85
  211. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/lb_dlg.js +0 -85
  212. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/nl_dlg.js +0 -85
  213. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/pl_dlg.js +0 -85
  214. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/pt_dlg.js +0 -85
  215. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ru_dlg.js +0 -85
  216. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/sk_dlg.js +0 -85
  217. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/sv_dlg.js +0 -85
  218. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/ta_dlg.js +0 -85
  219. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/uk_dlg.js +0 -85
  220. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/vi_dlg.js +0 -85
  221. data/app/assets/javascripts/tiny_mce/plugins/fullpage/langs/zh_dlg.js +0 -85
  222. data/app/assets/javascripts/tiny_mce/plugins/fullscreen/editor_plugin.js +0 -1
  223. data/app/assets/javascripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js +0 -151
  224. data/app/assets/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +0 -109
  225. data/app/assets/javascripts/tiny_mce/plugins/iespell/editor_plugin.js +0 -1
  226. data/app/assets/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js +0 -54
  227. data/app/assets/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +0 -1
  228. data/app/assets/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +0 -635
  229. data/app/assets/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -90
  230. data/app/assets/javascripts/tiny_mce/plugins/inlinepopups/template.htm +0 -387
  231. data/app/assets/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +0 -1
  232. data/app/assets/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +0 -83
  233. data/app/assets/javascripts/tiny_mce/plugins/layer/editor_plugin.js +0 -1
  234. data/app/assets/javascripts/tiny_mce/plugins/layer/editor_plugin_src.js +0 -212
  235. data/app/assets/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin.js +0 -1
  236. data/app/assets/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +0 -136
  237. data/app/assets/javascripts/tiny_mce/plugins/media/css/content.css +0 -6
  238. data/app/assets/javascripts/tiny_mce/plugins/media/css/media.css +0 -16
  239. data/app/assets/javascripts/tiny_mce/plugins/media/editor_plugin.js +0 -1
  240. data/app/assets/javascripts/tiny_mce/plugins/media/editor_plugin_src.js +0 -414
  241. data/app/assets/javascripts/tiny_mce/plugins/media/js/embed.js +0 -73
  242. data/app/assets/javascripts/tiny_mce/plugins/media/js/media.js +0 -630
  243. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ar_dlg.js +0 -103
  244. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ca_dlg.js +0 -103
  245. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ch_dlg.js +0 -103
  246. data/app/assets/javascripts/tiny_mce/plugins/media/langs/cs_dlg.js +0 -103
  247. data/app/assets/javascripts/tiny_mce/plugins/media/langs/cy_dlg.js +0 -103
  248. data/app/assets/javascripts/tiny_mce/plugins/media/langs/de_dlg.js +0 -103
  249. data/app/assets/javascripts/tiny_mce/plugins/media/langs/en_dlg.js +0 -103
  250. data/app/assets/javascripts/tiny_mce/plugins/media/langs/es_dlg.js +0 -103
  251. data/app/assets/javascripts/tiny_mce/plugins/media/langs/fr_dlg.js +0 -103
  252. data/app/assets/javascripts/tiny_mce/plugins/media/langs/he_dlg.js +0 -103
  253. data/app/assets/javascripts/tiny_mce/plugins/media/langs/hi_dlg.js +0 -103
  254. data/app/assets/javascripts/tiny_mce/plugins/media/langs/hr_dlg.js +0 -103
  255. data/app/assets/javascripts/tiny_mce/plugins/media/langs/hu_dlg.js +0 -103
  256. data/app/assets/javascripts/tiny_mce/plugins/media/langs/it_dlg.js +0 -103
  257. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ja_dlg.js +0 -103
  258. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ka_dlg.js +0 -103
  259. data/app/assets/javascripts/tiny_mce/plugins/media/langs/kl_dlg.js +0 -103
  260. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ko_dlg.js +0 -103
  261. data/app/assets/javascripts/tiny_mce/plugins/media/langs/lb_dlg.js +0 -103
  262. data/app/assets/javascripts/tiny_mce/plugins/media/langs/nl_dlg.js +0 -103
  263. data/app/assets/javascripts/tiny_mce/plugins/media/langs/pl_dlg.js +0 -103
  264. data/app/assets/javascripts/tiny_mce/plugins/media/langs/pt_dlg.js +0 -103
  265. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ru_dlg.js +0 -103
  266. data/app/assets/javascripts/tiny_mce/plugins/media/langs/sk_dlg.js +0 -103
  267. data/app/assets/javascripts/tiny_mce/plugins/media/langs/sv_dlg.js +0 -103
  268. data/app/assets/javascripts/tiny_mce/plugins/media/langs/ta_dlg.js +0 -103
  269. data/app/assets/javascripts/tiny_mce/plugins/media/langs/uk_dlg.js +0 -103
  270. data/app/assets/javascripts/tiny_mce/plugins/media/langs/vi_dlg.js +0 -103
  271. data/app/assets/javascripts/tiny_mce/plugins/media/langs/zh_dlg.js +0 -103
  272. data/app/assets/javascripts/tiny_mce/plugins/media/media.htm +0 -817
  273. data/app/assets/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +0 -1
  274. data/app/assets/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +0 -53
  275. data/app/assets/javascripts/tiny_mce/plugins/noneditable/editor_plugin.js +0 -1
  276. data/app/assets/javascripts/tiny_mce/plugins/noneditable/editor_plugin_src.js +0 -90
  277. data/app/assets/javascripts/tiny_mce/plugins/pagebreak/css/content.css +0 -1
  278. data/app/assets/javascripts/tiny_mce/plugins/pagebreak/editor_plugin.js +0 -1
  279. data/app/assets/javascripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +0 -77
  280. data/app/assets/javascripts/tiny_mce/plugins/paste/editor_plugin.js +0 -1
  281. data/app/assets/javascripts/tiny_mce/plugins/paste/editor_plugin_src.js +0 -940
  282. data/app/assets/javascripts/tiny_mce/plugins/paste/js/pastetext.js +0 -36
  283. data/app/assets/javascripts/tiny_mce/plugins/paste/js/pasteword.js +0 -51
  284. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ar_dlg.js +0 -5
  285. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ca_dlg.js +0 -5
  286. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ch_dlg.js +0 -5
  287. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/cs_dlg.js +0 -5
  288. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/cy_dlg.js +0 -5
  289. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/de_dlg.js +0 -5
  290. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +0 -5
  291. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/es_dlg.js +0 -5
  292. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/fr_dlg.js +0 -5
  293. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/he_dlg.js +0 -5
  294. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/hi_dlg.js +0 -5
  295. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/hr_dlg.js +0 -5
  296. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/hu_dlg.js +0 -5
  297. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/it_dlg.js +0 -5
  298. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ja_dlg.js +0 -5
  299. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ka_dlg.js +0 -5
  300. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/kl_dlg.js +0 -5
  301. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ko_dlg.js +0 -5
  302. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/lb_dlg.js +0 -5
  303. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/nl_dlg.js +0 -5
  304. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/pl_dlg.js +0 -5
  305. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/pt_dlg.js +0 -5
  306. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ru_dlg.js +0 -5
  307. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/sk_dlg.js +0 -5
  308. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/sv_dlg.js +0 -5
  309. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/ta_dlg.js +0 -5
  310. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/uk_dlg.js +0 -5
  311. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/vi_dlg.js +0 -5
  312. data/app/assets/javascripts/tiny_mce/plugins/paste/langs/zh_dlg.js +0 -5
  313. data/app/assets/javascripts/tiny_mce/plugins/paste/pastetext.htm +0 -27
  314. data/app/assets/javascripts/tiny_mce/plugins/paste/pasteword.htm +0 -21
  315. data/app/assets/javascripts/tiny_mce/plugins/preview/editor_plugin.js +0 -1
  316. data/app/assets/javascripts/tiny_mce/plugins/preview/editor_plugin_src.js +0 -53
  317. data/app/assets/javascripts/tiny_mce/plugins/preview/example.html +0 -28
  318. data/app/assets/javascripts/tiny_mce/plugins/preview/jscripts/embed.js +0 -73
  319. data/app/assets/javascripts/tiny_mce/plugins/preview/preview.html +0 -17
  320. data/app/assets/javascripts/tiny_mce/plugins/print/editor_plugin.js +0 -1
  321. data/app/assets/javascripts/tiny_mce/plugins/print/editor_plugin_src.js +0 -34
  322. data/app/assets/javascripts/tiny_mce/plugins/save/editor_plugin.js +0 -1
  323. data/app/assets/javascripts/tiny_mce/plugins/save/editor_plugin_src.js +0 -101
  324. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +0 -6
  325. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js +0 -1
  326. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +0 -57
  327. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +0 -130
  328. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ar_dlg.js +0 -16
  329. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ca_dlg.js +0 -16
  330. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ch_dlg.js +0 -16
  331. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/cs_dlg.js +0 -16
  332. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/cy_dlg.js +0 -16
  333. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/de_dlg.js +0 -16
  334. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +0 -16
  335. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/es_dlg.js +0 -16
  336. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/fr_dlg.js +0 -16
  337. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/he_dlg.js +0 -16
  338. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/hi_dlg.js +0 -16
  339. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/hr_dlg.js +0 -16
  340. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/hu_dlg.js +0 -16
  341. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js +0 -16
  342. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ja_dlg.js +0 -16
  343. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ka_dlg.js +0 -16
  344. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/kl_dlg.js +0 -16
  345. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ko_dlg.js +0 -16
  346. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/lb_dlg.js +0 -16
  347. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/nl_dlg.js +0 -16
  348. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/pl_dlg.js +0 -16
  349. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/pt_dlg.js +0 -16
  350. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ru_dlg.js +0 -16
  351. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/sk_dlg.js +0 -16
  352. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/sv_dlg.js +0 -16
  353. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/ta_dlg.js +0 -16
  354. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/uk_dlg.js +0 -16
  355. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/vi_dlg.js +0 -16
  356. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/langs/zh_dlg.js +0 -16
  357. data/app/assets/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm +0 -99
  358. data/app/assets/javascripts/tiny_mce/plugins/spellchecker/css/content.css +0 -1
  359. data/app/assets/javascripts/tiny_mce/plugins/spellchecker/editor_plugin.js +0 -1
  360. data/app/assets/javascripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +0 -415
  361. data/app/assets/javascripts/tiny_mce/plugins/style/css/props.css +0 -13
  362. data/app/assets/javascripts/tiny_mce/plugins/style/editor_plugin.js +0 -1
  363. data/app/assets/javascripts/tiny_mce/plugins/style/editor_plugin_src.js +0 -55
  364. data/app/assets/javascripts/tiny_mce/plugins/style/js/props.js +0 -641
  365. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ar_dlg.js +0 -63
  366. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ca_dlg.js +0 -63
  367. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ch_dlg.js +0 -63
  368. data/app/assets/javascripts/tiny_mce/plugins/style/langs/cs_dlg.js +0 -63
  369. data/app/assets/javascripts/tiny_mce/plugins/style/langs/cy_dlg.js +0 -63
  370. data/app/assets/javascripts/tiny_mce/plugins/style/langs/de_dlg.js +0 -63
  371. data/app/assets/javascripts/tiny_mce/plugins/style/langs/en_dlg.js +0 -63
  372. data/app/assets/javascripts/tiny_mce/plugins/style/langs/es_dlg.js +0 -63
  373. data/app/assets/javascripts/tiny_mce/plugins/style/langs/fr_dlg.js +0 -63
  374. data/app/assets/javascripts/tiny_mce/plugins/style/langs/he_dlg.js +0 -63
  375. data/app/assets/javascripts/tiny_mce/plugins/style/langs/hi_dlg.js +0 -63
  376. data/app/assets/javascripts/tiny_mce/plugins/style/langs/hr_dlg.js +0 -63
  377. data/app/assets/javascripts/tiny_mce/plugins/style/langs/hu_dlg.js +0 -63
  378. data/app/assets/javascripts/tiny_mce/plugins/style/langs/it_dlg.js +0 -63
  379. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ja_dlg.js +0 -63
  380. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ka_dlg.js +0 -63
  381. data/app/assets/javascripts/tiny_mce/plugins/style/langs/kl_dlg.js +0 -63
  382. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ko_dlg.js +0 -63
  383. data/app/assets/javascripts/tiny_mce/plugins/style/langs/lb_dlg.js +0 -63
  384. data/app/assets/javascripts/tiny_mce/plugins/style/langs/nl_dlg.js +0 -63
  385. data/app/assets/javascripts/tiny_mce/plugins/style/langs/pl_dlg.js +0 -63
  386. data/app/assets/javascripts/tiny_mce/plugins/style/langs/pt_dlg.js +0 -63
  387. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ru_dlg.js +0 -63
  388. data/app/assets/javascripts/tiny_mce/plugins/style/langs/sk_dlg.js +0 -63
  389. data/app/assets/javascripts/tiny_mce/plugins/style/langs/sv_dlg.js +0 -63
  390. data/app/assets/javascripts/tiny_mce/plugins/style/langs/ta_dlg.js +0 -63
  391. data/app/assets/javascripts/tiny_mce/plugins/style/langs/uk_dlg.js +0 -63
  392. data/app/assets/javascripts/tiny_mce/plugins/style/langs/vi_dlg.js +0 -63
  393. data/app/assets/javascripts/tiny_mce/plugins/style/langs/zh_dlg.js +0 -63
  394. data/app/assets/javascripts/tiny_mce/plugins/style/props.htm +0 -723
  395. data/app/assets/javascripts/tiny_mce/plugins/tabfocus/editor_plugin.js +0 -1
  396. data/app/assets/javascripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js +0 -112
  397. data/app/assets/javascripts/tiny_mce/plugins/table/cell.htm +0 -178
  398. data/app/assets/javascripts/tiny_mce/plugins/table/css/cell.css +0 -17
  399. data/app/assets/javascripts/tiny_mce/plugins/table/css/row.css +0 -25
  400. data/app/assets/javascripts/tiny_mce/plugins/table/css/table.css +0 -13
  401. data/app/assets/javascripts/tiny_mce/plugins/table/editor_plugin.js +0 -1
  402. data/app/assets/javascripts/tiny_mce/plugins/table/editor_plugin_src.js +0 -1125
  403. data/app/assets/javascripts/tiny_mce/plugins/table/js/cell.js +0 -286
  404. data/app/assets/javascripts/tiny_mce/plugins/table/js/merge_cells.js +0 -27
  405. data/app/assets/javascripts/tiny_mce/plugins/table/js/row.js +0 -237
  406. data/app/assets/javascripts/tiny_mce/plugins/table/js/table.js +0 -449
  407. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ar_dlg.js +0 -74
  408. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ca_dlg.js +0 -74
  409. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ch_dlg.js +0 -74
  410. data/app/assets/javascripts/tiny_mce/plugins/table/langs/cs_dlg.js +0 -74
  411. data/app/assets/javascripts/tiny_mce/plugins/table/langs/cy_dlg.js +0 -74
  412. data/app/assets/javascripts/tiny_mce/plugins/table/langs/de_dlg.js +0 -74
  413. data/app/assets/javascripts/tiny_mce/plugins/table/langs/en_dlg.js +0 -74
  414. data/app/assets/javascripts/tiny_mce/plugins/table/langs/es_dlg.js +0 -74
  415. data/app/assets/javascripts/tiny_mce/plugins/table/langs/fr_dlg.js +0 -74
  416. data/app/assets/javascripts/tiny_mce/plugins/table/langs/he_dlg.js +0 -74
  417. data/app/assets/javascripts/tiny_mce/plugins/table/langs/hi_dlg.js +0 -74
  418. data/app/assets/javascripts/tiny_mce/plugins/table/langs/hr_dlg.js +0 -74
  419. data/app/assets/javascripts/tiny_mce/plugins/table/langs/hu_dlg.js +0 -74
  420. data/app/assets/javascripts/tiny_mce/plugins/table/langs/it_dlg.js +0 -74
  421. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ja_dlg.js +0 -74
  422. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ka_dlg.js +0 -74
  423. data/app/assets/javascripts/tiny_mce/plugins/table/langs/kl_dlg.js +0 -74
  424. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ko_dlg.js +0 -74
  425. data/app/assets/javascripts/tiny_mce/plugins/table/langs/lb_dlg.js +0 -74
  426. data/app/assets/javascripts/tiny_mce/plugins/table/langs/nl_dlg.js +0 -74
  427. data/app/assets/javascripts/tiny_mce/plugins/table/langs/pl_dlg.js +0 -74
  428. data/app/assets/javascripts/tiny_mce/plugins/table/langs/pt_dlg.js +0 -74
  429. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ru_dlg.js +0 -74
  430. data/app/assets/javascripts/tiny_mce/plugins/table/langs/sk_dlg.js +0 -74
  431. data/app/assets/javascripts/tiny_mce/plugins/table/langs/sv_dlg.js +0 -73
  432. data/app/assets/javascripts/tiny_mce/plugins/table/langs/ta_dlg.js +0 -74
  433. data/app/assets/javascripts/tiny_mce/plugins/table/langs/uk_dlg.js +0 -74
  434. data/app/assets/javascripts/tiny_mce/plugins/table/langs/vi_dlg.js +0 -74
  435. data/app/assets/javascripts/tiny_mce/plugins/table/langs/zh_dlg.js +0 -74
  436. data/app/assets/javascripts/tiny_mce/plugins/table/merge_cells.htm +0 -32
  437. data/app/assets/javascripts/tiny_mce/plugins/table/row.htm +0 -155
  438. data/app/assets/javascripts/tiny_mce/plugins/table/table.htm +0 -187
  439. data/app/assets/javascripts/tiny_mce/plugins/template/blank.htm +0 -12
  440. data/app/assets/javascripts/tiny_mce/plugins/template/css/template.css +0 -23
  441. data/app/assets/javascripts/tiny_mce/plugins/template/editor_plugin.js +0 -1
  442. data/app/assets/javascripts/tiny_mce/plugins/template/editor_plugin_src.js +0 -159
  443. data/app/assets/javascripts/tiny_mce/plugins/template/js/template.js +0 -106
  444. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ar_dlg.js +0 -15
  445. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ca_dlg.js +0 -15
  446. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ch_dlg.js +0 -15
  447. data/app/assets/javascripts/tiny_mce/plugins/template/langs/cs_dlg.js +0 -15
  448. data/app/assets/javascripts/tiny_mce/plugins/template/langs/cy_dlg.js +0 -15
  449. data/app/assets/javascripts/tiny_mce/plugins/template/langs/de_dlg.js +0 -15
  450. data/app/assets/javascripts/tiny_mce/plugins/template/langs/en_dlg.js +0 -15
  451. data/app/assets/javascripts/tiny_mce/plugins/template/langs/es_dlg.js +0 -15
  452. data/app/assets/javascripts/tiny_mce/plugins/template/langs/fr_dlg.js +0 -15
  453. data/app/assets/javascripts/tiny_mce/plugins/template/langs/he_dlg.js +0 -15
  454. data/app/assets/javascripts/tiny_mce/plugins/template/langs/hi_dlg.js +0 -15
  455. data/app/assets/javascripts/tiny_mce/plugins/template/langs/hr_dlg.js +0 -15
  456. data/app/assets/javascripts/tiny_mce/plugins/template/langs/hu_dlg.js +0 -15
  457. data/app/assets/javascripts/tiny_mce/plugins/template/langs/it_dlg.js +0 -15
  458. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ja_dlg.js +0 -15
  459. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ka_dlg.js +0 -15
  460. data/app/assets/javascripts/tiny_mce/plugins/template/langs/kl_dlg.js +0 -15
  461. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ko_dlg.js +0 -15
  462. data/app/assets/javascripts/tiny_mce/plugins/template/langs/lb_dlg.js +0 -15
  463. data/app/assets/javascripts/tiny_mce/plugins/template/langs/nl_dlg.js +0 -15
  464. data/app/assets/javascripts/tiny_mce/plugins/template/langs/pl_dlg.js +0 -15
  465. data/app/assets/javascripts/tiny_mce/plugins/template/langs/pt_dlg.js +0 -15
  466. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ru_dlg.js +0 -15
  467. data/app/assets/javascripts/tiny_mce/plugins/template/langs/sk_dlg.js +0 -15
  468. data/app/assets/javascripts/tiny_mce/plugins/template/langs/sv_dlg.js +0 -15
  469. data/app/assets/javascripts/tiny_mce/plugins/template/langs/ta_dlg.js +0 -15
  470. data/app/assets/javascripts/tiny_mce/plugins/template/langs/uk_dlg.js +0 -15
  471. data/app/assets/javascripts/tiny_mce/plugins/template/langs/vi_dlg.js +0 -15
  472. data/app/assets/javascripts/tiny_mce/plugins/template/langs/zh_dlg.js +0 -15
  473. data/app/assets/javascripts/tiny_mce/plugins/template/template.htm +0 -31
  474. data/app/assets/javascripts/tiny_mce/plugins/visualchars/editor_plugin.js +0 -1
  475. data/app/assets/javascripts/tiny_mce/plugins/visualchars/editor_plugin_src.js +0 -76
  476. data/app/assets/javascripts/tiny_mce/plugins/wordcount/editor_plugin.js +0 -1
  477. data/app/assets/javascripts/tiny_mce/plugins/wordcount/editor_plugin_src.js +0 -98
  478. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +0 -141
  479. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +0 -141
  480. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +0 -148
  481. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/cite.htm +0 -141
  482. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +0 -11
  483. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +0 -9
  484. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/del.htm +0 -161
  485. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +0 -1
  486. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +0 -144
  487. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/ins.htm +0 -161
  488. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +0 -28
  489. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +0 -28
  490. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +0 -126
  491. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +0 -28
  492. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/del.js +0 -63
  493. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +0 -231
  494. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +0 -62
  495. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ar_dlg.js +0 -32
  496. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ca_dlg.js +0 -32
  497. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ch_dlg.js +0 -32
  498. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cs_dlg.js +0 -32
  499. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cy_dlg.js +0 -32
  500. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +0 -32
  501. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +0 -32
  502. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/es_dlg.js +0 -32
  503. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/fr_dlg.js +0 -32
  504. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/he_dlg.js +0 -32
  505. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hi_dlg.js +0 -32
  506. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hr_dlg.js +0 -32
  507. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js +0 -32
  508. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/it_dlg.js +0 -32
  509. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js +0 -32
  510. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ka_dlg.js +0 -32
  511. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/kl_dlg.js +0 -32
  512. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ko_dlg.js +0 -32
  513. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/lb_dlg.js +0 -32
  514. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/nl_dlg.js +0 -32
  515. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pl_dlg.js +0 -32
  516. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pt_dlg.js +0 -32
  517. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ru_dlg.js +0 -32
  518. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sk_dlg.js +0 -32
  519. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sv_dlg.js +0 -32
  520. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ta_dlg.js +0 -32
  521. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/uk_dlg.js +0 -32
  522. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/vi_dlg.js +0 -32
  523. data/app/assets/javascripts/tiny_mce/plugins/xhtmlxtras/langs/zh_dlg.js +0 -32
  524. data/app/assets/javascripts/tiny_mce/themes/advanced/about.htm +0 -54
  525. data/app/assets/javascripts/tiny_mce/themes/advanced/anchor.htm +0 -26
  526. data/app/assets/javascripts/tiny_mce/themes/advanced/charmap.htm +0 -52
  527. data/app/assets/javascripts/tiny_mce/themes/advanced/color_picker.htm +0 -73
  528. data/app/assets/javascripts/tiny_mce/themes/advanced/editor_template.js +0 -1
  529. data/app/assets/javascripts/tiny_mce/themes/advanced/editor_template_src.js +0 -1176
  530. data/app/assets/javascripts/tiny_mce/themes/advanced/image.htm +0 -80
  531. data/app/assets/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  532. data/app/assets/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
  533. data/app/assets/javascripts/tiny_mce/themes/advanced/js/about.js +0 -72
  534. data/app/assets/javascripts/tiny_mce/themes/advanced/js/anchor.js +0 -37
  535. data/app/assets/javascripts/tiny_mce/themes/advanced/js/charmap.js +0 -335
  536. data/app/assets/javascripts/tiny_mce/themes/advanced/js/color_picker.js +0 -253
  537. data/app/assets/javascripts/tiny_mce/themes/advanced/js/image.js +0 -245
  538. data/app/assets/javascripts/tiny_mce/themes/advanced/js/link.js +0 -156
  539. data/app/assets/javascripts/tiny_mce/themes/advanced/js/source_editor.js +0 -62
  540. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ar.js +0 -62
  541. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ar_dlg.js +0 -51
  542. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ca.js +0 -62
  543. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ca_dlg.js +0 -51
  544. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ch.js +0 -64
  545. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ch_dlg.js +0 -51
  546. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/cs.js +0 -62
  547. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/cs_dlg.js +0 -51
  548. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/cy.js +0 -62
  549. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/cy_dlg.js +0 -51
  550. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/de.js +0 -63
  551. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/de_dlg.js +0 -51
  552. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/en.js +0 -62
  553. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +0 -51
  554. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/es.js +0 -62
  555. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/es_dlg.js +0 -51
  556. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/fr.js +0 -62
  557. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/fr_dlg.js +0 -51
  558. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/he.js +0 -62
  559. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/he_dlg.js +0 -51
  560. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/hi.js +0 -62
  561. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/hi_dlg.js +0 -51
  562. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/hr.js +0 -62
  563. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/hr_dlg.js +0 -51
  564. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/hu.js +0 -62
  565. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/hu_dlg.js +0 -51
  566. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/it.js +0 -72
  567. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/it_dlg.js +0 -51
  568. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ja.js +0 -62
  569. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ja_dlg.js +0 -51
  570. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ka.js +0 -62
  571. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ka_dlg.js +0 -51
  572. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/kl.js +0 -62
  573. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/kl_dlg.js +0 -51
  574. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ko.js +0 -62
  575. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ko_dlg.js +0 -51
  576. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/lb.js +0 -63
  577. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/lb_dlg.js +0 -51
  578. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/nl.js +0 -62
  579. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/nl_dlg.js +0 -51
  580. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/pl.js +0 -62
  581. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/pl_dlg.js +0 -51
  582. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/pt.js +0 -62
  583. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/pt_dlg.js +0 -51
  584. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ru.js +0 -62
  585. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ru_dlg.js +0 -51
  586. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/sk.js +0 -62
  587. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/sk_dlg.js +0 -51
  588. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/sv.js +0 -60
  589. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/sv_dlg.js +0 -51
  590. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ta.js +0 -62
  591. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/ta_dlg.js +0 -51
  592. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/uk.js +0 -62
  593. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/uk_dlg.js +0 -51
  594. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/vi.js +0 -62
  595. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/vi_dlg.js +0 -51
  596. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/zh.js +0 -64
  597. data/app/assets/javascripts/tiny_mce/themes/advanced/langs/zh_dlg.js +0 -51
  598. data/app/assets/javascripts/tiny_mce/themes/advanced/link.htm +0 -58
  599. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/content.css +0 -35
  600. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +0 -117
  601. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
  602. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
  603. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  604. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  605. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
  606. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
  607. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +0 -213
  608. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +0 -35
  609. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +0 -116
  610. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  611. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  612. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  613. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +0 -215
  614. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +0 -8
  615. data/app/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +0 -5
  616. data/app/assets/javascripts/tiny_mce/themes/advanced/source_editor.htm +0 -25
  617. data/app/assets/javascripts/tiny_mce/themes/simple/editor_template.js +0 -1
  618. data/app/assets/javascripts/tiny_mce/themes/simple/editor_template_src.js +0 -85
  619. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ar.js +0 -11
  620. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ca.js +0 -11
  621. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ch.js +0 -11
  622. data/app/assets/javascripts/tiny_mce/themes/simple/langs/cs.js +0 -11
  623. data/app/assets/javascripts/tiny_mce/themes/simple/langs/cy.js +0 -11
  624. data/app/assets/javascripts/tiny_mce/themes/simple/langs/de.js +0 -11
  625. data/app/assets/javascripts/tiny_mce/themes/simple/langs/en.js +0 -11
  626. data/app/assets/javascripts/tiny_mce/themes/simple/langs/es.js +0 -11
  627. data/app/assets/javascripts/tiny_mce/themes/simple/langs/fr.js +0 -11
  628. data/app/assets/javascripts/tiny_mce/themes/simple/langs/he.js +0 -11
  629. data/app/assets/javascripts/tiny_mce/themes/simple/langs/hi.js +0 -11
  630. data/app/assets/javascripts/tiny_mce/themes/simple/langs/hr.js +0 -11
  631. data/app/assets/javascripts/tiny_mce/themes/simple/langs/hu.js +0 -11
  632. data/app/assets/javascripts/tiny_mce/themes/simple/langs/it.js +0 -11
  633. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ja.js +0 -11
  634. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ka.js +0 -11
  635. data/app/assets/javascripts/tiny_mce/themes/simple/langs/kl.js +0 -11
  636. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ko.js +0 -11
  637. data/app/assets/javascripts/tiny_mce/themes/simple/langs/lb.js +0 -11
  638. data/app/assets/javascripts/tiny_mce/themes/simple/langs/nl.js +0 -11
  639. data/app/assets/javascripts/tiny_mce/themes/simple/langs/pl.js +0 -11
  640. data/app/assets/javascripts/tiny_mce/themes/simple/langs/pt.js +0 -11
  641. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ru.js +0 -11
  642. data/app/assets/javascripts/tiny_mce/themes/simple/langs/sk.js +0 -11
  643. data/app/assets/javascripts/tiny_mce/themes/simple/langs/sv.js +0 -11
  644. data/app/assets/javascripts/tiny_mce/themes/simple/langs/ta.js +0 -11
  645. data/app/assets/javascripts/tiny_mce/themes/simple/langs/uk.js +0 -11
  646. data/app/assets/javascripts/tiny_mce/themes/simple/langs/vi.js +0 -11
  647. data/app/assets/javascripts/tiny_mce/themes/simple/langs/zh.js +0 -11
  648. data/app/assets/javascripts/tiny_mce/themes/simple/skins/default/content.css +0 -25
  649. data/app/assets/javascripts/tiny_mce/themes/simple/skins/default/ui.css +0 -32
  650. data/app/assets/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css +0 -17
  651. data/app/assets/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css +0 -35
  652. data/app/assets/javascripts/tiny_mce/tiny_mce.js +0 -1
  653. data/app/assets/javascripts/tiny_mce/tiny_mce_popup.js +0 -5
  654. data/app/assets/javascripts/tiny_mce/tiny_mce_src.js +0 -13959
  655. data/app/assets/javascripts/tiny_mce/utils/editable_selects.js +0 -70
  656. data/app/assets/javascripts/tiny_mce/utils/form_utils.js +0 -200
  657. data/app/assets/javascripts/tiny_mce/utils/mctabs.js +0 -77
  658. data/app/assets/javascripts/tiny_mce/utils/validate.js +0 -220
@@ -1,109 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <title></title>
5
- <script type="text/javascript" src="../../tiny_mce.js"></script>
6
- <script type="text/javascript">
7
- function patchCallback(settings, key) {
8
- if (settings[key])
9
- settings[key] = "window.opener." + settings[key];
10
- }
11
-
12
- var settings = {}, paSe = window.opener.tinyMCE.activeEditor.settings, oeID = window.opener.tinyMCE.activeEditor.id;
13
-
14
- // Clone array
15
- for (var n in paSe)
16
- settings[n] = paSe[n];
17
-
18
- // Override options for fullscreen
19
- for (var n in paSe.fullscreen_settings)
20
- settings[n] = paSe.fullscreen_settings[n];
21
-
22
- // Patch callbacks, make them point to window.opener
23
- patchCallback(settings, 'urlconverter_callback');
24
- patchCallback(settings, 'insertlink_callback');
25
- patchCallback(settings, 'insertimage_callback');
26
- patchCallback(settings, 'setupcontent_callback');
27
- patchCallback(settings, 'save_callback');
28
- patchCallback(settings, 'onchange_callback');
29
- patchCallback(settings, 'init_instance_callback');
30
- patchCallback(settings, 'file_browser_callback');
31
- patchCallback(settings, 'cleanup_callback');
32
- patchCallback(settings, 'execcommand_callback');
33
- patchCallback(settings, 'oninit');
34
-
35
- // Set options
36
- delete settings.id;
37
- settings['mode'] = 'exact';
38
- settings['elements'] = 'fullscreenarea';
39
- settings['add_unload_trigger'] = false;
40
- settings['ask'] = false;
41
- settings['document_base_url'] = window.opener.tinyMCE.activeEditor.documentBaseURI.getURI();
42
- settings['fullscreen_is_enabled'] = true;
43
- settings['fullscreen_editor_id'] = oeID;
44
- settings['theme_advanced_resizing'] = false;
45
- settings['strict_loading_mode'] = true;
46
-
47
- settings.save_onsavecallback = function() {
48
- window.opener.tinyMCE.get(oeID).setContent(tinyMCE.get('fullscreenarea').getContent({format : 'raw'}), {format : 'raw'});
49
- window.opener.tinyMCE.get(oeID).execCommand('mceSave');
50
- window.close();
51
- };
52
-
53
- function unloadHandler(e) {
54
- moveContent();
55
- }
56
-
57
- function moveContent() {
58
- window.opener.tinyMCE.get(oeID).setContent(tinyMCE.activeEditor.getContent());
59
- }
60
-
61
- function closeFullscreen() {
62
- moveContent();
63
- window.close();
64
- }
65
-
66
- function doParentSubmit() {
67
- moveContent();
68
-
69
- if (window.opener.tinyMCE.selectedInstance.formElement.form)
70
- window.opener.tinyMCE.selectedInstance.formElement.form.submit();
71
-
72
- window.close();
73
-
74
- return false;
75
- }
76
-
77
- function render() {
78
- var e = document.getElementById('fullscreenarea'), vp, ed, ow, oh, dom = tinymce.DOM;
79
-
80
- e.value = window.opener.tinyMCE.get(oeID).getContent();
81
-
82
- vp = dom.getViewPort();
83
- settings.width = vp.w;
84
- settings.height = vp.h - 15;
85
-
86
- tinymce.dom.Event.add(window, 'resize', function() {
87
- var vp = dom.getViewPort();
88
-
89
- tinyMCE.activeEditor.theme.resizeTo(vp.w, vp.h);
90
- });
91
-
92
- tinyMCE.init(settings);
93
- }
94
-
95
- // Add onunload
96
- tinymce.dom.Event.add(window, "beforeunload", unloadHandler);
97
- </script>
98
- </head>
99
- <body style="margin:0;overflow:hidden;width:100%;height:100%" scrolling="no" scroll="no">
100
- <form onsubmit="doParentSubmit();">
101
- <textarea id="fullscreenarea" style="width:100%; height:100%"></textarea>
102
- </form>
103
-
104
- <script type="text/javascript">
105
- render();
106
- </script>
107
-
108
- </body>
109
- </html>
@@ -1 +0,0 @@
1
- (function(){tinymce.create("tinymce.plugins.IESpell",{init:function(a,b){var c=this,d;if(!tinymce.isIE){return}c.editor=a;a.addCommand("mceIESpell",function(){try{d=new ActiveXObject("ieSpell.ieSpellExtension");d.CheckDocumentNode(a.getDoc().documentElement)}catch(f){if(f.number==-2146827859){a.windowManager.confirm(a.getLang("iespell.download"),function(e){if(e){window.open("http://www.iespell.com/download.php","ieSpellDownload","")}})}else{a.windowManager.alert("Error Loading ieSpell: Exception "+f.number)}}});a.addButton("iespell",{title:"iespell.iespell_desc",cmd:"mceIESpell"})},getInfo:function(){return{longname:"IESpell (IE Only)",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("iespell",tinymce.plugins.IESpell)})();
@@ -1,54 +0,0 @@
1
- /**
2
- * editor_plugin_src.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() {
12
- tinymce.create('tinymce.plugins.IESpell', {
13
- init : function(ed, url) {
14
- var t = this, sp;
15
-
16
- if (!tinymce.isIE)
17
- return;
18
-
19
- t.editor = ed;
20
-
21
- // Register commands
22
- ed.addCommand('mceIESpell', function() {
23
- try {
24
- sp = new ActiveXObject("ieSpell.ieSpellExtension");
25
- sp.CheckDocumentNode(ed.getDoc().documentElement);
26
- } catch (e) {
27
- if (e.number == -2146827859) {
28
- ed.windowManager.confirm(ed.getLang("iespell.download"), function(s) {
29
- if (s)
30
- window.open('http://www.iespell.com/download.php', 'ieSpellDownload', '');
31
- });
32
- } else
33
- ed.windowManager.alert("Error Loading ieSpell: Exception " + e.number);
34
- }
35
- });
36
-
37
- // Register buttons
38
- ed.addButton('iespell', {title : 'iespell.iespell_desc', cmd : 'mceIESpell'});
39
- },
40
-
41
- getInfo : function() {
42
- return {
43
- longname : 'IESpell (IE Only)',
44
- author : 'Moxiecode Systems AB',
45
- authorurl : 'http://tinymce.moxiecode.com',
46
- infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell',
47
- version : tinymce.majorVersion + "." + tinymce.minorVersion
48
- };
49
- }
50
- });
51
-
52
- // Register plugin
53
- tinymce.PluginManager.add('iespell', tinymce.plugins.IESpell);
54
- })();
@@ -1 +0,0 @@
1
- (function(){var d=tinymce.DOM,b=tinymce.dom.Element,a=tinymce.dom.Event,e=tinymce.each,c=tinymce.is;tinymce.create("tinymce.plugins.InlinePopups",{init:function(f,g){f.onBeforeRenderUI.add(function(){f.windowManager=new tinymce.InlineWindowManager(f);d.loadCSS(g+"/skins/"+(f.settings.inlinepopups_skin||"clearlooks2")+"/window.css")})},getInfo:function(){return{longname:"InlinePopups",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/inlinepopups",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.create("tinymce.InlineWindowManager:tinymce.WindowManager",{InlineWindowManager:function(f){var g=this;g.parent(f);g.zIndex=300000;g.count=0;g.windows={}},open:function(r,j){var y=this,i,k="",q=y.editor,g=0,s=0,h,m,n,o,l,v,x;r=r||{};j=j||{};if(!r.inline){return y.parent(r,j)}if(!r.type){y.bookmark=q.selection.getBookmark(1)}i=d.uniqueId();h=d.getViewPort();r.width=parseInt(r.width||320);r.height=parseInt(r.height||240)+(tinymce.isIE?8:0);r.min_width=parseInt(r.min_width||150);r.min_height=parseInt(r.min_height||100);r.max_width=parseInt(r.max_width||2000);r.max_height=parseInt(r.max_height||2000);r.left=r.left||Math.round(Math.max(h.x,h.x+(h.w/2)-(r.width/2)));r.top=r.top||Math.round(Math.max(h.y,h.y+(h.h/2)-(r.height/2)));r.movable=r.resizable=true;j.mce_width=r.width;j.mce_height=r.height;j.mce_inline=true;j.mce_window_id=i;j.mce_auto_focus=r.auto_focus;y.features=r;y.params=j;y.onOpen.dispatch(y,r,j);if(r.type){k+=" mceModal";if(r.type){k+=" mce"+r.type.substring(0,1).toUpperCase()+r.type.substring(1)}r.resizable=false}if(r.statusbar){k+=" mceStatusbar"}if(r.resizable){k+=" mceResizable"}if(r.minimizable){k+=" mceMinimizable"}if(r.maximizable){k+=" mceMaximizable"}if(r.movable){k+=" mceMovable"}y._addAll(d.doc.body,["div",{id:i,"class":q.settings.inlinepopups_skin||"clearlooks2",style:"width:100px;height:100px"},["div",{id:i+"_wrapper","class":"mceWrapper"+k},["div",{id:i+"_top","class":"mceTop"},["div",{"class":"mceLeft"}],["div",{"class":"mceCenter"}],["div",{"class":"mceRight"}],["span",{id:i+"_title"},r.title||""]],["div",{id:i+"_middle","class":"mceMiddle"},["div",{id:i+"_left","class":"mceLeft"}],["span",{id:i+"_content"}],["div",{id:i+"_right","class":"mceRight"}]],["div",{id:i+"_bottom","class":"mceBottom"},["div",{"class":"mceLeft"}],["div",{"class":"mceCenter"}],["div",{"class":"mceRight"}],["span",{id:i+"_status"},"Content"]],["a",{"class":"mceMove",tabindex:"-1",href:"javascript:;"}],["a",{"class":"mceMin",tabindex:"-1",href:"javascript:;",onmousedown:"return false;"}],["a",{"class":"mceMax",tabindex:"-1",href:"javascript:;",onmousedown:"return false;"}],["a",{"class":"mceMed",tabindex:"-1",href:"javascript:;",onmousedown:"return false;"}],["a",{"class":"mceClose",tabindex:"-1",href:"javascript:;",onmousedown:"return false;"}],["a",{id:i+"_resize_n","class":"mceResize mceResizeN",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_s","class":"mceResize mceResizeS",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_w","class":"mceResize mceResizeW",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_e","class":"mceResize mceResizeE",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_nw","class":"mceResize mceResizeNW",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_ne","class":"mceResize mceResizeNE",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_sw","class":"mceResize mceResizeSW",tabindex:"-1",href:"javascript:;"}],["a",{id:i+"_resize_se","class":"mceResize mceResizeSE",tabindex:"-1",href:"javascript:;"}]]]);d.setStyles(i,{top:-10000,left:-10000});if(tinymce.isGecko){d.setStyle(i,"overflow","auto")}if(!r.type){g+=d.get(i+"_left").clientWidth;g+=d.get(i+"_right").clientWidth;s+=d.get(i+"_top").clientHeight;s+=d.get(i+"_bottom").clientHeight}d.setStyles(i,{top:r.top,left:r.left,width:r.width+g,height:r.height+s});x=r.url||r.file;if(x){if(tinymce.relaxedDomain){x+=(x.indexOf("?")==-1?"?":"&")+"mce_rdomain="+tinymce.relaxedDomain}x=tinymce._addVer(x)}if(!r.type){d.add(i+"_content","iframe",{id:i+"_ifr",src:'javascript:""',frameBorder:0,style:"border:0;width:10px;height:10px"});d.setStyles(i+"_ifr",{width:r.width,height:r.height});d.setAttrib(i+"_ifr","src",x)}else{d.add(i+"_wrapper","a",{id:i+"_ok","class":"mceButton mceOk",href:"javascript:;",onmousedown:"return false;"},"Ok");if(r.type=="confirm"){d.add(i+"_wrapper","a",{"class":"mceButton mceCancel",href:"javascript:;",onmousedown:"return false;"},"Cancel")}d.add(i+"_middle","div",{"class":"mceIcon"});d.setHTML(i+"_content",r.content.replace("\n","<br />"))}n=a.add(i,"mousedown",function(t){var u=t.target,f,p;f=y.windows[i];y.focus(i);if(u.nodeName=="A"||u.nodeName=="a"){if(u.className=="mceMax"){f.oldPos=f.element.getXY();f.oldSize=f.element.getSize();p=d.getViewPort();p.w-=2;p.h-=2;f.element.moveTo(p.x,p.y);f.element.resizeTo(p.w,p.h);d.setStyles(i+"_ifr",{width:p.w-f.deltaWidth,height:p.h-f.deltaHeight});d.addClass(i+"_wrapper","mceMaximized")}else{if(u.className=="mceMed"){f.element.moveTo(f.oldPos.x,f.oldPos.y);f.element.resizeTo(f.oldSize.w,f.oldSize.h);f.iframeElement.resizeTo(f.oldSize.w-f.deltaWidth,f.oldSize.h-f.deltaHeight);d.removeClass(i+"_wrapper","mceMaximized")}else{if(u.className=="mceMove"){return y._startDrag(i,t,u.className)}else{if(d.hasClass(u,"mceResize")){return y._startDrag(i,t,u.className.substring(13))}}}}}});o=a.add(i,"click",function(f){var p=f.target;y.focus(i);if(p.nodeName=="A"||p.nodeName=="a"){switch(p.className){case"mceClose":y.close(null,i);return a.cancel(f);case"mceButton mceOk":case"mceButton mceCancel":r.button_func(p.className=="mceButton mceOk");return a.cancel(f)}}});v=y.windows[i]={id:i,mousedown_func:n,click_func:o,element:new b(i,{blocker:1,container:q.getContainer()}),iframeElement:new b(i+"_ifr"),features:r,deltaWidth:g,deltaHeight:s};v.iframeElement.on("focus",function(){y.focus(i)});if(y.count==0&&y.editor.getParam("dialog_type","modal")=="modal"){d.add(d.doc.body,"div",{id:"mceModalBlocker","class":(y.editor.settings.inlinepopups_skin||"clearlooks2")+"_modalBlocker",style:{zIndex:y.zIndex-1}});d.show("mceModalBlocker")}else{d.setStyle("mceModalBlocker","z-index",y.zIndex-1)}if(tinymce.isIE6||/Firefox\/2\./.test(navigator.userAgent)||(tinymce.isIE&&!d.boxModel)){d.setStyles("mceModalBlocker",{position:"absolute",left:h.x,top:h.y,width:h.w-2,height:h.h-2})}y.focus(i);y._fixIELayout(i,1);if(d.get(i+"_ok")){d.get(i+"_ok").focus()}y.count++;return v},focus:function(h){var g=this,f;if(f=g.windows[h]){f.zIndex=this.zIndex++;f.element.setStyle("zIndex",f.zIndex);f.element.update();h=h+"_wrapper";d.removeClass(g.lastId,"mceFocus");d.addClass(h,"mceFocus");g.lastId=h}},_addAll:function(k,h){var g,l,f=this,j=tinymce.DOM;if(c(h,"string")){k.appendChild(j.doc.createTextNode(h))}else{if(h.length){k=k.appendChild(j.create(h[0],h[1]));for(g=2;g<h.length;g++){f._addAll(k,h[g])}}}},_startDrag:function(v,G,E){var o=this,u,z,C=d.doc,f,l=o.windows[v],h=l.element,y=h.getXY(),x,q,F,g,A,s,r,j,i,m,k,n,B;g={x:0,y:0};A=d.getViewPort();A.w-=2;A.h-=2;j=G.screenX;i=G.screenY;m=k=n=B=0;u=a.add(C,"mouseup",function(p){a.remove(C,"mouseup",u);a.remove(C,"mousemove",z);if(f){f.remove()}h.moveBy(m,k);h.resizeBy(n,B);q=h.getSize();d.setStyles(v+"_ifr",{width:q.w-l.deltaWidth,height:q.h-l.deltaHeight});o._fixIELayout(v,1);return a.cancel(p)});if(E!="Move"){D()}function D(){if(f){return}o._fixIELayout(v,0);d.add(C.body,"div",{id:"mceEventBlocker","class":"mceEventBlocker "+(o.editor.settings.inlinepopups_skin||"clearlooks2"),style:{zIndex:o.zIndex+1}});if(tinymce.isIE6||(tinymce.isIE&&!d.boxModel)){d.setStyles("mceEventBlocker",{position:"absolute",left:A.x,top:A.y,width:A.w-2,height:A.h-2})}f=new b("mceEventBlocker");f.update();x=h.getXY();q=h.getSize();s=g.x+x.x-A.x;r=g.y+x.y-A.y;d.add(f.get(),"div",{id:"mcePlaceHolder","class":"mcePlaceHolder",style:{left:s,top:r,width:q.w,height:q.h}});F=new b("mcePlaceHolder")}z=a.add(C,"mousemove",function(w){var p,H,t;D();p=w.screenX-j;H=w.screenY-i;switch(E){case"ResizeW":m=p;n=0-p;break;case"ResizeE":n=p;break;case"ResizeN":case"ResizeNW":case"ResizeNE":if(E=="ResizeNW"){m=p;n=0-p}else{if(E=="ResizeNE"){n=p}}k=H;B=0-H;break;case"ResizeS":case"ResizeSW":case"ResizeSE":if(E=="ResizeSW"){m=p;n=0-p}else{if(E=="ResizeSE"){n=p}}B=H;break;case"mceMove":m=p;k=H;break}if(n<(t=l.features.min_width-q.w)){if(m!==0){m+=n-t}n=t}if(B<(t=l.features.min_height-q.h)){if(k!==0){k+=B-t}B=t}n=Math.min(n,l.features.max_width-q.w);B=Math.min(B,l.features.max_height-q.h);m=Math.max(m,A.x-(s+A.x));k=Math.max(k,A.y-(r+A.y));m=Math.min(m,(A.w+A.x)-(s+q.w+A.x));k=Math.min(k,(A.h+A.y)-(r+q.h+A.y));if(m+k!==0){if(s+m<0){m=0}if(r+k<0){k=0}F.moveTo(s+m,r+k)}if(n+B!==0){F.resizeTo(q.w+n,q.h+B)}return a.cancel(w)});return a.cancel(G)},resizeBy:function(g,h,i){var f=this.windows[i];if(f){f.element.resizeBy(g,h);f.iframeElement.resizeBy(g,h)}},close:function(j,l){var h=this,g,k=d.doc,f=0,i,l;l=h._findId(l||j);if(!h.windows[l]){h.parent(j);return}h.count--;if(h.count==0){d.remove("mceModalBlocker")}if(g=h.windows[l]){h.onClose.dispatch(h);a.remove(k,"mousedown",g.mousedownFunc);a.remove(k,"click",g.clickFunc);a.clear(l);a.clear(l+"_ifr");d.setAttrib(l+"_ifr","src",'javascript:""');g.element.remove();delete h.windows[l];e(h.windows,function(m){if(m.zIndex>f){i=m;f=m.zIndex}});if(i){h.focus(i.id)}}},setTitle:function(f,g){var h;f=this._findId(f);if(h=d.get(f+"_title")){h.innerHTML=d.encode(g)}},alert:function(g,f,j){var i=this,h;h=i.open({title:i,type:"alert",button_func:function(k){if(f){f.call(k||i,k)}i.close(null,h.id)},content:d.encode(i.editor.getLang(g,g)),inline:1,width:400,height:130})},confirm:function(g,f,j){var i=this,h;h=i.open({title:i,type:"confirm",button_func:function(k){if(f){f.call(k||i,k)}i.close(null,h.id)},content:d.encode(i.editor.getLang(g,g)),inline:1,width:400,height:130})},_findId:function(f){var g=this;if(typeof(f)=="string"){return f}e(g.windows,function(h){var i=d.get(h.id+"_ifr");if(i&&f==i.contentWindow){f=h.id;return false}});return f},_fixIELayout:function(i,h){var f,g;if(!tinymce.isIE6){return}e(["n","s","w","e","nw","ne","sw","se"],function(j){var k=d.get(i+"_resize_"+j);d.setStyles(k,{width:h?k.clientWidth:"",height:h?k.clientHeight:"",cursor:d.getStyle(k,"cursor",1)});d.setStyle(i+"_bottom","bottom","-1px");k=0});if(f=this.windows[i]){f.element.hide();f.element.show();e(d.select("div,a",i),function(k,j){if(k.currentStyle.backgroundImage!="none"){g=new Image();g.src=k.currentStyle.backgroundImage.replace(/url\(\"(.+)\"\)/,"$1")}});d.get(i).style.filter=""}}});tinymce.PluginManager.add("inlinepopups",tinymce.plugins.InlinePopups)})();
@@ -1,635 +0,0 @@
1
- /**
2
- * editor_plugin_src.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() {
12
- var DOM = tinymce.DOM, Element = tinymce.dom.Element, Event = tinymce.dom.Event, each = tinymce.each, is = tinymce.is;
13
-
14
- tinymce.create('tinymce.plugins.InlinePopups', {
15
- init : function(ed, url) {
16
- // Replace window manager
17
- ed.onBeforeRenderUI.add(function() {
18
- ed.windowManager = new tinymce.InlineWindowManager(ed);
19
- DOM.loadCSS(url + '/skins/' + (ed.settings.inlinepopups_skin || 'clearlooks2') + "/window.css");
20
- });
21
- },
22
-
23
- getInfo : function() {
24
- return {
25
- longname : 'InlinePopups',
26
- author : 'Moxiecode Systems AB',
27
- authorurl : 'http://tinymce.moxiecode.com',
28
- infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/inlinepopups',
29
- version : tinymce.majorVersion + "." + tinymce.minorVersion
30
- };
31
- }
32
- });
33
-
34
- tinymce.create('tinymce.InlineWindowManager:tinymce.WindowManager', {
35
- InlineWindowManager : function(ed) {
36
- var t = this;
37
-
38
- t.parent(ed);
39
- t.zIndex = 300000;
40
- t.count = 0;
41
- t.windows = {};
42
- },
43
-
44
- open : function(f, p) {
45
- var t = this, id, opt = '', ed = t.editor, dw = 0, dh = 0, vp, po, mdf, clf, we, w, u;
46
-
47
- f = f || {};
48
- p = p || {};
49
-
50
- // Run native windows
51
- if (!f.inline)
52
- return t.parent(f, p);
53
-
54
- // Only store selection if the type is a normal window
55
- if (!f.type)
56
- t.bookmark = ed.selection.getBookmark(1);
57
-
58
- id = DOM.uniqueId();
59
- vp = DOM.getViewPort();
60
- f.width = parseInt(f.width || 320);
61
- f.height = parseInt(f.height || 240) + (tinymce.isIE ? 8 : 0);
62
- f.min_width = parseInt(f.min_width || 150);
63
- f.min_height = parseInt(f.min_height || 100);
64
- f.max_width = parseInt(f.max_width || 2000);
65
- f.max_height = parseInt(f.max_height || 2000);
66
- f.left = f.left || Math.round(Math.max(vp.x, vp.x + (vp.w / 2.0) - (f.width / 2.0)));
67
- f.top = f.top || Math.round(Math.max(vp.y, vp.y + (vp.h / 2.0) - (f.height / 2.0)));
68
- f.movable = f.resizable = true;
69
- p.mce_width = f.width;
70
- p.mce_height = f.height;
71
- p.mce_inline = true;
72
- p.mce_window_id = id;
73
- p.mce_auto_focus = f.auto_focus;
74
-
75
- // Transpose
76
- // po = DOM.getPos(ed.getContainer());
77
- // f.left -= po.x;
78
- // f.top -= po.y;
79
-
80
- t.features = f;
81
- t.params = p;
82
- t.onOpen.dispatch(t, f, p);
83
-
84
- if (f.type) {
85
- opt += ' mceModal';
86
-
87
- if (f.type)
88
- opt += ' mce' + f.type.substring(0, 1).toUpperCase() + f.type.substring(1);
89
-
90
- f.resizable = false;
91
- }
92
-
93
- if (f.statusbar)
94
- opt += ' mceStatusbar';
95
-
96
- if (f.resizable)
97
- opt += ' mceResizable';
98
-
99
- if (f.minimizable)
100
- opt += ' mceMinimizable';
101
-
102
- if (f.maximizable)
103
- opt += ' mceMaximizable';
104
-
105
- if (f.movable)
106
- opt += ' mceMovable';
107
-
108
- // Create DOM objects
109
- t._addAll(DOM.doc.body,
110
- ['div', {id : id, 'class' : ed.settings.inlinepopups_skin || 'clearlooks2', style : 'width:100px;height:100px'},
111
- ['div', {id : id + '_wrapper', 'class' : 'mceWrapper' + opt},
112
- ['div', {id : id + '_top', 'class' : 'mceTop'},
113
- ['div', {'class' : 'mceLeft'}],
114
- ['div', {'class' : 'mceCenter'}],
115
- ['div', {'class' : 'mceRight'}],
116
- ['span', {id : id + '_title'}, f.title || '']
117
- ],
118
-
119
- ['div', {id : id + '_middle', 'class' : 'mceMiddle'},
120
- ['div', {id : id + '_left', 'class' : 'mceLeft'}],
121
- ['span', {id : id + '_content'}],
122
- ['div', {id : id + '_right', 'class' : 'mceRight'}]
123
- ],
124
-
125
- ['div', {id : id + '_bottom', 'class' : 'mceBottom'},
126
- ['div', {'class' : 'mceLeft'}],
127
- ['div', {'class' : 'mceCenter'}],
128
- ['div', {'class' : 'mceRight'}],
129
- ['span', {id : id + '_status'}, 'Content']
130
- ],
131
-
132
- ['a', {'class' : 'mceMove', tabindex : '-1', href : 'javascript:;'}],
133
- ['a', {'class' : 'mceMin', tabindex : '-1', href : 'javascript:;', onmousedown : 'return false;'}],
134
- ['a', {'class' : 'mceMax', tabindex : '-1', href : 'javascript:;', onmousedown : 'return false;'}],
135
- ['a', {'class' : 'mceMed', tabindex : '-1', href : 'javascript:;', onmousedown : 'return false;'}],
136
- ['a', {'class' : 'mceClose', tabindex : '-1', href : 'javascript:;', onmousedown : 'return false;'}],
137
- ['a', {id : id + '_resize_n', 'class' : 'mceResize mceResizeN', tabindex : '-1', href : 'javascript:;'}],
138
- ['a', {id : id + '_resize_s', 'class' : 'mceResize mceResizeS', tabindex : '-1', href : 'javascript:;'}],
139
- ['a', {id : id + '_resize_w', 'class' : 'mceResize mceResizeW', tabindex : '-1', href : 'javascript:;'}],
140
- ['a', {id : id + '_resize_e', 'class' : 'mceResize mceResizeE', tabindex : '-1', href : 'javascript:;'}],
141
- ['a', {id : id + '_resize_nw', 'class' : 'mceResize mceResizeNW', tabindex : '-1', href : 'javascript:;'}],
142
- ['a', {id : id + '_resize_ne', 'class' : 'mceResize mceResizeNE', tabindex : '-1', href : 'javascript:;'}],
143
- ['a', {id : id + '_resize_sw', 'class' : 'mceResize mceResizeSW', tabindex : '-1', href : 'javascript:;'}],
144
- ['a', {id : id + '_resize_se', 'class' : 'mceResize mceResizeSE', tabindex : '-1', href : 'javascript:;'}]
145
- ]
146
- ]
147
- );
148
-
149
- DOM.setStyles(id, {top : -10000, left : -10000});
150
-
151
- // Fix gecko rendering bug, where the editors iframe messed with window contents
152
- if (tinymce.isGecko)
153
- DOM.setStyle(id, 'overflow', 'auto');
154
-
155
- // Measure borders
156
- if (!f.type) {
157
- dw += DOM.get(id + '_left').clientWidth;
158
- dw += DOM.get(id + '_right').clientWidth;
159
- dh += DOM.get(id + '_top').clientHeight;
160
- dh += DOM.get(id + '_bottom').clientHeight;
161
- }
162
-
163
- // Resize window
164
- DOM.setStyles(id, {top : f.top, left : f.left, width : f.width + dw, height : f.height + dh});
165
-
166
- u = f.url || f.file;
167
- if (u) {
168
- if (tinymce.relaxedDomain)
169
- u += (u.indexOf('?') == -1 ? '?' : '&') + 'mce_rdomain=' + tinymce.relaxedDomain;
170
-
171
- u = tinymce._addVer(u);
172
- }
173
-
174
- if (!f.type) {
175
- DOM.add(id + '_content', 'iframe', {id : id + '_ifr', src : 'javascript:""', frameBorder : 0, style : 'border:0;width:10px;height:10px'});
176
- DOM.setStyles(id + '_ifr', {width : f.width, height : f.height});
177
- DOM.setAttrib(id + '_ifr', 'src', u);
178
- } else {
179
- DOM.add(id + '_wrapper', 'a', {id : id + '_ok', 'class' : 'mceButton mceOk', href : 'javascript:;', onmousedown : 'return false;'}, 'Ok');
180
-
181
- if (f.type == 'confirm')
182
- DOM.add(id + '_wrapper', 'a', {'class' : 'mceButton mceCancel', href : 'javascript:;', onmousedown : 'return false;'}, 'Cancel');
183
-
184
- DOM.add(id + '_middle', 'div', {'class' : 'mceIcon'});
185
- DOM.setHTML(id + '_content', f.content.replace('\n', '<br />'));
186
- }
187
-
188
- // Register events
189
- mdf = Event.add(id, 'mousedown', function(e) {
190
- var n = e.target, w, vp;
191
-
192
- w = t.windows[id];
193
- t.focus(id);
194
-
195
- if (n.nodeName == 'A' || n.nodeName == 'a') {
196
- if (n.className == 'mceMax') {
197
- w.oldPos = w.element.getXY();
198
- w.oldSize = w.element.getSize();
199
-
200
- vp = DOM.getViewPort();
201
-
202
- // Reduce viewport size to avoid scrollbars
203
- vp.w -= 2;
204
- vp.h -= 2;
205
-
206
- w.element.moveTo(vp.x, vp.y);
207
- w.element.resizeTo(vp.w, vp.h);
208
- DOM.setStyles(id + '_ifr', {width : vp.w - w.deltaWidth, height : vp.h - w.deltaHeight});
209
- DOM.addClass(id + '_wrapper', 'mceMaximized');
210
- } else if (n.className == 'mceMed') {
211
- // Reset to old size
212
- w.element.moveTo(w.oldPos.x, w.oldPos.y);
213
- w.element.resizeTo(w.oldSize.w, w.oldSize.h);
214
- w.iframeElement.resizeTo(w.oldSize.w - w.deltaWidth, w.oldSize.h - w.deltaHeight);
215
-
216
- DOM.removeClass(id + '_wrapper', 'mceMaximized');
217
- } else if (n.className == 'mceMove')
218
- return t._startDrag(id, e, n.className);
219
- else if (DOM.hasClass(n, 'mceResize'))
220
- return t._startDrag(id, e, n.className.substring(13));
221
- }
222
- });
223
-
224
- clf = Event.add(id, 'click', function(e) {
225
- var n = e.target;
226
-
227
- t.focus(id);
228
-
229
- if (n.nodeName == 'A' || n.nodeName == 'a') {
230
- switch (n.className) {
231
- case 'mceClose':
232
- t.close(null, id);
233
- return Event.cancel(e);
234
-
235
- case 'mceButton mceOk':
236
- case 'mceButton mceCancel':
237
- f.button_func(n.className == 'mceButton mceOk');
238
- return Event.cancel(e);
239
- }
240
- }
241
- });
242
-
243
- // Add window
244
- w = t.windows[id] = {
245
- id : id,
246
- mousedown_func : mdf,
247
- click_func : clf,
248
- element : new Element(id, {blocker : 1, container : ed.getContainer()}),
249
- iframeElement : new Element(id + '_ifr'),
250
- features : f,
251
- deltaWidth : dw,
252
- deltaHeight : dh
253
- };
254
-
255
- w.iframeElement.on('focus', function() {
256
- t.focus(id);
257
- });
258
-
259
- // Setup blocker
260
- if (t.count == 0 && t.editor.getParam('dialog_type', 'modal') == 'modal') {
261
- DOM.add(DOM.doc.body, 'div', {
262
- id : 'mceModalBlocker',
263
- 'class' : (t.editor.settings.inlinepopups_skin || 'clearlooks2') + '_modalBlocker',
264
- style : {zIndex : t.zIndex - 1}
265
- });
266
-
267
- DOM.show('mceModalBlocker'); // Reduces flicker in IE
268
- } else
269
- DOM.setStyle('mceModalBlocker', 'z-index', t.zIndex - 1);
270
-
271
- if (tinymce.isIE6 || /Firefox\/2\./.test(navigator.userAgent) || (tinymce.isIE && !DOM.boxModel))
272
- DOM.setStyles('mceModalBlocker', {position : 'absolute', left : vp.x, top : vp.y, width : vp.w - 2, height : vp.h - 2});
273
-
274
- t.focus(id);
275
- t._fixIELayout(id, 1);
276
-
277
- // Focus ok button
278
- if (DOM.get(id + '_ok'))
279
- DOM.get(id + '_ok').focus();
280
-
281
- t.count++;
282
-
283
- return w;
284
- },
285
-
286
- focus : function(id) {
287
- var t = this, w;
288
-
289
- if (w = t.windows[id]) {
290
- w.zIndex = this.zIndex++;
291
- w.element.setStyle('zIndex', w.zIndex);
292
- w.element.update();
293
-
294
- id = id + '_wrapper';
295
- DOM.removeClass(t.lastId, 'mceFocus');
296
- DOM.addClass(id, 'mceFocus');
297
- t.lastId = id;
298
- }
299
- },
300
-
301
- _addAll : function(te, ne) {
302
- var i, n, t = this, dom = tinymce.DOM;
303
-
304
- if (is(ne, 'string'))
305
- te.appendChild(dom.doc.createTextNode(ne));
306
- else if (ne.length) {
307
- te = te.appendChild(dom.create(ne[0], ne[1]));
308
-
309
- for (i=2; i<ne.length; i++)
310
- t._addAll(te, ne[i]);
311
- }
312
- },
313
-
314
- _startDrag : function(id, se, ac) {
315
- var t = this, mu, mm, d = DOM.doc, eb, w = t.windows[id], we = w.element, sp = we.getXY(), p, sz, ph, cp, vp, sx, sy, sex, sey, dx, dy, dw, dh;
316
-
317
- // Get positons and sizes
318
- // cp = DOM.getPos(t.editor.getContainer());
319
- cp = {x : 0, y : 0};
320
- vp = DOM.getViewPort();
321
-
322
- // Reduce viewport size to avoid scrollbars while dragging
323
- vp.w -= 2;
324
- vp.h -= 2;
325
-
326
- sex = se.screenX;
327
- sey = se.screenY;
328
- dx = dy = dw = dh = 0;
329
-
330
- // Handle mouse up
331
- mu = Event.add(d, 'mouseup', function(e) {
332
- Event.remove(d, 'mouseup', mu);
333
- Event.remove(d, 'mousemove', mm);
334
-
335
- if (eb)
336
- eb.remove();
337
-
338
- we.moveBy(dx, dy);
339
- we.resizeBy(dw, dh);
340
- sz = we.getSize();
341
- DOM.setStyles(id + '_ifr', {width : sz.w - w.deltaWidth, height : sz.h - w.deltaHeight});
342
- t._fixIELayout(id, 1);
343
-
344
- return Event.cancel(e);
345
- });
346
-
347
- if (ac != 'Move')
348
- startMove();
349
-
350
- function startMove() {
351
- if (eb)
352
- return;
353
-
354
- t._fixIELayout(id, 0);
355
-
356
- // Setup event blocker
357
- DOM.add(d.body, 'div', {
358
- id : 'mceEventBlocker',
359
- 'class' : 'mceEventBlocker ' + (t.editor.settings.inlinepopups_skin || 'clearlooks2'),
360
- style : {zIndex : t.zIndex + 1}
361
- });
362
-
363
- if (tinymce.isIE6 || (tinymce.isIE && !DOM.boxModel))
364
- DOM.setStyles('mceEventBlocker', {position : 'absolute', left : vp.x, top : vp.y, width : vp.w - 2, height : vp.h - 2});
365
-
366
- eb = new Element('mceEventBlocker');
367
- eb.update();
368
-
369
- // Setup placeholder
370
- p = we.getXY();
371
- sz = we.getSize();
372
- sx = cp.x + p.x - vp.x;
373
- sy = cp.y + p.y - vp.y;
374
- DOM.add(eb.get(), 'div', {id : 'mcePlaceHolder', 'class' : 'mcePlaceHolder', style : {left : sx, top : sy, width : sz.w, height : sz.h}});
375
- ph = new Element('mcePlaceHolder');
376
- };
377
-
378
- // Handle mouse move/drag
379
- mm = Event.add(d, 'mousemove', function(e) {
380
- var x, y, v;
381
-
382
- startMove();
383
-
384
- x = e.screenX - sex;
385
- y = e.screenY - sey;
386
-
387
- switch (ac) {
388
- case 'ResizeW':
389
- dx = x;
390
- dw = 0 - x;
391
- break;
392
-
393
- case 'ResizeE':
394
- dw = x;
395
- break;
396
-
397
- case 'ResizeN':
398
- case 'ResizeNW':
399
- case 'ResizeNE':
400
- if (ac == "ResizeNW") {
401
- dx = x;
402
- dw = 0 - x;
403
- } else if (ac == "ResizeNE")
404
- dw = x;
405
-
406
- dy = y;
407
- dh = 0 - y;
408
- break;
409
-
410
- case 'ResizeS':
411
- case 'ResizeSW':
412
- case 'ResizeSE':
413
- if (ac == "ResizeSW") {
414
- dx = x;
415
- dw = 0 - x;
416
- } else if (ac == "ResizeSE")
417
- dw = x;
418
-
419
- dh = y;
420
- break;
421
-
422
- case 'mceMove':
423
- dx = x;
424
- dy = y;
425
- break;
426
- }
427
-
428
- // Boundary check
429
- if (dw < (v = w.features.min_width - sz.w)) {
430
- if (dx !== 0)
431
- dx += dw - v;
432
-
433
- dw = v;
434
- }
435
-
436
- if (dh < (v = w.features.min_height - sz.h)) {
437
- if (dy !== 0)
438
- dy += dh - v;
439
-
440
- dh = v;
441
- }
442
-
443
- dw = Math.min(dw, w.features.max_width - sz.w);
444
- dh = Math.min(dh, w.features.max_height - sz.h);
445
- dx = Math.max(dx, vp.x - (sx + vp.x));
446
- dy = Math.max(dy, vp.y - (sy + vp.y));
447
- dx = Math.min(dx, (vp.w + vp.x) - (sx + sz.w + vp.x));
448
- dy = Math.min(dy, (vp.h + vp.y) - (sy + sz.h + vp.y));
449
-
450
- // Move if needed
451
- if (dx + dy !== 0) {
452
- if (sx + dx < 0)
453
- dx = 0;
454
-
455
- if (sy + dy < 0)
456
- dy = 0;
457
-
458
- ph.moveTo(sx + dx, sy + dy);
459
- }
460
-
461
- // Resize if needed
462
- if (dw + dh !== 0)
463
- ph.resizeTo(sz.w + dw, sz.h + dh);
464
-
465
- return Event.cancel(e);
466
- });
467
-
468
- return Event.cancel(se);
469
- },
470
-
471
- resizeBy : function(dw, dh, id) {
472
- var w = this.windows[id];
473
-
474
- if (w) {
475
- w.element.resizeBy(dw, dh);
476
- w.iframeElement.resizeBy(dw, dh);
477
- }
478
- },
479
-
480
- close : function(win, id) {
481
- var t = this, w, d = DOM.doc, ix = 0, fw, id;
482
-
483
- id = t._findId(id || win);
484
-
485
- // Probably not inline
486
- if (!t.windows[id]) {
487
- t.parent(win);
488
- return;
489
- }
490
-
491
- t.count--;
492
-
493
- if (t.count == 0)
494
- DOM.remove('mceModalBlocker');
495
-
496
- if (w = t.windows[id]) {
497
- t.onClose.dispatch(t);
498
- Event.remove(d, 'mousedown', w.mousedownFunc);
499
- Event.remove(d, 'click', w.clickFunc);
500
- Event.clear(id);
501
- Event.clear(id + '_ifr');
502
-
503
- DOM.setAttrib(id + '_ifr', 'src', 'javascript:""'); // Prevent leak
504
- w.element.remove();
505
- delete t.windows[id];
506
-
507
- // Find front most window and focus that
508
- each (t.windows, function(w) {
509
- if (w.zIndex > ix) {
510
- fw = w;
511
- ix = w.zIndex;
512
- }
513
- });
514
-
515
- if (fw)
516
- t.focus(fw.id);
517
- }
518
- },
519
-
520
- setTitle : function(w, ti) {
521
- var e;
522
-
523
- w = this._findId(w);
524
-
525
- if (e = DOM.get(w + '_title'))
526
- e.innerHTML = DOM.encode(ti);
527
- },
528
-
529
- alert : function(txt, cb, s) {
530
- var t = this, w;
531
-
532
- w = t.open({
533
- title : t,
534
- type : 'alert',
535
- button_func : function(s) {
536
- if (cb)
537
- cb.call(s || t, s);
538
-
539
- t.close(null, w.id);
540
- },
541
- content : DOM.encode(t.editor.getLang(txt, txt)),
542
- inline : 1,
543
- width : 400,
544
- height : 130
545
- });
546
- },
547
-
548
- confirm : function(txt, cb, s) {
549
- var t = this, w;
550
-
551
- w = t.open({
552
- title : t,
553
- type : 'confirm',
554
- button_func : function(s) {
555
- if (cb)
556
- cb.call(s || t, s);
557
-
558
- t.close(null, w.id);
559
- },
560
- content : DOM.encode(t.editor.getLang(txt, txt)),
561
- inline : 1,
562
- width : 400,
563
- height : 130
564
- });
565
- },
566
-
567
- // Internal functions
568
-
569
- _findId : function(w) {
570
- var t = this;
571
-
572
- if (typeof(w) == 'string')
573
- return w;
574
-
575
- each(t.windows, function(wo) {
576
- var ifr = DOM.get(wo.id + '_ifr');
577
-
578
- if (ifr && w == ifr.contentWindow) {
579
- w = wo.id;
580
- return false;
581
- }
582
- });
583
-
584
- return w;
585
- },
586
-
587
- _fixIELayout : function(id, s) {
588
- var w, img;
589
-
590
- if (!tinymce.isIE6)
591
- return;
592
-
593
- // Fixes the bug where hover flickers and does odd things in IE6
594
- each(['n','s','w','e','nw','ne','sw','se'], function(v) {
595
- var e = DOM.get(id + '_resize_' + v);
596
-
597
- DOM.setStyles(e, {
598
- width : s ? e.clientWidth : '',
599
- height : s ? e.clientHeight : '',
600
- cursor : DOM.getStyle(e, 'cursor', 1)
601
- });
602
-
603
- DOM.setStyle(id + "_bottom", 'bottom', '-1px');
604
-
605
- e = 0;
606
- });
607
-
608
- // Fixes graphics glitch
609
- if (w = this.windows[id]) {
610
- // Fixes rendering bug after resize
611
- w.element.hide();
612
- w.element.show();
613
-
614
- // Forced a repaint of the window
615
- //DOM.get(id).style.filter = '';
616
-
617
- // IE has a bug where images used in CSS won't get loaded
618
- // sometimes when the cache in the browser is disabled
619
- // This fix tries to solve it by loading the images using the image object
620
- each(DOM.select('div,a', id), function(e, i) {
621
- if (e.currentStyle.backgroundImage != 'none') {
622
- img = new Image();
623
- img.src = e.currentStyle.backgroundImage.replace(/url\(\"(.+)\"\)/, '$1');
624
- }
625
- });
626
-
627
- DOM.get(id).style.filter = '';
628
- }
629
- }
630
- });
631
-
632
- // Register plugin
633
- tinymce.PluginManager.add('inlinepopups', tinymce.plugins.InlinePopups);
634
- })();
635
-