muck-invites 3.4.0 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2121) hide show
  1. data/Rakefile +21 -24
  2. data/VERSION +1 -1
  3. data/app/helpers/muck_invites_helper.rb +5 -4
  4. data/muck-invites.gemspec +2123 -6
  5. data/test/app/controllers/application_controller.rb +15 -0
  6. data/test/app/controllers/default_controller.rb +9 -0
  7. data/test/app/helpers/application_helper.rb +3 -0
  8. data/test/app/models/.keep +0 -0
  9. data/test/app/models/activity.rb +26 -0
  10. data/test/app/models/authentication.rb +5 -0
  11. data/test/app/models/country.rb +13 -0
  12. data/test/app/models/invite.rb +3 -0
  13. data/test/app/models/invitee.rb +4 -0
  14. data/test/app/models/language.rb +15 -0
  15. data/test/app/models/state.rb +13 -0
  16. data/test/app/models/user.rb +10 -0
  17. data/test/app/models/user_session.rb +2 -0
  18. data/test/app/views/default/index.html.erb +3 -0
  19. data/test/app/views/layouts/default.html.erb +32 -0
  20. data/test/config/application.rb +46 -0
  21. data/test/config/assets.yml +34 -0
  22. data/test/config/boot.rb +13 -0
  23. data/test/config/database.yml +16 -0
  24. data/test/config/environment.rb +5 -0
  25. data/test/config/environments/development.rb +26 -0
  26. data/test/config/environments/production.rb +49 -0
  27. data/test/config/environments/test.rb +35 -0
  28. data/test/config/initializers/backtrace_silencers.rb +7 -0
  29. data/test/config/initializers/inflections.rb +10 -0
  30. data/test/config/initializers/mce_options.rb +83 -0
  31. data/test/config/initializers/mime_types.rb +5 -0
  32. data/test/config/initializers/muck.rb +72 -0
  33. data/test/config/initializers/secret_token.rb +7 -0
  34. data/test/config/initializers/session_store.rb +8 -0
  35. data/test/config/locales/en.yml +5 -0
  36. data/test/config/routes.rb +6 -0
  37. data/test/config/tiny_mce.yml +6 -0
  38. data/test/db/migrate/20090320174818_create_muck_permissions_and_roles.rb +16 -0
  39. data/test/db/migrate/20090327231918_create_users.rb +40 -0
  40. data/test/db/migrate/20090402033319_add_muck_activities.rb +36 -0
  41. data/test/db/migrate/20090402234137_create_languages.rb +18 -0
  42. data/test/db/migrate/20090426041056_create_countries.rb +15 -0
  43. data/test/db/migrate/20090426041103_create_states.rb +18 -0
  44. data/test/db/migrate/20090512013727_create_profiles.rb +21 -0
  45. data/test/db/migrate/20090517040220_create_uploads.rb +38 -0
  46. data/test/db/migrate/20090608073052_create_friends.rb +16 -0
  47. data/test/db/migrate/20090613173314_create_comments.rb +24 -0
  48. data/test/db/migrate/20090703055724_add_contents.rb +49 -0
  49. data/test/db/migrate/20090704220055_create_slugs.rb +18 -0
  50. data/test/db/migrate/20090730044139_add_comment_cache.rb +9 -0
  51. data/test/db/migrate/20090730154102_allow_null_user.rb +9 -0
  52. data/test/db/migrate/20090806230610_add_layout_to_contents.rb +9 -0
  53. data/test/db/migrate/20090808175401_add_contents_comment_counter_cache.rb +9 -0
  54. data/test/db/migrate/20090818204527_add_activity_indexes.rb +9 -0
  55. data/test/db/migrate/20090819030523_add_attachable_to_activities.rb +13 -0
  56. data/test/db/migrate/20090928213532_create_invites.rb +20 -0
  57. data/test/db/migrate/20091124203137_add_location_to_profiles.rb +15 -0
  58. data/test/db/migrate/20091124205819_add_fields_to_profiles.rb +21 -0
  59. data/test/db/migrate/20091128170318_make_invites_polymorphic.rb +27 -0
  60. data/test/db/migrate/20091205001023_create_oauth_consumer_tokens.rb +21 -0
  61. data/test/db/migrate/20091210172015_create_oauth_tables.rb +46 -0
  62. data/test/db/migrate/20100123035450_create_access_codes.rb +19 -0
  63. data/test/db/migrate/20100123233654_create_access_code_requests.rb +14 -0
  64. data/test/db/migrate/20100206000906_remove_name_fields.rb +15 -0
  65. data/test/db/migrate/20101117172951_add_name_to_access_code_requests.rb +9 -0
  66. data/test/db/migrate/20110216045051_create_authentications.rb +21 -0
  67. data/test/db/migrate/20110226174321_add_cached_slugs.rb +10 -0
  68. data/test/db/migrate/20110303183433_add_sent_to_to_access_codes.rb +9 -0
  69. data/test/db/migrate/20110420153714_add_provided_by_to_access_codes.rb +9 -0
  70. data/test/db/schema.rb +363 -0
  71. data/test/db/seeds.rb +7 -0
  72. data/test/doc/README_FOR_APP +2 -0
  73. data/test/features/step_definitions/common_steps.rb +93 -0
  74. data/test/features/step_definitions/web_steps.rb +219 -0
  75. data/test/features/step_definitions/webrat_steps.rb +128 -0
  76. data/test/features/support/custom_env.rb +19 -0
  77. data/test/features/support/env.rb +58 -0
  78. data/test/features/support/paths.rb +33 -0
  79. data/test/lib/daemons/amazonaws.rb +36 -0
  80. data/test/lib/tasks/.gitkeep +0 -0
  81. data/test/lib/tasks/cucumber.rake +53 -0
  82. data/test/public/.htaccess +40 -0
  83. data/test/public/404.html +30 -0
  84. data/test/public/422.html +30 -0
  85. data/test/public/500.html +30 -0
  86. data/test/public/dispatch.rb +10 -0
  87. data/test/public/favicon.ico +0 -0
  88. data/test/public/images/admin/Home.gif +0 -0
  89. data/test/public/images/admin/roles.gif +0 -0
  90. data/test/public/images/admin/source/Home.png +0 -0
  91. data/test/public/images/admin/source/User.png +0 -0
  92. data/test/public/images/admin/source/roles.png +0 -0
  93. data/test/public/images/admin/user.gif +0 -0
  94. data/test/public/images/arrow_down.gif +0 -0
  95. data/test/public/images/arrow_left.gif +0 -0
  96. data/test/public/images/arrow_right.gif +0 -0
  97. data/test/public/images/arrow_up.gif +0 -0
  98. data/test/public/images/fancybox/blank.gif +0 -0
  99. data/test/public/images/fancybox/fancy_close.png +0 -0
  100. data/test/public/images/fancybox/fancy_closebox.png +0 -0
  101. data/test/public/images/fancybox/fancy_left.png +0 -0
  102. data/test/public/images/fancybox/fancy_loading.png +0 -0
  103. data/test/public/images/fancybox/fancy_nav_left.png +0 -0
  104. data/test/public/images/fancybox/fancy_nav_right.png +0 -0
  105. data/test/public/images/fancybox/fancy_progress.png +0 -0
  106. data/test/public/images/fancybox/fancy_right.png +0 -0
  107. data/test/public/images/fancybox/fancy_shadow_e.png +0 -0
  108. data/test/public/images/fancybox/fancy_shadow_n.png +0 -0
  109. data/test/public/images/fancybox/fancy_shadow_ne.png +0 -0
  110. data/test/public/images/fancybox/fancy_shadow_nw.png +0 -0
  111. data/test/public/images/fancybox/fancy_shadow_s.png +0 -0
  112. data/test/public/images/fancybox/fancy_shadow_se.png +0 -0
  113. data/test/public/images/fancybox/fancy_shadow_sw.png +0 -0
  114. data/test/public/images/fancybox/fancy_shadow_w.png +0 -0
  115. data/test/public/images/fancybox/fancy_title_left.png +0 -0
  116. data/test/public/images/fancybox/fancy_title_main.png +0 -0
  117. data/test/public/images/fancybox/fancy_title_over.png +0 -0
  118. data/test/public/images/fancybox/fancy_title_right.png +0 -0
  119. data/test/public/images/fancybox/fancybox-x.png +0 -0
  120. data/test/public/images/fancybox/fancybox-y.png +0 -0
  121. data/test/public/images/fancybox/fancybox.png +0 -0
  122. data/test/public/images/file_icons/excel.gif +0 -0
  123. data/test/public/images/file_icons/file.gif +0 -0
  124. data/test/public/images/file_icons/file.png +0 -0
  125. data/test/public/images/file_icons/file_aac.gif +0 -0
  126. data/test/public/images/file_icons/file_ai.gif +0 -0
  127. data/test/public/images/file_icons/file_avi.gif +0 -0
  128. data/test/public/images/file_icons/file_bin.gif +0 -0
  129. data/test/public/images/file_icons/file_bmp.gif +0 -0
  130. data/test/public/images/file_icons/file_cue.gif +0 -0
  131. data/test/public/images/file_icons/file_divx.gif +0 -0
  132. data/test/public/images/file_icons/file_doc.gif +0 -0
  133. data/test/public/images/file_icons/file_eps.gif +0 -0
  134. data/test/public/images/file_icons/file_flac.gif +0 -0
  135. data/test/public/images/file_icons/file_flv.gif +0 -0
  136. data/test/public/images/file_icons/file_gif.gif +0 -0
  137. data/test/public/images/file_icons/file_html.gif +0 -0
  138. data/test/public/images/file_icons/file_ical.gif +0 -0
  139. data/test/public/images/file_icons/file_indd.gif +0 -0
  140. data/test/public/images/file_icons/file_inx.gif +0 -0
  141. data/test/public/images/file_icons/file_iso.gif +0 -0
  142. data/test/public/images/file_icons/file_jpg.gif +0 -0
  143. data/test/public/images/file_icons/file_mov.gif +0 -0
  144. data/test/public/images/file_icons/file_mp3.gif +0 -0
  145. data/test/public/images/file_icons/file_mpg.gif +0 -0
  146. data/test/public/images/file_icons/file_pdf.gif +0 -0
  147. data/test/public/images/file_icons/file_php.gif +0 -0
  148. data/test/public/images/file_icons/file_png.gif +0 -0
  149. data/test/public/images/file_icons/file_pps.gif +0 -0
  150. data/test/public/images/file_icons/file_ppt.gif +0 -0
  151. data/test/public/images/file_icons/file_psd.gif +0 -0
  152. data/test/public/images/file_icons/file_qxd.gif +0 -0
  153. data/test/public/images/file_icons/file_qxp.gif +0 -0
  154. data/test/public/images/file_icons/file_raw.gif +0 -0
  155. data/test/public/images/file_icons/file_rtf.gif +0 -0
  156. data/test/public/images/file_icons/file_svg.gif +0 -0
  157. data/test/public/images/file_icons/file_tif.gif +0 -0
  158. data/test/public/images/file_icons/file_txt.gif +0 -0
  159. data/test/public/images/file_icons/file_vcf.gif +0 -0
  160. data/test/public/images/file_icons/file_wav.gif +0 -0
  161. data/test/public/images/file_icons/file_wma.gif +0 -0
  162. data/test/public/images/file_icons/file_xls.gif +0 -0
  163. data/test/public/images/file_icons/file_xml.gif +0 -0
  164. data/test/public/images/file_icons/mp3.gif +0 -0
  165. data/test/public/images/file_icons/pdf.gif +0 -0
  166. data/test/public/images/file_icons/pdf.png +0 -0
  167. data/test/public/images/file_icons/text.gif +0 -0
  168. data/test/public/images/file_icons/text.png +0 -0
  169. data/test/public/images/file_icons/word.gif +0 -0
  170. data/test/public/images/icon_no.gif +0 -0
  171. data/test/public/images/icon_success.gif +0 -0
  172. data/test/public/images/icons/accept.png +0 -0
  173. data/test/public/images/icons/add.png +0 -0
  174. data/test/public/images/icons/blue_guy.png +0 -0
  175. data/test/public/images/icons/button_background.png +0 -0
  176. data/test/public/images/icons/cancel.png +0 -0
  177. data/test/public/images/icons/close.png +0 -0
  178. data/test/public/images/icons/comment.png +0 -0
  179. data/test/public/images/icons/delete.png +0 -0
  180. data/test/public/images/icons/exclaim.png +0 -0
  181. data/test/public/images/icons/external.png +0 -0
  182. data/test/public/images/icons/feed.png +0 -0
  183. data/test/public/images/icons/grey_guy.png +0 -0
  184. data/test/public/images/icons/hide.png +0 -0
  185. data/test/public/images/icons/information.png +0 -0
  186. data/test/public/images/icons/minus.png +0 -0
  187. data/test/public/images/icons/pending.png +0 -0
  188. data/test/public/images/icons/question.png +0 -0
  189. data/test/public/images/icons/search_box.png +0 -0
  190. data/test/public/images/icons/star.png +0 -0
  191. data/test/public/images/icons/stop.png +0 -0
  192. data/test/public/images/icons/thumb_down.png +0 -0
  193. data/test/public/images/icons/thumb_up.png +0 -0
  194. data/test/public/images/icons/vote.png +0 -0
  195. data/test/public/images/loading.gif +0 -0
  196. data/test/public/images/nothing.png +0 -0
  197. data/test/public/images/profile_default.jpg +0 -0
  198. data/test/public/images/rails.png +0 -0
  199. data/test/public/images/service_icons/16/amazon.png +0 -0
  200. data/test/public/images/service_icons/16/ask.png +0 -0
  201. data/test/public/images/service_icons/16/bibsonomy.png +0 -0
  202. data/test/public/images/service_icons/16/bing.png +0 -0
  203. data/test/public/images/service_icons/16/blogger.png +0 -0
  204. data/test/public/images/service_icons/16/bloglines.png +0 -0
  205. data/test/public/images/service_icons/16/citeulike.png +0 -0
  206. data/test/public/images/service_icons/16/clipmarks.png +0 -0
  207. data/test/public/images/service_icons/16/connotea.png +0 -0
  208. data/test/public/images/service_icons/16/dailymotion.png +0 -0
  209. data/test/public/images/service_icons/16/delicious.png +0 -0
  210. data/test/public/images/service_icons/16/digg.png +0 -0
  211. data/test/public/images/service_icons/16/diigo.png +0 -0
  212. data/test/public/images/service_icons/16/facebook.png +0 -0
  213. data/test/public/images/service_icons/16/feed.png +0 -0
  214. data/test/public/images/service_icons/16/fireeagle.png +0 -0
  215. data/test/public/images/service_icons/16/flickr.png +0 -0
  216. data/test/public/images/service_icons/16/fotolog.png +0 -0
  217. data/test/public/images/service_icons/16/friendfeed.png +0 -0
  218. data/test/public/images/service_icons/16/friendster.png +0 -0
  219. data/test/public/images/service_icons/16/furl.png +0 -0
  220. data/test/public/images/service_icons/16/goodreads.png +0 -0
  221. data/test/public/images/service_icons/16/google.png +0 -0
  222. data/test/public/images/service_icons/16/googleblog.png +0 -0
  223. data/test/public/images/service_icons/16/googlenews.png +0 -0
  224. data/test/public/images/service_icons/16/icerocket.png +0 -0
  225. data/test/public/images/service_icons/16/identica.png +0 -0
  226. data/test/public/images/service_icons/16/joost.png +0 -0
  227. data/test/public/images/service_icons/16/lastfm.png +0 -0
  228. data/test/public/images/service_icons/16/librarything.png +0 -0
  229. data/test/public/images/service_icons/16/linkedin.png +0 -0
  230. data/test/public/images/service_icons/16/livejournal.png +0 -0
  231. data/test/public/images/service_icons/16/magnolia.png +0 -0
  232. data/test/public/images/service_icons/16/mendeley.png +0 -0
  233. data/test/public/images/service_icons/16/metacafe.png +0 -0
  234. data/test/public/images/service_icons/16/mixx.png +0 -0
  235. data/test/public/images/service_icons/16/myspace.png +0 -0
  236. data/test/public/images/service_icons/16/netflix.png +0 -0
  237. data/test/public/images/service_icons/16/netvibes.png +0 -0
  238. data/test/public/images/service_icons/16/newsvine.png +0 -0
  239. data/test/public/images/service_icons/16/oai.png +0 -0
  240. data/test/public/images/service_icons/16/odeo.png +0 -0
  241. data/test/public/images/service_icons/16/opml.png +0 -0
  242. data/test/public/images/service_icons/16/pandora.png +0 -0
  243. data/test/public/images/service_icons/16/photobucket.png +0 -0
  244. data/test/public/images/service_icons/16/picasa.png +0 -0
  245. data/test/public/images/service_icons/16/polyvore.png +0 -0
  246. data/test/public/images/service_icons/16/pownce.png +0 -0
  247. data/test/public/images/service_icons/16/reddit.png +0 -0
  248. data/test/public/images/service_icons/16/simpy.png +0 -0
  249. data/test/public/images/service_icons/16/smugmug.png +0 -0
  250. data/test/public/images/service_icons/16/stumbleupon.png +0 -0
  251. data/test/public/images/service_icons/16/tag.png +0 -0
  252. data/test/public/images/service_icons/16/technorati.png +0 -0
  253. data/test/public/images/service_icons/16/tumblr.png +0 -0
  254. data/test/public/images/service_icons/16/twine.png +0 -0
  255. data/test/public/images/service_icons/16/twitter.png +0 -0
  256. data/test/public/images/service_icons/16/vimeo.png +0 -0
  257. data/test/public/images/service_icons/16/webshots.png +0 -0
  258. data/test/public/images/service_icons/16/wordpress.png +0 -0
  259. data/test/public/images/service_icons/16/xanga.png +0 -0
  260. data/test/public/images/service_icons/16/yahoo.png +0 -0
  261. data/test/public/images/service_icons/16/yelp.png +0 -0
  262. data/test/public/images/service_icons/16/youtube.png +0 -0
  263. data/test/public/images/service_icons/16/zooomr.png +0 -0
  264. data/test/public/images/service_icons/16/zotero.png +0 -0
  265. data/test/public/images/service_icons/24/amazon.png +0 -0
  266. data/test/public/images/service_icons/24/ask.png +0 -0
  267. data/test/public/images/service_icons/24/bibsonomy.png +0 -0
  268. data/test/public/images/service_icons/24/bing.png +0 -0
  269. data/test/public/images/service_icons/24/blogger.png +0 -0
  270. data/test/public/images/service_icons/24/bloglines.png +0 -0
  271. data/test/public/images/service_icons/24/citeulike.png +0 -0
  272. data/test/public/images/service_icons/24/clipmarks.png +0 -0
  273. data/test/public/images/service_icons/24/connotea.png +0 -0
  274. data/test/public/images/service_icons/24/dailymotion.png +0 -0
  275. data/test/public/images/service_icons/24/delicious.png +0 -0
  276. data/test/public/images/service_icons/24/digg.png +0 -0
  277. data/test/public/images/service_icons/24/diigo.png +0 -0
  278. data/test/public/images/service_icons/24/facebook.png +0 -0
  279. data/test/public/images/service_icons/24/feed.png +0 -0
  280. data/test/public/images/service_icons/24/fireeagle.png +0 -0
  281. data/test/public/images/service_icons/24/flickr.png +0 -0
  282. data/test/public/images/service_icons/24/fotolog.png +0 -0
  283. data/test/public/images/service_icons/24/friendfeed.png +0 -0
  284. data/test/public/images/service_icons/24/friendster.png +0 -0
  285. data/test/public/images/service_icons/24/furl.png +0 -0
  286. data/test/public/images/service_icons/24/goodreads.png +0 -0
  287. data/test/public/images/service_icons/24/google.png +0 -0
  288. data/test/public/images/service_icons/24/googleblog.png +0 -0
  289. data/test/public/images/service_icons/24/googlenews.png +0 -0
  290. data/test/public/images/service_icons/24/icerocket.png +0 -0
  291. data/test/public/images/service_icons/24/identica.png +0 -0
  292. data/test/public/images/service_icons/24/joost.png +0 -0
  293. data/test/public/images/service_icons/24/lastfm.png +0 -0
  294. data/test/public/images/service_icons/24/librarything.png +0 -0
  295. data/test/public/images/service_icons/24/linkedin.png +0 -0
  296. data/test/public/images/service_icons/24/livejournal.png +0 -0
  297. data/test/public/images/service_icons/24/magnolia.png +0 -0
  298. data/test/public/images/service_icons/24/mendeley.png +0 -0
  299. data/test/public/images/service_icons/24/metacafe.png +0 -0
  300. data/test/public/images/service_icons/24/mixx.png +0 -0
  301. data/test/public/images/service_icons/24/myspace.png +0 -0
  302. data/test/public/images/service_icons/24/netflix.png +0 -0
  303. data/test/public/images/service_icons/24/netvibes.png +0 -0
  304. data/test/public/images/service_icons/24/newsvine.png +0 -0
  305. data/test/public/images/service_icons/24/oai.png +0 -0
  306. data/test/public/images/service_icons/24/odeo.png +0 -0
  307. data/test/public/images/service_icons/24/opml.png +0 -0
  308. data/test/public/images/service_icons/24/pandora.png +0 -0
  309. data/test/public/images/service_icons/24/photobucket.png +0 -0
  310. data/test/public/images/service_icons/24/picasa.png +0 -0
  311. data/test/public/images/service_icons/24/polyvore.png +0 -0
  312. data/test/public/images/service_icons/24/pownce.png +0 -0
  313. data/test/public/images/service_icons/24/reddit.png +0 -0
  314. data/test/public/images/service_icons/24/simpy.png +0 -0
  315. data/test/public/images/service_icons/24/smugmug.png +0 -0
  316. data/test/public/images/service_icons/24/stumbleupon.png +0 -0
  317. data/test/public/images/service_icons/24/tag.png +0 -0
  318. data/test/public/images/service_icons/24/technorati.png +0 -0
  319. data/test/public/images/service_icons/24/tumblr.png +0 -0
  320. data/test/public/images/service_icons/24/twine.png +0 -0
  321. data/test/public/images/service_icons/24/twitter.png +0 -0
  322. data/test/public/images/service_icons/24/vimeo.png +0 -0
  323. data/test/public/images/service_icons/24/webshots.png +0 -0
  324. data/test/public/images/service_icons/24/wordpress.png +0 -0
  325. data/test/public/images/service_icons/24/xanga.png +0 -0
  326. data/test/public/images/service_icons/24/yahoo.png +0 -0
  327. data/test/public/images/service_icons/24/yelp.png +0 -0
  328. data/test/public/images/service_icons/24/youtube.png +0 -0
  329. data/test/public/images/service_icons/24/zooomr.png +0 -0
  330. data/test/public/images/service_icons/24/zotero.png +0 -0
  331. data/test/public/images/service_icons/48/amazon.png +0 -0
  332. data/test/public/images/service_icons/48/ask.png +0 -0
  333. data/test/public/images/service_icons/48/bibsonomy.png +0 -0
  334. data/test/public/images/service_icons/48/bing.png +0 -0
  335. data/test/public/images/service_icons/48/blogger.png +0 -0
  336. data/test/public/images/service_icons/48/bloglines.png +0 -0
  337. data/test/public/images/service_icons/48/citeulike.png +0 -0
  338. data/test/public/images/service_icons/48/clipmarks.png +0 -0
  339. data/test/public/images/service_icons/48/connotea.png +0 -0
  340. data/test/public/images/service_icons/48/dailymotion.png +0 -0
  341. data/test/public/images/service_icons/48/delicious.png +0 -0
  342. data/test/public/images/service_icons/48/digg.png +0 -0
  343. data/test/public/images/service_icons/48/diigo.png +0 -0
  344. data/test/public/images/service_icons/48/facebook.png +0 -0
  345. data/test/public/images/service_icons/48/feed.png +0 -0
  346. data/test/public/images/service_icons/48/fireeagle.png +0 -0
  347. data/test/public/images/service_icons/48/flickr.png +0 -0
  348. data/test/public/images/service_icons/48/fotolog.png +0 -0
  349. data/test/public/images/service_icons/48/friendfeed.png +0 -0
  350. data/test/public/images/service_icons/48/friendster.png +0 -0
  351. data/test/public/images/service_icons/48/furl.png +0 -0
  352. data/test/public/images/service_icons/48/goodreads.png +0 -0
  353. data/test/public/images/service_icons/48/google.png +0 -0
  354. data/test/public/images/service_icons/48/googleblog.png +0 -0
  355. data/test/public/images/service_icons/48/googlenews.png +0 -0
  356. data/test/public/images/service_icons/48/icerocket.png +0 -0
  357. data/test/public/images/service_icons/48/identica.png +0 -0
  358. data/test/public/images/service_icons/48/joost.png +0 -0
  359. data/test/public/images/service_icons/48/lastfm.png +0 -0
  360. data/test/public/images/service_icons/48/librarything.png +0 -0
  361. data/test/public/images/service_icons/48/linkedin.png +0 -0
  362. data/test/public/images/service_icons/48/livejournal.png +0 -0
  363. data/test/public/images/service_icons/48/magnolia.png +0 -0
  364. data/test/public/images/service_icons/48/mendeley.png +0 -0
  365. data/test/public/images/service_icons/48/metacafe.png +0 -0
  366. data/test/public/images/service_icons/48/mixx.png +0 -0
  367. data/test/public/images/service_icons/48/myspace.png +0 -0
  368. data/test/public/images/service_icons/48/netflix.png +0 -0
  369. data/test/public/images/service_icons/48/netvibes.png +0 -0
  370. data/test/public/images/service_icons/48/newsvine.png +0 -0
  371. data/test/public/images/service_icons/48/oai.png +0 -0
  372. data/test/public/images/service_icons/48/odeo.png +0 -0
  373. data/test/public/images/service_icons/48/opml.png +0 -0
  374. data/test/public/images/service_icons/48/pandora.png +0 -0
  375. data/test/public/images/service_icons/48/photobucket.png +0 -0
  376. data/test/public/images/service_icons/48/picasa.png +0 -0
  377. data/test/public/images/service_icons/48/polyvore.png +0 -0
  378. data/test/public/images/service_icons/48/pownce.png +0 -0
  379. data/test/public/images/service_icons/48/reddit.png +0 -0
  380. data/test/public/images/service_icons/48/simpy.png +0 -0
  381. data/test/public/images/service_icons/48/smugmug.png +0 -0
  382. data/test/public/images/service_icons/48/stumbleupon.png +0 -0
  383. data/test/public/images/service_icons/48/tag.png +0 -0
  384. data/test/public/images/service_icons/48/technorati.png +0 -0
  385. data/test/public/images/service_icons/48/tumblr.png +0 -0
  386. data/test/public/images/service_icons/48/twine.png +0 -0
  387. data/test/public/images/service_icons/48/twitter.png +0 -0
  388. data/test/public/images/service_icons/48/vimeo.png +0 -0
  389. data/test/public/images/service_icons/48/webshots.png +0 -0
  390. data/test/public/images/service_icons/48/wordpress.png +0 -0
  391. data/test/public/images/service_icons/48/xanga.png +0 -0
  392. data/test/public/images/service_icons/48/yahoo.png +0 -0
  393. data/test/public/images/service_icons/48/yelp.png +0 -0
  394. data/test/public/images/service_icons/48/youtube.png +0 -0
  395. data/test/public/images/service_icons/48/zooomr.png +0 -0
  396. data/test/public/images/service_icons/48/zotero.png +0 -0
  397. data/test/public/images/service_icons/60/amazon.png +0 -0
  398. data/test/public/images/service_icons/60/ask.png +0 -0
  399. data/test/public/images/service_icons/60/bibsonomy.png +0 -0
  400. data/test/public/images/service_icons/60/bing.png +0 -0
  401. data/test/public/images/service_icons/60/blogger.png +0 -0
  402. data/test/public/images/service_icons/60/bloglines.png +0 -0
  403. data/test/public/images/service_icons/60/citeulike.png +0 -0
  404. data/test/public/images/service_icons/60/clipmarks.png +0 -0
  405. data/test/public/images/service_icons/60/connotea.png +0 -0
  406. data/test/public/images/service_icons/60/dailymotion.png +0 -0
  407. data/test/public/images/service_icons/60/delicious.png +0 -0
  408. data/test/public/images/service_icons/60/digg.png +0 -0
  409. data/test/public/images/service_icons/60/diigo.png +0 -0
  410. data/test/public/images/service_icons/60/facebook.png +0 -0
  411. data/test/public/images/service_icons/60/feed.png +0 -0
  412. data/test/public/images/service_icons/60/fireeagle.png +0 -0
  413. data/test/public/images/service_icons/60/flickr.png +0 -0
  414. data/test/public/images/service_icons/60/fotolog.png +0 -0
  415. data/test/public/images/service_icons/60/friendfeed.png +0 -0
  416. data/test/public/images/service_icons/60/friendster.png +0 -0
  417. data/test/public/images/service_icons/60/furl.png +0 -0
  418. data/test/public/images/service_icons/60/goodreads.png +0 -0
  419. data/test/public/images/service_icons/60/google.png +0 -0
  420. data/test/public/images/service_icons/60/googleblog.png +0 -0
  421. data/test/public/images/service_icons/60/googlenews.png +0 -0
  422. data/test/public/images/service_icons/60/icerocket.png +0 -0
  423. data/test/public/images/service_icons/60/identica.png +0 -0
  424. data/test/public/images/service_icons/60/joost.png +0 -0
  425. data/test/public/images/service_icons/60/lastfm.png +0 -0
  426. data/test/public/images/service_icons/60/librarything.png +0 -0
  427. data/test/public/images/service_icons/60/linkedin.png +0 -0
  428. data/test/public/images/service_icons/60/livejournal.png +0 -0
  429. data/test/public/images/service_icons/60/magnolia.png +0 -0
  430. data/test/public/images/service_icons/60/mendeley.png +0 -0
  431. data/test/public/images/service_icons/60/metacafe.png +0 -0
  432. data/test/public/images/service_icons/60/mixx.png +0 -0
  433. data/test/public/images/service_icons/60/myspace.png +0 -0
  434. data/test/public/images/service_icons/60/netflix.png +0 -0
  435. data/test/public/images/service_icons/60/netvibes.png +0 -0
  436. data/test/public/images/service_icons/60/newsvine.png +0 -0
  437. data/test/public/images/service_icons/60/oai.png +0 -0
  438. data/test/public/images/service_icons/60/odeo.png +0 -0
  439. data/test/public/images/service_icons/60/opml.png +0 -0
  440. data/test/public/images/service_icons/60/pandora.png +0 -0
  441. data/test/public/images/service_icons/60/photobucket.png +0 -0
  442. data/test/public/images/service_icons/60/picasa.png +0 -0
  443. data/test/public/images/service_icons/60/polyvore.png +0 -0
  444. data/test/public/images/service_icons/60/pownce.png +0 -0
  445. data/test/public/images/service_icons/60/reddit.png +0 -0
  446. data/test/public/images/service_icons/60/simpy.png +0 -0
  447. data/test/public/images/service_icons/60/smugmug.png +0 -0
  448. data/test/public/images/service_icons/60/stumbleupon.png +0 -0
  449. data/test/public/images/service_icons/60/tag.png +0 -0
  450. data/test/public/images/service_icons/60/technorati.png +0 -0
  451. data/test/public/images/service_icons/60/tumblr.png +0 -0
  452. data/test/public/images/service_icons/60/twine.png +0 -0
  453. data/test/public/images/service_icons/60/twitter.png +0 -0
  454. data/test/public/images/service_icons/60/vimeo.png +0 -0
  455. data/test/public/images/service_icons/60/webshots.png +0 -0
  456. data/test/public/images/service_icons/60/wordpress.png +0 -0
  457. data/test/public/images/service_icons/60/xanga.png +0 -0
  458. data/test/public/images/service_icons/60/yahoo.png +0 -0
  459. data/test/public/images/service_icons/60/yelp.png +0 -0
  460. data/test/public/images/service_icons/60/youtube.png +0 -0
  461. data/test/public/images/service_icons/60/zooomr.png +0 -0
  462. data/test/public/images/service_icons/60/zotero.png +0 -0
  463. data/test/public/images/service_icons/facebook_friend_links.jpg +0 -0
  464. data/test/public/images/service_icons/facebook_my_links.jpg +0 -0
  465. data/test/public/images/service_icons/source/Aquaticus_Social_Icon_template_by_jwloh.psd +0 -0
  466. data/test/public/images/service_icons/source/Google.psd +0 -0
  467. data/test/public/images/service_icons/source/Quake 9 Design.webloc b/data/test/public/images/service_icons/source/Quake 9 → Design.webloc +0 -0
  468. data/test/public/images/service_icons/source/ReadMe.rtf +52 -0
  469. data/test/public/images/service_icons/source/amazon.png +0 -0
  470. data/test/public/images/service_icons/source/aquaticus.social.png +0 -0
  471. data/test/public/images/service_icons/source/ask.png +0 -0
  472. data/test/public/images/service_icons/source/ask.psd +0 -0
  473. data/test/public/images/service_icons/source/bibsonomy.png +0 -0
  474. data/test/public/images/service_icons/source/bibsonomy.psd +0 -0
  475. data/test/public/images/service_icons/source/bing.png +0 -0
  476. data/test/public/images/service_icons/source/bing.psd +0 -0
  477. data/test/public/images/service_icons/source/blogger.png +0 -0
  478. data/test/public/images/service_icons/source/bloglines.png +0 -0
  479. data/test/public/images/service_icons/source/bloglines.psd +0 -0
  480. data/test/public/images/service_icons/source/citeulike.png +0 -0
  481. data/test/public/images/service_icons/source/clipmarks.png +0 -0
  482. data/test/public/images/service_icons/source/connotea.png +0 -0
  483. data/test/public/images/service_icons/source/connotea.psd +0 -0
  484. data/test/public/images/service_icons/source/dailymotion.png +0 -0
  485. data/test/public/images/service_icons/source/delicious.png +0 -0
  486. data/test/public/images/service_icons/source/digg.png +0 -0
  487. data/test/public/images/service_icons/source/diigo.png +0 -0
  488. data/test/public/images/service_icons/source/facebook.png +0 -0
  489. data/test/public/images/service_icons/source/feed.png +0 -0
  490. data/test/public/images/service_icons/source/fireeagle.psd +0 -0
  491. data/test/public/images/service_icons/source/flickr.png +0 -0
  492. data/test/public/images/service_icons/source/fotolog.png +0 -0
  493. data/test/public/images/service_icons/source/friendfeed.png +0 -0
  494. data/test/public/images/service_icons/source/friendster.png +0 -0
  495. data/test/public/images/service_icons/source/furl.png +0 -0
  496. data/test/public/images/service_icons/source/goodreads.png +0 -0
  497. data/test/public/images/service_icons/source/google.png +0 -0
  498. data/test/public/images/service_icons/source/googleblog.png +0 -0
  499. data/test/public/images/service_icons/source/googlenews.png +0 -0
  500. data/test/public/images/service_icons/source/icerocket.png +0 -0
  501. data/test/public/images/service_icons/source/icerocket.psd +0 -0
  502. data/test/public/images/service_icons/source/identica.png +0 -0
  503. data/test/public/images/service_icons/source/joost.png +0 -0
  504. data/test/public/images/service_icons/source/lastfm.png +0 -0
  505. data/test/public/images/service_icons/source/librarything.png +0 -0
  506. data/test/public/images/service_icons/source/linkedin.png +0 -0
  507. data/test/public/images/service_icons/source/livejournal.png +0 -0
  508. data/test/public/images/service_icons/source/magnolia.png +0 -0
  509. data/test/public/images/service_icons/source/mendeley.png +0 -0
  510. data/test/public/images/service_icons/source/metacafe.png +0 -0
  511. data/test/public/images/service_icons/source/metacafe.psd +0 -0
  512. data/test/public/images/service_icons/source/mixx.png +0 -0
  513. data/test/public/images/service_icons/source/myspace.png +0 -0
  514. data/test/public/images/service_icons/source/netflix.png +0 -0
  515. data/test/public/images/service_icons/source/netvibes.png +0 -0
  516. data/test/public/images/service_icons/source/newsvine.png +0 -0
  517. data/test/public/images/service_icons/source/oai.png +0 -0
  518. data/test/public/images/service_icons/source/odeo.png +0 -0
  519. data/test/public/images/service_icons/source/opml.png +0 -0
  520. data/test/public/images/service_icons/source/pandora.png +0 -0
  521. data/test/public/images/service_icons/source/photobucket.png +0 -0
  522. data/test/public/images/service_icons/source/picasa.png +0 -0
  523. data/test/public/images/service_icons/source/polyvore.png +0 -0
  524. data/test/public/images/service_icons/source/pownce.png +0 -0
  525. data/test/public/images/service_icons/source/reddit.png +0 -0
  526. data/test/public/images/service_icons/source/simpy.png +0 -0
  527. data/test/public/images/service_icons/source/smugmug.png +0 -0
  528. data/test/public/images/service_icons/source/stumbleupon.png +0 -0
  529. data/test/public/images/service_icons/source/tag.png +0 -0
  530. data/test/public/images/service_icons/source/technorati.png +0 -0
  531. data/test/public/images/service_icons/source/template.png +0 -0
  532. data/test/public/images/service_icons/source/tumblr.png +0 -0
  533. data/test/public/images/service_icons/source/twine.png +0 -0
  534. data/test/public/images/service_icons/source/twine.psd +0 -0
  535. data/test/public/images/service_icons/source/twitter.png +0 -0
  536. data/test/public/images/service_icons/source/vimeo.png +0 -0
  537. data/test/public/images/service_icons/source/webshots.png +0 -0
  538. data/test/public/images/service_icons/source/wordpress.png +0 -0
  539. data/test/public/images/service_icons/source/xanga.png +0 -0
  540. data/test/public/images/service_icons/source/yahoo.png +0 -0
  541. data/test/public/images/service_icons/source/yelp.png +0 -0
  542. data/test/public/images/service_icons/source/youtube.png +0 -0
  543. data/test/public/images/service_icons/source/zooomr.png +0 -0
  544. data/test/public/images/service_icons/source/zotero.png +0 -0
  545. data/test/public/images/spinner.gif +0 -0
  546. data/test/public/images/sprites.png +0 -0
  547. data/test/public/images/swfupload/SWFUploadButton.png +0 -0
  548. data/test/public/images/swfupload/cancelbutton.gif +0 -0
  549. data/test/public/images/tinymce/doc.jpg +0 -0
  550. data/test/public/images/tinymce/image.jpg +0 -0
  551. data/test/public/images/tinymce/link.jpg +0 -0
  552. data/test/public/images/tinymce/sample.gif +0 -0
  553. data/test/public/images/tinymce/upload.gif +0 -0
  554. data/test/public/images/uploadify/cancel.png +0 -0
  555. data/test/public/javascripts/application.js +0 -0
  556. data/test/public/javascripts/builder.js +136 -0
  557. data/test/public/javascripts/controls.js +963 -0
  558. data/test/public/javascripts/dragdrop.js +972 -0
  559. data/test/public/javascripts/effects.js +1120 -0
  560. data/test/public/javascripts/fancyzoom.min.js +1 -0
  561. data/test/public/javascripts/jquery/colorpicker.js +450 -0
  562. data/test/public/javascripts/jquery/jquery-ui.js +273 -0
  563. data/test/public/javascripts/jquery/jquery.autocomplete.js.readme +6 -0
  564. data/test/public/javascripts/jquery/jquery.autocomplete.min.js +15 -0
  565. data/test/public/javascripts/jquery/jquery.autocomplete.pack.js +767 -0
  566. data/test/public/javascripts/jquery/jquery.easing.js +72 -0
  567. data/test/public/javascripts/jquery/jquery.fancybox.js +44 -0
  568. data/test/public/javascripts/jquery/jquery.form.js +675 -0
  569. data/test/public/javascripts/jquery/jquery.jgrowl.js +9 -0
  570. data/test/public/javascripts/jquery/jquery.js +154 -0
  571. data/test/public/javascripts/jquery/jquery.metadata.min.js +13 -0
  572. data/test/public/javascripts/jquery/jquery.mousewheel.js +13 -0
  573. data/test/public/javascripts/jquery/jquery.queryString.js +33 -0
  574. data/test/public/javascripts/jquery/jquery.swapimage.js +66 -0
  575. data/test/public/javascripts/jquery/jquery.swapimage.min.js +11 -0
  576. data/test/public/javascripts/jquery/jquery.tips.js +75 -0
  577. data/test/public/javascripts/jquery/jquery.uploadify.min.js +26 -0
  578. data/test/public/javascripts/jquery/jrails.js +1 -0
  579. data/test/public/javascripts/muck-countries.js +50 -0
  580. data/test/public/javascripts/muck-src.js +134 -0
  581. data/test/public/javascripts/muck-users.js +20 -0
  582. data/test/public/javascripts/muck.js +149 -0
  583. data/test/public/javascripts/muck_activities.js +107 -0
  584. data/test/public/javascripts/muck_admin.js +0 -0
  585. data/test/public/javascripts/muck_countries.js +50 -0
  586. data/test/public/javascripts/muck_time/en.js +53 -0
  587. data/test/public/javascripts/prototype.js +4225 -0
  588. data/test/public/javascripts/scriptaculous.js +58 -0
  589. data/test/public/javascripts/slider.js +277 -0
  590. data/test/public/javascripts/sound.js +60 -0
  591. data/test/public/javascripts/swf/swfobject.js +4 -0
  592. data/test/public/javascripts/swfupload/fileprogress.js +151 -0
  593. data/test/public/javascripts/swfupload/handlers.js +201 -0
  594. data/test/public/javascripts/swfupload/swfupload.cookies.js +53 -0
  595. data/test/public/javascripts/swfupload/swfupload.js +1134 -0
  596. data/test/public/javascripts/swfupload/swfupload.proxy.js +96 -0
  597. data/test/public/javascripts/swfupload/swfupload.queue.js +99 -0
  598. data/test/public/javascripts/swfupload/swfupload.speed.js +346 -0
  599. data/test/public/javascripts/swfupload/swfupload.swfobject.js +111 -0
  600. data/test/public/javascripts/tiny_mce/langs/ar.js +170 -0
  601. data/test/public/javascripts/tiny_mce/langs/az.js +155 -0
  602. data/test/public/javascripts/tiny_mce/langs/be.js +155 -0
  603. data/test/public/javascripts/tiny_mce/langs/bg.js +154 -0
  604. data/test/public/javascripts/tiny_mce/langs/bn.js +154 -0
  605. data/test/public/javascripts/tiny_mce/langs/br.js +154 -0
  606. data/test/public/javascripts/tiny_mce/langs/bs.js +154 -0
  607. data/test/public/javascripts/tiny_mce/langs/ca.js +170 -0
  608. data/test/public/javascripts/tiny_mce/langs/ch.js +178 -0
  609. data/test/public/javascripts/tiny_mce/langs/cs.js +176 -0
  610. data/test/public/javascripts/tiny_mce/langs/cy.js +170 -0
  611. data/test/public/javascripts/tiny_mce/langs/da.js +155 -0
  612. data/test/public/javascripts/tiny_mce/langs/de.js +171 -0
  613. data/test/public/javascripts/tiny_mce/langs/dv.js +154 -0
  614. data/test/public/javascripts/tiny_mce/langs/el.js +158 -0
  615. data/test/public/javascripts/tiny_mce/langs/en.js +170 -0
  616. data/test/public/javascripts/tiny_mce/langs/es.js +172 -0
  617. data/test/public/javascripts/tiny_mce/langs/et.js +154 -0
  618. data/test/public/javascripts/tiny_mce/langs/fa.js +154 -0
  619. data/test/public/javascripts/tiny_mce/langs/fi.js +155 -0
  620. data/test/public/javascripts/tiny_mce/langs/fr.js +170 -0
  621. data/test/public/javascripts/tiny_mce/langs/gl.js +154 -0
  622. data/test/public/javascripts/tiny_mce/langs/gu.js +154 -0
  623. data/test/public/javascripts/tiny_mce/langs/he.js +170 -0
  624. data/test/public/javascripts/tiny_mce/langs/hi.js +170 -0
  625. data/test/public/javascripts/tiny_mce/langs/hr.js +171 -0
  626. data/test/public/javascripts/tiny_mce/langs/hu.js +170 -0
  627. data/test/public/javascripts/tiny_mce/langs/hy.js +157 -0
  628. data/test/public/javascripts/tiny_mce/langs/ia.js +154 -0
  629. data/test/public/javascripts/tiny_mce/langs/id.js +154 -0
  630. data/test/public/javascripts/tiny_mce/langs/ii.js +162 -0
  631. data/test/public/javascripts/tiny_mce/langs/is.js +154 -0
  632. data/test/public/javascripts/tiny_mce/langs/it.js +206 -0
  633. data/test/public/javascripts/tiny_mce/langs/ja.js +170 -0
  634. data/test/public/javascripts/tiny_mce/langs/ka.js +173 -0
  635. data/test/public/javascripts/tiny_mce/langs/kl.js +170 -0
  636. data/test/public/javascripts/tiny_mce/langs/ko.js +170 -0
  637. data/test/public/javascripts/tiny_mce/langs/lb.js +171 -0
  638. data/test/public/javascripts/tiny_mce/langs/lt.js +172 -0
  639. data/test/public/javascripts/tiny_mce/langs/lv.js +154 -0
  640. data/test/public/javascripts/tiny_mce/langs/mk.js +154 -0
  641. data/test/public/javascripts/tiny_mce/langs/ml.js +154 -0
  642. data/test/public/javascripts/tiny_mce/langs/mn.js +154 -0
  643. data/test/public/javascripts/tiny_mce/langs/ms.js +154 -0
  644. data/test/public/javascripts/tiny_mce/langs/nb.js +154 -0
  645. data/test/public/javascripts/tiny_mce/langs/nl.js +170 -0
  646. data/test/public/javascripts/tiny_mce/langs/nn.js +154 -0
  647. data/test/public/javascripts/tiny_mce/langs/no.js +154 -0
  648. data/test/public/javascripts/tiny_mce/langs/pl.js +170 -0
  649. data/test/public/javascripts/tiny_mce/langs/ps.js +154 -0
  650. data/test/public/javascripts/tiny_mce/langs/pt.js +170 -0
  651. data/test/public/javascripts/tiny_mce/langs/ro.js +154 -0
  652. data/test/public/javascripts/tiny_mce/langs/ru.js +173 -0
  653. data/test/public/javascripts/tiny_mce/langs/sc.js +162 -0
  654. data/test/public/javascripts/tiny_mce/langs/se.js +154 -0
  655. data/test/public/javascripts/tiny_mce/langs/si.js +154 -0
  656. data/test/public/javascripts/tiny_mce/langs/sk.js +176 -0
  657. data/test/public/javascripts/tiny_mce/langs/sl.js +155 -0
  658. data/test/public/javascripts/tiny_mce/langs/sq.js +154 -0
  659. data/test/public/javascripts/tiny_mce/langs/sr.js +154 -0
  660. data/test/public/javascripts/tiny_mce/langs/sv.js +170 -0
  661. data/test/public/javascripts/tiny_mce/langs/ta.js +170 -0
  662. data/test/public/javascripts/tiny_mce/langs/te.js +154 -0
  663. data/test/public/javascripts/tiny_mce/langs/th.js +154 -0
  664. data/test/public/javascripts/tiny_mce/langs/tr.js +154 -0
  665. data/test/public/javascripts/tiny_mce/langs/tt.js +154 -0
  666. data/test/public/javascripts/tiny_mce/langs/tw.js +164 -0
  667. data/test/public/javascripts/tiny_mce/langs/uk.js +173 -0
  668. data/test/public/javascripts/tiny_mce/langs/ur.js +154 -0
  669. data/test/public/javascripts/tiny_mce/langs/vi.js +170 -0
  670. data/test/public/javascripts/tiny_mce/langs/zh.js +178 -0
  671. data/test/public/javascripts/tiny_mce/langs/zu.js +162 -0
  672. data/test/public/javascripts/tiny_mce/license.txt +504 -0
  673. data/test/public/javascripts/tiny_mce/plugins/advhr/css/advhr.css +5 -0
  674. data/test/public/javascripts/tiny_mce/plugins/advhr/editor_plugin.js +1 -0
  675. data/test/public/javascripts/tiny_mce/plugins/advhr/editor_plugin_src.js +57 -0
  676. data/test/public/javascripts/tiny_mce/plugins/advhr/js/rule.js +43 -0
  677. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ar_dlg.js +5 -0
  678. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/az_dlg.js +5 -0
  679. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/be_dlg.js +5 -0
  680. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/bg_dlg.js +5 -0
  681. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/bn_dlg.js +5 -0
  682. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/br_dlg.js +5 -0
  683. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/bs_dlg.js +5 -0
  684. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ca_dlg.js +5 -0
  685. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ch_dlg.js +5 -0
  686. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/cs_dlg.js +5 -0
  687. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/cy_dlg.js +5 -0
  688. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/da_dlg.js +5 -0
  689. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/de_dlg.js +5 -0
  690. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/dv_dlg.js +5 -0
  691. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/el_dlg.js +5 -0
  692. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/en_dlg.js +5 -0
  693. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/es_dlg.js +5 -0
  694. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/et_dlg.js +5 -0
  695. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/fa_dlg.js +5 -0
  696. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/fi_dlg.js +5 -0
  697. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/fr_dlg.js +5 -0
  698. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/gl_dlg.js +5 -0
  699. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/gu_dlg.js +5 -0
  700. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/he_dlg.js +5 -0
  701. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/hi_dlg.js +5 -0
  702. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/hr_dlg.js +5 -0
  703. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/hu_dlg.js +5 -0
  704. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/hy_dlg.js +5 -0
  705. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ia_dlg.js +5 -0
  706. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/id_dlg.js +5 -0
  707. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ii_dlg.js +5 -0
  708. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/is_dlg.js +5 -0
  709. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/it_dlg.js +5 -0
  710. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ja_dlg.js +5 -0
  711. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ka_dlg.js +5 -0
  712. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/kl_dlg.js +5 -0
  713. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ko_dlg.js +5 -0
  714. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/lb_dlg.js +5 -0
  715. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/lt_dlg.js +5 -0
  716. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/lv_dlg.js +5 -0
  717. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/mk_dlg.js +5 -0
  718. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ml_dlg.js +5 -0
  719. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/mn_dlg.js +5 -0
  720. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ms_dlg.js +5 -0
  721. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/nb_dlg.js +5 -0
  722. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/nl_dlg.js +5 -0
  723. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/nn_dlg.js +5 -0
  724. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/no_dlg.js +5 -0
  725. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/pl_dlg.js +5 -0
  726. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ps_dlg.js +5 -0
  727. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/pt_dlg.js +5 -0
  728. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ro_dlg.js +5 -0
  729. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ru_dlg.js +5 -0
  730. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/sc_dlg.js +5 -0
  731. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/se_dlg.js +5 -0
  732. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/si_dlg.js +5 -0
  733. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/sk_dlg.js +5 -0
  734. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/sl_dlg.js +5 -0
  735. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/sq_dlg.js +5 -0
  736. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/sr_dlg.js +5 -0
  737. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/sv_dlg.js +5 -0
  738. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ta_dlg.js +5 -0
  739. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/te_dlg.js +5 -0
  740. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/th_dlg.js +5 -0
  741. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/tr_dlg.js +5 -0
  742. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/tt_dlg.js +5 -0
  743. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/tw_dlg.js +5 -0
  744. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/uk_dlg.js +5 -0
  745. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ur_dlg.js +5 -0
  746. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/vi_dlg.js +5 -0
  747. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/zh_dlg.js +5 -0
  748. data/test/public/javascripts/tiny_mce/plugins/advhr/langs/zu_dlg.js +5 -0
  749. data/test/public/javascripts/tiny_mce/plugins/advhr/rule.htm +57 -0
  750. data/test/public/javascripts/tiny_mce/plugins/advimage/css/advimage.css +13 -0
  751. data/test/public/javascripts/tiny_mce/plugins/advimage/editor_plugin.js +1 -0
  752. data/test/public/javascripts/tiny_mce/plugins/advimage/editor_plugin_src.js +50 -0
  753. data/test/public/javascripts/tiny_mce/plugins/advimage/image.htm +232 -0
  754. data/test/public/javascripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
  755. data/test/public/javascripts/tiny_mce/plugins/advimage/js/image.js +443 -0
  756. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ar_dlg.js +43 -0
  757. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/az_dlg.js +43 -0
  758. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/be_dlg.js +43 -0
  759. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/bg_dlg.js +43 -0
  760. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/bn_dlg.js +43 -0
  761. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/br_dlg.js +43 -0
  762. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/bs_dlg.js +43 -0
  763. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ca_dlg.js +43 -0
  764. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ch_dlg.js +43 -0
  765. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/cs_dlg.js +43 -0
  766. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/cy_dlg.js +43 -0
  767. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/da_dlg.js +43 -0
  768. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/de_dlg.js +43 -0
  769. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/dv_dlg.js +43 -0
  770. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/el_dlg.js +43 -0
  771. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/en_dlg.js +43 -0
  772. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/es_dlg.js +43 -0
  773. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/et_dlg.js +43 -0
  774. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/fa_dlg.js +43 -0
  775. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/fi_dlg.js +43 -0
  776. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/fr_dlg.js +43 -0
  777. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/gl_dlg.js +43 -0
  778. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/gu_dlg.js +43 -0
  779. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/he_dlg.js +43 -0
  780. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/hi_dlg.js +43 -0
  781. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/hr_dlg.js +43 -0
  782. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/hu_dlg.js +43 -0
  783. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/hy_dlg.js +43 -0
  784. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ia_dlg.js +43 -0
  785. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/id_dlg.js +43 -0
  786. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ii_dlg.js +43 -0
  787. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/is_dlg.js +43 -0
  788. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/it_dlg.js +43 -0
  789. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ja_dlg.js +43 -0
  790. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ka_dlg.js +43 -0
  791. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/kl_dlg.js +43 -0
  792. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ko_dlg.js +43 -0
  793. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/lb_dlg.js +43 -0
  794. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/lt_dlg.js +43 -0
  795. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/lv_dlg.js +43 -0
  796. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/mk_dlg.js +43 -0
  797. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ml_dlg.js +43 -0
  798. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/mn_dlg.js +43 -0
  799. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ms_dlg.js +43 -0
  800. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/nb_dlg.js +43 -0
  801. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/nl_dlg.js +43 -0
  802. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/nn_dlg.js +43 -0
  803. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/no_dlg.js +43 -0
  804. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/pl_dlg.js +43 -0
  805. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ps_dlg.js +43 -0
  806. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/pt_dlg.js +43 -0
  807. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ro_dlg.js +43 -0
  808. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ru_dlg.js +43 -0
  809. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/sc_dlg.js +43 -0
  810. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/se_dlg.js +43 -0
  811. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/si_dlg.js +43 -0
  812. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/sk_dlg.js +43 -0
  813. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/sl_dlg.js +43 -0
  814. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/sq_dlg.js +43 -0
  815. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/sr_dlg.js +43 -0
  816. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/sv_dlg.js +43 -0
  817. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ta_dlg.js +43 -0
  818. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/te_dlg.js +43 -0
  819. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/th_dlg.js +43 -0
  820. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/tr_dlg.js +43 -0
  821. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/tt_dlg.js +43 -0
  822. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/tw_dlg.js +43 -0
  823. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/uk_dlg.js +43 -0
  824. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ur_dlg.js +43 -0
  825. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/vi_dlg.js +43 -0
  826. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/zh_dlg.js +43 -0
  827. data/test/public/javascripts/tiny_mce/plugins/advimage/langs/zu_dlg.js +43 -0
  828. data/test/public/javascripts/tiny_mce/plugins/advlink/css/advlink.css +8 -0
  829. data/test/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js +1 -0
  830. data/test/public/javascripts/tiny_mce/plugins/advlink/editor_plugin_src.js +61 -0
  831. data/test/public/javascripts/tiny_mce/plugins/advlink/js/advlink.js +528 -0
  832. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ar_dlg.js +52 -0
  833. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/az_dlg.js +52 -0
  834. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/be_dlg.js +52 -0
  835. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/bg_dlg.js +52 -0
  836. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/bn_dlg.js +52 -0
  837. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/br_dlg.js +52 -0
  838. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/bs_dlg.js +52 -0
  839. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ca_dlg.js +52 -0
  840. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ch_dlg.js +52 -0
  841. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/cs_dlg.js +52 -0
  842. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/cy_dlg.js +52 -0
  843. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/da_dlg.js +52 -0
  844. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/de_dlg.js +52 -0
  845. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/dv_dlg.js +52 -0
  846. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/el_dlg.js +52 -0
  847. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/en_dlg.js +52 -0
  848. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/es_dlg.js +52 -0
  849. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/et_dlg.js +52 -0
  850. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/fa_dlg.js +52 -0
  851. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/fi_dlg.js +52 -0
  852. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/fr_dlg.js +52 -0
  853. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/gl_dlg.js +52 -0
  854. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/gu_dlg.js +52 -0
  855. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/he_dlg.js +52 -0
  856. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/hi_dlg.js +52 -0
  857. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/hr_dlg.js +52 -0
  858. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/hu_dlg.js +52 -0
  859. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/hy_dlg.js +52 -0
  860. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ia_dlg.js +52 -0
  861. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/id_dlg.js +52 -0
  862. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ii_dlg.js +52 -0
  863. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/is_dlg.js +52 -0
  864. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/it_dlg.js +52 -0
  865. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ja_dlg.js +52 -0
  866. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ka_dlg.js +52 -0
  867. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/kl_dlg.js +52 -0
  868. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ko_dlg.js +52 -0
  869. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/lb_dlg.js +52 -0
  870. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/lt_dlg.js +52 -0
  871. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/lv_dlg.js +52 -0
  872. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/mk_dlg.js +52 -0
  873. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ml_dlg.js +52 -0
  874. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/mn_dlg.js +52 -0
  875. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ms_dlg.js +52 -0
  876. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/nb_dlg.js +52 -0
  877. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/nl_dlg.js +52 -0
  878. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/nn_dlg.js +52 -0
  879. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/no_dlg.js +52 -0
  880. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/pl_dlg.js +52 -0
  881. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ps_dlg.js +52 -0
  882. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/pt_dlg.js +52 -0
  883. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ro_dlg.js +52 -0
  884. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ru_dlg.js +52 -0
  885. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/sc_dlg.js +52 -0
  886. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/se_dlg.js +52 -0
  887. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/si_dlg.js +52 -0
  888. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/sk_dlg.js +52 -0
  889. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/sl_dlg.js +52 -0
  890. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/sq_dlg.js +52 -0
  891. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/sr_dlg.js +52 -0
  892. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/sv_dlg.js +52 -0
  893. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ta_dlg.js +52 -0
  894. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/te_dlg.js +52 -0
  895. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/th_dlg.js +52 -0
  896. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/tr_dlg.js +52 -0
  897. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/tt_dlg.js +52 -0
  898. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/tw_dlg.js +52 -0
  899. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/uk_dlg.js +52 -0
  900. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ur_dlg.js +52 -0
  901. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/vi_dlg.js +52 -0
  902. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/zh_dlg.js +52 -0
  903. data/test/public/javascripts/tiny_mce/plugins/advlink/langs/zu_dlg.js +52 -0
  904. data/test/public/javascripts/tiny_mce/plugins/advlink/link.htm +333 -0
  905. data/test/public/javascripts/tiny_mce/plugins/advlist/editor_plugin.js +1 -0
  906. data/test/public/javascripts/tiny_mce/plugins/advlist/editor_plugin_src.js +154 -0
  907. data/test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +1 -0
  908. data/test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js +119 -0
  909. data/test/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js +1 -0
  910. data/test/public/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js +422 -0
  911. data/test/public/javascripts/tiny_mce/plugins/autosave/langs/en.js +4 -0
  912. data/test/public/javascripts/tiny_mce/plugins/bbcode/editor_plugin.js +1 -0
  913. data/test/public/javascripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +120 -0
  914. data/test/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -0
  915. data/test/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +140 -0
  916. data/test/public/javascripts/tiny_mce/plugins/directionality/editor_plugin.js +1 -0
  917. data/test/public/javascripts/tiny_mce/plugins/directionality/editor_plugin_src.js +82 -0
  918. data/test/public/javascripts/tiny_mce/plugins/emotions/editor_plugin.js +1 -0
  919. data/test/public/javascripts/tiny_mce/plugins/emotions/editor_plugin_src.js +43 -0
  920. data/test/public/javascripts/tiny_mce/plugins/emotions/emotions.htm +40 -0
  921. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
  922. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
  923. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
  924. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
  925. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
  926. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
  927. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
  928. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
  929. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
  930. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
  931. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
  932. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
  933. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
  934. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
  935. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
  936. data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
  937. data/test/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js +22 -0
  938. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ar_dlg.js +20 -0
  939. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/az_dlg.js +20 -0
  940. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/be_dlg.js +20 -0
  941. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/bg_dlg.js +20 -0
  942. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/bn_dlg.js +20 -0
  943. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/br_dlg.js +20 -0
  944. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/bs_dlg.js +20 -0
  945. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ca_dlg.js +20 -0
  946. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ch_dlg.js +20 -0
  947. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/cs_dlg.js +20 -0
  948. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/cy_dlg.js +20 -0
  949. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/da_dlg.js +20 -0
  950. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/de_dlg.js +20 -0
  951. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/dv_dlg.js +20 -0
  952. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/el_dlg.js +20 -0
  953. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/en_dlg.js +20 -0
  954. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/es_dlg.js +20 -0
  955. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/et_dlg.js +20 -0
  956. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/fa_dlg.js +20 -0
  957. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/fi_dlg.js +20 -0
  958. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/fr_dlg.js +20 -0
  959. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/gl_dlg.js +20 -0
  960. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/gu_dlg.js +20 -0
  961. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/he_dlg.js +20 -0
  962. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/hi_dlg.js +20 -0
  963. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/hr_dlg.js +20 -0
  964. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/hu_dlg.js +20 -0
  965. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/hy_dlg.js +20 -0
  966. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ia_dlg.js +20 -0
  967. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/id_dlg.js +20 -0
  968. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ii_dlg.js +20 -0
  969. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/is_dlg.js +20 -0
  970. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/it_dlg.js +20 -0
  971. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ja_dlg.js +20 -0
  972. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ka_dlg.js +20 -0
  973. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/kl_dlg.js +20 -0
  974. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ko_dlg.js +20 -0
  975. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/lb_dlg.js +20 -0
  976. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/lt_dlg.js +20 -0
  977. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/lv_dlg.js +20 -0
  978. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/mk_dlg.js +20 -0
  979. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ml_dlg.js +20 -0
  980. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/mn_dlg.js +20 -0
  981. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ms_dlg.js +20 -0
  982. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/nb_dlg.js +20 -0
  983. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/nl_dlg.js +20 -0
  984. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/nn_dlg.js +20 -0
  985. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/no_dlg.js +20 -0
  986. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/pl_dlg.js +20 -0
  987. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ps_dlg.js +20 -0
  988. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/pt_dlg.js +20 -0
  989. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ro_dlg.js +20 -0
  990. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ru_dlg.js +20 -0
  991. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/sc_dlg.js +20 -0
  992. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/se_dlg.js +20 -0
  993. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/si_dlg.js +20 -0
  994. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/sk_dlg.js +20 -0
  995. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/sl_dlg.js +20 -0
  996. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/sq_dlg.js +20 -0
  997. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/sr_dlg.js +20 -0
  998. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/sv_dlg.js +20 -0
  999. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ta_dlg.js +20 -0
  1000. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/te_dlg.js +20 -0
  1001. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/th_dlg.js +20 -0
  1002. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/tr_dlg.js +20 -0
  1003. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/tt_dlg.js +20 -0
  1004. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/tw_dlg.js +20 -0
  1005. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/uk_dlg.js +20 -0
  1006. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ur_dlg.js +20 -0
  1007. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/vi_dlg.js +20 -0
  1008. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/zh_dlg.js +20 -0
  1009. data/test/public/javascripts/tiny_mce/plugins/emotions/langs/zu_dlg.js +20 -0
  1010. data/test/public/javascripts/tiny_mce/plugins/example/dialog.htm +22 -0
  1011. data/test/public/javascripts/tiny_mce/plugins/example/editor_plugin.js +1 -0
  1012. data/test/public/javascripts/tiny_mce/plugins/example/editor_plugin_src.js +84 -0
  1013. data/test/public/javascripts/tiny_mce/plugins/example/img/example.gif +0 -0
  1014. data/test/public/javascripts/tiny_mce/plugins/example/js/dialog.js +19 -0
  1015. data/test/public/javascripts/tiny_mce/plugins/example/langs/en.js +3 -0
  1016. data/test/public/javascripts/tiny_mce/plugins/example/langs/en_dlg.js +3 -0
  1017. data/test/public/javascripts/tiny_mce/plugins/fullpage/css/fullpage.css +182 -0
  1018. data/test/public/javascripts/tiny_mce/plugins/fullpage/editor_plugin.js +1 -0
  1019. data/test/public/javascripts/tiny_mce/plugins/fullpage/editor_plugin_src.js +149 -0
  1020. data/test/public/javascripts/tiny_mce/plugins/fullpage/fullpage.htm +571 -0
  1021. data/test/public/javascripts/tiny_mce/plugins/fullpage/js/fullpage.js +471 -0
  1022. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ar_dlg.js +85 -0
  1023. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/az_dlg.js +85 -0
  1024. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/be_dlg.js +85 -0
  1025. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/bg_dlg.js +85 -0
  1026. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/bn_dlg.js +85 -0
  1027. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/br_dlg.js +85 -0
  1028. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/bs_dlg.js +85 -0
  1029. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ca_dlg.js +85 -0
  1030. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ch_dlg.js +85 -0
  1031. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/cs_dlg.js +85 -0
  1032. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/cy_dlg.js +85 -0
  1033. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/da_dlg.js +85 -0
  1034. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/de_dlg.js +85 -0
  1035. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/dv_dlg.js +85 -0
  1036. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/el_dlg.js +85 -0
  1037. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +85 -0
  1038. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/es_dlg.js +85 -0
  1039. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/et_dlg.js +85 -0
  1040. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/fa_dlg.js +85 -0
  1041. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/fi_dlg.js +85 -0
  1042. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/fr_dlg.js +85 -0
  1043. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/gl_dlg.js +85 -0
  1044. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/gu_dlg.js +85 -0
  1045. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/he_dlg.js +85 -0
  1046. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/hi_dlg.js +85 -0
  1047. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/hr_dlg.js +85 -0
  1048. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/hu_dlg.js +85 -0
  1049. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/hy_dlg.js +85 -0
  1050. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ia_dlg.js +85 -0
  1051. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/id_dlg.js +85 -0
  1052. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ii_dlg.js +85 -0
  1053. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/is_dlg.js +85 -0
  1054. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/it_dlg.js +85 -0
  1055. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ja_dlg.js +85 -0
  1056. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ka_dlg.js +85 -0
  1057. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/kl_dlg.js +85 -0
  1058. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ko_dlg.js +85 -0
  1059. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/lb_dlg.js +85 -0
  1060. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/lt_dlg.js +85 -0
  1061. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/lv_dlg.js +85 -0
  1062. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/mk_dlg.js +85 -0
  1063. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ml_dlg.js +85 -0
  1064. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/mn_dlg.js +85 -0
  1065. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ms_dlg.js +85 -0
  1066. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/nb_dlg.js +85 -0
  1067. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/nl_dlg.js +85 -0
  1068. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/nn_dlg.js +85 -0
  1069. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/no_dlg.js +85 -0
  1070. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/pl_dlg.js +85 -0
  1071. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ps_dlg.js +85 -0
  1072. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/pt_dlg.js +85 -0
  1073. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ro_dlg.js +85 -0
  1074. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ru_dlg.js +85 -0
  1075. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/sc_dlg.js +85 -0
  1076. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/se_dlg.js +85 -0
  1077. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/si_dlg.js +85 -0
  1078. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/sk_dlg.js +85 -0
  1079. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/sl_dlg.js +85 -0
  1080. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/sq_dlg.js +85 -0
  1081. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/sr_dlg.js +85 -0
  1082. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/sv_dlg.js +85 -0
  1083. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ta_dlg.js +85 -0
  1084. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/te_dlg.js +85 -0
  1085. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/th_dlg.js +85 -0
  1086. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/tr_dlg.js +85 -0
  1087. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/tt_dlg.js +85 -0
  1088. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/tw_dlg.js +85 -0
  1089. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/uk_dlg.js +85 -0
  1090. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ur_dlg.js +85 -0
  1091. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/vi_dlg.js +85 -0
  1092. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/zh_dlg.js +85 -0
  1093. data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/zu_dlg.js +85 -0
  1094. data/test/public/javascripts/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -0
  1095. data/test/public/javascripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js +151 -0
  1096. data/test/public/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +109 -0
  1097. data/test/public/javascripts/tiny_mce/plugins/iespell/editor_plugin.js +1 -0
  1098. data/test/public/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js +54 -0
  1099. data/test/public/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -0
  1100. data/test/public/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +635 -0
  1101. data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
  1102. data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
  1103. data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
  1104. data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
  1105. data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
  1106. data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
  1107. data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
  1108. data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
  1109. data/test/public/javascripts/tiny_mce/plugins/inlinepopups/template.htm +387 -0
  1110. data/test/public/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -0
  1111. data/test/public/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +83 -0
  1112. data/test/public/javascripts/tiny_mce/plugins/layer/editor_plugin.js +1 -0
  1113. data/test/public/javascripts/tiny_mce/plugins/layer/editor_plugin_src.js +212 -0
  1114. data/test/public/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -0
  1115. data/test/public/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +136 -0
  1116. data/test/public/javascripts/tiny_mce/plugins/media/css/content.css +6 -0
  1117. data/test/public/javascripts/tiny_mce/plugins/media/css/media.css +16 -0
  1118. data/test/public/javascripts/tiny_mce/plugins/media/editor_plugin.js +1 -0
  1119. data/test/public/javascripts/tiny_mce/plugins/media/editor_plugin_src.js +414 -0
  1120. data/test/public/javascripts/tiny_mce/plugins/media/img/flash.gif +0 -0
  1121. data/test/public/javascripts/tiny_mce/plugins/media/img/quicktime.gif +0 -0
  1122. data/test/public/javascripts/tiny_mce/plugins/media/img/realmedia.gif +0 -0
  1123. data/test/public/javascripts/tiny_mce/plugins/media/img/shockwave.gif +0 -0
  1124. data/test/public/javascripts/tiny_mce/plugins/media/img/trans.gif +0 -0
  1125. data/test/public/javascripts/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
  1126. data/test/public/javascripts/tiny_mce/plugins/media/js/embed.js +73 -0
  1127. data/test/public/javascripts/tiny_mce/plugins/media/js/media.js +630 -0
  1128. data/test/public/javascripts/tiny_mce/plugins/media/langs/ar_dlg.js +103 -0
  1129. data/test/public/javascripts/tiny_mce/plugins/media/langs/az_dlg.js +103 -0
  1130. data/test/public/javascripts/tiny_mce/plugins/media/langs/be_dlg.js +103 -0
  1131. data/test/public/javascripts/tiny_mce/plugins/media/langs/bg_dlg.js +103 -0
  1132. data/test/public/javascripts/tiny_mce/plugins/media/langs/bn_dlg.js +103 -0
  1133. data/test/public/javascripts/tiny_mce/plugins/media/langs/br_dlg.js +103 -0
  1134. data/test/public/javascripts/tiny_mce/plugins/media/langs/bs_dlg.js +103 -0
  1135. data/test/public/javascripts/tiny_mce/plugins/media/langs/ca_dlg.js +103 -0
  1136. data/test/public/javascripts/tiny_mce/plugins/media/langs/ch_dlg.js +103 -0
  1137. data/test/public/javascripts/tiny_mce/plugins/media/langs/cs_dlg.js +103 -0
  1138. data/test/public/javascripts/tiny_mce/plugins/media/langs/cy_dlg.js +103 -0
  1139. data/test/public/javascripts/tiny_mce/plugins/media/langs/da_dlg.js +103 -0
  1140. data/test/public/javascripts/tiny_mce/plugins/media/langs/de_dlg.js +103 -0
  1141. data/test/public/javascripts/tiny_mce/plugins/media/langs/dv_dlg.js +103 -0
  1142. data/test/public/javascripts/tiny_mce/plugins/media/langs/el_dlg.js +103 -0
  1143. data/test/public/javascripts/tiny_mce/plugins/media/langs/en_dlg.js +103 -0
  1144. data/test/public/javascripts/tiny_mce/plugins/media/langs/es_dlg.js +103 -0
  1145. data/test/public/javascripts/tiny_mce/plugins/media/langs/et_dlg.js +103 -0
  1146. data/test/public/javascripts/tiny_mce/plugins/media/langs/fa_dlg.js +103 -0
  1147. data/test/public/javascripts/tiny_mce/plugins/media/langs/fi_dlg.js +103 -0
  1148. data/test/public/javascripts/tiny_mce/plugins/media/langs/fr_dlg.js +103 -0
  1149. data/test/public/javascripts/tiny_mce/plugins/media/langs/gl_dlg.js +103 -0
  1150. data/test/public/javascripts/tiny_mce/plugins/media/langs/gu_dlg.js +103 -0
  1151. data/test/public/javascripts/tiny_mce/plugins/media/langs/he_dlg.js +103 -0
  1152. data/test/public/javascripts/tiny_mce/plugins/media/langs/hi_dlg.js +103 -0
  1153. data/test/public/javascripts/tiny_mce/plugins/media/langs/hr_dlg.js +103 -0
  1154. data/test/public/javascripts/tiny_mce/plugins/media/langs/hu_dlg.js +103 -0
  1155. data/test/public/javascripts/tiny_mce/plugins/media/langs/hy_dlg.js +103 -0
  1156. data/test/public/javascripts/tiny_mce/plugins/media/langs/ia_dlg.js +103 -0
  1157. data/test/public/javascripts/tiny_mce/plugins/media/langs/id_dlg.js +103 -0
  1158. data/test/public/javascripts/tiny_mce/plugins/media/langs/ii_dlg.js +103 -0
  1159. data/test/public/javascripts/tiny_mce/plugins/media/langs/is_dlg.js +103 -0
  1160. data/test/public/javascripts/tiny_mce/plugins/media/langs/it_dlg.js +103 -0
  1161. data/test/public/javascripts/tiny_mce/plugins/media/langs/ja_dlg.js +103 -0
  1162. data/test/public/javascripts/tiny_mce/plugins/media/langs/ka_dlg.js +103 -0
  1163. data/test/public/javascripts/tiny_mce/plugins/media/langs/kl_dlg.js +103 -0
  1164. data/test/public/javascripts/tiny_mce/plugins/media/langs/ko_dlg.js +103 -0
  1165. data/test/public/javascripts/tiny_mce/plugins/media/langs/lb_dlg.js +103 -0
  1166. data/test/public/javascripts/tiny_mce/plugins/media/langs/lt_dlg.js +103 -0
  1167. data/test/public/javascripts/tiny_mce/plugins/media/langs/lv_dlg.js +103 -0
  1168. data/test/public/javascripts/tiny_mce/plugins/media/langs/mk_dlg.js +103 -0
  1169. data/test/public/javascripts/tiny_mce/plugins/media/langs/ml_dlg.js +103 -0
  1170. data/test/public/javascripts/tiny_mce/plugins/media/langs/mn_dlg.js +103 -0
  1171. data/test/public/javascripts/tiny_mce/plugins/media/langs/ms_dlg.js +102 -0
  1172. data/test/public/javascripts/tiny_mce/plugins/media/langs/nb_dlg.js +103 -0
  1173. data/test/public/javascripts/tiny_mce/plugins/media/langs/nl_dlg.js +103 -0
  1174. data/test/public/javascripts/tiny_mce/plugins/media/langs/nn_dlg.js +103 -0
  1175. data/test/public/javascripts/tiny_mce/plugins/media/langs/no_dlg.js +103 -0
  1176. data/test/public/javascripts/tiny_mce/plugins/media/langs/pl_dlg.js +103 -0
  1177. data/test/public/javascripts/tiny_mce/plugins/media/langs/ps_dlg.js +103 -0
  1178. data/test/public/javascripts/tiny_mce/plugins/media/langs/pt_dlg.js +103 -0
  1179. data/test/public/javascripts/tiny_mce/plugins/media/langs/ro_dlg.js +103 -0
  1180. data/test/public/javascripts/tiny_mce/plugins/media/langs/ru_dlg.js +103 -0
  1181. data/test/public/javascripts/tiny_mce/plugins/media/langs/sc_dlg.js +103 -0
  1182. data/test/public/javascripts/tiny_mce/plugins/media/langs/se_dlg.js +103 -0
  1183. data/test/public/javascripts/tiny_mce/plugins/media/langs/si_dlg.js +103 -0
  1184. data/test/public/javascripts/tiny_mce/plugins/media/langs/sk_dlg.js +103 -0
  1185. data/test/public/javascripts/tiny_mce/plugins/media/langs/sl_dlg.js +103 -0
  1186. data/test/public/javascripts/tiny_mce/plugins/media/langs/sq_dlg.js +103 -0
  1187. data/test/public/javascripts/tiny_mce/plugins/media/langs/sr_dlg.js +103 -0
  1188. data/test/public/javascripts/tiny_mce/plugins/media/langs/sv_dlg.js +103 -0
  1189. data/test/public/javascripts/tiny_mce/plugins/media/langs/ta_dlg.js +103 -0
  1190. data/test/public/javascripts/tiny_mce/plugins/media/langs/te_dlg.js +103 -0
  1191. data/test/public/javascripts/tiny_mce/plugins/media/langs/th_dlg.js +103 -0
  1192. data/test/public/javascripts/tiny_mce/plugins/media/langs/tr_dlg.js +103 -0
  1193. data/test/public/javascripts/tiny_mce/plugins/media/langs/tt_dlg.js +103 -0
  1194. data/test/public/javascripts/tiny_mce/plugins/media/langs/tw_dlg.js +103 -0
  1195. data/test/public/javascripts/tiny_mce/plugins/media/langs/uk_dlg.js +103 -0
  1196. data/test/public/javascripts/tiny_mce/plugins/media/langs/ur_dlg.js +103 -0
  1197. data/test/public/javascripts/tiny_mce/plugins/media/langs/vi_dlg.js +103 -0
  1198. data/test/public/javascripts/tiny_mce/plugins/media/langs/zh_dlg.js +103 -0
  1199. data/test/public/javascripts/tiny_mce/plugins/media/langs/zu_dlg.js +103 -0
  1200. data/test/public/javascripts/tiny_mce/plugins/media/media.htm +817 -0
  1201. data/test/public/javascripts/tiny_mce/plugins/muckfile/editor_plugin.js +42 -0
  1202. data/test/public/javascripts/tiny_mce/plugins/muckfile/editor_plugin_src.js +42 -0
  1203. data/test/public/javascripts/tiny_mce/plugins/muckfile/js/functions.js +147 -0
  1204. data/test/public/javascripts/tiny_mce/plugins/muckfile/langs/en_dlg.js +48 -0
  1205. data/test/public/javascripts/tiny_mce/plugins/muckimage/editor_plugin.js +42 -0
  1206. data/test/public/javascripts/tiny_mce/plugins/muckimage/editor_plugin_src.js +42 -0
  1207. data/test/public/javascripts/tiny_mce/plugins/muckimage/js/functions.js +441 -0
  1208. data/test/public/javascripts/tiny_mce/plugins/muckimage/langs/en_dlg.js +44 -0
  1209. data/test/public/javascripts/tiny_mce/plugins/mucklink/editor_plugin.js +48 -0
  1210. data/test/public/javascripts/tiny_mce/plugins/mucklink/editor_plugin_src.js +48 -0
  1211. data/test/public/javascripts/tiny_mce/plugins/mucklink/js/functions.js +525 -0
  1212. data/test/public/javascripts/tiny_mce/plugins/mucklink/langs/en_dlg.js +52 -0
  1213. data/test/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -0
  1214. data/test/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +53 -0
  1215. data/test/public/javascripts/tiny_mce/plugins/noneditable/editor_plugin.js +1 -0
  1216. data/test/public/javascripts/tiny_mce/plugins/noneditable/editor_plugin_src.js +90 -0
  1217. data/test/public/javascripts/tiny_mce/plugins/pagebreak/css/content.css +1 -0
  1218. data/test/public/javascripts/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -0
  1219. data/test/public/javascripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +77 -0
  1220. data/test/public/javascripts/tiny_mce/plugins/pagebreak/img/pagebreak.gif +0 -0
  1221. data/test/public/javascripts/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
  1222. data/test/public/javascripts/tiny_mce/plugins/paste/editor_plugin.js +1 -0
  1223. data/test/public/javascripts/tiny_mce/plugins/paste/editor_plugin_src.js +940 -0
  1224. data/test/public/javascripts/tiny_mce/plugins/paste/js/pastetext.js +36 -0
  1225. data/test/public/javascripts/tiny_mce/plugins/paste/js/pasteword.js +51 -0
  1226. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ar_dlg.js +5 -0
  1227. data/test/public/javascripts/tiny_mce/plugins/paste/langs/az_dlg.js +5 -0
  1228. data/test/public/javascripts/tiny_mce/plugins/paste/langs/be_dlg.js +5 -0
  1229. data/test/public/javascripts/tiny_mce/plugins/paste/langs/bg_dlg.js +5 -0
  1230. data/test/public/javascripts/tiny_mce/plugins/paste/langs/bn_dlg.js +5 -0
  1231. data/test/public/javascripts/tiny_mce/plugins/paste/langs/br_dlg.js +5 -0
  1232. data/test/public/javascripts/tiny_mce/plugins/paste/langs/bs_dlg.js +5 -0
  1233. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ca_dlg.js +5 -0
  1234. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ch_dlg.js +5 -0
  1235. data/test/public/javascripts/tiny_mce/plugins/paste/langs/cs_dlg.js +5 -0
  1236. data/test/public/javascripts/tiny_mce/plugins/paste/langs/cy_dlg.js +5 -0
  1237. data/test/public/javascripts/tiny_mce/plugins/paste/langs/da_dlg.js +5 -0
  1238. data/test/public/javascripts/tiny_mce/plugins/paste/langs/de_dlg.js +5 -0
  1239. data/test/public/javascripts/tiny_mce/plugins/paste/langs/dv_dlg.js +5 -0
  1240. data/test/public/javascripts/tiny_mce/plugins/paste/langs/el_dlg.js +5 -0
  1241. data/test/public/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +5 -0
  1242. data/test/public/javascripts/tiny_mce/plugins/paste/langs/es_dlg.js +5 -0
  1243. data/test/public/javascripts/tiny_mce/plugins/paste/langs/et_dlg.js +5 -0
  1244. data/test/public/javascripts/tiny_mce/plugins/paste/langs/fa_dlg.js +5 -0
  1245. data/test/public/javascripts/tiny_mce/plugins/paste/langs/fi_dlg.js +5 -0
  1246. data/test/public/javascripts/tiny_mce/plugins/paste/langs/fr_dlg.js +5 -0
  1247. data/test/public/javascripts/tiny_mce/plugins/paste/langs/gl_dlg.js +5 -0
  1248. data/test/public/javascripts/tiny_mce/plugins/paste/langs/gu_dlg.js +5 -0
  1249. data/test/public/javascripts/tiny_mce/plugins/paste/langs/he_dlg.js +5 -0
  1250. data/test/public/javascripts/tiny_mce/plugins/paste/langs/hi_dlg.js +5 -0
  1251. data/test/public/javascripts/tiny_mce/plugins/paste/langs/hr_dlg.js +5 -0
  1252. data/test/public/javascripts/tiny_mce/plugins/paste/langs/hu_dlg.js +5 -0
  1253. data/test/public/javascripts/tiny_mce/plugins/paste/langs/hy_dlg.js +5 -0
  1254. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ia_dlg.js +5 -0
  1255. data/test/public/javascripts/tiny_mce/plugins/paste/langs/id_dlg.js +5 -0
  1256. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ii_dlg.js +5 -0
  1257. data/test/public/javascripts/tiny_mce/plugins/paste/langs/is_dlg.js +5 -0
  1258. data/test/public/javascripts/tiny_mce/plugins/paste/langs/it_dlg.js +5 -0
  1259. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ja_dlg.js +5 -0
  1260. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ka_dlg.js +5 -0
  1261. data/test/public/javascripts/tiny_mce/plugins/paste/langs/kl_dlg.js +5 -0
  1262. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ko_dlg.js +5 -0
  1263. data/test/public/javascripts/tiny_mce/plugins/paste/langs/lb_dlg.js +5 -0
  1264. data/test/public/javascripts/tiny_mce/plugins/paste/langs/lt_dlg.js +5 -0
  1265. data/test/public/javascripts/tiny_mce/plugins/paste/langs/lv_dlg.js +5 -0
  1266. data/test/public/javascripts/tiny_mce/plugins/paste/langs/mk_dlg.js +5 -0
  1267. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ml_dlg.js +5 -0
  1268. data/test/public/javascripts/tiny_mce/plugins/paste/langs/mn_dlg.js +5 -0
  1269. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ms_dlg.js +5 -0
  1270. data/test/public/javascripts/tiny_mce/plugins/paste/langs/nb_dlg.js +5 -0
  1271. data/test/public/javascripts/tiny_mce/plugins/paste/langs/nl_dlg.js +5 -0
  1272. data/test/public/javascripts/tiny_mce/plugins/paste/langs/nn_dlg.js +5 -0
  1273. data/test/public/javascripts/tiny_mce/plugins/paste/langs/no_dlg.js +5 -0
  1274. data/test/public/javascripts/tiny_mce/plugins/paste/langs/pl_dlg.js +5 -0
  1275. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ps_dlg.js +5 -0
  1276. data/test/public/javascripts/tiny_mce/plugins/paste/langs/pt_dlg.js +5 -0
  1277. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ro_dlg.js +5 -0
  1278. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ru_dlg.js +5 -0
  1279. data/test/public/javascripts/tiny_mce/plugins/paste/langs/sc_dlg.js +5 -0
  1280. data/test/public/javascripts/tiny_mce/plugins/paste/langs/se_dlg.js +5 -0
  1281. data/test/public/javascripts/tiny_mce/plugins/paste/langs/si_dlg.js +5 -0
  1282. data/test/public/javascripts/tiny_mce/plugins/paste/langs/sk_dlg.js +5 -0
  1283. data/test/public/javascripts/tiny_mce/plugins/paste/langs/sl_dlg.js +5 -0
  1284. data/test/public/javascripts/tiny_mce/plugins/paste/langs/sq_dlg.js +5 -0
  1285. data/test/public/javascripts/tiny_mce/plugins/paste/langs/sr_dlg.js +5 -0
  1286. data/test/public/javascripts/tiny_mce/plugins/paste/langs/sv_dlg.js +5 -0
  1287. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ta_dlg.js +5 -0
  1288. data/test/public/javascripts/tiny_mce/plugins/paste/langs/te_dlg.js +5 -0
  1289. data/test/public/javascripts/tiny_mce/plugins/paste/langs/th_dlg.js +5 -0
  1290. data/test/public/javascripts/tiny_mce/plugins/paste/langs/tr_dlg.js +5 -0
  1291. data/test/public/javascripts/tiny_mce/plugins/paste/langs/tt_dlg.js +5 -0
  1292. data/test/public/javascripts/tiny_mce/plugins/paste/langs/tw_dlg.js +5 -0
  1293. data/test/public/javascripts/tiny_mce/plugins/paste/langs/uk_dlg.js +5 -0
  1294. data/test/public/javascripts/tiny_mce/plugins/paste/langs/ur_dlg.js +5 -0
  1295. data/test/public/javascripts/tiny_mce/plugins/paste/langs/vi_dlg.js +5 -0
  1296. data/test/public/javascripts/tiny_mce/plugins/paste/langs/zh_dlg.js +5 -0
  1297. data/test/public/javascripts/tiny_mce/plugins/paste/langs/zu_dlg.js +5 -0
  1298. data/test/public/javascripts/tiny_mce/plugins/paste/pastetext.htm +27 -0
  1299. data/test/public/javascripts/tiny_mce/plugins/paste/pasteword.htm +21 -0
  1300. data/test/public/javascripts/tiny_mce/plugins/preview/editor_plugin.js +1 -0
  1301. data/test/public/javascripts/tiny_mce/plugins/preview/editor_plugin_src.js +53 -0
  1302. data/test/public/javascripts/tiny_mce/plugins/preview/example.html +28 -0
  1303. data/test/public/javascripts/tiny_mce/plugins/preview/jscripts/embed.js +73 -0
  1304. data/test/public/javascripts/tiny_mce/plugins/preview/preview.html +17 -0
  1305. data/test/public/javascripts/tiny_mce/plugins/print/editor_plugin.js +1 -0
  1306. data/test/public/javascripts/tiny_mce/plugins/print/editor_plugin_src.js +34 -0
  1307. data/test/public/javascripts/tiny_mce/plugins/save/editor_plugin.js +1 -0
  1308. data/test/public/javascripts/tiny_mce/plugins/save/editor_plugin_src.js +101 -0
  1309. data/test/public/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +6 -0
  1310. data/test/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -0
  1311. data/test/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +57 -0
  1312. data/test/public/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +130 -0
  1313. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ar_dlg.js +16 -0
  1314. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/az_dlg.js +16 -0
  1315. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/be_dlg.js +16 -0
  1316. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/bg_dlg.js +16 -0
  1317. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/bn_dlg.js +16 -0
  1318. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/br_dlg.js +16 -0
  1319. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/bs_dlg.js +16 -0
  1320. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ca_dlg.js +16 -0
  1321. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ch_dlg.js +16 -0
  1322. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/cs_dlg.js +16 -0
  1323. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/cy_dlg.js +16 -0
  1324. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/da_dlg.js +16 -0
  1325. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/de_dlg.js +16 -0
  1326. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/dv_dlg.js +16 -0
  1327. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/el_dlg.js +16 -0
  1328. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +16 -0
  1329. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/es_dlg.js +16 -0
  1330. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/et_dlg.js +16 -0
  1331. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/fa_dlg.js +16 -0
  1332. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/fi_dlg.js +16 -0
  1333. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/fr_dlg.js +16 -0
  1334. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/gl_dlg.js +16 -0
  1335. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/gu_dlg.js +16 -0
  1336. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/he_dlg.js +16 -0
  1337. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hi_dlg.js +16 -0
  1338. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hr_dlg.js +16 -0
  1339. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hu_dlg.js +16 -0
  1340. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hy_dlg.js +16 -0
  1341. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ia_dlg.js +16 -0
  1342. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/id_dlg.js +16 -0
  1343. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ii_dlg.js +16 -0
  1344. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/is_dlg.js +16 -0
  1345. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js +16 -0
  1346. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ja_dlg.js +16 -0
  1347. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ka_dlg.js +16 -0
  1348. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/kl_dlg.js +16 -0
  1349. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ko_dlg.js +16 -0
  1350. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/lb_dlg.js +16 -0
  1351. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/lt_dlg.js +16 -0
  1352. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/lv_dlg.js +16 -0
  1353. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/mk_dlg.js +16 -0
  1354. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ml_dlg.js +16 -0
  1355. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/mn_dlg.js +16 -0
  1356. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ms_dlg.js +16 -0
  1357. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/nb_dlg.js +16 -0
  1358. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/nl_dlg.js +16 -0
  1359. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/nn_dlg.js +16 -0
  1360. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/no_dlg.js +16 -0
  1361. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/pl_dlg.js +16 -0
  1362. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ps_dlg.js +16 -0
  1363. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/pt_dlg.js +16 -0
  1364. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ro_dlg.js +16 -0
  1365. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ru_dlg.js +16 -0
  1366. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sc_dlg.js +16 -0
  1367. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/se_dlg.js +16 -0
  1368. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/si_dlg.js +16 -0
  1369. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sk_dlg.js +16 -0
  1370. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sl_dlg.js +16 -0
  1371. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sq_dlg.js +16 -0
  1372. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sr_dlg.js +16 -0
  1373. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sv_dlg.js +16 -0
  1374. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ta_dlg.js +16 -0
  1375. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/te_dlg.js +16 -0
  1376. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/th_dlg.js +16 -0
  1377. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/tr_dlg.js +16 -0
  1378. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/tt_dlg.js +16 -0
  1379. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/tw_dlg.js +16 -0
  1380. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/uk_dlg.js +16 -0
  1381. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ur_dlg.js +16 -0
  1382. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/vi_dlg.js +16 -0
  1383. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/zh_dlg.js +16 -0
  1384. data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/zu_dlg.js +16 -0
  1385. data/test/public/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm +99 -0
  1386. data/test/public/javascripts/tiny_mce/plugins/spellchecker/css/content.css +1 -0
  1387. data/test/public/javascripts/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -0
  1388. data/test/public/javascripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +415 -0
  1389. data/test/public/javascripts/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
  1390. data/test/public/javascripts/tiny_mce/plugins/style/css/props.css +13 -0
  1391. data/test/public/javascripts/tiny_mce/plugins/style/editor_plugin.js +1 -0
  1392. data/test/public/javascripts/tiny_mce/plugins/style/editor_plugin_src.js +55 -0
  1393. data/test/public/javascripts/tiny_mce/plugins/style/js/props.js +641 -0
  1394. data/test/public/javascripts/tiny_mce/plugins/style/langs/ar_dlg.js +63 -0
  1395. data/test/public/javascripts/tiny_mce/plugins/style/langs/az_dlg.js +63 -0
  1396. data/test/public/javascripts/tiny_mce/plugins/style/langs/be_dlg.js +63 -0
  1397. data/test/public/javascripts/tiny_mce/plugins/style/langs/bg_dlg.js +63 -0
  1398. data/test/public/javascripts/tiny_mce/plugins/style/langs/bn_dlg.js +63 -0
  1399. data/test/public/javascripts/tiny_mce/plugins/style/langs/br_dlg.js +63 -0
  1400. data/test/public/javascripts/tiny_mce/plugins/style/langs/bs_dlg.js +63 -0
  1401. data/test/public/javascripts/tiny_mce/plugins/style/langs/ca_dlg.js +63 -0
  1402. data/test/public/javascripts/tiny_mce/plugins/style/langs/ch_dlg.js +63 -0
  1403. data/test/public/javascripts/tiny_mce/plugins/style/langs/cs_dlg.js +63 -0
  1404. data/test/public/javascripts/tiny_mce/plugins/style/langs/cy_dlg.js +63 -0
  1405. data/test/public/javascripts/tiny_mce/plugins/style/langs/da_dlg.js +63 -0
  1406. data/test/public/javascripts/tiny_mce/plugins/style/langs/de_dlg.js +63 -0
  1407. data/test/public/javascripts/tiny_mce/plugins/style/langs/dv_dlg.js +63 -0
  1408. data/test/public/javascripts/tiny_mce/plugins/style/langs/el_dlg.js +63 -0
  1409. data/test/public/javascripts/tiny_mce/plugins/style/langs/en_dlg.js +63 -0
  1410. data/test/public/javascripts/tiny_mce/plugins/style/langs/es_dlg.js +63 -0
  1411. data/test/public/javascripts/tiny_mce/plugins/style/langs/et_dlg.js +63 -0
  1412. data/test/public/javascripts/tiny_mce/plugins/style/langs/fa_dlg.js +63 -0
  1413. data/test/public/javascripts/tiny_mce/plugins/style/langs/fi_dlg.js +63 -0
  1414. data/test/public/javascripts/tiny_mce/plugins/style/langs/fr_dlg.js +63 -0
  1415. data/test/public/javascripts/tiny_mce/plugins/style/langs/gl_dlg.js +63 -0
  1416. data/test/public/javascripts/tiny_mce/plugins/style/langs/gu_dlg.js +63 -0
  1417. data/test/public/javascripts/tiny_mce/plugins/style/langs/he_dlg.js +63 -0
  1418. data/test/public/javascripts/tiny_mce/plugins/style/langs/hi_dlg.js +63 -0
  1419. data/test/public/javascripts/tiny_mce/plugins/style/langs/hr_dlg.js +63 -0
  1420. data/test/public/javascripts/tiny_mce/plugins/style/langs/hu_dlg.js +63 -0
  1421. data/test/public/javascripts/tiny_mce/plugins/style/langs/hy_dlg.js +63 -0
  1422. data/test/public/javascripts/tiny_mce/plugins/style/langs/ia_dlg.js +63 -0
  1423. data/test/public/javascripts/tiny_mce/plugins/style/langs/id_dlg.js +63 -0
  1424. data/test/public/javascripts/tiny_mce/plugins/style/langs/ii_dlg.js +63 -0
  1425. data/test/public/javascripts/tiny_mce/plugins/style/langs/is_dlg.js +63 -0
  1426. data/test/public/javascripts/tiny_mce/plugins/style/langs/it_dlg.js +63 -0
  1427. data/test/public/javascripts/tiny_mce/plugins/style/langs/ja_dlg.js +63 -0
  1428. data/test/public/javascripts/tiny_mce/plugins/style/langs/ka_dlg.js +63 -0
  1429. data/test/public/javascripts/tiny_mce/plugins/style/langs/kl_dlg.js +63 -0
  1430. data/test/public/javascripts/tiny_mce/plugins/style/langs/ko_dlg.js +63 -0
  1431. data/test/public/javascripts/tiny_mce/plugins/style/langs/lb_dlg.js +63 -0
  1432. data/test/public/javascripts/tiny_mce/plugins/style/langs/lt_dlg.js +63 -0
  1433. data/test/public/javascripts/tiny_mce/plugins/style/langs/lv_dlg.js +63 -0
  1434. data/test/public/javascripts/tiny_mce/plugins/style/langs/mk_dlg.js +63 -0
  1435. data/test/public/javascripts/tiny_mce/plugins/style/langs/ml_dlg.js +63 -0
  1436. data/test/public/javascripts/tiny_mce/plugins/style/langs/mn_dlg.js +63 -0
  1437. data/test/public/javascripts/tiny_mce/plugins/style/langs/ms_dlg.js +63 -0
  1438. data/test/public/javascripts/tiny_mce/plugins/style/langs/nb_dlg.js +63 -0
  1439. data/test/public/javascripts/tiny_mce/plugins/style/langs/nl_dlg.js +63 -0
  1440. data/test/public/javascripts/tiny_mce/plugins/style/langs/nn_dlg.js +63 -0
  1441. data/test/public/javascripts/tiny_mce/plugins/style/langs/no_dlg.js +63 -0
  1442. data/test/public/javascripts/tiny_mce/plugins/style/langs/pl_dlg.js +63 -0
  1443. data/test/public/javascripts/tiny_mce/plugins/style/langs/ps_dlg.js +63 -0
  1444. data/test/public/javascripts/tiny_mce/plugins/style/langs/pt_dlg.js +63 -0
  1445. data/test/public/javascripts/tiny_mce/plugins/style/langs/ro_dlg.js +63 -0
  1446. data/test/public/javascripts/tiny_mce/plugins/style/langs/ru_dlg.js +63 -0
  1447. data/test/public/javascripts/tiny_mce/plugins/style/langs/sc_dlg.js +63 -0
  1448. data/test/public/javascripts/tiny_mce/plugins/style/langs/se_dlg.js +63 -0
  1449. data/test/public/javascripts/tiny_mce/plugins/style/langs/si_dlg.js +63 -0
  1450. data/test/public/javascripts/tiny_mce/plugins/style/langs/sk_dlg.js +63 -0
  1451. data/test/public/javascripts/tiny_mce/plugins/style/langs/sl_dlg.js +63 -0
  1452. data/test/public/javascripts/tiny_mce/plugins/style/langs/sq_dlg.js +63 -0
  1453. data/test/public/javascripts/tiny_mce/plugins/style/langs/sr_dlg.js +63 -0
  1454. data/test/public/javascripts/tiny_mce/plugins/style/langs/sv_dlg.js +63 -0
  1455. data/test/public/javascripts/tiny_mce/plugins/style/langs/ta_dlg.js +63 -0
  1456. data/test/public/javascripts/tiny_mce/plugins/style/langs/te_dlg.js +63 -0
  1457. data/test/public/javascripts/tiny_mce/plugins/style/langs/th_dlg.js +63 -0
  1458. data/test/public/javascripts/tiny_mce/plugins/style/langs/tr_dlg.js +63 -0
  1459. data/test/public/javascripts/tiny_mce/plugins/style/langs/tt_dlg.js +63 -0
  1460. data/test/public/javascripts/tiny_mce/plugins/style/langs/tw_dlg.js +63 -0
  1461. data/test/public/javascripts/tiny_mce/plugins/style/langs/uk_dlg.js +63 -0
  1462. data/test/public/javascripts/tiny_mce/plugins/style/langs/ur_dlg.js +63 -0
  1463. data/test/public/javascripts/tiny_mce/plugins/style/langs/vi_dlg.js +63 -0
  1464. data/test/public/javascripts/tiny_mce/plugins/style/langs/zh_dlg.js +63 -0
  1465. data/test/public/javascripts/tiny_mce/plugins/style/langs/zu_dlg.js +63 -0
  1466. data/test/public/javascripts/tiny_mce/plugins/style/props.htm +723 -0
  1467. data/test/public/javascripts/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -0
  1468. data/test/public/javascripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js +112 -0
  1469. data/test/public/javascripts/tiny_mce/plugins/table/cell.htm +178 -0
  1470. data/test/public/javascripts/tiny_mce/plugins/table/css/cell.css +17 -0
  1471. data/test/public/javascripts/tiny_mce/plugins/table/css/row.css +25 -0
  1472. data/test/public/javascripts/tiny_mce/plugins/table/css/table.css +13 -0
  1473. data/test/public/javascripts/tiny_mce/plugins/table/editor_plugin.js +1 -0
  1474. data/test/public/javascripts/tiny_mce/plugins/table/editor_plugin_src.js +1125 -0
  1475. data/test/public/javascripts/tiny_mce/plugins/table/js/cell.js +286 -0
  1476. data/test/public/javascripts/tiny_mce/plugins/table/js/merge_cells.js +27 -0
  1477. data/test/public/javascripts/tiny_mce/plugins/table/js/row.js +237 -0
  1478. data/test/public/javascripts/tiny_mce/plugins/table/js/table.js +449 -0
  1479. data/test/public/javascripts/tiny_mce/plugins/table/langs/ar_dlg.js +74 -0
  1480. data/test/public/javascripts/tiny_mce/plugins/table/langs/az_dlg.js +74 -0
  1481. data/test/public/javascripts/tiny_mce/plugins/table/langs/be_dlg.js +74 -0
  1482. data/test/public/javascripts/tiny_mce/plugins/table/langs/bg_dlg.js +74 -0
  1483. data/test/public/javascripts/tiny_mce/plugins/table/langs/bn_dlg.js +74 -0
  1484. data/test/public/javascripts/tiny_mce/plugins/table/langs/br_dlg.js +74 -0
  1485. data/test/public/javascripts/tiny_mce/plugins/table/langs/bs_dlg.js +74 -0
  1486. data/test/public/javascripts/tiny_mce/plugins/table/langs/ca_dlg.js +74 -0
  1487. data/test/public/javascripts/tiny_mce/plugins/table/langs/ch_dlg.js +74 -0
  1488. data/test/public/javascripts/tiny_mce/plugins/table/langs/cs_dlg.js +74 -0
  1489. data/test/public/javascripts/tiny_mce/plugins/table/langs/cy_dlg.js +74 -0
  1490. data/test/public/javascripts/tiny_mce/plugins/table/langs/da_dlg.js +74 -0
  1491. data/test/public/javascripts/tiny_mce/plugins/table/langs/de_dlg.js +74 -0
  1492. data/test/public/javascripts/tiny_mce/plugins/table/langs/dv_dlg.js +74 -0
  1493. data/test/public/javascripts/tiny_mce/plugins/table/langs/el_dlg.js +74 -0
  1494. data/test/public/javascripts/tiny_mce/plugins/table/langs/en_dlg.js +74 -0
  1495. data/test/public/javascripts/tiny_mce/plugins/table/langs/es_dlg.js +74 -0
  1496. data/test/public/javascripts/tiny_mce/plugins/table/langs/et_dlg.js +74 -0
  1497. data/test/public/javascripts/tiny_mce/plugins/table/langs/fa_dlg.js +74 -0
  1498. data/test/public/javascripts/tiny_mce/plugins/table/langs/fi_dlg.js +74 -0
  1499. data/test/public/javascripts/tiny_mce/plugins/table/langs/fr_dlg.js +74 -0
  1500. data/test/public/javascripts/tiny_mce/plugins/table/langs/gl_dlg.js +74 -0
  1501. data/test/public/javascripts/tiny_mce/plugins/table/langs/gu_dlg.js +74 -0
  1502. data/test/public/javascripts/tiny_mce/plugins/table/langs/he_dlg.js +74 -0
  1503. data/test/public/javascripts/tiny_mce/plugins/table/langs/hi_dlg.js +74 -0
  1504. data/test/public/javascripts/tiny_mce/plugins/table/langs/hr_dlg.js +74 -0
  1505. data/test/public/javascripts/tiny_mce/plugins/table/langs/hu_dlg.js +74 -0
  1506. data/test/public/javascripts/tiny_mce/plugins/table/langs/hy_dlg.js +74 -0
  1507. data/test/public/javascripts/tiny_mce/plugins/table/langs/ia_dlg.js +74 -0
  1508. data/test/public/javascripts/tiny_mce/plugins/table/langs/id_dlg.js +74 -0
  1509. data/test/public/javascripts/tiny_mce/plugins/table/langs/ii_dlg.js +74 -0
  1510. data/test/public/javascripts/tiny_mce/plugins/table/langs/is_dlg.js +74 -0
  1511. data/test/public/javascripts/tiny_mce/plugins/table/langs/it_dlg.js +74 -0
  1512. data/test/public/javascripts/tiny_mce/plugins/table/langs/ja_dlg.js +74 -0
  1513. data/test/public/javascripts/tiny_mce/plugins/table/langs/ka_dlg.js +74 -0
  1514. data/test/public/javascripts/tiny_mce/plugins/table/langs/kl_dlg.js +74 -0
  1515. data/test/public/javascripts/tiny_mce/plugins/table/langs/ko_dlg.js +74 -0
  1516. data/test/public/javascripts/tiny_mce/plugins/table/langs/lb_dlg.js +74 -0
  1517. data/test/public/javascripts/tiny_mce/plugins/table/langs/lt_dlg.js +74 -0
  1518. data/test/public/javascripts/tiny_mce/plugins/table/langs/lv_dlg.js +74 -0
  1519. data/test/public/javascripts/tiny_mce/plugins/table/langs/mk_dlg.js +74 -0
  1520. data/test/public/javascripts/tiny_mce/plugins/table/langs/ml_dlg.js +74 -0
  1521. data/test/public/javascripts/tiny_mce/plugins/table/langs/mn_dlg.js +74 -0
  1522. data/test/public/javascripts/tiny_mce/plugins/table/langs/ms_dlg.js +74 -0
  1523. data/test/public/javascripts/tiny_mce/plugins/table/langs/nb_dlg.js +74 -0
  1524. data/test/public/javascripts/tiny_mce/plugins/table/langs/nl_dlg.js +74 -0
  1525. data/test/public/javascripts/tiny_mce/plugins/table/langs/nn_dlg.js +74 -0
  1526. data/test/public/javascripts/tiny_mce/plugins/table/langs/no_dlg.js +74 -0
  1527. data/test/public/javascripts/tiny_mce/plugins/table/langs/pl_dlg.js +74 -0
  1528. data/test/public/javascripts/tiny_mce/plugins/table/langs/ps_dlg.js +74 -0
  1529. data/test/public/javascripts/tiny_mce/plugins/table/langs/pt_dlg.js +74 -0
  1530. data/test/public/javascripts/tiny_mce/plugins/table/langs/ro_dlg.js +74 -0
  1531. data/test/public/javascripts/tiny_mce/plugins/table/langs/ru_dlg.js +74 -0
  1532. data/test/public/javascripts/tiny_mce/plugins/table/langs/sc_dlg.js +74 -0
  1533. data/test/public/javascripts/tiny_mce/plugins/table/langs/se_dlg.js +73 -0
  1534. data/test/public/javascripts/tiny_mce/plugins/table/langs/si_dlg.js +74 -0
  1535. data/test/public/javascripts/tiny_mce/plugins/table/langs/sk_dlg.js +74 -0
  1536. data/test/public/javascripts/tiny_mce/plugins/table/langs/sl_dlg.js +74 -0
  1537. data/test/public/javascripts/tiny_mce/plugins/table/langs/sq_dlg.js +74 -0
  1538. data/test/public/javascripts/tiny_mce/plugins/table/langs/sr_dlg.js +74 -0
  1539. data/test/public/javascripts/tiny_mce/plugins/table/langs/sv_dlg.js +73 -0
  1540. data/test/public/javascripts/tiny_mce/plugins/table/langs/ta_dlg.js +74 -0
  1541. data/test/public/javascripts/tiny_mce/plugins/table/langs/te_dlg.js +74 -0
  1542. data/test/public/javascripts/tiny_mce/plugins/table/langs/th_dlg.js +74 -0
  1543. data/test/public/javascripts/tiny_mce/plugins/table/langs/tr_dlg.js +74 -0
  1544. data/test/public/javascripts/tiny_mce/plugins/table/langs/tt_dlg.js +74 -0
  1545. data/test/public/javascripts/tiny_mce/plugins/table/langs/tw_dlg.js +74 -0
  1546. data/test/public/javascripts/tiny_mce/plugins/table/langs/uk_dlg.js +74 -0
  1547. data/test/public/javascripts/tiny_mce/plugins/table/langs/ur_dlg.js +74 -0
  1548. data/test/public/javascripts/tiny_mce/plugins/table/langs/vi_dlg.js +74 -0
  1549. data/test/public/javascripts/tiny_mce/plugins/table/langs/zh_dlg.js +74 -0
  1550. data/test/public/javascripts/tiny_mce/plugins/table/langs/zu_dlg.js +74 -0
  1551. data/test/public/javascripts/tiny_mce/plugins/table/merge_cells.htm +32 -0
  1552. data/test/public/javascripts/tiny_mce/plugins/table/row.htm +155 -0
  1553. data/test/public/javascripts/tiny_mce/plugins/table/table.htm +187 -0
  1554. data/test/public/javascripts/tiny_mce/plugins/template/blank.htm +12 -0
  1555. data/test/public/javascripts/tiny_mce/plugins/template/css/template.css +23 -0
  1556. data/test/public/javascripts/tiny_mce/plugins/template/editor_plugin.js +1 -0
  1557. data/test/public/javascripts/tiny_mce/plugins/template/editor_plugin_src.js +159 -0
  1558. data/test/public/javascripts/tiny_mce/plugins/template/js/template.js +106 -0
  1559. data/test/public/javascripts/tiny_mce/plugins/template/langs/ar_dlg.js +15 -0
  1560. data/test/public/javascripts/tiny_mce/plugins/template/langs/az_dlg.js +15 -0
  1561. data/test/public/javascripts/tiny_mce/plugins/template/langs/be_dlg.js +15 -0
  1562. data/test/public/javascripts/tiny_mce/plugins/template/langs/bg_dlg.js +15 -0
  1563. data/test/public/javascripts/tiny_mce/plugins/template/langs/bn_dlg.js +15 -0
  1564. data/test/public/javascripts/tiny_mce/plugins/template/langs/br_dlg.js +15 -0
  1565. data/test/public/javascripts/tiny_mce/plugins/template/langs/bs_dlg.js +15 -0
  1566. data/test/public/javascripts/tiny_mce/plugins/template/langs/ca_dlg.js +15 -0
  1567. data/test/public/javascripts/tiny_mce/plugins/template/langs/ch_dlg.js +15 -0
  1568. data/test/public/javascripts/tiny_mce/plugins/template/langs/cs_dlg.js +15 -0
  1569. data/test/public/javascripts/tiny_mce/plugins/template/langs/cy_dlg.js +15 -0
  1570. data/test/public/javascripts/tiny_mce/plugins/template/langs/da_dlg.js +15 -0
  1571. data/test/public/javascripts/tiny_mce/plugins/template/langs/de_dlg.js +15 -0
  1572. data/test/public/javascripts/tiny_mce/plugins/template/langs/dv_dlg.js +15 -0
  1573. data/test/public/javascripts/tiny_mce/plugins/template/langs/el_dlg.js +15 -0
  1574. data/test/public/javascripts/tiny_mce/plugins/template/langs/en_dlg.js +15 -0
  1575. data/test/public/javascripts/tiny_mce/plugins/template/langs/es_dlg.js +15 -0
  1576. data/test/public/javascripts/tiny_mce/plugins/template/langs/et_dlg.js +15 -0
  1577. data/test/public/javascripts/tiny_mce/plugins/template/langs/fa_dlg.js +15 -0
  1578. data/test/public/javascripts/tiny_mce/plugins/template/langs/fi_dlg.js +15 -0
  1579. data/test/public/javascripts/tiny_mce/plugins/template/langs/fr_dlg.js +15 -0
  1580. data/test/public/javascripts/tiny_mce/plugins/template/langs/gl_dlg.js +15 -0
  1581. data/test/public/javascripts/tiny_mce/plugins/template/langs/gu_dlg.js +15 -0
  1582. data/test/public/javascripts/tiny_mce/plugins/template/langs/he_dlg.js +15 -0
  1583. data/test/public/javascripts/tiny_mce/plugins/template/langs/hi_dlg.js +15 -0
  1584. data/test/public/javascripts/tiny_mce/plugins/template/langs/hr_dlg.js +15 -0
  1585. data/test/public/javascripts/tiny_mce/plugins/template/langs/hu_dlg.js +15 -0
  1586. data/test/public/javascripts/tiny_mce/plugins/template/langs/hy_dlg.js +15 -0
  1587. data/test/public/javascripts/tiny_mce/plugins/template/langs/ia_dlg.js +15 -0
  1588. data/test/public/javascripts/tiny_mce/plugins/template/langs/id_dlg.js +15 -0
  1589. data/test/public/javascripts/tiny_mce/plugins/template/langs/ii_dlg.js +15 -0
  1590. data/test/public/javascripts/tiny_mce/plugins/template/langs/is_dlg.js +15 -0
  1591. data/test/public/javascripts/tiny_mce/plugins/template/langs/it_dlg.js +15 -0
  1592. data/test/public/javascripts/tiny_mce/plugins/template/langs/ja_dlg.js +15 -0
  1593. data/test/public/javascripts/tiny_mce/plugins/template/langs/ka_dlg.js +15 -0
  1594. data/test/public/javascripts/tiny_mce/plugins/template/langs/kl_dlg.js +15 -0
  1595. data/test/public/javascripts/tiny_mce/plugins/template/langs/ko_dlg.js +15 -0
  1596. data/test/public/javascripts/tiny_mce/plugins/template/langs/lb_dlg.js +15 -0
  1597. data/test/public/javascripts/tiny_mce/plugins/template/langs/lt_dlg.js +15 -0
  1598. data/test/public/javascripts/tiny_mce/plugins/template/langs/lv_dlg.js +15 -0
  1599. data/test/public/javascripts/tiny_mce/plugins/template/langs/mk_dlg.js +15 -0
  1600. data/test/public/javascripts/tiny_mce/plugins/template/langs/ml_dlg.js +15 -0
  1601. data/test/public/javascripts/tiny_mce/plugins/template/langs/mn_dlg.js +15 -0
  1602. data/test/public/javascripts/tiny_mce/plugins/template/langs/ms_dlg.js +15 -0
  1603. data/test/public/javascripts/tiny_mce/plugins/template/langs/nb_dlg.js +15 -0
  1604. data/test/public/javascripts/tiny_mce/plugins/template/langs/nl_dlg.js +15 -0
  1605. data/test/public/javascripts/tiny_mce/plugins/template/langs/nn_dlg.js +15 -0
  1606. data/test/public/javascripts/tiny_mce/plugins/template/langs/no_dlg.js +15 -0
  1607. data/test/public/javascripts/tiny_mce/plugins/template/langs/pl_dlg.js +15 -0
  1608. data/test/public/javascripts/tiny_mce/plugins/template/langs/ps_dlg.js +15 -0
  1609. data/test/public/javascripts/tiny_mce/plugins/template/langs/pt_dlg.js +15 -0
  1610. data/test/public/javascripts/tiny_mce/plugins/template/langs/ro_dlg.js +15 -0
  1611. data/test/public/javascripts/tiny_mce/plugins/template/langs/ru_dlg.js +15 -0
  1612. data/test/public/javascripts/tiny_mce/plugins/template/langs/sc_dlg.js +15 -0
  1613. data/test/public/javascripts/tiny_mce/plugins/template/langs/se_dlg.js +15 -0
  1614. data/test/public/javascripts/tiny_mce/plugins/template/langs/si_dlg.js +15 -0
  1615. data/test/public/javascripts/tiny_mce/plugins/template/langs/sk_dlg.js +15 -0
  1616. data/test/public/javascripts/tiny_mce/plugins/template/langs/sl_dlg.js +15 -0
  1617. data/test/public/javascripts/tiny_mce/plugins/template/langs/sq_dlg.js +15 -0
  1618. data/test/public/javascripts/tiny_mce/plugins/template/langs/sr_dlg.js +15 -0
  1619. data/test/public/javascripts/tiny_mce/plugins/template/langs/sv_dlg.js +15 -0
  1620. data/test/public/javascripts/tiny_mce/plugins/template/langs/ta_dlg.js +15 -0
  1621. data/test/public/javascripts/tiny_mce/plugins/template/langs/te_dlg.js +15 -0
  1622. data/test/public/javascripts/tiny_mce/plugins/template/langs/th_dlg.js +15 -0
  1623. data/test/public/javascripts/tiny_mce/plugins/template/langs/tr_dlg.js +15 -0
  1624. data/test/public/javascripts/tiny_mce/plugins/template/langs/tt_dlg.js +15 -0
  1625. data/test/public/javascripts/tiny_mce/plugins/template/langs/tw_dlg.js +15 -0
  1626. data/test/public/javascripts/tiny_mce/plugins/template/langs/uk_dlg.js +15 -0
  1627. data/test/public/javascripts/tiny_mce/plugins/template/langs/ur_dlg.js +15 -0
  1628. data/test/public/javascripts/tiny_mce/plugins/template/langs/vi_dlg.js +15 -0
  1629. data/test/public/javascripts/tiny_mce/plugins/template/langs/zh_dlg.js +15 -0
  1630. data/test/public/javascripts/tiny_mce/plugins/template/langs/zu_dlg.js +15 -0
  1631. data/test/public/javascripts/tiny_mce/plugins/template/template.htm +31 -0
  1632. data/test/public/javascripts/tiny_mce/plugins/visualchars/editor_plugin.js +1 -0
  1633. data/test/public/javascripts/tiny_mce/plugins/visualchars/editor_plugin_src.js +76 -0
  1634. data/test/public/javascripts/tiny_mce/plugins/wordcount/editor_plugin.js +1 -0
  1635. data/test/public/javascripts/tiny_mce/plugins/wordcount/editor_plugin_src.js +98 -0
  1636. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +141 -0
  1637. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +141 -0
  1638. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +148 -0
  1639. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/cite.htm +141 -0
  1640. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +11 -0
  1641. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +9 -0
  1642. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/del.htm +161 -0
  1643. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -0
  1644. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +144 -0
  1645. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/ins.htm +161 -0
  1646. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +28 -0
  1647. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +28 -0
  1648. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +126 -0
  1649. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +28 -0
  1650. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/del.js +63 -0
  1651. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +231 -0
  1652. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +62 -0
  1653. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ar_dlg.js +32 -0
  1654. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/az_dlg.js +32 -0
  1655. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/be_dlg.js +32 -0
  1656. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/bg_dlg.js +32 -0
  1657. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/bn_dlg.js +32 -0
  1658. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/br_dlg.js +32 -0
  1659. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/bs_dlg.js +32 -0
  1660. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ca_dlg.js +32 -0
  1661. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ch_dlg.js +32 -0
  1662. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cs_dlg.js +32 -0
  1663. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cy_dlg.js +32 -0
  1664. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/da_dlg.js +32 -0
  1665. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +32 -0
  1666. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/dv_dlg.js +32 -0
  1667. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/el_dlg.js +32 -0
  1668. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
  1669. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/es_dlg.js +32 -0
  1670. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/et_dlg.js +32 -0
  1671. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/fa_dlg.js +32 -0
  1672. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/fi_dlg.js +32 -0
  1673. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/fr_dlg.js +32 -0
  1674. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/gl_dlg.js +32 -0
  1675. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/gu_dlg.js +32 -0
  1676. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/he_dlg.js +32 -0
  1677. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hi_dlg.js +32 -0
  1678. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hr_dlg.js +32 -0
  1679. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js +32 -0
  1680. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hy_dlg.js +32 -0
  1681. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ia_dlg.js +32 -0
  1682. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/id_dlg.js +32 -0
  1683. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ii_dlg.js +32 -0
  1684. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/is_dlg.js +32 -0
  1685. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/it_dlg.js +32 -0
  1686. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js +32 -0
  1687. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ka_dlg.js +32 -0
  1688. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/kl_dlg.js +32 -0
  1689. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ko_dlg.js +32 -0
  1690. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/lb_dlg.js +32 -0
  1691. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/lt_dlg.js +32 -0
  1692. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/lv_dlg.js +32 -0
  1693. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/mk_dlg.js +32 -0
  1694. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ml_dlg.js +32 -0
  1695. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/mn_dlg.js +32 -0
  1696. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ms_dlg.js +32 -0
  1697. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/nb_dlg.js +32 -0
  1698. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/nl_dlg.js +32 -0
  1699. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/nn_dlg.js +32 -0
  1700. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/no_dlg.js +32 -0
  1701. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pl_dlg.js +32 -0
  1702. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ps_dlg.js +32 -0
  1703. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pt_dlg.js +32 -0
  1704. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ro_dlg.js +32 -0
  1705. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ru_dlg.js +32 -0
  1706. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sc_dlg.js +32 -0
  1707. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/se_dlg.js +32 -0
  1708. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/si_dlg.js +32 -0
  1709. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sk_dlg.js +32 -0
  1710. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sl_dlg.js +32 -0
  1711. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sq_dlg.js +32 -0
  1712. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sr_dlg.js +32 -0
  1713. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sv_dlg.js +32 -0
  1714. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ta_dlg.js +32 -0
  1715. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/te_dlg.js +32 -0
  1716. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/th_dlg.js +32 -0
  1717. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/tr_dlg.js +32 -0
  1718. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/tt_dlg.js +32 -0
  1719. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/tw_dlg.js +32 -0
  1720. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/uk_dlg.js +32 -0
  1721. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ur_dlg.js +32 -0
  1722. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/vi_dlg.js +32 -0
  1723. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/zh_dlg.js +32 -0
  1724. data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/zu_dlg.js +32 -0
  1725. data/test/public/javascripts/tiny_mce/templates/bio.htm +31 -0
  1726. data/test/public/javascripts/tiny_mce/templates/country.htm +59 -0
  1727. data/test/public/javascripts/tiny_mce/templates/example.htm +14 -0
  1728. data/test/public/javascripts/tiny_mce/themes/advanced/about.htm +54 -0
  1729. data/test/public/javascripts/tiny_mce/themes/advanced/anchor.htm +26 -0
  1730. data/test/public/javascripts/tiny_mce/themes/advanced/charmap.htm +52 -0
  1731. data/test/public/javascripts/tiny_mce/themes/advanced/color_picker.htm +73 -0
  1732. data/test/public/javascripts/tiny_mce/themes/advanced/editor_template.js +1 -0
  1733. data/test/public/javascripts/tiny_mce/themes/advanced/editor_template_src.js +1176 -0
  1734. data/test/public/javascripts/tiny_mce/themes/advanced/image.htm +80 -0
  1735. data/test/public/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  1736. data/test/public/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
  1737. data/test/public/javascripts/tiny_mce/themes/advanced/js/about.js +72 -0
  1738. data/test/public/javascripts/tiny_mce/themes/advanced/js/anchor.js +37 -0
  1739. data/test/public/javascripts/tiny_mce/themes/advanced/js/charmap.js +335 -0
  1740. data/test/public/javascripts/tiny_mce/themes/advanced/js/color_picker.js +253 -0
  1741. data/test/public/javascripts/tiny_mce/themes/advanced/js/image.js +245 -0
  1742. data/test/public/javascripts/tiny_mce/themes/advanced/js/link.js +156 -0
  1743. data/test/public/javascripts/tiny_mce/themes/advanced/js/source_editor.js +62 -0
  1744. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ar.js +62 -0
  1745. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ar_dlg.js +51 -0
  1746. data/test/public/javascripts/tiny_mce/themes/advanced/langs/az.js +63 -0
  1747. data/test/public/javascripts/tiny_mce/themes/advanced/langs/az_dlg.js +51 -0
  1748. data/test/public/javascripts/tiny_mce/themes/advanced/langs/be.js +62 -0
  1749. data/test/public/javascripts/tiny_mce/themes/advanced/langs/be_dlg.js +51 -0
  1750. data/test/public/javascripts/tiny_mce/themes/advanced/langs/bg.js +62 -0
  1751. data/test/public/javascripts/tiny_mce/themes/advanced/langs/bg_dlg.js +51 -0
  1752. data/test/public/javascripts/tiny_mce/themes/advanced/langs/bn.js +62 -0
  1753. data/test/public/javascripts/tiny_mce/themes/advanced/langs/bn_dlg.js +51 -0
  1754. data/test/public/javascripts/tiny_mce/themes/advanced/langs/br.js +62 -0
  1755. data/test/public/javascripts/tiny_mce/themes/advanced/langs/br_dlg.js +51 -0
  1756. data/test/public/javascripts/tiny_mce/themes/advanced/langs/bs.js +62 -0
  1757. data/test/public/javascripts/tiny_mce/themes/advanced/langs/bs_dlg.js +51 -0
  1758. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ca.js +62 -0
  1759. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ca_dlg.js +51 -0
  1760. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ch.js +64 -0
  1761. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ch_dlg.js +51 -0
  1762. data/test/public/javascripts/tiny_mce/themes/advanced/langs/cs.js +62 -0
  1763. data/test/public/javascripts/tiny_mce/themes/advanced/langs/cs_dlg.js +51 -0
  1764. data/test/public/javascripts/tiny_mce/themes/advanced/langs/cy.js +62 -0
  1765. data/test/public/javascripts/tiny_mce/themes/advanced/langs/cy_dlg.js +51 -0
  1766. data/test/public/javascripts/tiny_mce/themes/advanced/langs/da.js +62 -0
  1767. data/test/public/javascripts/tiny_mce/themes/advanced/langs/da_dlg.js +51 -0
  1768. data/test/public/javascripts/tiny_mce/themes/advanced/langs/de.js +63 -0
  1769. data/test/public/javascripts/tiny_mce/themes/advanced/langs/de_dlg.js +51 -0
  1770. data/test/public/javascripts/tiny_mce/themes/advanced/langs/dv.js +62 -0
  1771. data/test/public/javascripts/tiny_mce/themes/advanced/langs/dv_dlg.js +51 -0
  1772. data/test/public/javascripts/tiny_mce/themes/advanced/langs/el.js +64 -0
  1773. data/test/public/javascripts/tiny_mce/themes/advanced/langs/el_dlg.js +51 -0
  1774. data/test/public/javascripts/tiny_mce/themes/advanced/langs/en.js +62 -0
  1775. data/test/public/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +51 -0
  1776. data/test/public/javascripts/tiny_mce/themes/advanced/langs/es.js +62 -0
  1777. data/test/public/javascripts/tiny_mce/themes/advanced/langs/es_dlg.js +51 -0
  1778. data/test/public/javascripts/tiny_mce/themes/advanced/langs/et.js +62 -0
  1779. data/test/public/javascripts/tiny_mce/themes/advanced/langs/et_dlg.js +51 -0
  1780. data/test/public/javascripts/tiny_mce/themes/advanced/langs/fa.js +62 -0
  1781. data/test/public/javascripts/tiny_mce/themes/advanced/langs/fa_dlg.js +51 -0
  1782. data/test/public/javascripts/tiny_mce/themes/advanced/langs/fi.js +62 -0
  1783. data/test/public/javascripts/tiny_mce/themes/advanced/langs/fi_dlg.js +51 -0
  1784. data/test/public/javascripts/tiny_mce/themes/advanced/langs/fr.js +62 -0
  1785. data/test/public/javascripts/tiny_mce/themes/advanced/langs/fr_dlg.js +51 -0
  1786. data/test/public/javascripts/tiny_mce/themes/advanced/langs/gl.js +62 -0
  1787. data/test/public/javascripts/tiny_mce/themes/advanced/langs/gl_dlg.js +51 -0
  1788. data/test/public/javascripts/tiny_mce/themes/advanced/langs/gu.js +62 -0
  1789. data/test/public/javascripts/tiny_mce/themes/advanced/langs/gu_dlg.js +51 -0
  1790. data/test/public/javascripts/tiny_mce/themes/advanced/langs/he.js +62 -0
  1791. data/test/public/javascripts/tiny_mce/themes/advanced/langs/he_dlg.js +51 -0
  1792. data/test/public/javascripts/tiny_mce/themes/advanced/langs/hi.js +62 -0
  1793. data/test/public/javascripts/tiny_mce/themes/advanced/langs/hi_dlg.js +51 -0
  1794. data/test/public/javascripts/tiny_mce/themes/advanced/langs/hr.js +62 -0
  1795. data/test/public/javascripts/tiny_mce/themes/advanced/langs/hr_dlg.js +51 -0
  1796. data/test/public/javascripts/tiny_mce/themes/advanced/langs/hu.js +62 -0
  1797. data/test/public/javascripts/tiny_mce/themes/advanced/langs/hu_dlg.js +51 -0
  1798. data/test/public/javascripts/tiny_mce/themes/advanced/langs/hy.js +62 -0
  1799. data/test/public/javascripts/tiny_mce/themes/advanced/langs/hy_dlg.js +51 -0
  1800. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ia.js +62 -0
  1801. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ia_dlg.js +51 -0
  1802. data/test/public/javascripts/tiny_mce/themes/advanced/langs/id.js +62 -0
  1803. data/test/public/javascripts/tiny_mce/themes/advanced/langs/id_dlg.js +51 -0
  1804. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ii.js +64 -0
  1805. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ii_dlg.js +51 -0
  1806. data/test/public/javascripts/tiny_mce/themes/advanced/langs/is.js +62 -0
  1807. data/test/public/javascripts/tiny_mce/themes/advanced/langs/is_dlg.js +51 -0
  1808. data/test/public/javascripts/tiny_mce/themes/advanced/langs/it.js +72 -0
  1809. data/test/public/javascripts/tiny_mce/themes/advanced/langs/it_dlg.js +51 -0
  1810. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ja.js +62 -0
  1811. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ja_dlg.js +51 -0
  1812. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ka.js +62 -0
  1813. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ka_dlg.js +51 -0
  1814. data/test/public/javascripts/tiny_mce/themes/advanced/langs/kl.js +62 -0
  1815. data/test/public/javascripts/tiny_mce/themes/advanced/langs/kl_dlg.js +51 -0
  1816. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ko.js +62 -0
  1817. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ko_dlg.js +51 -0
  1818. data/test/public/javascripts/tiny_mce/themes/advanced/langs/lb.js +63 -0
  1819. data/test/public/javascripts/tiny_mce/themes/advanced/langs/lb_dlg.js +51 -0
  1820. data/test/public/javascripts/tiny_mce/themes/advanced/langs/lt.js +63 -0
  1821. data/test/public/javascripts/tiny_mce/themes/advanced/langs/lt_dlg.js +51 -0
  1822. data/test/public/javascripts/tiny_mce/themes/advanced/langs/lv.js +62 -0
  1823. data/test/public/javascripts/tiny_mce/themes/advanced/langs/lv_dlg.js +51 -0
  1824. data/test/public/javascripts/tiny_mce/themes/advanced/langs/mk.js +62 -0
  1825. data/test/public/javascripts/tiny_mce/themes/advanced/langs/mk_dlg.js +51 -0
  1826. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ml.js +62 -0
  1827. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ml_dlg.js +51 -0
  1828. data/test/public/javascripts/tiny_mce/themes/advanced/langs/mn.js +62 -0
  1829. data/test/public/javascripts/tiny_mce/themes/advanced/langs/mn_dlg.js +51 -0
  1830. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ms.js +62 -0
  1831. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ms_dlg.js +51 -0
  1832. data/test/public/javascripts/tiny_mce/themes/advanced/langs/nb.js +62 -0
  1833. data/test/public/javascripts/tiny_mce/themes/advanced/langs/nb_dlg.js +51 -0
  1834. data/test/public/javascripts/tiny_mce/themes/advanced/langs/nl.js +62 -0
  1835. data/test/public/javascripts/tiny_mce/themes/advanced/langs/nl_dlg.js +51 -0
  1836. data/test/public/javascripts/tiny_mce/themes/advanced/langs/nn.js +62 -0
  1837. data/test/public/javascripts/tiny_mce/themes/advanced/langs/nn_dlg.js +51 -0
  1838. data/test/public/javascripts/tiny_mce/themes/advanced/langs/no.js +62 -0
  1839. data/test/public/javascripts/tiny_mce/themes/advanced/langs/no_dlg.js +51 -0
  1840. data/test/public/javascripts/tiny_mce/themes/advanced/langs/pl.js +62 -0
  1841. data/test/public/javascripts/tiny_mce/themes/advanced/langs/pl_dlg.js +51 -0
  1842. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ps.js +62 -0
  1843. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ps_dlg.js +51 -0
  1844. data/test/public/javascripts/tiny_mce/themes/advanced/langs/pt.js +62 -0
  1845. data/test/public/javascripts/tiny_mce/themes/advanced/langs/pt_dlg.js +51 -0
  1846. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ro.js +62 -0
  1847. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ro_dlg.js +51 -0
  1848. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ru.js +62 -0
  1849. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ru_dlg.js +51 -0
  1850. data/test/public/javascripts/tiny_mce/themes/advanced/langs/sc.js +64 -0
  1851. data/test/public/javascripts/tiny_mce/themes/advanced/langs/sc_dlg.js +51 -0
  1852. data/test/public/javascripts/tiny_mce/themes/advanced/langs/se.js +60 -0
  1853. data/test/public/javascripts/tiny_mce/themes/advanced/langs/se_dlg.js +51 -0
  1854. data/test/public/javascripts/tiny_mce/themes/advanced/langs/si.js +61 -0
  1855. data/test/public/javascripts/tiny_mce/themes/advanced/langs/si_dlg.js +51 -0
  1856. data/test/public/javascripts/tiny_mce/themes/advanced/langs/sk.js +62 -0
  1857. data/test/public/javascripts/tiny_mce/themes/advanced/langs/sk_dlg.js +51 -0
  1858. data/test/public/javascripts/tiny_mce/themes/advanced/langs/sl.js +62 -0
  1859. data/test/public/javascripts/tiny_mce/themes/advanced/langs/sl_dlg.js +51 -0
  1860. data/test/public/javascripts/tiny_mce/themes/advanced/langs/sq.js +62 -0
  1861. data/test/public/javascripts/tiny_mce/themes/advanced/langs/sq_dlg.js +51 -0
  1862. data/test/public/javascripts/tiny_mce/themes/advanced/langs/sr.js +62 -0
  1863. data/test/public/javascripts/tiny_mce/themes/advanced/langs/sr_dlg.js +51 -0
  1864. data/test/public/javascripts/tiny_mce/themes/advanced/langs/sv.js +60 -0
  1865. data/test/public/javascripts/tiny_mce/themes/advanced/langs/sv_dlg.js +51 -0
  1866. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ta.js +62 -0
  1867. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ta_dlg.js +51 -0
  1868. data/test/public/javascripts/tiny_mce/themes/advanced/langs/te.js +62 -0
  1869. data/test/public/javascripts/tiny_mce/themes/advanced/langs/te_dlg.js +51 -0
  1870. data/test/public/javascripts/tiny_mce/themes/advanced/langs/th.js +62 -0
  1871. data/test/public/javascripts/tiny_mce/themes/advanced/langs/th_dlg.js +51 -0
  1872. data/test/public/javascripts/tiny_mce/themes/advanced/langs/tr.js +62 -0
  1873. data/test/public/javascripts/tiny_mce/themes/advanced/langs/tr_dlg.js +51 -0
  1874. data/test/public/javascripts/tiny_mce/themes/advanced/langs/tt.js +62 -0
  1875. data/test/public/javascripts/tiny_mce/themes/advanced/langs/tt_dlg.js +51 -0
  1876. data/test/public/javascripts/tiny_mce/themes/advanced/langs/tw.js +64 -0
  1877. data/test/public/javascripts/tiny_mce/themes/advanced/langs/tw_dlg.js +51 -0
  1878. data/test/public/javascripts/tiny_mce/themes/advanced/langs/uk.js +62 -0
  1879. data/test/public/javascripts/tiny_mce/themes/advanced/langs/uk_dlg.js +51 -0
  1880. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ur.js +62 -0
  1881. data/test/public/javascripts/tiny_mce/themes/advanced/langs/ur_dlg.js +51 -0
  1882. data/test/public/javascripts/tiny_mce/themes/advanced/langs/vi.js +62 -0
  1883. data/test/public/javascripts/tiny_mce/themes/advanced/langs/vi_dlg.js +51 -0
  1884. data/test/public/javascripts/tiny_mce/themes/advanced/langs/zh.js +64 -0
  1885. data/test/public/javascripts/tiny_mce/themes/advanced/langs/zh_dlg.js +51 -0
  1886. data/test/public/javascripts/tiny_mce/themes/advanced/langs/zu.js +64 -0
  1887. data/test/public/javascripts/tiny_mce/themes/advanced/langs/zu_dlg.js +51 -0
  1888. data/test/public/javascripts/tiny_mce/themes/advanced/link.htm +58 -0
  1889. data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/content.css +35 -0
  1890. data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +117 -0
  1891. data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
  1892. data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
  1893. data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  1894. data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  1895. data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
  1896. data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
  1897. data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +213 -0
  1898. data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +35 -0
  1899. data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +116 -0
  1900. data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  1901. data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  1902. data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  1903. data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +215 -0
  1904. data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +8 -0
  1905. data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
  1906. data/test/public/javascripts/tiny_mce/themes/advanced/source_editor.htm +25 -0
  1907. data/test/public/javascripts/tiny_mce/themes/simple/editor_template.js +1 -0
  1908. data/test/public/javascripts/tiny_mce/themes/simple/editor_template_src.js +85 -0
  1909. data/test/public/javascripts/tiny_mce/themes/simple/img/icons.gif +0 -0
  1910. data/test/public/javascripts/tiny_mce/themes/simple/langs/ar.js +11 -0
  1911. data/test/public/javascripts/tiny_mce/themes/simple/langs/az.js +11 -0
  1912. data/test/public/javascripts/tiny_mce/themes/simple/langs/be.js +11 -0
  1913. data/test/public/javascripts/tiny_mce/themes/simple/langs/bg.js +11 -0
  1914. data/test/public/javascripts/tiny_mce/themes/simple/langs/bn.js +11 -0
  1915. data/test/public/javascripts/tiny_mce/themes/simple/langs/br.js +11 -0
  1916. data/test/public/javascripts/tiny_mce/themes/simple/langs/bs.js +11 -0
  1917. data/test/public/javascripts/tiny_mce/themes/simple/langs/ca.js +11 -0
  1918. data/test/public/javascripts/tiny_mce/themes/simple/langs/ch.js +11 -0
  1919. data/test/public/javascripts/tiny_mce/themes/simple/langs/cs.js +11 -0
  1920. data/test/public/javascripts/tiny_mce/themes/simple/langs/cy.js +11 -0
  1921. data/test/public/javascripts/tiny_mce/themes/simple/langs/da.js +11 -0
  1922. data/test/public/javascripts/tiny_mce/themes/simple/langs/de.js +11 -0
  1923. data/test/public/javascripts/tiny_mce/themes/simple/langs/dv.js +11 -0
  1924. data/test/public/javascripts/tiny_mce/themes/simple/langs/el.js +11 -0
  1925. data/test/public/javascripts/tiny_mce/themes/simple/langs/en.js +11 -0
  1926. data/test/public/javascripts/tiny_mce/themes/simple/langs/es.js +11 -0
  1927. data/test/public/javascripts/tiny_mce/themes/simple/langs/et.js +11 -0
  1928. data/test/public/javascripts/tiny_mce/themes/simple/langs/fa.js +11 -0
  1929. data/test/public/javascripts/tiny_mce/themes/simple/langs/fi.js +11 -0
  1930. data/test/public/javascripts/tiny_mce/themes/simple/langs/fr.js +11 -0
  1931. data/test/public/javascripts/tiny_mce/themes/simple/langs/gl.js +11 -0
  1932. data/test/public/javascripts/tiny_mce/themes/simple/langs/gu.js +11 -0
  1933. data/test/public/javascripts/tiny_mce/themes/simple/langs/he.js +11 -0
  1934. data/test/public/javascripts/tiny_mce/themes/simple/langs/hi.js +11 -0
  1935. data/test/public/javascripts/tiny_mce/themes/simple/langs/hr.js +11 -0
  1936. data/test/public/javascripts/tiny_mce/themes/simple/langs/hu.js +11 -0
  1937. data/test/public/javascripts/tiny_mce/themes/simple/langs/hy.js +11 -0
  1938. data/test/public/javascripts/tiny_mce/themes/simple/langs/ia.js +11 -0
  1939. data/test/public/javascripts/tiny_mce/themes/simple/langs/id.js +11 -0
  1940. data/test/public/javascripts/tiny_mce/themes/simple/langs/ii.js +11 -0
  1941. data/test/public/javascripts/tiny_mce/themes/simple/langs/is.js +11 -0
  1942. data/test/public/javascripts/tiny_mce/themes/simple/langs/it.js +11 -0
  1943. data/test/public/javascripts/tiny_mce/themes/simple/langs/ja.js +11 -0
  1944. data/test/public/javascripts/tiny_mce/themes/simple/langs/ka.js +11 -0
  1945. data/test/public/javascripts/tiny_mce/themes/simple/langs/kl.js +11 -0
  1946. data/test/public/javascripts/tiny_mce/themes/simple/langs/ko.js +11 -0
  1947. data/test/public/javascripts/tiny_mce/themes/simple/langs/lb.js +11 -0
  1948. data/test/public/javascripts/tiny_mce/themes/simple/langs/lt.js +11 -0
  1949. data/test/public/javascripts/tiny_mce/themes/simple/langs/lv.js +11 -0
  1950. data/test/public/javascripts/tiny_mce/themes/simple/langs/mk.js +11 -0
  1951. data/test/public/javascripts/tiny_mce/themes/simple/langs/ml.js +11 -0
  1952. data/test/public/javascripts/tiny_mce/themes/simple/langs/mn.js +11 -0
  1953. data/test/public/javascripts/tiny_mce/themes/simple/langs/ms.js +11 -0
  1954. data/test/public/javascripts/tiny_mce/themes/simple/langs/nb.js +11 -0
  1955. data/test/public/javascripts/tiny_mce/themes/simple/langs/nl.js +11 -0
  1956. data/test/public/javascripts/tiny_mce/themes/simple/langs/nn.js +11 -0
  1957. data/test/public/javascripts/tiny_mce/themes/simple/langs/no.js +11 -0
  1958. data/test/public/javascripts/tiny_mce/themes/simple/langs/pl.js +11 -0
  1959. data/test/public/javascripts/tiny_mce/themes/simple/langs/ps.js +11 -0
  1960. data/test/public/javascripts/tiny_mce/themes/simple/langs/pt.js +11 -0
  1961. data/test/public/javascripts/tiny_mce/themes/simple/langs/ro.js +11 -0
  1962. data/test/public/javascripts/tiny_mce/themes/simple/langs/ru.js +11 -0
  1963. data/test/public/javascripts/tiny_mce/themes/simple/langs/sc.js +11 -0
  1964. data/test/public/javascripts/tiny_mce/themes/simple/langs/se.js +11 -0
  1965. data/test/public/javascripts/tiny_mce/themes/simple/langs/si.js +11 -0
  1966. data/test/public/javascripts/tiny_mce/themes/simple/langs/sk.js +11 -0
  1967. data/test/public/javascripts/tiny_mce/themes/simple/langs/sl.js +11 -0
  1968. data/test/public/javascripts/tiny_mce/themes/simple/langs/sq.js +11 -0
  1969. data/test/public/javascripts/tiny_mce/themes/simple/langs/sr.js +11 -0
  1970. data/test/public/javascripts/tiny_mce/themes/simple/langs/sv.js +11 -0
  1971. data/test/public/javascripts/tiny_mce/themes/simple/langs/ta.js +11 -0
  1972. data/test/public/javascripts/tiny_mce/themes/simple/langs/te.js +11 -0
  1973. data/test/public/javascripts/tiny_mce/themes/simple/langs/th.js +11 -0
  1974. data/test/public/javascripts/tiny_mce/themes/simple/langs/tr.js +11 -0
  1975. data/test/public/javascripts/tiny_mce/themes/simple/langs/tt.js +11 -0
  1976. data/test/public/javascripts/tiny_mce/themes/simple/langs/tw.js +11 -0
  1977. data/test/public/javascripts/tiny_mce/themes/simple/langs/uk.js +11 -0
  1978. data/test/public/javascripts/tiny_mce/themes/simple/langs/ur.js +11 -0
  1979. data/test/public/javascripts/tiny_mce/themes/simple/langs/vi.js +11 -0
  1980. data/test/public/javascripts/tiny_mce/themes/simple/langs/zh.js +11 -0
  1981. data/test/public/javascripts/tiny_mce/themes/simple/langs/zu.js +11 -0
  1982. data/test/public/javascripts/tiny_mce/themes/simple/skins/default/content.css +25 -0
  1983. data/test/public/javascripts/tiny_mce/themes/simple/skins/default/ui.css +32 -0
  1984. data/test/public/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css +17 -0
  1985. data/test/public/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
  1986. data/test/public/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css +35 -0
  1987. data/test/public/javascripts/tiny_mce/tiny_mce.js +1 -0
  1988. data/test/public/javascripts/tiny_mce/tiny_mce_popup.js +5 -0
  1989. data/test/public/javascripts/tiny_mce/tiny_mce_src.js +13959 -0
  1990. data/test/public/javascripts/tiny_mce/utils/editable_selects.js +70 -0
  1991. data/test/public/javascripts/tiny_mce/utils/form_utils.js +200 -0
  1992. data/test/public/javascripts/tiny_mce/utils/mctabs.js +77 -0
  1993. data/test/public/javascripts/tiny_mce/utils/validate.js +220 -0
  1994. data/test/public/javascripts/tree.js +107 -0
  1995. data/test/public/robots.txt +1 -0
  1996. data/test/public/stylesheets/.keep +0 -0
  1997. data/test/public/stylesheets/admin.css +75 -0
  1998. data/test/public/stylesheets/blueprint/ie.css +26 -0
  1999. data/test/public/stylesheets/blueprint/liquid_screen.css +203 -0
  2000. data/test/public/stylesheets/blueprint/plugins/buttons/icons/cross.png +0 -0
  2001. data/test/public/stylesheets/blueprint/plugins/buttons/icons/key.png +0 -0
  2002. data/test/public/stylesheets/blueprint/plugins/buttons/icons/tick.png +0 -0
  2003. data/test/public/stylesheets/blueprint/plugins/buttons/readme.txt +32 -0
  2004. data/test/public/stylesheets/blueprint/plugins/buttons/screen.css +97 -0
  2005. data/test/public/stylesheets/blueprint/plugins/fancy-type/readme.txt +14 -0
  2006. data/test/public/stylesheets/blueprint/plugins/fancy-type/screen.css +71 -0
  2007. data/test/public/stylesheets/blueprint/plugins/link-icons/icons/doc.png +0 -0
  2008. data/test/public/stylesheets/blueprint/plugins/link-icons/icons/email.png +0 -0
  2009. data/test/public/stylesheets/blueprint/plugins/link-icons/icons/external.png +0 -0
  2010. data/test/public/stylesheets/blueprint/plugins/link-icons/icons/feed.png +0 -0
  2011. data/test/public/stylesheets/blueprint/plugins/link-icons/icons/im.png +0 -0
  2012. data/test/public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  2013. data/test/public/stylesheets/blueprint/plugins/link-icons/icons/visited.png +0 -0
  2014. data/test/public/stylesheets/blueprint/plugins/link-icons/icons/xls.png +0 -0
  2015. data/test/public/stylesheets/blueprint/plugins/link-icons/readme.txt +18 -0
  2016. data/test/public/stylesheets/blueprint/plugins/link-icons/screen.css +40 -0
  2017. data/test/public/stylesheets/blueprint/plugins/liquid/liquid.css +134 -0
  2018. data/test/public/stylesheets/blueprint/plugins/liquid/src/liquid.css +197 -0
  2019. data/test/public/stylesheets/blueprint/plugins/rtl/readme.txt +10 -0
  2020. data/test/public/stylesheets/blueprint/plugins/rtl/screen.css +109 -0
  2021. data/test/public/stylesheets/blueprint/print.css +30 -0
  2022. data/test/public/stylesheets/blueprint/screen.css +251 -0
  2023. data/test/public/stylesheets/blueprint/sprite.css +1 -0
  2024. data/test/public/stylesheets/blueprint/src/forms.css +49 -0
  2025. data/test/public/stylesheets/blueprint/src/grid.css +213 -0
  2026. data/test/public/stylesheets/blueprint/src/grid.png +0 -0
  2027. data/test/public/stylesheets/blueprint/src/ie.css +59 -0
  2028. data/test/public/stylesheets/blueprint/src/print.css +85 -0
  2029. data/test/public/stylesheets/blueprint/src/reset.css +38 -0
  2030. data/test/public/stylesheets/blueprint/src/typography.css +105 -0
  2031. data/test/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  2032. data/test/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  2033. data/test/public/stylesheets/jquery/cupertino/images/ui-bg_glass_100_f0f0f0_1x400.png +0 -0
  2034. data/test/public/stylesheets/jquery/cupertino/images/ui-bg_glass_50_99c2ff_1x400.png +0 -0
  2035. data/test/public/stylesheets/jquery/cupertino/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  2036. data/test/public/stylesheets/jquery/cupertino/images/ui-bg_glass_80_e6e6e6_1x400.png +0 -0
  2037. data/test/public/stylesheets/jquery/cupertino/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  2038. data/test/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  2039. data/test/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-soft_100_e7eef3_1x100.png +0 -0
  2040. data/test/public/stylesheets/jquery/cupertino/images/ui-icons_222222_256x240.png +0 -0
  2041. data/test/public/stylesheets/jquery/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
  2042. data/test/public/stylesheets/jquery/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
  2043. data/test/public/stylesheets/jquery/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
  2044. data/test/public/stylesheets/jquery/cupertino/images/ui-icons_888888_256x240.png +0 -0
  2045. data/test/public/stylesheets/jquery/cupertino/images/ui-icons_cd0a0a_256x240.png +0 -0
  2046. data/test/public/stylesheets/jquery/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
  2047. data/test/public/stylesheets/jquery/cupertino/jquery-ui-1.7.1.custom.css +404 -0
  2048. data/test/public/stylesheets/jquery/cupertino/jquery-ui-1.7.2.custom.css +160 -0
  2049. data/test/public/stylesheets/jquery/jquery.autocomplete.css +15 -0
  2050. data/test/public/stylesheets/jquery/jquery.fancybox.css +77 -0
  2051. data/test/public/stylesheets/jquery/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  2052. data/test/public/stylesheets/jquery/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  2053. data/test/public/stylesheets/jquery/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  2054. data/test/public/stylesheets/jquery/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  2055. data/test/public/stylesheets/jquery/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  2056. data/test/public/stylesheets/jquery/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  2057. data/test/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  2058. data/test/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  2059. data/test/public/stylesheets/jquery/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  2060. data/test/public/stylesheets/jquery/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  2061. data/test/public/stylesheets/jquery/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  2062. data/test/public/stylesheets/jquery/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  2063. data/test/public/stylesheets/jquery/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  2064. data/test/public/stylesheets/jquery/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  2065. data/test/public/stylesheets/jquery/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  2066. data/test/public/stylesheets/jquery/redmond/jquery-ui-1.7.1.custom.css +404 -0
  2067. data/test/public/stylesheets/jquery/redmond/jquery-ui-1.7.2.custom.css +160 -0
  2068. data/test/public/stylesheets/jquery/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  2069. data/test/public/stylesheets/jquery/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  2070. data/test/public/stylesheets/jquery/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  2071. data/test/public/stylesheets/jquery/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  2072. data/test/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  2073. data/test/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  2074. data/test/public/stylesheets/jquery/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  2075. data/test/public/stylesheets/jquery/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  2076. data/test/public/stylesheets/jquery/smoothness/images/ui-icons_222222_256x240.png +0 -0
  2077. data/test/public/stylesheets/jquery/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  2078. data/test/public/stylesheets/jquery/smoothness/images/ui-icons_454545_256x240.png +0 -0
  2079. data/test/public/stylesheets/jquery/smoothness/images/ui-icons_888888_256x240.png +0 -0
  2080. data/test/public/stylesheets/jquery/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  2081. data/test/public/stylesheets/jquery/smoothness/jquery-ui-1.7.1.custom.css +404 -0
  2082. data/test/public/stylesheets/jquery/smoothness/jquery-ui-1.7.2.custom.css +160 -0
  2083. data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  2084. data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  2085. data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  2086. data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  2087. data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  2088. data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  2089. data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  2090. data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  2091. data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  2092. data/test/public/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  2093. data/test/public/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  2094. data/test/public/stylesheets/jquery/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  2095. data/test/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  2096. data/test/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  2097. data/test/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.1.custom.css +404 -0
  2098. data/test/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.2.custom.css +160 -0
  2099. data/test/public/stylesheets/muck-activities.css +39 -0
  2100. data/test/public/stylesheets/muck-invites.css +17 -0
  2101. data/test/public/stylesheets/muck-users.css +10 -0
  2102. data/test/public/stylesheets/reset.css +0 -0
  2103. data/test/public/stylesheets/styles.css +98 -0
  2104. data/test/public/stylesheets/swfupload.css +26 -0
  2105. data/test/public/stylesheets/themes/blue/styles.css +1 -0
  2106. data/test/public/stylesheets/themes/red/styles.css +1 -0
  2107. data/test/public/stylesheets/tinymce.css +56 -0
  2108. data/test/public/stylesheets/uploadify.css +53 -0
  2109. data/test/script/rails +6 -0
  2110. data/test/spec/controllers/invites_controller_spec.rb +113 -0
  2111. data/test/spec/helpers/muck_invites_helper_spec.rb +86 -0
  2112. data/test/spec/mailers/invite_mailer_spec.rb +38 -0
  2113. data/test/spec/models/contacts_spec.rb +37 -0
  2114. data/test/spec/models/invite_spec.rb +19 -0
  2115. data/test/spec/models/invitee_spec.rb +149 -0
  2116. data/test/spec/models/user_spec.rb +18 -0
  2117. data/test/spec/spec_helper.rb +5 -0
  2118. data/test/test/fixtures/google_contacts.xml +88 -0
  2119. data/test/test/fixtures/rails.png +0 -0
  2120. data/test/test/fixtures/yahoo_contacts.json +0 -0
  2121. metadata +2143 -29
@@ -0,0 +1,52 @@
1
+ tinyMCE.addI18n('en.advlink_dlg',{
2
+ title:"Insert/edit link",
3
+ url:"Link URL",
4
+ target:"Target",
5
+ titlefield:"Title",
6
+ is_email:"The URL you entered seems to be an email address, do you want to add the required mailto: prefix?",
7
+ is_external:"The URL you entered seems to external link, do you want to add the required http:// prefix?",
8
+ list:"Link list",
9
+ general_tab:"General",
10
+ popup_tab:"Popup",
11
+ events_tab:"Events",
12
+ advanced_tab:"Advanced",
13
+ general_props:"General properties",
14
+ popup_props:"Popup properties",
15
+ event_props:"Events",
16
+ advanced_props:"Advanced properties",
17
+ popup_opts:"Options",
18
+ anchor_names:"Anchors",
19
+ target_same:"Open in this window / frame",
20
+ target_parent:"Open in parent window / frame",
21
+ target_top:"Open in top frame (replaces all frames)",
22
+ target_blank:"Open in new window",
23
+ popup:"Javascript popup",
24
+ popup_url:"Popup URL",
25
+ popup_name:"Window name",
26
+ popup_return:"Insert 'return false'",
27
+ popup_scrollbars:"Show scrollbars",
28
+ popup_statusbar:"Show status bar",
29
+ popup_toolbar:"Show toolbars",
30
+ popup_menubar:"Show menu bar",
31
+ popup_location:"Show location bar",
32
+ popup_resizable:"Make window resizable",
33
+ popup_dependent:"Dependent (Mozilla/Firefox only)",
34
+ popup_size:"Size",
35
+ popup_position:"Position (X/Y)",
36
+ id:"Id",
37
+ style:"Style",
38
+ classes:"Classes",
39
+ target_name:"Target name",
40
+ langdir:"Language direction",
41
+ target_langcode:"Target language",
42
+ langcode:"Language code",
43
+ encoding:"Target character encoding",
44
+ mime:"Target MIME type",
45
+ rel:"Relationship page to target",
46
+ rev:"Relationship target to page",
47
+ tabindex:"Tabindex",
48
+ accesskey:"Accesskey",
49
+ ltr:"Left to right",
50
+ rtl:"Right to left",
51
+ link_list:"Link list"
52
+ });
@@ -0,0 +1 @@
1
+ (function(){tinymce.create("tinymce.plugins.Nonbreaking",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceNonBreaking",function(){a.execCommand("mceInsertContent",false,(a.plugins.visualchars&&a.plugins.visualchars.state)?'<span class="mceItemHidden mceVisualNbsp">&middot;</span>':"&nbsp;")});a.addButton("nonbreaking",{title:"nonbreaking.nonbreaking_desc",cmd:"mceNonBreaking"});if(a.getParam("nonbreaking_force_tab")){a.onKeyDown.add(function(d,f){if(tinymce.isIE&&f.keyCode==9){d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");tinymce.dom.Event.cancel(f)}})}},getInfo:function(){return{longname:"Nonbreaking space",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("nonbreaking",tinymce.plugins.Nonbreaking)})();
@@ -0,0 +1,53 @@
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.Nonbreaking', {
13
+ init : function(ed, url) {
14
+ var t = this;
15
+
16
+ t.editor = ed;
17
+
18
+ // Register commands
19
+ ed.addCommand('mceNonBreaking', function() {
20
+ ed.execCommand('mceInsertContent', false, (ed.plugins.visualchars && ed.plugins.visualchars.state) ? '<span class="mceItemHidden mceVisualNbsp">&middot;</span>' : '&nbsp;');
21
+ });
22
+
23
+ // Register buttons
24
+ ed.addButton('nonbreaking', {title : 'nonbreaking.nonbreaking_desc', cmd : 'mceNonBreaking'});
25
+
26
+ if (ed.getParam('nonbreaking_force_tab')) {
27
+ ed.onKeyDown.add(function(ed, e) {
28
+ if (tinymce.isIE && e.keyCode == 9) {
29
+ ed.execCommand('mceNonBreaking');
30
+ ed.execCommand('mceNonBreaking');
31
+ ed.execCommand('mceNonBreaking');
32
+ tinymce.dom.Event.cancel(e);
33
+ }
34
+ });
35
+ }
36
+ },
37
+
38
+ getInfo : function() {
39
+ return {
40
+ longname : 'Nonbreaking space',
41
+ author : 'Moxiecode Systems AB',
42
+ authorurl : 'http://tinymce.moxiecode.com',
43
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking',
44
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
45
+ };
46
+ }
47
+
48
+ // Private methods
49
+ });
50
+
51
+ // Register plugin
52
+ tinymce.PluginManager.add('nonbreaking', tinymce.plugins.Nonbreaking);
53
+ })();
@@ -0,0 +1 @@
1
+ (function(){var a=tinymce.dom.Event;tinymce.create("tinymce.plugins.NonEditablePlugin",{init:function(d,e){var f=this,c,b;f.editor=d;c=d.getParam("noneditable_editable_class","mceEditable");b=d.getParam("noneditable_noneditable_class","mceNonEditable");d.onNodeChange.addToTop(function(h,g,k){var j,i;j=h.dom.getParent(h.selection.getStart(),function(l){return h.dom.hasClass(l,b)});i=h.dom.getParent(h.selection.getEnd(),function(l){return h.dom.hasClass(l,b)});if(j||i){f._setDisabled(1);return false}else{f._setDisabled(0)}})},getInfo:function(){return{longname:"Non editable elements",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/noneditable",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_block:function(c,d){var b=d.keyCode;if((b>32&&b<41)||(b>111&&b<124)){return}return a.cancel(d)},_setDisabled:function(d){var c=this,b=c.editor;tinymce.each(b.controlManager.controls,function(e){e.setDisabled(d)});if(d!==c.disabled){if(d){b.onKeyDown.addToTop(c._block);b.onKeyPress.addToTop(c._block);b.onKeyUp.addToTop(c._block);b.onPaste.addToTop(c._block)}else{b.onKeyDown.remove(c._block);b.onKeyPress.remove(c._block);b.onKeyUp.remove(c._block);b.onPaste.remove(c._block)}c.disabled=d}}});tinymce.PluginManager.add("noneditable",tinymce.plugins.NonEditablePlugin)})();
@@ -0,0 +1,90 @@
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 Event = tinymce.dom.Event;
13
+
14
+ tinymce.create('tinymce.plugins.NonEditablePlugin', {
15
+ init : function(ed, url) {
16
+ var t = this, editClass, nonEditClass;
17
+
18
+ t.editor = ed;
19
+ editClass = ed.getParam("noneditable_editable_class", "mceEditable");
20
+ nonEditClass = ed.getParam("noneditable_noneditable_class", "mceNonEditable");
21
+
22
+ ed.onNodeChange.addToTop(function(ed, cm, n) {
23
+ var sc, ec;
24
+
25
+ // Block if start or end is inside a non editable element
26
+ sc = ed.dom.getParent(ed.selection.getStart(), function(n) {
27
+ return ed.dom.hasClass(n, nonEditClass);
28
+ });
29
+
30
+ ec = ed.dom.getParent(ed.selection.getEnd(), function(n) {
31
+ return ed.dom.hasClass(n, nonEditClass);
32
+ });
33
+
34
+ // Block or unblock
35
+ if (sc || ec) {
36
+ t._setDisabled(1);
37
+ return false;
38
+ } else
39
+ t._setDisabled(0);
40
+ });
41
+ },
42
+
43
+ getInfo : function() {
44
+ return {
45
+ longname : 'Non editable elements',
46
+ author : 'Moxiecode Systems AB',
47
+ authorurl : 'http://tinymce.moxiecode.com',
48
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/noneditable',
49
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
50
+ };
51
+ },
52
+
53
+ _block : function(ed, e) {
54
+ var k = e.keyCode;
55
+
56
+ // Don't block arrow keys, pg up/down, and F1-F12
57
+ if ((k > 32 && k < 41) || (k > 111 && k < 124))
58
+ return;
59
+
60
+ return Event.cancel(e);
61
+ },
62
+
63
+ _setDisabled : function(s) {
64
+ var t = this, ed = t.editor;
65
+
66
+ tinymce.each(ed.controlManager.controls, function(c) {
67
+ c.setDisabled(s);
68
+ });
69
+
70
+ if (s !== t.disabled) {
71
+ if (s) {
72
+ ed.onKeyDown.addToTop(t._block);
73
+ ed.onKeyPress.addToTop(t._block);
74
+ ed.onKeyUp.addToTop(t._block);
75
+ ed.onPaste.addToTop(t._block);
76
+ } else {
77
+ ed.onKeyDown.remove(t._block);
78
+ ed.onKeyPress.remove(t._block);
79
+ ed.onKeyUp.remove(t._block);
80
+ ed.onPaste.remove(t._block);
81
+ }
82
+
83
+ t.disabled = s;
84
+ }
85
+ }
86
+ });
87
+
88
+ // Register plugin
89
+ tinymce.PluginManager.add('noneditable', tinymce.plugins.NonEditablePlugin);
90
+ })();
@@ -0,0 +1 @@
1
+ .mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../img/pagebreak.gif) no-repeat center top;}
@@ -0,0 +1 @@
1
+ (function(){tinymce.create("tinymce.plugins.PageBreakPlugin",{init:function(b,d){var f='<img src="'+d+'/img/trans.gif" class="mcePageBreak mceItemNoResize" />',a="mcePageBreak",c=b.getParam("pagebreak_separator","<!-- pagebreak -->"),e;e=new RegExp(c.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(g){return"\\"+g}),"g");b.addCommand("mcePageBreak",function(){b.execCommand("mceInsertContent",0,f)});b.addButton("pagebreak",{title:"pagebreak.desc",cmd:a});b.onInit.add(function(){if(b.settings.content_css!==false){b.dom.loadCSS(d+"/css/content.css")}if(b.theme.onResolveName){b.theme.onResolveName.add(function(g,h){if(h.node.nodeName=="IMG"&&b.dom.hasClass(h.node,a)){h.name="pagebreak"}})}});b.onClick.add(function(g,h){h=h.target;if(h.nodeName==="IMG"&&g.dom.hasClass(h,a)){g.selection.select(h)}});b.onNodeChange.add(function(h,g,i){g.setActive("pagebreak",i.nodeName==="IMG"&&h.dom.hasClass(i,a))});b.onBeforeSetContent.add(function(g,h){h.content=h.content.replace(e,f)});b.onPostProcess.add(function(g,h){if(h.get){h.content=h.content.replace(/<img[^>]+>/g,function(i){if(i.indexOf('class="mcePageBreak')!==-1){i=c}return i})}})},getInfo:function(){return{longname:"PageBreak",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/pagebreak",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("pagebreak",tinymce.plugins.PageBreakPlugin)})();
@@ -0,0 +1,77 @@
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.PageBreakPlugin', {
13
+ init : function(ed, url) {
14
+ var pb = '<img src="' + url + '/img/trans.gif" class="mcePageBreak mceItemNoResize" />', cls = 'mcePageBreak', sep = ed.getParam('pagebreak_separator', '<!-- pagebreak -->'), pbRE;
15
+
16
+ pbRE = new RegExp(sep.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, function(a) {return '\\' + a;}), 'g');
17
+
18
+ // Register commands
19
+ ed.addCommand('mcePageBreak', function() {
20
+ ed.execCommand('mceInsertContent', 0, pb);
21
+ });
22
+
23
+ // Register buttons
24
+ ed.addButton('pagebreak', {title : 'pagebreak.desc', cmd : cls});
25
+
26
+ ed.onInit.add(function() {
27
+ if (ed.settings.content_css !== false)
28
+ ed.dom.loadCSS(url + "/css/content.css");
29
+
30
+ if (ed.theme.onResolveName) {
31
+ ed.theme.onResolveName.add(function(th, o) {
32
+ if (o.node.nodeName == 'IMG' && ed.dom.hasClass(o.node, cls))
33
+ o.name = 'pagebreak';
34
+ });
35
+ }
36
+ });
37
+
38
+ ed.onClick.add(function(ed, e) {
39
+ e = e.target;
40
+
41
+ if (e.nodeName === 'IMG' && ed.dom.hasClass(e, cls))
42
+ ed.selection.select(e);
43
+ });
44
+
45
+ ed.onNodeChange.add(function(ed, cm, n) {
46
+ cm.setActive('pagebreak', n.nodeName === 'IMG' && ed.dom.hasClass(n, cls));
47
+ });
48
+
49
+ ed.onBeforeSetContent.add(function(ed, o) {
50
+ o.content = o.content.replace(pbRE, pb);
51
+ });
52
+
53
+ ed.onPostProcess.add(function(ed, o) {
54
+ if (o.get)
55
+ o.content = o.content.replace(/<img[^>]+>/g, function(im) {
56
+ if (im.indexOf('class="mcePageBreak') !== -1)
57
+ im = sep;
58
+
59
+ return im;
60
+ });
61
+ });
62
+ },
63
+
64
+ getInfo : function() {
65
+ return {
66
+ longname : 'PageBreak',
67
+ author : 'Moxiecode Systems AB',
68
+ authorurl : 'http://tinymce.moxiecode.com',
69
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/pagebreak',
70
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
71
+ };
72
+ }
73
+ });
74
+
75
+ // Register plugin
76
+ tinymce.PluginManager.add('pagebreak', tinymce.plugins.PageBreakPlugin);
77
+ })();
@@ -0,0 +1 @@
1
+ (function(){var c=tinymce.each,d=null,a={paste_auto_cleanup_on_paste:true,paste_block_drop:false,paste_retain_style_properties:"none",paste_strip_class_attributes:"mso",paste_remove_spans:false,paste_remove_styles:false,paste_remove_styles_if_webkit:true,paste_convert_middot_lists:true,paste_convert_headers_to_strong:false,paste_dialog_width:"450",paste_dialog_height:"400",paste_text_use_dialog:false,paste_text_sticky:false,paste_text_notifyalways:false,paste_text_linebreaktype:"p",paste_text_replacements:[[/\u2026/g,"..."],[/[\x93\x94\u201c\u201d]/g,'"'],[/[\x60\x91\x92\u2018\u2019]/g,"'"]]};function b(e,f){return e.getParam(f,a[f])}tinymce.create("tinymce.plugins.PastePlugin",{init:function(e,f){var g=this;g.editor=e;g.url=f;g.onPreProcess=new tinymce.util.Dispatcher(g);g.onPostProcess=new tinymce.util.Dispatcher(g);g.onPreProcess.add(g._preProcess);g.onPostProcess.add(g._postProcess);g.onPreProcess.add(function(j,k){e.execCallback("paste_preprocess",j,k)});g.onPostProcess.add(function(j,k){e.execCallback("paste_postprocess",j,k)});e.pasteAsPlainText=false;function i(l,j){var k=e.dom;g.onPreProcess.dispatch(g,l);l.node=k.create("div",0,l.content);g.onPostProcess.dispatch(g,l);l.content=e.serializer.serialize(l.node,{getInner:1});if((!j)&&(e.pasteAsPlainText)){g._insertPlainText(e,k,l.content);if(!b(e,"paste_text_sticky")){e.pasteAsPlainText=false;e.controlManager.setActive("pastetext",false)}}else{if(/<(p|h[1-6]|ul|ol)/.test(l.content)){g._insertBlockContent(e,k,l.content)}else{g._insert(l.content)}}}e.addCommand("mceInsertClipboardContent",function(j,k){i(k,true)});if(!b(e,"paste_text_use_dialog")){e.addCommand("mcePasteText",function(k,j){var l=tinymce.util.Cookie;e.pasteAsPlainText=!e.pasteAsPlainText;e.controlManager.setActive("pastetext",e.pasteAsPlainText);if((e.pasteAsPlainText)&&(!l.get("tinymcePasteText"))){if(b(e,"paste_text_sticky")){e.windowManager.alert(e.translate("paste.plaintext_mode_sticky"))}else{e.windowManager.alert(e.translate("paste.plaintext_mode_sticky"))}if(!b(e,"paste_text_notifyalways")){l.set("tinymcePasteText","1",new Date(new Date().getFullYear()+1,12,31))}}})}e.addButton("pastetext",{title:"paste.paste_text_desc",cmd:"mcePasteText"});e.addButton("selectall",{title:"paste.selectall_desc",cmd:"selectall"});function h(s){var m,q,k,l=e.selection,p=e.dom,r=e.getBody(),j;if(e.pasteAsPlainText&&(s.clipboardData||p.doc.dataTransfer)){s.preventDefault();i({content:(s.clipboardData||p.doc.dataTransfer).getData("Text")},true);return}if(p.get("_mcePaste")){return}m=p.add(r,"div",{id:"_mcePaste","class":"mcePaste"},"\uFEFF");if(r!=e.getDoc().body){j=p.getPos(e.selection.getStart(),r).y}else{j=r.scrollTop}p.setStyles(m,{position:"absolute",left:-10000,top:j,width:1,height:1,overflow:"hidden"});if(tinymce.isIE){k=p.doc.body.createTextRange();k.moveToElementText(m);k.execCommand("Paste");p.remove(m);if(m.innerHTML==="\uFEFF"){e.execCommand("mcePasteWord");s.preventDefault();return}i({content:m.innerHTML});return tinymce.dom.Event.cancel(s)}else{function o(n){n.preventDefault()}p.bind(e.getDoc(),"mousedown",o);p.bind(e.getDoc(),"keydown",o);q=e.selection.getRng();m=m.firstChild;k=e.getDoc().createRange();k.setStart(m,0);k.setEnd(m,1);l.setRng(k);window.setTimeout(function(){var t="",n=p.select("div.mcePaste");c(n,function(u){c(p.select("div.mcePaste",u),function(v){p.remove(v,1)});c(p.select("span.Apple-style-span",u),function(v){p.remove(v,1)});t+=u.innerHTML});c(n,function(u){p.remove(u)});if(q){l.setRng(q)}i({content:t});p.unbind(e.getDoc(),"mousedown",o);p.unbind(e.getDoc(),"keydown",o)},0)}}if(b(e,"paste_auto_cleanup_on_paste")){if(tinymce.isOpera||/Firefox\/2/.test(navigator.userAgent)){e.onKeyDown.add(function(j,k){if(((tinymce.isMac?k.metaKey:k.ctrlKey)&&k.keyCode==86)||(k.shiftKey&&k.keyCode==45)){h(k)}})}else{e.onPaste.addToTop(function(j,k){return h(k)})}}if(b(e,"paste_block_drop")){e.onInit.add(function(){e.dom.bind(e.getBody(),["dragend","dragover","draggesture","dragdrop","drop","drag"],function(j){j.preventDefault();j.stopPropagation();return false})})}g._legacySupport()},getInfo:function(){return{longname:"Paste text/word",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_preProcess:function(i,f){var l=this.editor,k=f.content,q=tinymce.grep,p=tinymce.explode,g=tinymce.trim,m,j;function e(h){c(h,function(o){if(o.constructor==RegExp){k=k.replace(o,"")}else{k=k.replace(o[0],o[1])}})}if(/class="?Mso|style="[^"]*\bmso-|w:WordDocument/i.test(k)||f.wordContent){f.wordContent=true;e([/^\s*(&nbsp;)+/gi,/(&nbsp;|<br[^>]*>)+\s*$/gi]);if(b(l,"paste_convert_headers_to_strong")){k=k.replace(/<p [^>]*class="?MsoHeading"?[^>]*>(.*?)<\/p>/gi,"<p><strong>$1</strong></p>")}if(b(l,"paste_convert_middot_lists")){e([[/<!--\[if !supportLists\]-->/gi,"$&__MCE_ITEM__"],[/(<span[^>]+(?:mso-list:|:\s*symbol)[^>]+>)/gi,"$1__MCE_ITEM__"]])}e([/<!--[\s\S]+?-->/gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/&nbsp;/gi,"\u00a0"]]);do{m=k.length;k=k.replace(/(<[a-z][^>]*\s)(?:id|name|language|type|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi,"$1")}while(m!=k.length);if(b(l,"paste_retain_style_properties").replace(/^none$/i,"").length==0){k=k.replace(/<\/?span[^>]*>/gi,"")}else{e([[/<span\s+style\s*=\s*"\s*mso-spacerun\s*:\s*yes\s*;?\s*"\s*>([\s\u00a0]*)<\/span>/gi,function(o,h){return(h.length>0)?h.replace(/./," ").slice(Math.floor(h.length/2)).split("").join("\u00a0"):""}],[/(<[a-z][^>]*)\sstyle="([^"]*)"/gi,function(u,h,t){var v=[],o=0,r=p(g(t).replace(/&quot;/gi,"'"),";");c(r,function(s){var w,y,z=p(s,":");function x(A){return A+((A!=="0")&&(/\d$/.test(A)))?"px":""}if(z.length==2){w=z[0].toLowerCase();y=z[1].toLowerCase();switch(w){case"mso-padding-alt":case"mso-padding-top-alt":case"mso-padding-right-alt":case"mso-padding-bottom-alt":case"mso-padding-left-alt":case"mso-margin-alt":case"mso-margin-top-alt":case"mso-margin-right-alt":case"mso-margin-bottom-alt":case"mso-margin-left-alt":case"mso-table-layout-alt":case"mso-height":case"mso-width":case"mso-vertical-align-alt":v[o++]=w.replace(/^mso-|-alt$/g,"")+":"+x(y);return;case"horiz-align":v[o++]="text-align:"+y;return;case"vert-align":v[o++]="vertical-align:"+y;return;case"font-color":case"mso-foreground":v[o++]="color:"+y;return;case"mso-background":case"mso-highlight":v[o++]="background:"+y;return;case"mso-default-height":v[o++]="min-height:"+x(y);return;case"mso-default-width":v[o++]="min-width:"+x(y);return;case"mso-padding-between-alt":v[o++]="border-collapse:separate;border-spacing:"+x(y);return;case"text-line-through":if((y=="single")||(y=="double")){v[o++]="text-decoration:line-through"}return;case"mso-zero-height":if(y=="yes"){v[o++]="display:none"}return}if(/^(mso|column|font-emph|lang|layout|line-break|list-image|nav|panose|punct|row|ruby|sep|size|src|tab-|table-border|text-(?!align|decor|indent|trans)|top-bar|version|vnd|word-break)/.test(w)){return}v[o++]=w+":"+z[1]}});if(o>0){return h+' style="'+v.join(";")+'"'}else{return h}}]])}}if(b(l,"paste_convert_headers_to_strong")){e([[/<h[1-6][^>]*>/gi,"<p><strong>"],[/<\/h[1-6][^>]*>/gi,"</strong></p>"]])}j=b(l,"paste_strip_class_attributes");if(j!=="none"){function n(r,o){if(j==="all"){return""}var h=q(p(o.replace(/^(["'])(.*)\1$/,"$2")," "),function(s){return(/^(?!mso)/i.test(s))});return h.length?' class="'+h.join(" ")+'"':""}k=k.replace(/ class="([^"]+)"/gi,n);k=k.replace(/ class=(\w+)/gi,n)}if(b(l,"paste_remove_spans")){k=k.replace(/<\/?span[^>]*>/gi,"")}f.content=k},_postProcess:function(h,j){var g=this,f=g.editor,i=f.dom,e;if(j.wordContent){c(i.select("a",j.node),function(k){if(!k.href||k.href.indexOf("#_Toc")!=-1){i.remove(k,1)}});if(b(f,"paste_convert_middot_lists")){g._convertLists(h,j)}e=b(f,"paste_retain_style_properties");if((tinymce.is(e,"string"))&&(e!=="all")&&(e!=="*")){e=tinymce.explode(e.replace(/^none$/i,""));c(i.select("*",j.node),function(n){var o={},l=0,m,p,k;if(e){for(m=0;m<e.length;m++){p=e[m];k=i.getStyle(n,p);if(k){o[p]=k;l++}}}i.setAttrib(n,"style","");if(e&&l>0){i.setStyles(n,o)}else{if(n.nodeName=="SPAN"&&!n.className){i.remove(n,true)}}})}}if(b(f,"paste_remove_styles")||(b(f,"paste_remove_styles_if_webkit")&&tinymce.isWebKit)){c(i.select("*[style]",j.node),function(k){k.removeAttribute("style");k.removeAttribute("_mce_style")})}else{if(tinymce.isWebKit){c(i.select("*",j.node),function(k){k.removeAttribute("_mce_style")})}}},_convertLists:function(h,f){var j=h.editor.dom,i,m,e=-1,g,n=[],l,k;c(j.select("p",f.node),function(u){var r,v="",t,s,o,q;for(r=u.firstChild;r&&r.nodeType==3;r=r.nextSibling){v+=r.nodeValue}v=u.innerHTML.replace(/<\/?\w+[^>]*>/gi,"").replace(/&nbsp;/g,"\u00a0");if(/^(__MCE_ITEM__)+[\u2022\u00b7\u00a7\u00d8o]\s*\u00a0*/.test(v)){t="ul"}if(/^__MCE_ITEM__\s*\w+\.\s*\u00a0{2,}/.test(v)){t="ol"}if(t){g=parseFloat(u.style.marginLeft||0);if(g>e){n.push(g)}if(!i||t!=l){i=j.create(t);j.insertAfter(i,u)}else{if(g>e){i=m.appendChild(j.create(t))}else{if(g<e){o=tinymce.inArray(n,g);q=j.getParents(i.parentNode,t);i=q[q.length-1-o]||i}}}c(j.select("span",u),function(w){var p=w.innerHTML.replace(/<\/?\w+[^>]*>/gi,"");if(t=="ul"&&/^[\u2022\u00b7\u00a7\u00d8o]/.test(p)){j.remove(w)}else{if(/^[\s\S]*\w+\.(&nbsp;|\u00a0)*\s*/.test(p)){j.remove(w)}}});s=u.innerHTML;if(t=="ul"){s=u.innerHTML.replace(/__MCE_ITEM__/g,"").replace(/^[\u2022\u00b7\u00a7\u00d8o]\s*(&nbsp;|\u00a0)+\s*/,"")}else{s=u.innerHTML.replace(/__MCE_ITEM__/g,"").replace(/^\s*\w+\.(&nbsp;|\u00a0)+\s*/,"")}m=i.appendChild(j.create("li",0,s));j.remove(u);e=g;l=t}else{i=e=0}});k=f.node.innerHTML;if(k.indexOf("__MCE_ITEM__")!=-1){f.node.innerHTML=k.replace(/__MCE_ITEM__/g,"")}},_insertBlockContent:function(l,h,m){var f,j,g=l.selection,q,n,e,o,i,k="mce_marker";function p(t){var s;if(tinymce.isIE){s=l.getDoc().body.createTextRange();s.moveToElementText(t);s.collapse(false);s.select()}else{g.select(t,1);g.collapse(false)}}this._insert('<span id="'+k+'">&nbsp;</span>',1);j=h.get(k);f=h.getParent(j,"p,h1,h2,h3,h4,h5,h6,ul,ol,th,td");if(f&&!/TD|TH/.test(f.nodeName)){j=h.split(f,j);c(h.create("div",0,m).childNodes,function(r){q=j.parentNode.insertBefore(r.cloneNode(true),j)});p(q)}else{h.setOuterHTML(j,m);g.select(l.getBody(),1);g.collapse(0)}while(n=h.get(k)){h.remove(n)}n=g.getStart();e=h.getViewPort(l.getWin());o=l.dom.getPos(n).y;i=n.clientHeight;if(o<e.y||o+i>e.y+e.h){l.getDoc().body.scrollTop=o<e.y?o:o-e.h+25}},_insert:function(g,e){var f=this.editor,i=f.selection.getRng();if(!f.selection.isCollapsed()&&i.startContainer!=i.endContainer){f.getDoc().execCommand("Delete",false,null)}f.execCommand(tinymce.isGecko?"insertHTML":"mceInsertContent",false,g,{skip_undo:e})},_insertPlainText:function(j,x,v){var t,u,l,k,r,e,p,f,n=j.getWin(),z=j.getDoc(),s=j.selection,m=tinymce.is,y=tinymce.inArray,g=b(j,"paste_text_linebreaktype"),o=b(j,"paste_text_replacements");function q(h){c(h,function(i){if(i.constructor==RegExp){v=v.replace(i,"")}else{v=v.replace(i[0],i[1])}})}if((typeof(v)==="string")&&(v.length>0)){if(!d){d=("34,quot,38,amp,39,apos,60,lt,62,gt,"+j.serializer.settings.entities).split(",")}if(/<(?:p|br|h[1-6]|ul|ol|dl|table|t[rdh]|div|blockquote|fieldset|pre|address|center)[^>]*>/i.test(v)){q([/[\n\r]+/g])}else{q([/\r+/g])}q([[/<\/(?:p|h[1-6]|ul|ol|dl|table|div|blockquote|fieldset|pre|address|center)>/gi,"\n\n"],[/<br[^>]*>|<\/tr>/gi,"\n"],[/<\/t[dh]>\s*<t[dh][^>]*>/gi,"\t"],/<[a-z!\/?][^>]*>/gi,[/&nbsp;/gi," "],[/&(#\d+|[a-z0-9]{1,10});/gi,function(i,h){if(h.charAt(0)==="#"){return String.fromCharCode(h.slice(1))}else{return((i=y(d,h))>0)?String.fromCharCode(d[i-1]):" "}}],[/(?:(?!\n)\s)*(\n+)(?:(?!\n)\s)*/gi,"$1"],[/\n{3,}/g,"\n\n"],/^\s+|\s+$/g]);v=x.encode(v);if(!s.isCollapsed()){z.execCommand("Delete",false,null)}if(m(o,"array")||(m(o,"array"))){q(o)}else{if(m(o,"string")){q(new RegExp(o,"gi"))}}if(g=="none"){q([[/\n+/g," "]])}else{if(g=="br"){q([[/\n/g,"<br />"]])}else{q([/^\s+|\s+$/g,[/\n\n/g,"</p><p>"],[/\n/g,"<br />"]])}}if((l=v.indexOf("</p><p>"))!=-1){k=v.lastIndexOf("</p><p>");r=s.getNode();e=[];do{if(r.nodeType==1){if(r.nodeName=="TD"||r.nodeName=="BODY"){break}e[e.length]=r}}while(r=r.parentNode);if(e.length>0){p=v.substring(0,l);f="";for(t=0,u=e.length;t<u;t++){p+="</"+e[t].nodeName.toLowerCase()+">";f+="<"+e[e.length-t-1].nodeName.toLowerCase()+">"}if(l==k){v=p+f+v.substring(l+7)}else{v=p+v.substring(l+4,k+4)+f+v.substring(k+7)}}}j.execCommand("mceInsertRawHTML",false,v+'<span id="_plain_text_marker">&nbsp;</span>');window.setTimeout(function(){var h=x.get("_plain_text_marker"),B,i,A,w;s.select(h,false);z.execCommand("Delete",false,null);h=null;B=s.getStart();i=x.getViewPort(n);A=x.getPos(B).y;w=B.clientHeight;if((A<i.y)||(A+w>i.y+i.h)){z.body.scrollTop=A<i.y?A:A-i.h+25}},0)}},_legacySupport:function(){var f=this,e=f.editor;e.addCommand("mcePasteWord",function(){e.windowManager.open({file:f.url+"/pasteword.htm",width:parseInt(b(e,"paste_dialog_width")),height:parseInt(b(e,"paste_dialog_height")),inline:1})});if(b(e,"paste_text_use_dialog")){e.addCommand("mcePasteText",function(){e.windowManager.open({file:f.url+"/pastetext.htm",width:parseInt(b(e,"paste_dialog_width")),height:parseInt(b(e,"paste_dialog_height")),inline:1})})}e.addButton("pasteword",{title:"paste.paste_word_desc",cmd:"mcePasteWord"})}});tinymce.PluginManager.add("paste",tinymce.plugins.PastePlugin)})();
@@ -0,0 +1,940 @@
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 each = tinymce.each,
13
+ entities = null,
14
+ defs = {
15
+ paste_auto_cleanup_on_paste : true,
16
+ paste_block_drop : false,
17
+ paste_retain_style_properties : "none",
18
+ paste_strip_class_attributes : "mso",
19
+ paste_remove_spans : false,
20
+ paste_remove_styles : false,
21
+ paste_remove_styles_if_webkit : true,
22
+ paste_convert_middot_lists : true,
23
+ paste_convert_headers_to_strong : false,
24
+ paste_dialog_width : "450",
25
+ paste_dialog_height : "400",
26
+ paste_text_use_dialog : false,
27
+ paste_text_sticky : false,
28
+ paste_text_notifyalways : false,
29
+ paste_text_linebreaktype : "p",
30
+ paste_text_replacements : [
31
+ [/\u2026/g, "..."],
32
+ [/[\x93\x94\u201c\u201d]/g, '"'],
33
+ [/[\x60\x91\x92\u2018\u2019]/g, "'"]
34
+ ]
35
+ };
36
+
37
+ function getParam(ed, name) {
38
+ return ed.getParam(name, defs[name]);
39
+ }
40
+
41
+ tinymce.create('tinymce.plugins.PastePlugin', {
42
+ init : function(ed, url) {
43
+ var t = this;
44
+
45
+ t.editor = ed;
46
+ t.url = url;
47
+
48
+ // Setup plugin events
49
+ t.onPreProcess = new tinymce.util.Dispatcher(t);
50
+ t.onPostProcess = new tinymce.util.Dispatcher(t);
51
+
52
+ // Register default handlers
53
+ t.onPreProcess.add(t._preProcess);
54
+ t.onPostProcess.add(t._postProcess);
55
+
56
+ // Register optional preprocess handler
57
+ t.onPreProcess.add(function(pl, o) {
58
+ ed.execCallback('paste_preprocess', pl, o);
59
+ });
60
+
61
+ // Register optional postprocess
62
+ t.onPostProcess.add(function(pl, o) {
63
+ ed.execCallback('paste_postprocess', pl, o);
64
+ });
65
+
66
+ // Initialize plain text flag
67
+ ed.pasteAsPlainText = false;
68
+
69
+ // This function executes the process handlers and inserts the contents
70
+ // force_rich overrides plain text mode set by user, important for pasting with execCommand
71
+ function process(o, force_rich) {
72
+ var dom = ed.dom;
73
+
74
+ // Execute pre process handlers
75
+ t.onPreProcess.dispatch(t, o);
76
+
77
+ // Create DOM structure
78
+ o.node = dom.create('div', 0, o.content);
79
+
80
+ // Execute post process handlers
81
+ t.onPostProcess.dispatch(t, o);
82
+
83
+ // Serialize content
84
+ o.content = ed.serializer.serialize(o.node, {getInner : 1});
85
+
86
+ // Plain text option active?
87
+ if ((!force_rich) && (ed.pasteAsPlainText)) {
88
+ t._insertPlainText(ed, dom, o.content);
89
+
90
+ if (!getParam(ed, "paste_text_sticky")) {
91
+ ed.pasteAsPlainText = false;
92
+ ed.controlManager.setActive("pastetext", false);
93
+ }
94
+ } else if (/<(p|h[1-6]|ul|ol)/.test(o.content)) {
95
+ // Handle insertion of contents containing block elements separately
96
+ t._insertBlockContent(ed, dom, o.content);
97
+ } else {
98
+ t._insert(o.content);
99
+ }
100
+ }
101
+
102
+ // Add command for external usage
103
+ ed.addCommand('mceInsertClipboardContent', function(u, o) {
104
+ process(o, true);
105
+ });
106
+
107
+ if (!getParam(ed, "paste_text_use_dialog")) {
108
+ ed.addCommand('mcePasteText', function(u, v) {
109
+ var cookie = tinymce.util.Cookie;
110
+
111
+ ed.pasteAsPlainText = !ed.pasteAsPlainText;
112
+ ed.controlManager.setActive('pastetext', ed.pasteAsPlainText);
113
+
114
+ if ((ed.pasteAsPlainText) && (!cookie.get("tinymcePasteText"))) {
115
+ if (getParam(ed, "paste_text_sticky")) {
116
+ ed.windowManager.alert(ed.translate('paste.plaintext_mode_sticky'));
117
+ } else {
118
+ ed.windowManager.alert(ed.translate('paste.plaintext_mode_sticky'));
119
+ }
120
+
121
+ if (!getParam(ed, "paste_text_notifyalways")) {
122
+ cookie.set("tinymcePasteText", "1", new Date(new Date().getFullYear() + 1, 12, 31))
123
+ }
124
+ }
125
+ });
126
+ }
127
+
128
+ ed.addButton('pastetext', {title: 'paste.paste_text_desc', cmd: 'mcePasteText'});
129
+ ed.addButton('selectall', {title: 'paste.selectall_desc', cmd: 'selectall'});
130
+
131
+ // This function grabs the contents from the clipboard by adding a
132
+ // hidden div and placing the caret inside it and after the browser paste
133
+ // is done it grabs that contents and processes that
134
+ function grabContent(e) {
135
+ var n, or, rng, sel = ed.selection, dom = ed.dom, body = ed.getBody(), posY;
136
+
137
+ // Check if browser supports direct plaintext access
138
+ if (ed.pasteAsPlainText && (e.clipboardData || dom.doc.dataTransfer)) {
139
+ e.preventDefault();
140
+ process({content : (e.clipboardData || dom.doc.dataTransfer).getData('Text')}, true);
141
+ return;
142
+ }
143
+
144
+ if (dom.get('_mcePaste'))
145
+ return;
146
+
147
+ // Create container to paste into
148
+ n = dom.add(body, 'div', {id : '_mcePaste', 'class' : 'mcePaste'}, '\uFEFF');
149
+
150
+ // If contentEditable mode we need to find out the position of the closest element
151
+ if (body != ed.getDoc().body)
152
+ posY = dom.getPos(ed.selection.getStart(), body).y;
153
+ else
154
+ posY = body.scrollTop;
155
+
156
+ // Styles needs to be applied after the element is added to the document since WebKit will otherwise remove all styles
157
+ dom.setStyles(n, {
158
+ position : 'absolute',
159
+ left : -10000,
160
+ top : posY,
161
+ width : 1,
162
+ height : 1,
163
+ overflow : 'hidden'
164
+ });
165
+
166
+ if (tinymce.isIE) {
167
+ // Select the container
168
+ rng = dom.doc.body.createTextRange();
169
+ rng.moveToElementText(n);
170
+ rng.execCommand('Paste');
171
+
172
+ // Remove container
173
+ dom.remove(n);
174
+
175
+ // Check if the contents was changed, if it wasn't then clipboard extraction failed probably due
176
+ // to IE security settings so we pass the junk though better than nothing right
177
+ if (n.innerHTML === '\uFEFF') {
178
+ ed.execCommand('mcePasteWord');
179
+ e.preventDefault();
180
+ return;
181
+ }
182
+
183
+ // Process contents
184
+ process({content : n.innerHTML});
185
+
186
+ // Block the real paste event
187
+ return tinymce.dom.Event.cancel(e);
188
+ } else {
189
+ function block(e) {
190
+ e.preventDefault();
191
+ };
192
+
193
+ // Block mousedown and click to prevent selection change
194
+ dom.bind(ed.getDoc(), 'mousedown', block);
195
+ dom.bind(ed.getDoc(), 'keydown', block);
196
+
197
+ or = ed.selection.getRng();
198
+
199
+ // Move caret into hidden div
200
+ n = n.firstChild;
201
+ rng = ed.getDoc().createRange();
202
+ rng.setStart(n, 0);
203
+ rng.setEnd(n, 1);
204
+ sel.setRng(rng);
205
+
206
+ // Wait a while and grab the pasted contents
207
+ window.setTimeout(function() {
208
+ var h = '', nl = dom.select('div.mcePaste');
209
+
210
+ // WebKit will split the div into multiple ones so this will loop through then all and join them to get the whole HTML string
211
+ each(nl, function(n) {
212
+ // WebKit duplicates the divs so we need to remove them
213
+ each(dom.select('div.mcePaste', n), function(n) {
214
+ dom.remove(n, 1);
215
+ });
216
+
217
+ // Remove apply style spans
218
+ each(dom.select('span.Apple-style-span', n), function(n) {
219
+ dom.remove(n, 1);
220
+ });
221
+
222
+ h += n.innerHTML;
223
+ });
224
+
225
+ // Remove the nodes
226
+ each(nl, function(n) {
227
+ dom.remove(n);
228
+ });
229
+
230
+ // Restore the old selection
231
+ if (or)
232
+ sel.setRng(or);
233
+
234
+ process({content : h});
235
+
236
+ // Unblock events ones we got the contents
237
+ dom.unbind(ed.getDoc(), 'mousedown', block);
238
+ dom.unbind(ed.getDoc(), 'keydown', block);
239
+ }, 0);
240
+ }
241
+ }
242
+
243
+ // Check if we should use the new auto process method
244
+ if (getParam(ed, "paste_auto_cleanup_on_paste")) {
245
+ // Is it's Opera or older FF use key handler
246
+ if (tinymce.isOpera || /Firefox\/2/.test(navigator.userAgent)) {
247
+ ed.onKeyDown.add(function(ed, e) {
248
+ if (((tinymce.isMac ? e.metaKey : e.ctrlKey) && e.keyCode == 86) || (e.shiftKey && e.keyCode == 45))
249
+ grabContent(e);
250
+ });
251
+ } else {
252
+ // Grab contents on paste event on Gecko and WebKit
253
+ ed.onPaste.addToTop(function(ed, e) {
254
+ return grabContent(e);
255
+ });
256
+ }
257
+ }
258
+
259
+ // Block all drag/drop events
260
+ if (getParam(ed, "paste_block_drop")) {
261
+ ed.onInit.add(function() {
262
+ ed.dom.bind(ed.getBody(), ['dragend', 'dragover', 'draggesture', 'dragdrop', 'drop', 'drag'], function(e) {
263
+ e.preventDefault();
264
+ e.stopPropagation();
265
+
266
+ return false;
267
+ });
268
+ });
269
+ }
270
+
271
+ // Add legacy support
272
+ t._legacySupport();
273
+ },
274
+
275
+ getInfo : function() {
276
+ return {
277
+ longname : 'Paste text/word',
278
+ author : 'Moxiecode Systems AB',
279
+ authorurl : 'http://tinymce.moxiecode.com',
280
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste',
281
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
282
+ };
283
+ },
284
+
285
+ _preProcess : function(pl, o) {
286
+ //console.log('Before preprocess:' + o.content);
287
+
288
+ var ed = this.editor,
289
+ h = o.content,
290
+ grep = tinymce.grep,
291
+ explode = tinymce.explode,
292
+ trim = tinymce.trim,
293
+ len, stripClass;
294
+
295
+ function process(items) {
296
+ each(items, function(v) {
297
+ // Remove or replace
298
+ if (v.constructor == RegExp)
299
+ h = h.replace(v, '');
300
+ else
301
+ h = h.replace(v[0], v[1]);
302
+ });
303
+ }
304
+
305
+ // Detect Word content and process it more aggressive
306
+ if (/class="?Mso|style="[^"]*\bmso-|w:WordDocument/i.test(h) || o.wordContent) {
307
+ o.wordContent = true; // Mark the pasted contents as word specific content
308
+ //console.log('Word contents detected.');
309
+
310
+ // Process away some basic content
311
+ process([
312
+ /^\s*(&nbsp;)+/gi, // &nbsp; entities at the start of contents
313
+ /(&nbsp;|<br[^>]*>)+\s*$/gi // &nbsp; entities at the end of contents
314
+ ]);
315
+
316
+ if (getParam(ed, "paste_convert_headers_to_strong")) {
317
+ h = h.replace(/<p [^>]*class="?MsoHeading"?[^>]*>(.*?)<\/p>/gi, "<p><strong>$1</strong></p>");
318
+ }
319
+
320
+ if (getParam(ed, "paste_convert_middot_lists")) {
321
+ process([
322
+ [/<!--\[if !supportLists\]-->/gi, '$&__MCE_ITEM__'], // Convert supportLists to a list item marker
323
+ [/(<span[^>]+(?:mso-list:|:\s*symbol)[^>]+>)/gi, '$1__MCE_ITEM__'] // Convert mso-list and symbol spans to item markers
324
+ ]);
325
+ }
326
+
327
+ process([
328
+ // Word comments like conditional comments etc
329
+ /<!--[\s\S]+?-->/gi,
330
+
331
+ // Remove comments, scripts (e.g., msoShowComment), XML tag, VML content, MS Office namespaced tags, and a few other tags
332
+ /<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,
333
+
334
+ // Convert <s> into <strike> for line-though
335
+ [/<(\/?)s>/gi, "<$1strike>"],
336
+
337
+ // Replace nsbp entites to char since it's easier to handle
338
+ [/&nbsp;/gi, "\u00a0"]
339
+ ]);
340
+
341
+ // Remove bad attributes, with or without quotes, ensuring that attribute text is really inside a tag.
342
+ // If JavaScript had a RegExp look-behind, we could have integrated this with the last process() array and got rid of the loop. But alas, it does not, so we cannot.
343
+ do {
344
+ len = h.length;
345
+ h = h.replace(/(<[a-z][^>]*\s)(?:id|name|language|type|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi, "$1");
346
+ } while (len != h.length);
347
+
348
+ // Remove all spans if no styles is to be retained
349
+ if (getParam(ed, "paste_retain_style_properties").replace(/^none$/i, "").length == 0) {
350
+ h = h.replace(/<\/?span[^>]*>/gi, "");
351
+ } else {
352
+ // We're keeping styles, so at least clean them up.
353
+ // CSS Reference: http://msdn.microsoft.com/en-us/library/aa155477.aspx
354
+
355
+ process([
356
+ // Convert <span style="mso-spacerun:yes">___</span> to string of alternating breaking/non-breaking spaces of same length
357
+ [/<span\s+style\s*=\s*"\s*mso-spacerun\s*:\s*yes\s*;?\s*"\s*>([\s\u00a0]*)<\/span>/gi,
358
+ function(str, spaces) {
359
+ return (spaces.length > 0)? spaces.replace(/./, " ").slice(Math.floor(spaces.length/2)).split("").join("\u00a0") : "";
360
+ }
361
+ ],
362
+
363
+ // Examine all styles: delete junk, transform some, and keep the rest
364
+ [/(<[a-z][^>]*)\sstyle="([^"]*)"/gi,
365
+ function(str, tag, style) {
366
+ var n = [],
367
+ i = 0,
368
+ s = explode(trim(style).replace(/&quot;/gi, "'"), ";");
369
+
370
+ // Examine each style definition within the tag's style attribute
371
+ each(s, function(v) {
372
+ var name, value,
373
+ parts = explode(v, ":");
374
+
375
+ function ensureUnits(v) {
376
+ return v + ((v !== "0") && (/\d$/.test(v)))? "px" : "";
377
+ }
378
+
379
+ if (parts.length == 2) {
380
+ name = parts[0].toLowerCase();
381
+ value = parts[1].toLowerCase();
382
+
383
+ // Translate certain MS Office styles into their CSS equivalents
384
+ switch (name) {
385
+ case "mso-padding-alt":
386
+ case "mso-padding-top-alt":
387
+ case "mso-padding-right-alt":
388
+ case "mso-padding-bottom-alt":
389
+ case "mso-padding-left-alt":
390
+ case "mso-margin-alt":
391
+ case "mso-margin-top-alt":
392
+ case "mso-margin-right-alt":
393
+ case "mso-margin-bottom-alt":
394
+ case "mso-margin-left-alt":
395
+ case "mso-table-layout-alt":
396
+ case "mso-height":
397
+ case "mso-width":
398
+ case "mso-vertical-align-alt":
399
+ n[i++] = name.replace(/^mso-|-alt$/g, "") + ":" + ensureUnits(value);
400
+ return;
401
+
402
+ case "horiz-align":
403
+ n[i++] = "text-align:" + value;
404
+ return;
405
+
406
+ case "vert-align":
407
+ n[i++] = "vertical-align:" + value;
408
+ return;
409
+
410
+ case "font-color":
411
+ case "mso-foreground":
412
+ n[i++] = "color:" + value;
413
+ return;
414
+
415
+ case "mso-background":
416
+ case "mso-highlight":
417
+ n[i++] = "background:" + value;
418
+ return;
419
+
420
+ case "mso-default-height":
421
+ n[i++] = "min-height:" + ensureUnits(value);
422
+ return;
423
+
424
+ case "mso-default-width":
425
+ n[i++] = "min-width:" + ensureUnits(value);
426
+ return;
427
+
428
+ case "mso-padding-between-alt":
429
+ n[i++] = "border-collapse:separate;border-spacing:" + ensureUnits(value);
430
+ return;
431
+
432
+ case "text-line-through":
433
+ if ((value == "single") || (value == "double")) {
434
+ n[i++] = "text-decoration:line-through";
435
+ }
436
+ return;
437
+
438
+ case "mso-zero-height":
439
+ if (value == "yes") {
440
+ n[i++] = "display:none";
441
+ }
442
+ return;
443
+ }
444
+
445
+ // Eliminate all MS Office style definitions that have no CSS equivalent by examining the first characters in the name
446
+ if (/^(mso|column|font-emph|lang|layout|line-break|list-image|nav|panose|punct|row|ruby|sep|size|src|tab-|table-border|text-(?!align|decor|indent|trans)|top-bar|version|vnd|word-break)/.test(name)) {
447
+ return;
448
+ }
449
+
450
+ // If it reached this point, it must be a valid CSS style
451
+ n[i++] = name + ":" + parts[1]; // Lower-case name, but keep value case
452
+ }
453
+ });
454
+
455
+ // If style attribute contained any valid styles the re-write it; otherwise delete style attribute.
456
+ if (i > 0) {
457
+ return tag + ' style="' + n.join(';') + '"';
458
+ } else {
459
+ return tag;
460
+ }
461
+ }
462
+ ]
463
+ ]);
464
+ }
465
+ }
466
+
467
+ // Replace headers with <strong>
468
+ if (getParam(ed, "paste_convert_headers_to_strong")) {
469
+ process([
470
+ [/<h[1-6][^>]*>/gi, "<p><strong>"],
471
+ [/<\/h[1-6][^>]*>/gi, "</strong></p>"]
472
+ ]);
473
+ }
474
+
475
+ // Class attribute options are: leave all as-is ("none"), remove all ("all"), or remove only those starting with mso ("mso").
476
+ // Note:- paste_strip_class_attributes: "none", verify_css_classes: true is also a good variation.
477
+ stripClass = getParam(ed, "paste_strip_class_attributes");
478
+
479
+ if (stripClass !== "none") {
480
+ function removeClasses(match, g1) {
481
+ if (stripClass === "all")
482
+ return '';
483
+
484
+ var cls = grep(explode(g1.replace(/^(["'])(.*)\1$/, "$2"), " "),
485
+ function(v) {
486
+ return (/^(?!mso)/i.test(v));
487
+ }
488
+ );
489
+
490
+ return cls.length ? ' class="' + cls.join(" ") + '"' : '';
491
+ };
492
+
493
+ h = h.replace(/ class="([^"]+)"/gi, removeClasses);
494
+ h = h.replace(/ class=(\w+)/gi, removeClasses);
495
+ }
496
+
497
+ // Remove spans option
498
+ if (getParam(ed, "paste_remove_spans")) {
499
+ h = h.replace(/<\/?span[^>]*>/gi, "");
500
+ }
501
+
502
+ //console.log('After preprocess:' + h);
503
+
504
+ o.content = h;
505
+ },
506
+
507
+ /**
508
+ * Various post process items.
509
+ */
510
+ _postProcess : function(pl, o) {
511
+ var t = this, ed = t.editor, dom = ed.dom, styleProps;
512
+
513
+ if (o.wordContent) {
514
+ // Remove named anchors or TOC links
515
+ each(dom.select('a', o.node), function(a) {
516
+ if (!a.href || a.href.indexOf('#_Toc') != -1)
517
+ dom.remove(a, 1);
518
+ });
519
+
520
+ if (getParam(ed, "paste_convert_middot_lists")) {
521
+ t._convertLists(pl, o);
522
+ }
523
+
524
+ // Process styles
525
+ styleProps = getParam(ed, "paste_retain_style_properties"); // retained properties
526
+
527
+ // Process only if a string was specified and not equal to "all" or "*"
528
+ if ((tinymce.is(styleProps, "string")) && (styleProps !== "all") && (styleProps !== "*")) {
529
+ styleProps = tinymce.explode(styleProps.replace(/^none$/i, ""));
530
+
531
+ // Retains some style properties
532
+ each(dom.select('*', o.node), function(el) {
533
+ var newStyle = {}, npc = 0, i, sp, sv;
534
+
535
+ // Store a subset of the existing styles
536
+ if (styleProps) {
537
+ for (i = 0; i < styleProps.length; i++) {
538
+ sp = styleProps[i];
539
+ sv = dom.getStyle(el, sp);
540
+
541
+ if (sv) {
542
+ newStyle[sp] = sv;
543
+ npc++;
544
+ }
545
+ }
546
+ }
547
+
548
+ // Remove all of the existing styles
549
+ dom.setAttrib(el, 'style', '');
550
+
551
+ if (styleProps && npc > 0)
552
+ dom.setStyles(el, newStyle); // Add back the stored subset of styles
553
+ else // Remove empty span tags that do not have class attributes
554
+ if (el.nodeName == 'SPAN' && !el.className)
555
+ dom.remove(el, true);
556
+ });
557
+ }
558
+ }
559
+
560
+ // Remove all style information or only specifically on WebKit to avoid the style bug on that browser
561
+ if (getParam(ed, "paste_remove_styles") || (getParam(ed, "paste_remove_styles_if_webkit") && tinymce.isWebKit)) {
562
+ each(dom.select('*[style]', o.node), function(el) {
563
+ el.removeAttribute('style');
564
+ el.removeAttribute('_mce_style');
565
+ });
566
+ } else {
567
+ if (tinymce.isWebKit) {
568
+ // We need to compress the styles on WebKit since if you paste <img border="0" /> it will become <img border="0" style="... lots of junk ..." />
569
+ // Removing the mce_style that contains the real value will force the Serializer engine to compress the styles
570
+ each(dom.select('*', o.node), function(el) {
571
+ el.removeAttribute('_mce_style');
572
+ });
573
+ }
574
+ }
575
+ },
576
+
577
+ /**
578
+ * Converts the most common bullet and number formats in Office into a real semantic UL/LI list.
579
+ */
580
+ _convertLists : function(pl, o) {
581
+ var dom = pl.editor.dom, listElm, li, lastMargin = -1, margin, levels = [], lastType, html;
582
+
583
+ // Convert middot lists into real semantic lists
584
+ each(dom.select('p', o.node), function(p) {
585
+ var sib, val = '', type, html, idx, parents;
586
+
587
+ // Get text node value at beginning of paragraph
588
+ for (sib = p.firstChild; sib && sib.nodeType == 3; sib = sib.nextSibling)
589
+ val += sib.nodeValue;
590
+
591
+ val = p.innerHTML.replace(/<\/?\w+[^>]*>/gi, '').replace(/&nbsp;/g, '\u00a0');
592
+
593
+ // Detect unordered lists look for bullets
594
+ if (/^(__MCE_ITEM__)+[\u2022\u00b7\u00a7\u00d8o]\s*\u00a0*/.test(val))
595
+ type = 'ul';
596
+
597
+ // Detect ordered lists 1., a. or ixv.
598
+ if (/^__MCE_ITEM__\s*\w+\.\s*\u00a0{2,}/.test(val))
599
+ type = 'ol';
600
+
601
+ // Check if node value matches the list pattern: o&nbsp;&nbsp;
602
+ if (type) {
603
+ margin = parseFloat(p.style.marginLeft || 0);
604
+
605
+ if (margin > lastMargin)
606
+ levels.push(margin);
607
+
608
+ if (!listElm || type != lastType) {
609
+ listElm = dom.create(type);
610
+ dom.insertAfter(listElm, p);
611
+ } else {
612
+ // Nested list element
613
+ if (margin > lastMargin) {
614
+ listElm = li.appendChild(dom.create(type));
615
+ } else if (margin < lastMargin) {
616
+ // Find parent level based on margin value
617
+ idx = tinymce.inArray(levels, margin);
618
+ parents = dom.getParents(listElm.parentNode, type);
619
+ listElm = parents[parents.length - 1 - idx] || listElm;
620
+ }
621
+ }
622
+
623
+ // Remove middot or number spans if they exists
624
+ each(dom.select('span', p), function(span) {
625
+ var html = span.innerHTML.replace(/<\/?\w+[^>]*>/gi, '');
626
+
627
+ // Remove span with the middot or the number
628
+ if (type == 'ul' && /^[\u2022\u00b7\u00a7\u00d8o]/.test(html))
629
+ dom.remove(span);
630
+ else if (/^[\s\S]*\w+\.(&nbsp;|\u00a0)*\s*/.test(html))
631
+ dom.remove(span);
632
+ });
633
+
634
+ html = p.innerHTML;
635
+
636
+ // Remove middot/list items
637
+ if (type == 'ul')
638
+ html = p.innerHTML.replace(/__MCE_ITEM__/g, '').replace(/^[\u2022\u00b7\u00a7\u00d8o]\s*(&nbsp;|\u00a0)+\s*/, '');
639
+ else
640
+ html = p.innerHTML.replace(/__MCE_ITEM__/g, '').replace(/^\s*\w+\.(&nbsp;|\u00a0)+\s*/, '');
641
+
642
+ // Create li and add paragraph data into the new li
643
+ li = listElm.appendChild(dom.create('li', 0, html));
644
+ dom.remove(p);
645
+
646
+ lastMargin = margin;
647
+ lastType = type;
648
+ } else
649
+ listElm = lastMargin = 0; // End list element
650
+ });
651
+
652
+ // Remove any left over makers
653
+ html = o.node.innerHTML;
654
+ if (html.indexOf('__MCE_ITEM__') != -1)
655
+ o.node.innerHTML = html.replace(/__MCE_ITEM__/g, '');
656
+ },
657
+
658
+ /**
659
+ * This method will split the current block parent and insert the contents inside the split position.
660
+ * This logic can be improved so text nodes at the start/end remain in the start/end block elements
661
+ */
662
+ _insertBlockContent : function(ed, dom, content) {
663
+ var parentBlock, marker, sel = ed.selection, last, elm, vp, y, elmHeight, markerId = 'mce_marker';
664
+
665
+ function select(n) {
666
+ var r;
667
+
668
+ if (tinymce.isIE) {
669
+ r = ed.getDoc().body.createTextRange();
670
+ r.moveToElementText(n);
671
+ r.collapse(false);
672
+ r.select();
673
+ } else {
674
+ sel.select(n, 1);
675
+ sel.collapse(false);
676
+ }
677
+ }
678
+
679
+ // Insert a marker for the caret position
680
+ this._insert('<span id="' + markerId + '">&nbsp;</span>', 1);
681
+ marker = dom.get(markerId);
682
+ parentBlock = dom.getParent(marker, 'p,h1,h2,h3,h4,h5,h6,ul,ol,th,td');
683
+
684
+ // If it's a parent block but not a table cell
685
+ if (parentBlock && !/TD|TH/.test(parentBlock.nodeName)) {
686
+ // Split parent block
687
+ marker = dom.split(parentBlock, marker);
688
+
689
+ // Insert nodes before the marker
690
+ each(dom.create('div', 0, content).childNodes, function(n) {
691
+ last = marker.parentNode.insertBefore(n.cloneNode(true), marker);
692
+ });
693
+
694
+ // Move caret after marker
695
+ select(last);
696
+ } else {
697
+ dom.setOuterHTML(marker, content);
698
+ sel.select(ed.getBody(), 1);
699
+ sel.collapse(0);
700
+ }
701
+
702
+ // Remove marker if it's left
703
+ while (elm = dom.get(markerId))
704
+ dom.remove(elm);
705
+
706
+ // Get element, position and height
707
+ elm = sel.getStart();
708
+ vp = dom.getViewPort(ed.getWin());
709
+ y = ed.dom.getPos(elm).y;
710
+ elmHeight = elm.clientHeight;
711
+
712
+ // Is element within viewport if not then scroll it into view
713
+ if (y < vp.y || y + elmHeight > vp.y + vp.h)
714
+ ed.getDoc().body.scrollTop = y < vp.y ? y : y - vp.h + 25;
715
+ },
716
+
717
+ /**
718
+ * Inserts the specified contents at the caret position.
719
+ */
720
+ _insert : function(h, skip_undo) {
721
+ var ed = this.editor, r = ed.selection.getRng();
722
+
723
+ // First delete the contents seems to work better on WebKit when the selection spans multiple list items or multiple table cells.
724
+ if (!ed.selection.isCollapsed() && r.startContainer != r.endContainer)
725
+ ed.getDoc().execCommand('Delete', false, null);
726
+
727
+ // It's better to use the insertHTML method on Gecko since it will combine paragraphs correctly before inserting the contents
728
+ ed.execCommand(tinymce.isGecko ? 'insertHTML' : 'mceInsertContent', false, h, {skip_undo : skip_undo});
729
+ },
730
+
731
+ /**
732
+ * Instead of the old plain text method which tried to re-create a paste operation, the
733
+ * new approach adds a plain text mode toggle switch that changes the behavior of paste.
734
+ * This function is passed the same input that the regular paste plugin produces.
735
+ * It performs additional scrubbing and produces (and inserts) the plain text.
736
+ * This approach leverages all of the great existing functionality in the paste
737
+ * plugin, and requires minimal changes to add the new functionality.
738
+ * Speednet - June 2009
739
+ */
740
+ _insertPlainText : function(ed, dom, h) {
741
+ var i, len, pos, rpos, node, breakElms, before, after,
742
+ w = ed.getWin(),
743
+ d = ed.getDoc(),
744
+ sel = ed.selection,
745
+ is = tinymce.is,
746
+ inArray = tinymce.inArray,
747
+ linebr = getParam(ed, "paste_text_linebreaktype"),
748
+ rl = getParam(ed, "paste_text_replacements");
749
+
750
+ function process(items) {
751
+ each(items, function(v) {
752
+ if (v.constructor == RegExp)
753
+ h = h.replace(v, "");
754
+ else
755
+ h = h.replace(v[0], v[1]);
756
+ });
757
+ };
758
+
759
+ if ((typeof(h) === "string") && (h.length > 0)) {
760
+ if (!entities)
761
+ entities = ("34,quot,38,amp,39,apos,60,lt,62,gt," + ed.serializer.settings.entities).split(",");
762
+
763
+ // If HTML content with line-breaking tags, then remove all cr/lf chars because only tags will break a line
764
+ if (/<(?:p|br|h[1-6]|ul|ol|dl|table|t[rdh]|div|blockquote|fieldset|pre|address|center)[^>]*>/i.test(h)) {
765
+ process([
766
+ /[\n\r]+/g
767
+ ]);
768
+ } else {
769
+ // Otherwise just get rid of carriage returns (only need linefeeds)
770
+ process([
771
+ /\r+/g
772
+ ]);
773
+ }
774
+
775
+ process([
776
+ [/<\/(?:p|h[1-6]|ul|ol|dl|table|div|blockquote|fieldset|pre|address|center)>/gi, "\n\n"], // Block tags get a blank line after them
777
+ [/<br[^>]*>|<\/tr>/gi, "\n"], // Single linebreak for <br /> tags and table rows
778
+ [/<\/t[dh]>\s*<t[dh][^>]*>/gi, "\t"], // Table cells get tabs betweem them
779
+ /<[a-z!\/?][^>]*>/gi, // Delete all remaining tags
780
+ [/&nbsp;/gi, " "], // Convert non-break spaces to regular spaces (remember, *plain text*)
781
+ [
782
+ // HTML entity
783
+ /&(#\d+|[a-z0-9]{1,10});/gi,
784
+
785
+ // Replace with actual character
786
+ function(e, s) {
787
+ if (s.charAt(0) === "#") {
788
+ return String.fromCharCode(s.slice(1));
789
+ }
790
+ else {
791
+ return ((e = inArray(entities, s)) > 0)? String.fromCharCode(entities[e-1]) : " ";
792
+ }
793
+ }
794
+ ],
795
+ [/(?:(?!\n)\s)*(\n+)(?:(?!\n)\s)*/gi, "$1"], // Cool little RegExp deletes whitespace around linebreak chars.
796
+ [/\n{3,}/g, "\n\n"], // Max. 2 consecutive linebreaks
797
+ /^\s+|\s+$/g // Trim the front & back
798
+ ]);
799
+
800
+ h = dom.encode(h);
801
+
802
+ // Delete any highlighted text before pasting
803
+ if (!sel.isCollapsed()) {
804
+ d.execCommand("Delete", false, null);
805
+ }
806
+
807
+ // Perform default or custom replacements
808
+ if (is(rl, "array") || (is(rl, "array"))) {
809
+ process(rl);
810
+ }
811
+ else if (is(rl, "string")) {
812
+ process(new RegExp(rl, "gi"));
813
+ }
814
+
815
+ // Treat paragraphs as specified in the config
816
+ if (linebr == "none") {
817
+ process([
818
+ [/\n+/g, " "]
819
+ ]);
820
+ }
821
+ else if (linebr == "br") {
822
+ process([
823
+ [/\n/g, "<br />"]
824
+ ]);
825
+ }
826
+ else {
827
+ process([
828
+ /^\s+|\s+$/g,
829
+ [/\n\n/g, "</p><p>"],
830
+ [/\n/g, "<br />"]
831
+ ]);
832
+ }
833
+
834
+ // This next piece of code handles the situation where we're pasting more than one paragraph of plain
835
+ // text, and we are pasting the content into the middle of a block node in the editor. The block
836
+ // node gets split at the selection point into "Para A" and "Para B" (for the purposes of explaining).
837
+ // The first paragraph of the pasted text is appended to "Para A", and the last paragraph of the
838
+ // pasted text is prepended to "Para B". Any other paragraphs of pasted text are placed between
839
+ // "Para A" and "Para B". This code solves a host of problems with the original plain text plugin and
840
+ // now handles styles correctly. (Pasting plain text into a styled paragraph is supposed to make the
841
+ // plain text take the same style as the existing paragraph.)
842
+ if ((pos = h.indexOf("</p><p>")) != -1) {
843
+ rpos = h.lastIndexOf("</p><p>");
844
+ node = sel.getNode();
845
+ breakElms = []; // Get list of elements to break
846
+
847
+ do {
848
+ if (node.nodeType == 1) {
849
+ // Don't break tables and break at body
850
+ if (node.nodeName == "TD" || node.nodeName == "BODY") {
851
+ break;
852
+ }
853
+
854
+ breakElms[breakElms.length] = node;
855
+ }
856
+ } while (node = node.parentNode);
857
+
858
+ // Are we in the middle of a block node?
859
+ if (breakElms.length > 0) {
860
+ before = h.substring(0, pos);
861
+ after = "";
862
+
863
+ for (i=0, len=breakElms.length; i<len; i++) {
864
+ before += "</" + breakElms[i].nodeName.toLowerCase() + ">";
865
+ after += "<" + breakElms[breakElms.length-i-1].nodeName.toLowerCase() + ">";
866
+ }
867
+
868
+ if (pos == rpos) {
869
+ h = before + after + h.substring(pos+7);
870
+ }
871
+ else {
872
+ h = before + h.substring(pos+4, rpos+4) + after + h.substring(rpos+7);
873
+ }
874
+ }
875
+ }
876
+
877
+ // Insert content at the caret, plus add a marker for repositioning the caret
878
+ ed.execCommand("mceInsertRawHTML", false, h + '<span id="_plain_text_marker">&nbsp;</span>');
879
+
880
+ // Reposition the caret to the marker, which was placed immediately after the inserted content.
881
+ // Needs to be done asynchronously (in window.setTimeout) or else it doesn't work in all browsers.
882
+ // The second part of the code scrolls the content up if the caret is positioned off-screen.
883
+ // This is only necessary for WebKit browsers, but it doesn't hurt to use for all.
884
+ window.setTimeout(function() {
885
+ var marker = dom.get('_plain_text_marker'),
886
+ elm, vp, y, elmHeight;
887
+
888
+ sel.select(marker, false);
889
+ d.execCommand("Delete", false, null);
890
+ marker = null;
891
+
892
+ // Get element, position and height
893
+ elm = sel.getStart();
894
+ vp = dom.getViewPort(w);
895
+ y = dom.getPos(elm).y;
896
+ elmHeight = elm.clientHeight;
897
+
898
+ // Is element within viewport if not then scroll it into view
899
+ if ((y < vp.y) || (y + elmHeight > vp.y + vp.h)) {
900
+ d.body.scrollTop = y < vp.y ? y : y - vp.h + 25;
901
+ }
902
+ }, 0);
903
+ }
904
+ },
905
+
906
+ /**
907
+ * This method will open the old style paste dialogs. Some users might want the old behavior but still use the new cleanup engine.
908
+ */
909
+ _legacySupport : function() {
910
+ var t = this, ed = t.editor;
911
+
912
+ // Register command(s) for backwards compatibility
913
+ ed.addCommand("mcePasteWord", function() {
914
+ ed.windowManager.open({
915
+ file: t.url + "/pasteword.htm",
916
+ width: parseInt(getParam(ed, "paste_dialog_width")),
917
+ height: parseInt(getParam(ed, "paste_dialog_height")),
918
+ inline: 1
919
+ });
920
+ });
921
+
922
+ if (getParam(ed, "paste_text_use_dialog")) {
923
+ ed.addCommand("mcePasteText", function() {
924
+ ed.windowManager.open({
925
+ file : t.url + "/pastetext.htm",
926
+ width: parseInt(getParam(ed, "paste_dialog_width")),
927
+ height: parseInt(getParam(ed, "paste_dialog_height")),
928
+ inline : 1
929
+ });
930
+ });
931
+ }
932
+
933
+ // Register button for backwards compatibility
934
+ ed.addButton("pasteword", {title : "paste.paste_word_desc", cmd : "mcePasteWord"});
935
+ }
936
+ });
937
+
938
+ // Register plugin
939
+ tinymce.PluginManager.add("paste", tinymce.plugins.PastePlugin);
940
+ })();