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.
- data/Rakefile +21 -24
- data/VERSION +1 -1
- data/app/helpers/muck_invites_helper.rb +5 -4
- data/muck-invites.gemspec +2123 -6
- data/test/app/controllers/application_controller.rb +15 -0
- data/test/app/controllers/default_controller.rb +9 -0
- data/test/app/helpers/application_helper.rb +3 -0
- data/test/app/models/.keep +0 -0
- data/test/app/models/activity.rb +26 -0
- data/test/app/models/authentication.rb +5 -0
- data/test/app/models/country.rb +13 -0
- data/test/app/models/invite.rb +3 -0
- data/test/app/models/invitee.rb +4 -0
- data/test/app/models/language.rb +15 -0
- data/test/app/models/state.rb +13 -0
- data/test/app/models/user.rb +10 -0
- data/test/app/models/user_session.rb +2 -0
- data/test/app/views/default/index.html.erb +3 -0
- data/test/app/views/layouts/default.html.erb +32 -0
- data/test/config/application.rb +46 -0
- data/test/config/assets.yml +34 -0
- data/test/config/boot.rb +13 -0
- data/test/config/database.yml +16 -0
- data/test/config/environment.rb +5 -0
- data/test/config/environments/development.rb +26 -0
- data/test/config/environments/production.rb +49 -0
- data/test/config/environments/test.rb +35 -0
- data/test/config/initializers/backtrace_silencers.rb +7 -0
- data/test/config/initializers/inflections.rb +10 -0
- data/test/config/initializers/mce_options.rb +83 -0
- data/test/config/initializers/mime_types.rb +5 -0
- data/test/config/initializers/muck.rb +72 -0
- data/test/config/initializers/secret_token.rb +7 -0
- data/test/config/initializers/session_store.rb +8 -0
- data/test/config/locales/en.yml +5 -0
- data/test/config/routes.rb +6 -0
- data/test/config/tiny_mce.yml +6 -0
- data/test/db/migrate/20090320174818_create_muck_permissions_and_roles.rb +16 -0
- data/test/db/migrate/20090327231918_create_users.rb +40 -0
- data/test/db/migrate/20090402033319_add_muck_activities.rb +36 -0
- data/test/db/migrate/20090402234137_create_languages.rb +18 -0
- data/test/db/migrate/20090426041056_create_countries.rb +15 -0
- data/test/db/migrate/20090426041103_create_states.rb +18 -0
- data/test/db/migrate/20090512013727_create_profiles.rb +21 -0
- data/test/db/migrate/20090517040220_create_uploads.rb +38 -0
- data/test/db/migrate/20090608073052_create_friends.rb +16 -0
- data/test/db/migrate/20090613173314_create_comments.rb +24 -0
- data/test/db/migrate/20090703055724_add_contents.rb +49 -0
- data/test/db/migrate/20090704220055_create_slugs.rb +18 -0
- data/test/db/migrate/20090730044139_add_comment_cache.rb +9 -0
- data/test/db/migrate/20090730154102_allow_null_user.rb +9 -0
- data/test/db/migrate/20090806230610_add_layout_to_contents.rb +9 -0
- data/test/db/migrate/20090808175401_add_contents_comment_counter_cache.rb +9 -0
- data/test/db/migrate/20090818204527_add_activity_indexes.rb +9 -0
- data/test/db/migrate/20090819030523_add_attachable_to_activities.rb +13 -0
- data/test/db/migrate/20090928213532_create_invites.rb +20 -0
- data/test/db/migrate/20091124203137_add_location_to_profiles.rb +15 -0
- data/test/db/migrate/20091124205819_add_fields_to_profiles.rb +21 -0
- data/test/db/migrate/20091128170318_make_invites_polymorphic.rb +27 -0
- data/test/db/migrate/20091205001023_create_oauth_consumer_tokens.rb +21 -0
- data/test/db/migrate/20091210172015_create_oauth_tables.rb +46 -0
- data/test/db/migrate/20100123035450_create_access_codes.rb +19 -0
- data/test/db/migrate/20100123233654_create_access_code_requests.rb +14 -0
- data/test/db/migrate/20100206000906_remove_name_fields.rb +15 -0
- data/test/db/migrate/20101117172951_add_name_to_access_code_requests.rb +9 -0
- data/test/db/migrate/20110216045051_create_authentications.rb +21 -0
- data/test/db/migrate/20110226174321_add_cached_slugs.rb +10 -0
- data/test/db/migrate/20110303183433_add_sent_to_to_access_codes.rb +9 -0
- data/test/db/migrate/20110420153714_add_provided_by_to_access_codes.rb +9 -0
- data/test/db/schema.rb +363 -0
- data/test/db/seeds.rb +7 -0
- data/test/doc/README_FOR_APP +2 -0
- data/test/features/step_definitions/common_steps.rb +93 -0
- data/test/features/step_definitions/web_steps.rb +219 -0
- data/test/features/step_definitions/webrat_steps.rb +128 -0
- data/test/features/support/custom_env.rb +19 -0
- data/test/features/support/env.rb +58 -0
- data/test/features/support/paths.rb +33 -0
- data/test/lib/daemons/amazonaws.rb +36 -0
- data/test/lib/tasks/.gitkeep +0 -0
- data/test/lib/tasks/cucumber.rake +53 -0
- data/test/public/.htaccess +40 -0
- data/test/public/404.html +30 -0
- data/test/public/422.html +30 -0
- data/test/public/500.html +30 -0
- data/test/public/dispatch.rb +10 -0
- data/test/public/favicon.ico +0 -0
- data/test/public/images/admin/Home.gif +0 -0
- data/test/public/images/admin/roles.gif +0 -0
- data/test/public/images/admin/source/Home.png +0 -0
- data/test/public/images/admin/source/User.png +0 -0
- data/test/public/images/admin/source/roles.png +0 -0
- data/test/public/images/admin/user.gif +0 -0
- data/test/public/images/arrow_down.gif +0 -0
- data/test/public/images/arrow_left.gif +0 -0
- data/test/public/images/arrow_right.gif +0 -0
- data/test/public/images/arrow_up.gif +0 -0
- data/test/public/images/fancybox/blank.gif +0 -0
- data/test/public/images/fancybox/fancy_close.png +0 -0
- data/test/public/images/fancybox/fancy_closebox.png +0 -0
- data/test/public/images/fancybox/fancy_left.png +0 -0
- data/test/public/images/fancybox/fancy_loading.png +0 -0
- data/test/public/images/fancybox/fancy_nav_left.png +0 -0
- data/test/public/images/fancybox/fancy_nav_right.png +0 -0
- data/test/public/images/fancybox/fancy_progress.png +0 -0
- data/test/public/images/fancybox/fancy_right.png +0 -0
- data/test/public/images/fancybox/fancy_shadow_e.png +0 -0
- data/test/public/images/fancybox/fancy_shadow_n.png +0 -0
- data/test/public/images/fancybox/fancy_shadow_ne.png +0 -0
- data/test/public/images/fancybox/fancy_shadow_nw.png +0 -0
- data/test/public/images/fancybox/fancy_shadow_s.png +0 -0
- data/test/public/images/fancybox/fancy_shadow_se.png +0 -0
- data/test/public/images/fancybox/fancy_shadow_sw.png +0 -0
- data/test/public/images/fancybox/fancy_shadow_w.png +0 -0
- data/test/public/images/fancybox/fancy_title_left.png +0 -0
- data/test/public/images/fancybox/fancy_title_main.png +0 -0
- data/test/public/images/fancybox/fancy_title_over.png +0 -0
- data/test/public/images/fancybox/fancy_title_right.png +0 -0
- data/test/public/images/fancybox/fancybox-x.png +0 -0
- data/test/public/images/fancybox/fancybox-y.png +0 -0
- data/test/public/images/fancybox/fancybox.png +0 -0
- data/test/public/images/file_icons/excel.gif +0 -0
- data/test/public/images/file_icons/file.gif +0 -0
- data/test/public/images/file_icons/file.png +0 -0
- data/test/public/images/file_icons/file_aac.gif +0 -0
- data/test/public/images/file_icons/file_ai.gif +0 -0
- data/test/public/images/file_icons/file_avi.gif +0 -0
- data/test/public/images/file_icons/file_bin.gif +0 -0
- data/test/public/images/file_icons/file_bmp.gif +0 -0
- data/test/public/images/file_icons/file_cue.gif +0 -0
- data/test/public/images/file_icons/file_divx.gif +0 -0
- data/test/public/images/file_icons/file_doc.gif +0 -0
- data/test/public/images/file_icons/file_eps.gif +0 -0
- data/test/public/images/file_icons/file_flac.gif +0 -0
- data/test/public/images/file_icons/file_flv.gif +0 -0
- data/test/public/images/file_icons/file_gif.gif +0 -0
- data/test/public/images/file_icons/file_html.gif +0 -0
- data/test/public/images/file_icons/file_ical.gif +0 -0
- data/test/public/images/file_icons/file_indd.gif +0 -0
- data/test/public/images/file_icons/file_inx.gif +0 -0
- data/test/public/images/file_icons/file_iso.gif +0 -0
- data/test/public/images/file_icons/file_jpg.gif +0 -0
- data/test/public/images/file_icons/file_mov.gif +0 -0
- data/test/public/images/file_icons/file_mp3.gif +0 -0
- data/test/public/images/file_icons/file_mpg.gif +0 -0
- data/test/public/images/file_icons/file_pdf.gif +0 -0
- data/test/public/images/file_icons/file_php.gif +0 -0
- data/test/public/images/file_icons/file_png.gif +0 -0
- data/test/public/images/file_icons/file_pps.gif +0 -0
- data/test/public/images/file_icons/file_ppt.gif +0 -0
- data/test/public/images/file_icons/file_psd.gif +0 -0
- data/test/public/images/file_icons/file_qxd.gif +0 -0
- data/test/public/images/file_icons/file_qxp.gif +0 -0
- data/test/public/images/file_icons/file_raw.gif +0 -0
- data/test/public/images/file_icons/file_rtf.gif +0 -0
- data/test/public/images/file_icons/file_svg.gif +0 -0
- data/test/public/images/file_icons/file_tif.gif +0 -0
- data/test/public/images/file_icons/file_txt.gif +0 -0
- data/test/public/images/file_icons/file_vcf.gif +0 -0
- data/test/public/images/file_icons/file_wav.gif +0 -0
- data/test/public/images/file_icons/file_wma.gif +0 -0
- data/test/public/images/file_icons/file_xls.gif +0 -0
- data/test/public/images/file_icons/file_xml.gif +0 -0
- data/test/public/images/file_icons/mp3.gif +0 -0
- data/test/public/images/file_icons/pdf.gif +0 -0
- data/test/public/images/file_icons/pdf.png +0 -0
- data/test/public/images/file_icons/text.gif +0 -0
- data/test/public/images/file_icons/text.png +0 -0
- data/test/public/images/file_icons/word.gif +0 -0
- data/test/public/images/icon_no.gif +0 -0
- data/test/public/images/icon_success.gif +0 -0
- data/test/public/images/icons/accept.png +0 -0
- data/test/public/images/icons/add.png +0 -0
- data/test/public/images/icons/blue_guy.png +0 -0
- data/test/public/images/icons/button_background.png +0 -0
- data/test/public/images/icons/cancel.png +0 -0
- data/test/public/images/icons/close.png +0 -0
- data/test/public/images/icons/comment.png +0 -0
- data/test/public/images/icons/delete.png +0 -0
- data/test/public/images/icons/exclaim.png +0 -0
- data/test/public/images/icons/external.png +0 -0
- data/test/public/images/icons/feed.png +0 -0
- data/test/public/images/icons/grey_guy.png +0 -0
- data/test/public/images/icons/hide.png +0 -0
- data/test/public/images/icons/information.png +0 -0
- data/test/public/images/icons/minus.png +0 -0
- data/test/public/images/icons/pending.png +0 -0
- data/test/public/images/icons/question.png +0 -0
- data/test/public/images/icons/search_box.png +0 -0
- data/test/public/images/icons/star.png +0 -0
- data/test/public/images/icons/stop.png +0 -0
- data/test/public/images/icons/thumb_down.png +0 -0
- data/test/public/images/icons/thumb_up.png +0 -0
- data/test/public/images/icons/vote.png +0 -0
- data/test/public/images/loading.gif +0 -0
- data/test/public/images/nothing.png +0 -0
- data/test/public/images/profile_default.jpg +0 -0
- data/test/public/images/rails.png +0 -0
- data/test/public/images/service_icons/16/amazon.png +0 -0
- data/test/public/images/service_icons/16/ask.png +0 -0
- data/test/public/images/service_icons/16/bibsonomy.png +0 -0
- data/test/public/images/service_icons/16/bing.png +0 -0
- data/test/public/images/service_icons/16/blogger.png +0 -0
- data/test/public/images/service_icons/16/bloglines.png +0 -0
- data/test/public/images/service_icons/16/citeulike.png +0 -0
- data/test/public/images/service_icons/16/clipmarks.png +0 -0
- data/test/public/images/service_icons/16/connotea.png +0 -0
- data/test/public/images/service_icons/16/dailymotion.png +0 -0
- data/test/public/images/service_icons/16/delicious.png +0 -0
- data/test/public/images/service_icons/16/digg.png +0 -0
- data/test/public/images/service_icons/16/diigo.png +0 -0
- data/test/public/images/service_icons/16/facebook.png +0 -0
- data/test/public/images/service_icons/16/feed.png +0 -0
- data/test/public/images/service_icons/16/fireeagle.png +0 -0
- data/test/public/images/service_icons/16/flickr.png +0 -0
- data/test/public/images/service_icons/16/fotolog.png +0 -0
- data/test/public/images/service_icons/16/friendfeed.png +0 -0
- data/test/public/images/service_icons/16/friendster.png +0 -0
- data/test/public/images/service_icons/16/furl.png +0 -0
- data/test/public/images/service_icons/16/goodreads.png +0 -0
- data/test/public/images/service_icons/16/google.png +0 -0
- data/test/public/images/service_icons/16/googleblog.png +0 -0
- data/test/public/images/service_icons/16/googlenews.png +0 -0
- data/test/public/images/service_icons/16/icerocket.png +0 -0
- data/test/public/images/service_icons/16/identica.png +0 -0
- data/test/public/images/service_icons/16/joost.png +0 -0
- data/test/public/images/service_icons/16/lastfm.png +0 -0
- data/test/public/images/service_icons/16/librarything.png +0 -0
- data/test/public/images/service_icons/16/linkedin.png +0 -0
- data/test/public/images/service_icons/16/livejournal.png +0 -0
- data/test/public/images/service_icons/16/magnolia.png +0 -0
- data/test/public/images/service_icons/16/mendeley.png +0 -0
- data/test/public/images/service_icons/16/metacafe.png +0 -0
- data/test/public/images/service_icons/16/mixx.png +0 -0
- data/test/public/images/service_icons/16/myspace.png +0 -0
- data/test/public/images/service_icons/16/netflix.png +0 -0
- data/test/public/images/service_icons/16/netvibes.png +0 -0
- data/test/public/images/service_icons/16/newsvine.png +0 -0
- data/test/public/images/service_icons/16/oai.png +0 -0
- data/test/public/images/service_icons/16/odeo.png +0 -0
- data/test/public/images/service_icons/16/opml.png +0 -0
- data/test/public/images/service_icons/16/pandora.png +0 -0
- data/test/public/images/service_icons/16/photobucket.png +0 -0
- data/test/public/images/service_icons/16/picasa.png +0 -0
- data/test/public/images/service_icons/16/polyvore.png +0 -0
- data/test/public/images/service_icons/16/pownce.png +0 -0
- data/test/public/images/service_icons/16/reddit.png +0 -0
- data/test/public/images/service_icons/16/simpy.png +0 -0
- data/test/public/images/service_icons/16/smugmug.png +0 -0
- data/test/public/images/service_icons/16/stumbleupon.png +0 -0
- data/test/public/images/service_icons/16/tag.png +0 -0
- data/test/public/images/service_icons/16/technorati.png +0 -0
- data/test/public/images/service_icons/16/tumblr.png +0 -0
- data/test/public/images/service_icons/16/twine.png +0 -0
- data/test/public/images/service_icons/16/twitter.png +0 -0
- data/test/public/images/service_icons/16/vimeo.png +0 -0
- data/test/public/images/service_icons/16/webshots.png +0 -0
- data/test/public/images/service_icons/16/wordpress.png +0 -0
- data/test/public/images/service_icons/16/xanga.png +0 -0
- data/test/public/images/service_icons/16/yahoo.png +0 -0
- data/test/public/images/service_icons/16/yelp.png +0 -0
- data/test/public/images/service_icons/16/youtube.png +0 -0
- data/test/public/images/service_icons/16/zooomr.png +0 -0
- data/test/public/images/service_icons/16/zotero.png +0 -0
- data/test/public/images/service_icons/24/amazon.png +0 -0
- data/test/public/images/service_icons/24/ask.png +0 -0
- data/test/public/images/service_icons/24/bibsonomy.png +0 -0
- data/test/public/images/service_icons/24/bing.png +0 -0
- data/test/public/images/service_icons/24/blogger.png +0 -0
- data/test/public/images/service_icons/24/bloglines.png +0 -0
- data/test/public/images/service_icons/24/citeulike.png +0 -0
- data/test/public/images/service_icons/24/clipmarks.png +0 -0
- data/test/public/images/service_icons/24/connotea.png +0 -0
- data/test/public/images/service_icons/24/dailymotion.png +0 -0
- data/test/public/images/service_icons/24/delicious.png +0 -0
- data/test/public/images/service_icons/24/digg.png +0 -0
- data/test/public/images/service_icons/24/diigo.png +0 -0
- data/test/public/images/service_icons/24/facebook.png +0 -0
- data/test/public/images/service_icons/24/feed.png +0 -0
- data/test/public/images/service_icons/24/fireeagle.png +0 -0
- data/test/public/images/service_icons/24/flickr.png +0 -0
- data/test/public/images/service_icons/24/fotolog.png +0 -0
- data/test/public/images/service_icons/24/friendfeed.png +0 -0
- data/test/public/images/service_icons/24/friendster.png +0 -0
- data/test/public/images/service_icons/24/furl.png +0 -0
- data/test/public/images/service_icons/24/goodreads.png +0 -0
- data/test/public/images/service_icons/24/google.png +0 -0
- data/test/public/images/service_icons/24/googleblog.png +0 -0
- data/test/public/images/service_icons/24/googlenews.png +0 -0
- data/test/public/images/service_icons/24/icerocket.png +0 -0
- data/test/public/images/service_icons/24/identica.png +0 -0
- data/test/public/images/service_icons/24/joost.png +0 -0
- data/test/public/images/service_icons/24/lastfm.png +0 -0
- data/test/public/images/service_icons/24/librarything.png +0 -0
- data/test/public/images/service_icons/24/linkedin.png +0 -0
- data/test/public/images/service_icons/24/livejournal.png +0 -0
- data/test/public/images/service_icons/24/magnolia.png +0 -0
- data/test/public/images/service_icons/24/mendeley.png +0 -0
- data/test/public/images/service_icons/24/metacafe.png +0 -0
- data/test/public/images/service_icons/24/mixx.png +0 -0
- data/test/public/images/service_icons/24/myspace.png +0 -0
- data/test/public/images/service_icons/24/netflix.png +0 -0
- data/test/public/images/service_icons/24/netvibes.png +0 -0
- data/test/public/images/service_icons/24/newsvine.png +0 -0
- data/test/public/images/service_icons/24/oai.png +0 -0
- data/test/public/images/service_icons/24/odeo.png +0 -0
- data/test/public/images/service_icons/24/opml.png +0 -0
- data/test/public/images/service_icons/24/pandora.png +0 -0
- data/test/public/images/service_icons/24/photobucket.png +0 -0
- data/test/public/images/service_icons/24/picasa.png +0 -0
- data/test/public/images/service_icons/24/polyvore.png +0 -0
- data/test/public/images/service_icons/24/pownce.png +0 -0
- data/test/public/images/service_icons/24/reddit.png +0 -0
- data/test/public/images/service_icons/24/simpy.png +0 -0
- data/test/public/images/service_icons/24/smugmug.png +0 -0
- data/test/public/images/service_icons/24/stumbleupon.png +0 -0
- data/test/public/images/service_icons/24/tag.png +0 -0
- data/test/public/images/service_icons/24/technorati.png +0 -0
- data/test/public/images/service_icons/24/tumblr.png +0 -0
- data/test/public/images/service_icons/24/twine.png +0 -0
- data/test/public/images/service_icons/24/twitter.png +0 -0
- data/test/public/images/service_icons/24/vimeo.png +0 -0
- data/test/public/images/service_icons/24/webshots.png +0 -0
- data/test/public/images/service_icons/24/wordpress.png +0 -0
- data/test/public/images/service_icons/24/xanga.png +0 -0
- data/test/public/images/service_icons/24/yahoo.png +0 -0
- data/test/public/images/service_icons/24/yelp.png +0 -0
- data/test/public/images/service_icons/24/youtube.png +0 -0
- data/test/public/images/service_icons/24/zooomr.png +0 -0
- data/test/public/images/service_icons/24/zotero.png +0 -0
- data/test/public/images/service_icons/48/amazon.png +0 -0
- data/test/public/images/service_icons/48/ask.png +0 -0
- data/test/public/images/service_icons/48/bibsonomy.png +0 -0
- data/test/public/images/service_icons/48/bing.png +0 -0
- data/test/public/images/service_icons/48/blogger.png +0 -0
- data/test/public/images/service_icons/48/bloglines.png +0 -0
- data/test/public/images/service_icons/48/citeulike.png +0 -0
- data/test/public/images/service_icons/48/clipmarks.png +0 -0
- data/test/public/images/service_icons/48/connotea.png +0 -0
- data/test/public/images/service_icons/48/dailymotion.png +0 -0
- data/test/public/images/service_icons/48/delicious.png +0 -0
- data/test/public/images/service_icons/48/digg.png +0 -0
- data/test/public/images/service_icons/48/diigo.png +0 -0
- data/test/public/images/service_icons/48/facebook.png +0 -0
- data/test/public/images/service_icons/48/feed.png +0 -0
- data/test/public/images/service_icons/48/fireeagle.png +0 -0
- data/test/public/images/service_icons/48/flickr.png +0 -0
- data/test/public/images/service_icons/48/fotolog.png +0 -0
- data/test/public/images/service_icons/48/friendfeed.png +0 -0
- data/test/public/images/service_icons/48/friendster.png +0 -0
- data/test/public/images/service_icons/48/furl.png +0 -0
- data/test/public/images/service_icons/48/goodreads.png +0 -0
- data/test/public/images/service_icons/48/google.png +0 -0
- data/test/public/images/service_icons/48/googleblog.png +0 -0
- data/test/public/images/service_icons/48/googlenews.png +0 -0
- data/test/public/images/service_icons/48/icerocket.png +0 -0
- data/test/public/images/service_icons/48/identica.png +0 -0
- data/test/public/images/service_icons/48/joost.png +0 -0
- data/test/public/images/service_icons/48/lastfm.png +0 -0
- data/test/public/images/service_icons/48/librarything.png +0 -0
- data/test/public/images/service_icons/48/linkedin.png +0 -0
- data/test/public/images/service_icons/48/livejournal.png +0 -0
- data/test/public/images/service_icons/48/magnolia.png +0 -0
- data/test/public/images/service_icons/48/mendeley.png +0 -0
- data/test/public/images/service_icons/48/metacafe.png +0 -0
- data/test/public/images/service_icons/48/mixx.png +0 -0
- data/test/public/images/service_icons/48/myspace.png +0 -0
- data/test/public/images/service_icons/48/netflix.png +0 -0
- data/test/public/images/service_icons/48/netvibes.png +0 -0
- data/test/public/images/service_icons/48/newsvine.png +0 -0
- data/test/public/images/service_icons/48/oai.png +0 -0
- data/test/public/images/service_icons/48/odeo.png +0 -0
- data/test/public/images/service_icons/48/opml.png +0 -0
- data/test/public/images/service_icons/48/pandora.png +0 -0
- data/test/public/images/service_icons/48/photobucket.png +0 -0
- data/test/public/images/service_icons/48/picasa.png +0 -0
- data/test/public/images/service_icons/48/polyvore.png +0 -0
- data/test/public/images/service_icons/48/pownce.png +0 -0
- data/test/public/images/service_icons/48/reddit.png +0 -0
- data/test/public/images/service_icons/48/simpy.png +0 -0
- data/test/public/images/service_icons/48/smugmug.png +0 -0
- data/test/public/images/service_icons/48/stumbleupon.png +0 -0
- data/test/public/images/service_icons/48/tag.png +0 -0
- data/test/public/images/service_icons/48/technorati.png +0 -0
- data/test/public/images/service_icons/48/tumblr.png +0 -0
- data/test/public/images/service_icons/48/twine.png +0 -0
- data/test/public/images/service_icons/48/twitter.png +0 -0
- data/test/public/images/service_icons/48/vimeo.png +0 -0
- data/test/public/images/service_icons/48/webshots.png +0 -0
- data/test/public/images/service_icons/48/wordpress.png +0 -0
- data/test/public/images/service_icons/48/xanga.png +0 -0
- data/test/public/images/service_icons/48/yahoo.png +0 -0
- data/test/public/images/service_icons/48/yelp.png +0 -0
- data/test/public/images/service_icons/48/youtube.png +0 -0
- data/test/public/images/service_icons/48/zooomr.png +0 -0
- data/test/public/images/service_icons/48/zotero.png +0 -0
- data/test/public/images/service_icons/60/amazon.png +0 -0
- data/test/public/images/service_icons/60/ask.png +0 -0
- data/test/public/images/service_icons/60/bibsonomy.png +0 -0
- data/test/public/images/service_icons/60/bing.png +0 -0
- data/test/public/images/service_icons/60/blogger.png +0 -0
- data/test/public/images/service_icons/60/bloglines.png +0 -0
- data/test/public/images/service_icons/60/citeulike.png +0 -0
- data/test/public/images/service_icons/60/clipmarks.png +0 -0
- data/test/public/images/service_icons/60/connotea.png +0 -0
- data/test/public/images/service_icons/60/dailymotion.png +0 -0
- data/test/public/images/service_icons/60/delicious.png +0 -0
- data/test/public/images/service_icons/60/digg.png +0 -0
- data/test/public/images/service_icons/60/diigo.png +0 -0
- data/test/public/images/service_icons/60/facebook.png +0 -0
- data/test/public/images/service_icons/60/feed.png +0 -0
- data/test/public/images/service_icons/60/fireeagle.png +0 -0
- data/test/public/images/service_icons/60/flickr.png +0 -0
- data/test/public/images/service_icons/60/fotolog.png +0 -0
- data/test/public/images/service_icons/60/friendfeed.png +0 -0
- data/test/public/images/service_icons/60/friendster.png +0 -0
- data/test/public/images/service_icons/60/furl.png +0 -0
- data/test/public/images/service_icons/60/goodreads.png +0 -0
- data/test/public/images/service_icons/60/google.png +0 -0
- data/test/public/images/service_icons/60/googleblog.png +0 -0
- data/test/public/images/service_icons/60/googlenews.png +0 -0
- data/test/public/images/service_icons/60/icerocket.png +0 -0
- data/test/public/images/service_icons/60/identica.png +0 -0
- data/test/public/images/service_icons/60/joost.png +0 -0
- data/test/public/images/service_icons/60/lastfm.png +0 -0
- data/test/public/images/service_icons/60/librarything.png +0 -0
- data/test/public/images/service_icons/60/linkedin.png +0 -0
- data/test/public/images/service_icons/60/livejournal.png +0 -0
- data/test/public/images/service_icons/60/magnolia.png +0 -0
- data/test/public/images/service_icons/60/mendeley.png +0 -0
- data/test/public/images/service_icons/60/metacafe.png +0 -0
- data/test/public/images/service_icons/60/mixx.png +0 -0
- data/test/public/images/service_icons/60/myspace.png +0 -0
- data/test/public/images/service_icons/60/netflix.png +0 -0
- data/test/public/images/service_icons/60/netvibes.png +0 -0
- data/test/public/images/service_icons/60/newsvine.png +0 -0
- data/test/public/images/service_icons/60/oai.png +0 -0
- data/test/public/images/service_icons/60/odeo.png +0 -0
- data/test/public/images/service_icons/60/opml.png +0 -0
- data/test/public/images/service_icons/60/pandora.png +0 -0
- data/test/public/images/service_icons/60/photobucket.png +0 -0
- data/test/public/images/service_icons/60/picasa.png +0 -0
- data/test/public/images/service_icons/60/polyvore.png +0 -0
- data/test/public/images/service_icons/60/pownce.png +0 -0
- data/test/public/images/service_icons/60/reddit.png +0 -0
- data/test/public/images/service_icons/60/simpy.png +0 -0
- data/test/public/images/service_icons/60/smugmug.png +0 -0
- data/test/public/images/service_icons/60/stumbleupon.png +0 -0
- data/test/public/images/service_icons/60/tag.png +0 -0
- data/test/public/images/service_icons/60/technorati.png +0 -0
- data/test/public/images/service_icons/60/tumblr.png +0 -0
- data/test/public/images/service_icons/60/twine.png +0 -0
- data/test/public/images/service_icons/60/twitter.png +0 -0
- data/test/public/images/service_icons/60/vimeo.png +0 -0
- data/test/public/images/service_icons/60/webshots.png +0 -0
- data/test/public/images/service_icons/60/wordpress.png +0 -0
- data/test/public/images/service_icons/60/xanga.png +0 -0
- data/test/public/images/service_icons/60/yahoo.png +0 -0
- data/test/public/images/service_icons/60/yelp.png +0 -0
- data/test/public/images/service_icons/60/youtube.png +0 -0
- data/test/public/images/service_icons/60/zooomr.png +0 -0
- data/test/public/images/service_icons/60/zotero.png +0 -0
- data/test/public/images/service_icons/facebook_friend_links.jpg +0 -0
- data/test/public/images/service_icons/facebook_my_links.jpg +0 -0
- data/test/public/images/service_icons/source/Aquaticus_Social_Icon_template_by_jwloh.psd +0 -0
- data/test/public/images/service_icons/source/Google.psd +0 -0
- 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
- data/test/public/images/service_icons/source/ReadMe.rtf +52 -0
- data/test/public/images/service_icons/source/amazon.png +0 -0
- data/test/public/images/service_icons/source/aquaticus.social.png +0 -0
- data/test/public/images/service_icons/source/ask.png +0 -0
- data/test/public/images/service_icons/source/ask.psd +0 -0
- data/test/public/images/service_icons/source/bibsonomy.png +0 -0
- data/test/public/images/service_icons/source/bibsonomy.psd +0 -0
- data/test/public/images/service_icons/source/bing.png +0 -0
- data/test/public/images/service_icons/source/bing.psd +0 -0
- data/test/public/images/service_icons/source/blogger.png +0 -0
- data/test/public/images/service_icons/source/bloglines.png +0 -0
- data/test/public/images/service_icons/source/bloglines.psd +0 -0
- data/test/public/images/service_icons/source/citeulike.png +0 -0
- data/test/public/images/service_icons/source/clipmarks.png +0 -0
- data/test/public/images/service_icons/source/connotea.png +0 -0
- data/test/public/images/service_icons/source/connotea.psd +0 -0
- data/test/public/images/service_icons/source/dailymotion.png +0 -0
- data/test/public/images/service_icons/source/delicious.png +0 -0
- data/test/public/images/service_icons/source/digg.png +0 -0
- data/test/public/images/service_icons/source/diigo.png +0 -0
- data/test/public/images/service_icons/source/facebook.png +0 -0
- data/test/public/images/service_icons/source/feed.png +0 -0
- data/test/public/images/service_icons/source/fireeagle.psd +0 -0
- data/test/public/images/service_icons/source/flickr.png +0 -0
- data/test/public/images/service_icons/source/fotolog.png +0 -0
- data/test/public/images/service_icons/source/friendfeed.png +0 -0
- data/test/public/images/service_icons/source/friendster.png +0 -0
- data/test/public/images/service_icons/source/furl.png +0 -0
- data/test/public/images/service_icons/source/goodreads.png +0 -0
- data/test/public/images/service_icons/source/google.png +0 -0
- data/test/public/images/service_icons/source/googleblog.png +0 -0
- data/test/public/images/service_icons/source/googlenews.png +0 -0
- data/test/public/images/service_icons/source/icerocket.png +0 -0
- data/test/public/images/service_icons/source/icerocket.psd +0 -0
- data/test/public/images/service_icons/source/identica.png +0 -0
- data/test/public/images/service_icons/source/joost.png +0 -0
- data/test/public/images/service_icons/source/lastfm.png +0 -0
- data/test/public/images/service_icons/source/librarything.png +0 -0
- data/test/public/images/service_icons/source/linkedin.png +0 -0
- data/test/public/images/service_icons/source/livejournal.png +0 -0
- data/test/public/images/service_icons/source/magnolia.png +0 -0
- data/test/public/images/service_icons/source/mendeley.png +0 -0
- data/test/public/images/service_icons/source/metacafe.png +0 -0
- data/test/public/images/service_icons/source/metacafe.psd +0 -0
- data/test/public/images/service_icons/source/mixx.png +0 -0
- data/test/public/images/service_icons/source/myspace.png +0 -0
- data/test/public/images/service_icons/source/netflix.png +0 -0
- data/test/public/images/service_icons/source/netvibes.png +0 -0
- data/test/public/images/service_icons/source/newsvine.png +0 -0
- data/test/public/images/service_icons/source/oai.png +0 -0
- data/test/public/images/service_icons/source/odeo.png +0 -0
- data/test/public/images/service_icons/source/opml.png +0 -0
- data/test/public/images/service_icons/source/pandora.png +0 -0
- data/test/public/images/service_icons/source/photobucket.png +0 -0
- data/test/public/images/service_icons/source/picasa.png +0 -0
- data/test/public/images/service_icons/source/polyvore.png +0 -0
- data/test/public/images/service_icons/source/pownce.png +0 -0
- data/test/public/images/service_icons/source/reddit.png +0 -0
- data/test/public/images/service_icons/source/simpy.png +0 -0
- data/test/public/images/service_icons/source/smugmug.png +0 -0
- data/test/public/images/service_icons/source/stumbleupon.png +0 -0
- data/test/public/images/service_icons/source/tag.png +0 -0
- data/test/public/images/service_icons/source/technorati.png +0 -0
- data/test/public/images/service_icons/source/template.png +0 -0
- data/test/public/images/service_icons/source/tumblr.png +0 -0
- data/test/public/images/service_icons/source/twine.png +0 -0
- data/test/public/images/service_icons/source/twine.psd +0 -0
- data/test/public/images/service_icons/source/twitter.png +0 -0
- data/test/public/images/service_icons/source/vimeo.png +0 -0
- data/test/public/images/service_icons/source/webshots.png +0 -0
- data/test/public/images/service_icons/source/wordpress.png +0 -0
- data/test/public/images/service_icons/source/xanga.png +0 -0
- data/test/public/images/service_icons/source/yahoo.png +0 -0
- data/test/public/images/service_icons/source/yelp.png +0 -0
- data/test/public/images/service_icons/source/youtube.png +0 -0
- data/test/public/images/service_icons/source/zooomr.png +0 -0
- data/test/public/images/service_icons/source/zotero.png +0 -0
- data/test/public/images/spinner.gif +0 -0
- data/test/public/images/sprites.png +0 -0
- data/test/public/images/swfupload/SWFUploadButton.png +0 -0
- data/test/public/images/swfupload/cancelbutton.gif +0 -0
- data/test/public/images/tinymce/doc.jpg +0 -0
- data/test/public/images/tinymce/image.jpg +0 -0
- data/test/public/images/tinymce/link.jpg +0 -0
- data/test/public/images/tinymce/sample.gif +0 -0
- data/test/public/images/tinymce/upload.gif +0 -0
- data/test/public/images/uploadify/cancel.png +0 -0
- data/test/public/javascripts/application.js +0 -0
- data/test/public/javascripts/builder.js +136 -0
- data/test/public/javascripts/controls.js +963 -0
- data/test/public/javascripts/dragdrop.js +972 -0
- data/test/public/javascripts/effects.js +1120 -0
- data/test/public/javascripts/fancyzoom.min.js +1 -0
- data/test/public/javascripts/jquery/colorpicker.js +450 -0
- data/test/public/javascripts/jquery/jquery-ui.js +273 -0
- data/test/public/javascripts/jquery/jquery.autocomplete.js.readme +6 -0
- data/test/public/javascripts/jquery/jquery.autocomplete.min.js +15 -0
- data/test/public/javascripts/jquery/jquery.autocomplete.pack.js +767 -0
- data/test/public/javascripts/jquery/jquery.easing.js +72 -0
- data/test/public/javascripts/jquery/jquery.fancybox.js +44 -0
- data/test/public/javascripts/jquery/jquery.form.js +675 -0
- data/test/public/javascripts/jquery/jquery.jgrowl.js +9 -0
- data/test/public/javascripts/jquery/jquery.js +154 -0
- data/test/public/javascripts/jquery/jquery.metadata.min.js +13 -0
- data/test/public/javascripts/jquery/jquery.mousewheel.js +13 -0
- data/test/public/javascripts/jquery/jquery.queryString.js +33 -0
- data/test/public/javascripts/jquery/jquery.swapimage.js +66 -0
- data/test/public/javascripts/jquery/jquery.swapimage.min.js +11 -0
- data/test/public/javascripts/jquery/jquery.tips.js +75 -0
- data/test/public/javascripts/jquery/jquery.uploadify.min.js +26 -0
- data/test/public/javascripts/jquery/jrails.js +1 -0
- data/test/public/javascripts/muck-countries.js +50 -0
- data/test/public/javascripts/muck-src.js +134 -0
- data/test/public/javascripts/muck-users.js +20 -0
- data/test/public/javascripts/muck.js +149 -0
- data/test/public/javascripts/muck_activities.js +107 -0
- data/test/public/javascripts/muck_admin.js +0 -0
- data/test/public/javascripts/muck_countries.js +50 -0
- data/test/public/javascripts/muck_time/en.js +53 -0
- data/test/public/javascripts/prototype.js +4225 -0
- data/test/public/javascripts/scriptaculous.js +58 -0
- data/test/public/javascripts/slider.js +277 -0
- data/test/public/javascripts/sound.js +60 -0
- data/test/public/javascripts/swf/swfobject.js +4 -0
- data/test/public/javascripts/swfupload/fileprogress.js +151 -0
- data/test/public/javascripts/swfupload/handlers.js +201 -0
- data/test/public/javascripts/swfupload/swfupload.cookies.js +53 -0
- data/test/public/javascripts/swfupload/swfupload.js +1134 -0
- data/test/public/javascripts/swfupload/swfupload.proxy.js +96 -0
- data/test/public/javascripts/swfupload/swfupload.queue.js +99 -0
- data/test/public/javascripts/swfupload/swfupload.speed.js +346 -0
- data/test/public/javascripts/swfupload/swfupload.swfobject.js +111 -0
- data/test/public/javascripts/tiny_mce/langs/ar.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/az.js +155 -0
- data/test/public/javascripts/tiny_mce/langs/be.js +155 -0
- data/test/public/javascripts/tiny_mce/langs/bg.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/bn.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/br.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/bs.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/ca.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/ch.js +178 -0
- data/test/public/javascripts/tiny_mce/langs/cs.js +176 -0
- data/test/public/javascripts/tiny_mce/langs/cy.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/da.js +155 -0
- data/test/public/javascripts/tiny_mce/langs/de.js +171 -0
- data/test/public/javascripts/tiny_mce/langs/dv.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/el.js +158 -0
- data/test/public/javascripts/tiny_mce/langs/en.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/es.js +172 -0
- data/test/public/javascripts/tiny_mce/langs/et.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/fa.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/fi.js +155 -0
- data/test/public/javascripts/tiny_mce/langs/fr.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/gl.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/gu.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/he.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/hi.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/hr.js +171 -0
- data/test/public/javascripts/tiny_mce/langs/hu.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/hy.js +157 -0
- data/test/public/javascripts/tiny_mce/langs/ia.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/id.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/ii.js +162 -0
- data/test/public/javascripts/tiny_mce/langs/is.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/it.js +206 -0
- data/test/public/javascripts/tiny_mce/langs/ja.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/ka.js +173 -0
- data/test/public/javascripts/tiny_mce/langs/kl.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/ko.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/lb.js +171 -0
- data/test/public/javascripts/tiny_mce/langs/lt.js +172 -0
- data/test/public/javascripts/tiny_mce/langs/lv.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/mk.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/ml.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/mn.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/ms.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/nb.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/nl.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/nn.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/no.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/pl.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/ps.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/pt.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/ro.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/ru.js +173 -0
- data/test/public/javascripts/tiny_mce/langs/sc.js +162 -0
- data/test/public/javascripts/tiny_mce/langs/se.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/si.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/sk.js +176 -0
- data/test/public/javascripts/tiny_mce/langs/sl.js +155 -0
- data/test/public/javascripts/tiny_mce/langs/sq.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/sr.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/sv.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/ta.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/te.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/th.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/tr.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/tt.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/tw.js +164 -0
- data/test/public/javascripts/tiny_mce/langs/uk.js +173 -0
- data/test/public/javascripts/tiny_mce/langs/ur.js +154 -0
- data/test/public/javascripts/tiny_mce/langs/vi.js +170 -0
- data/test/public/javascripts/tiny_mce/langs/zh.js +178 -0
- data/test/public/javascripts/tiny_mce/langs/zu.js +162 -0
- data/test/public/javascripts/tiny_mce/license.txt +504 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/css/advhr.css +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/editor_plugin_src.js +57 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/js/rule.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ar_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/az_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/be_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/bg_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/bn_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/br_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/bs_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ca_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ch_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/cs_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/cy_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/da_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/de_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/dv_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/el_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/en_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/es_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/et_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/fa_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/fi_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/fr_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/gl_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/gu_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/he_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/hi_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/hr_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/hu_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/hy_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ia_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/id_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ii_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/is_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/it_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ja_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ka_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/kl_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ko_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/lb_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/lt_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/lv_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/mk_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ml_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/mn_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ms_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/nb_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/nl_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/nn_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/no_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/pl_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ps_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/pt_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ro_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ru_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/sc_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/se_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/si_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/sk_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/sl_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/sq_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/sr_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/sv_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ta_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/te_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/th_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/tr_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/tt_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/tw_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/uk_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/ur_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/vi_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/zh_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/langs/zu_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/advhr/rule.htm +57 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/css/advimage.css +13 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/editor_plugin_src.js +50 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/image.htm +232 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/js/image.js +443 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ar_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/az_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/be_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/bg_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/bn_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/br_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/bs_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ca_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ch_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/cs_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/cy_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/da_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/de_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/dv_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/el_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/en_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/es_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/et_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/fa_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/fi_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/fr_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/gl_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/gu_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/he_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/hi_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/hr_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/hu_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/hy_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ia_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/id_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ii_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/is_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/it_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ja_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ka_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/kl_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ko_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/lb_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/lt_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/lv_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/mk_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ml_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/mn_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ms_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/nb_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/nl_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/nn_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/no_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/pl_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ps_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/pt_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ro_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ru_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/sc_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/se_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/si_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/sk_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/sl_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/sq_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/sr_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/sv_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ta_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/te_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/th_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/tr_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/tt_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/tw_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/uk_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/ur_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/vi_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/zh_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advimage/langs/zu_dlg.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/css/advlink.css +8 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/editor_plugin_src.js +61 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/js/advlink.js +528 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ar_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/az_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/be_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/bg_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/bn_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/br_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/bs_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ca_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ch_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/cs_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/cy_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/da_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/de_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/dv_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/el_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/en_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/es_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/et_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/fa_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/fi_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/fr_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/gl_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/gu_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/he_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/hi_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/hr_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/hu_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/hy_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ia_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/id_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ii_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/is_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/it_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ja_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ka_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/kl_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ko_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/lb_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/lt_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/lv_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/mk_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ml_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/mn_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ms_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/nb_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/nl_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/nn_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/no_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/pl_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ps_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/pt_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ro_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ru_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/sc_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/se_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/si_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/sk_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/sl_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/sq_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/sr_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/sv_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ta_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/te_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/th_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/tr_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/tt_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/tw_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/uk_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/ur_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/vi_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/zh_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/langs/zu_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/advlink/link.htm +333 -0
- data/test/public/javascripts/tiny_mce/plugins/advlist/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/advlist/editor_plugin_src.js +154 -0
- data/test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js +119 -0
- data/test/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js +422 -0
- data/test/public/javascripts/tiny_mce/plugins/autosave/langs/en.js +4 -0
- data/test/public/javascripts/tiny_mce/plugins/bbcode/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +120 -0
- data/test/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +140 -0
- data/test/public/javascripts/tiny_mce/plugins/directionality/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/directionality/editor_plugin_src.js +82 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/editor_plugin_src.js +43 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/emotions.htm +40 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js +22 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ar_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/az_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/be_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/bg_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/bn_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/br_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/bs_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ca_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ch_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/cs_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/cy_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/da_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/de_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/dv_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/el_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/en_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/es_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/et_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/fa_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/fi_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/fr_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/gl_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/gu_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/he_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/hi_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/hr_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/hu_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/hy_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ia_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/id_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ii_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/is_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/it_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ja_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ka_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/kl_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ko_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/lb_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/lt_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/lv_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/mk_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ml_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/mn_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ms_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/nb_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/nl_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/nn_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/no_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/pl_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ps_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/pt_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ro_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ru_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/sc_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/se_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/si_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/sk_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/sl_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/sq_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/sr_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/sv_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ta_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/te_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/th_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/tr_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/tt_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/tw_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/uk_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/ur_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/vi_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/zh_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/emotions/langs/zu_dlg.js +20 -0
- data/test/public/javascripts/tiny_mce/plugins/example/dialog.htm +22 -0
- data/test/public/javascripts/tiny_mce/plugins/example/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/example/editor_plugin_src.js +84 -0
- data/test/public/javascripts/tiny_mce/plugins/example/img/example.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/example/js/dialog.js +19 -0
- data/test/public/javascripts/tiny_mce/plugins/example/langs/en.js +3 -0
- data/test/public/javascripts/tiny_mce/plugins/example/langs/en_dlg.js +3 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/css/fullpage.css +182 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/editor_plugin_src.js +149 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/fullpage.htm +571 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/js/fullpage.js +471 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ar_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/az_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/be_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/bg_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/bn_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/br_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/bs_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ca_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ch_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/cs_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/cy_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/da_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/de_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/dv_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/el_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/es_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/et_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/fa_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/fi_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/fr_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/gl_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/gu_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/he_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/hi_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/hr_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/hu_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/hy_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ia_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/id_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ii_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/is_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/it_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ja_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ka_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/kl_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ko_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/lb_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/lt_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/lv_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/mk_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ml_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/mn_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ms_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/nb_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/nl_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/nn_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/no_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/pl_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ps_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/pt_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ro_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ru_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/sc_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/se_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/si_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/sk_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/sl_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/sq_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/sr_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/sv_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ta_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/te_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/th_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/tr_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/tt_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/tw_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/uk_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/ur_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/vi_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/zh_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullpage/langs/zu_dlg.js +85 -0
- data/test/public/javascripts/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js +151 -0
- data/test/public/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +109 -0
- data/test/public/javascripts/tiny_mce/plugins/iespell/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js +54 -0
- data/test/public/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +635 -0
- data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
- data/test/public/javascripts/tiny_mce/plugins/inlinepopups/template.htm +387 -0
- data/test/public/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +83 -0
- data/test/public/javascripts/tiny_mce/plugins/layer/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/layer/editor_plugin_src.js +212 -0
- data/test/public/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +136 -0
- data/test/public/javascripts/tiny_mce/plugins/media/css/content.css +6 -0
- data/test/public/javascripts/tiny_mce/plugins/media/css/media.css +16 -0
- data/test/public/javascripts/tiny_mce/plugins/media/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/media/editor_plugin_src.js +414 -0
- data/test/public/javascripts/tiny_mce/plugins/media/img/flash.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/media/img/quicktime.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/media/img/realmedia.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/media/img/shockwave.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/media/img/trans.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/media/js/embed.js +73 -0
- data/test/public/javascripts/tiny_mce/plugins/media/js/media.js +630 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ar_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/az_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/be_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/bg_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/bn_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/br_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/bs_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ca_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ch_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/cs_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/cy_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/da_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/de_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/dv_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/el_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/en_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/es_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/et_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/fa_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/fi_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/fr_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/gl_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/gu_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/he_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/hi_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/hr_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/hu_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/hy_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ia_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/id_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ii_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/is_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/it_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ja_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ka_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/kl_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ko_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/lb_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/lt_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/lv_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/mk_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ml_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/mn_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ms_dlg.js +102 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/nb_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/nl_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/nn_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/no_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/pl_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ps_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/pt_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ro_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ru_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/sc_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/se_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/si_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/sk_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/sl_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/sq_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/sr_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/sv_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ta_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/te_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/th_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/tr_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/tt_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/tw_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/uk_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/ur_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/vi_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/zh_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/langs/zu_dlg.js +103 -0
- data/test/public/javascripts/tiny_mce/plugins/media/media.htm +817 -0
- data/test/public/javascripts/tiny_mce/plugins/muckfile/editor_plugin.js +42 -0
- data/test/public/javascripts/tiny_mce/plugins/muckfile/editor_plugin_src.js +42 -0
- data/test/public/javascripts/tiny_mce/plugins/muckfile/js/functions.js +147 -0
- data/test/public/javascripts/tiny_mce/plugins/muckfile/langs/en_dlg.js +48 -0
- data/test/public/javascripts/tiny_mce/plugins/muckimage/editor_plugin.js +42 -0
- data/test/public/javascripts/tiny_mce/plugins/muckimage/editor_plugin_src.js +42 -0
- data/test/public/javascripts/tiny_mce/plugins/muckimage/js/functions.js +441 -0
- data/test/public/javascripts/tiny_mce/plugins/muckimage/langs/en_dlg.js +44 -0
- data/test/public/javascripts/tiny_mce/plugins/mucklink/editor_plugin.js +48 -0
- data/test/public/javascripts/tiny_mce/plugins/mucklink/editor_plugin_src.js +48 -0
- data/test/public/javascripts/tiny_mce/plugins/mucklink/js/functions.js +525 -0
- data/test/public/javascripts/tiny_mce/plugins/mucklink/langs/en_dlg.js +52 -0
- data/test/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +53 -0
- data/test/public/javascripts/tiny_mce/plugins/noneditable/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/noneditable/editor_plugin_src.js +90 -0
- data/test/public/javascripts/tiny_mce/plugins/pagebreak/css/content.css +1 -0
- data/test/public/javascripts/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +77 -0
- data/test/public/javascripts/tiny_mce/plugins/pagebreak/img/pagebreak.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/editor_plugin_src.js +940 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/js/pastetext.js +36 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/js/pasteword.js +51 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ar_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/az_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/be_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/bg_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/bn_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/br_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/bs_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ca_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ch_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/cs_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/cy_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/da_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/de_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/dv_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/el_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/es_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/et_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/fa_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/fi_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/fr_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/gl_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/gu_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/he_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/hi_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/hr_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/hu_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/hy_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ia_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/id_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ii_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/is_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/it_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ja_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ka_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/kl_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ko_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/lb_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/lt_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/lv_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/mk_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ml_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/mn_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ms_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/nb_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/nl_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/nn_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/no_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/pl_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ps_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/pt_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ro_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ru_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/sc_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/se_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/si_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/sk_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/sl_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/sq_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/sr_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/sv_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ta_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/te_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/th_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/tr_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/tt_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/tw_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/uk_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/ur_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/vi_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/zh_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/langs/zu_dlg.js +5 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/pastetext.htm +27 -0
- data/test/public/javascripts/tiny_mce/plugins/paste/pasteword.htm +21 -0
- data/test/public/javascripts/tiny_mce/plugins/preview/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/preview/editor_plugin_src.js +53 -0
- data/test/public/javascripts/tiny_mce/plugins/preview/example.html +28 -0
- data/test/public/javascripts/tiny_mce/plugins/preview/jscripts/embed.js +73 -0
- data/test/public/javascripts/tiny_mce/plugins/preview/preview.html +17 -0
- data/test/public/javascripts/tiny_mce/plugins/print/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/print/editor_plugin_src.js +34 -0
- data/test/public/javascripts/tiny_mce/plugins/save/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/save/editor_plugin_src.js +101 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +6 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +57 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +130 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ar_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/az_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/be_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/bg_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/bn_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/br_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/bs_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ca_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ch_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/cs_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/cy_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/da_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/de_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/dv_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/el_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/es_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/et_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/fa_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/fi_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/fr_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/gl_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/gu_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/he_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hi_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hr_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hu_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hy_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ia_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/id_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ii_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/is_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ja_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ka_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/kl_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ko_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/lb_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/lt_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/lv_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/mk_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ml_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/mn_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ms_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/nb_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/nl_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/nn_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/no_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/pl_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ps_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/pt_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ro_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ru_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sc_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/se_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/si_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sk_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sl_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sq_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sr_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sv_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ta_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/te_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/th_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/tr_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/tt_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/tw_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/uk_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ur_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/vi_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/zh_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/langs/zu_dlg.js +16 -0
- data/test/public/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm +99 -0
- data/test/public/javascripts/tiny_mce/plugins/spellchecker/css/content.css +1 -0
- data/test/public/javascripts/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +415 -0
- data/test/public/javascripts/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
- data/test/public/javascripts/tiny_mce/plugins/style/css/props.css +13 -0
- data/test/public/javascripts/tiny_mce/plugins/style/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/style/editor_plugin_src.js +55 -0
- data/test/public/javascripts/tiny_mce/plugins/style/js/props.js +641 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ar_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/az_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/be_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/bg_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/bn_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/br_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/bs_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ca_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ch_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/cs_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/cy_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/da_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/de_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/dv_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/el_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/en_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/es_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/et_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/fa_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/fi_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/fr_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/gl_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/gu_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/he_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/hi_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/hr_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/hu_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/hy_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ia_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/id_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ii_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/is_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/it_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ja_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ka_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/kl_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ko_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/lb_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/lt_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/lv_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/mk_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ml_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/mn_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ms_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/nb_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/nl_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/nn_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/no_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/pl_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ps_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/pt_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ro_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ru_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/sc_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/se_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/si_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/sk_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/sl_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/sq_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/sr_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/sv_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ta_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/te_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/th_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/tr_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/tt_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/tw_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/uk_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/ur_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/vi_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/zh_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/langs/zu_dlg.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/style/props.htm +723 -0
- data/test/public/javascripts/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js +112 -0
- data/test/public/javascripts/tiny_mce/plugins/table/cell.htm +178 -0
- data/test/public/javascripts/tiny_mce/plugins/table/css/cell.css +17 -0
- data/test/public/javascripts/tiny_mce/plugins/table/css/row.css +25 -0
- data/test/public/javascripts/tiny_mce/plugins/table/css/table.css +13 -0
- data/test/public/javascripts/tiny_mce/plugins/table/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/table/editor_plugin_src.js +1125 -0
- data/test/public/javascripts/tiny_mce/plugins/table/js/cell.js +286 -0
- data/test/public/javascripts/tiny_mce/plugins/table/js/merge_cells.js +27 -0
- data/test/public/javascripts/tiny_mce/plugins/table/js/row.js +237 -0
- data/test/public/javascripts/tiny_mce/plugins/table/js/table.js +449 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ar_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/az_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/be_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/bg_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/bn_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/br_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/bs_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ca_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ch_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/cs_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/cy_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/da_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/de_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/dv_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/el_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/en_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/es_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/et_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/fa_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/fi_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/fr_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/gl_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/gu_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/he_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/hi_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/hr_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/hu_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/hy_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ia_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/id_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ii_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/is_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/it_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ja_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ka_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/kl_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ko_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/lb_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/lt_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/lv_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/mk_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ml_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/mn_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ms_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/nb_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/nl_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/nn_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/no_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/pl_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ps_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/pt_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ro_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ru_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/sc_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/se_dlg.js +73 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/si_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/sk_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/sl_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/sq_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/sr_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/sv_dlg.js +73 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ta_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/te_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/th_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/tr_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/tt_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/tw_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/uk_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/ur_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/vi_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/zh_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/langs/zu_dlg.js +74 -0
- data/test/public/javascripts/tiny_mce/plugins/table/merge_cells.htm +32 -0
- data/test/public/javascripts/tiny_mce/plugins/table/row.htm +155 -0
- data/test/public/javascripts/tiny_mce/plugins/table/table.htm +187 -0
- data/test/public/javascripts/tiny_mce/plugins/template/blank.htm +12 -0
- data/test/public/javascripts/tiny_mce/plugins/template/css/template.css +23 -0
- data/test/public/javascripts/tiny_mce/plugins/template/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/template/editor_plugin_src.js +159 -0
- data/test/public/javascripts/tiny_mce/plugins/template/js/template.js +106 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ar_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/az_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/be_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/bg_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/bn_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/br_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/bs_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ca_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ch_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/cs_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/cy_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/da_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/de_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/dv_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/el_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/en_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/es_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/et_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/fa_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/fi_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/fr_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/gl_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/gu_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/he_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/hi_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/hr_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/hu_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/hy_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ia_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/id_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ii_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/is_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/it_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ja_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ka_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/kl_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ko_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/lb_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/lt_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/lv_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/mk_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ml_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/mn_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ms_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/nb_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/nl_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/nn_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/no_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/pl_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ps_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/pt_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ro_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ru_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/sc_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/se_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/si_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/sk_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/sl_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/sq_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/sr_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/sv_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ta_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/te_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/th_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/tr_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/tt_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/tw_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/uk_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/ur_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/vi_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/zh_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/langs/zu_dlg.js +15 -0
- data/test/public/javascripts/tiny_mce/plugins/template/template.htm +31 -0
- data/test/public/javascripts/tiny_mce/plugins/visualchars/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/visualchars/editor_plugin_src.js +76 -0
- data/test/public/javascripts/tiny_mce/plugins/wordcount/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/wordcount/editor_plugin_src.js +98 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +141 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +141 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +148 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/cite.htm +141 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +11 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +9 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/del.htm +161 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +144 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/ins.htm +161 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +28 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +28 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +126 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +28 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/del.js +63 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +231 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +62 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ar_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/az_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/be_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/bg_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/bn_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/br_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/bs_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ca_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ch_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cs_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cy_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/da_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/dv_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/el_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/es_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/et_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/fa_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/fi_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/fr_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/gl_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/gu_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/he_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hi_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hr_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hy_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ia_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/id_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ii_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/is_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/it_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ka_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/kl_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ko_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/lb_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/lt_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/lv_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/mk_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ml_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/mn_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ms_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/nb_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/nl_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/nn_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/no_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pl_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ps_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pt_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ro_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ru_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sc_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/se_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/si_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sk_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sl_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sq_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sr_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sv_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ta_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/te_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/th_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/tr_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/tt_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/tw_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/uk_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ur_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/vi_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/zh_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/zu_dlg.js +32 -0
- data/test/public/javascripts/tiny_mce/templates/bio.htm +31 -0
- data/test/public/javascripts/tiny_mce/templates/country.htm +59 -0
- data/test/public/javascripts/tiny_mce/templates/example.htm +14 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/about.htm +54 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/anchor.htm +26 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/charmap.htm +52 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/color_picker.htm +73 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/editor_template.js +1 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/editor_template_src.js +1176 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/image.htm +80 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/js/about.js +72 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/js/anchor.js +37 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/js/charmap.js +335 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/js/color_picker.js +253 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/js/image.js +245 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/js/link.js +156 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/js/source_editor.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ar.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ar_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/az.js +63 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/az_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/be.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/be_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/bg.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/bg_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/bn.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/bn_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/br.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/br_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/bs.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/bs_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ca.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ca_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ch.js +64 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ch_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/cs.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/cs_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/cy.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/cy_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/da.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/da_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/de.js +63 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/de_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/dv.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/dv_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/el.js +64 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/el_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/en.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/es.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/es_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/et.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/et_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/fa.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/fa_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/fi.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/fi_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/fr.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/fr_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/gl.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/gl_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/gu.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/gu_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/he.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/he_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/hi.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/hi_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/hr.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/hr_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/hu.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/hu_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/hy.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/hy_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ia.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ia_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/id.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/id_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ii.js +64 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ii_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/is.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/is_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/it.js +72 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/it_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ja.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ja_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ka.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ka_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/kl.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/kl_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ko.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ko_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/lb.js +63 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/lb_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/lt.js +63 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/lt_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/lv.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/lv_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/mk.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/mk_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ml.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ml_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/mn.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/mn_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ms.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ms_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/nb.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/nb_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/nl.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/nl_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/nn.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/nn_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/no.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/no_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/pl.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/pl_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ps.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ps_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/pt.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/pt_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ro.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ro_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ru.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ru_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/sc.js +64 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/sc_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/se.js +60 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/se_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/si.js +61 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/si_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/sk.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/sk_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/sl.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/sl_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/sq.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/sq_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/sr.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/sr_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/sv.js +60 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/sv_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ta.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ta_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/te.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/te_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/th.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/th_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/tr.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/tr_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/tt.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/tt_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/tw.js +64 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/tw_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/uk.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/uk_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ur.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/ur_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/vi.js +62 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/vi_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/zh.js +64 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/zh_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/zu.js +64 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/langs/zu_dlg.js +51 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/link.htm +58 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/content.css +35 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +117 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +213 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +35 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +116 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +215 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +8 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
- data/test/public/javascripts/tiny_mce/themes/advanced/source_editor.htm +25 -0
- data/test/public/javascripts/tiny_mce/themes/simple/editor_template.js +1 -0
- data/test/public/javascripts/tiny_mce/themes/simple/editor_template_src.js +85 -0
- data/test/public/javascripts/tiny_mce/themes/simple/img/icons.gif +0 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ar.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/az.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/be.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/bg.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/bn.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/br.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/bs.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ca.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ch.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/cs.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/cy.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/da.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/de.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/dv.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/el.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/en.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/es.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/et.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/fa.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/fi.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/fr.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/gl.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/gu.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/he.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/hi.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/hr.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/hu.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/hy.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ia.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/id.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ii.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/is.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/it.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ja.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ka.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/kl.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ko.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/lb.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/lt.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/lv.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/mk.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ml.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/mn.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ms.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/nb.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/nl.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/nn.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/no.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/pl.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ps.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/pt.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ro.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ru.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/sc.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/se.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/si.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/sk.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/sl.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/sq.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/sr.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/sv.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ta.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/te.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/th.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/tr.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/tt.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/tw.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/uk.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/ur.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/vi.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/zh.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/langs/zu.js +11 -0
- data/test/public/javascripts/tiny_mce/themes/simple/skins/default/content.css +25 -0
- data/test/public/javascripts/tiny_mce/themes/simple/skins/default/ui.css +32 -0
- data/test/public/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css +17 -0
- data/test/public/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/test/public/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css +35 -0
- data/test/public/javascripts/tiny_mce/tiny_mce.js +1 -0
- data/test/public/javascripts/tiny_mce/tiny_mce_popup.js +5 -0
- data/test/public/javascripts/tiny_mce/tiny_mce_src.js +13959 -0
- data/test/public/javascripts/tiny_mce/utils/editable_selects.js +70 -0
- data/test/public/javascripts/tiny_mce/utils/form_utils.js +200 -0
- data/test/public/javascripts/tiny_mce/utils/mctabs.js +77 -0
- data/test/public/javascripts/tiny_mce/utils/validate.js +220 -0
- data/test/public/javascripts/tree.js +107 -0
- data/test/public/robots.txt +1 -0
- data/test/public/stylesheets/.keep +0 -0
- data/test/public/stylesheets/admin.css +75 -0
- data/test/public/stylesheets/blueprint/ie.css +26 -0
- data/test/public/stylesheets/blueprint/liquid_screen.css +203 -0
- data/test/public/stylesheets/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/test/public/stylesheets/blueprint/plugins/buttons/icons/key.png +0 -0
- data/test/public/stylesheets/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/test/public/stylesheets/blueprint/plugins/buttons/readme.txt +32 -0
- data/test/public/stylesheets/blueprint/plugins/buttons/screen.css +97 -0
- data/test/public/stylesheets/blueprint/plugins/fancy-type/readme.txt +14 -0
- data/test/public/stylesheets/blueprint/plugins/fancy-type/screen.css +71 -0
- data/test/public/stylesheets/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/test/public/stylesheets/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/test/public/stylesheets/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/test/public/stylesheets/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/test/public/stylesheets/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/test/public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/test/public/stylesheets/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/test/public/stylesheets/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/test/public/stylesheets/blueprint/plugins/link-icons/readme.txt +18 -0
- data/test/public/stylesheets/blueprint/plugins/link-icons/screen.css +40 -0
- data/test/public/stylesheets/blueprint/plugins/liquid/liquid.css +134 -0
- data/test/public/stylesheets/blueprint/plugins/liquid/src/liquid.css +197 -0
- data/test/public/stylesheets/blueprint/plugins/rtl/readme.txt +10 -0
- data/test/public/stylesheets/blueprint/plugins/rtl/screen.css +109 -0
- data/test/public/stylesheets/blueprint/print.css +30 -0
- data/test/public/stylesheets/blueprint/screen.css +251 -0
- data/test/public/stylesheets/blueprint/sprite.css +1 -0
- data/test/public/stylesheets/blueprint/src/forms.css +49 -0
- data/test/public/stylesheets/blueprint/src/grid.css +213 -0
- data/test/public/stylesheets/blueprint/src/grid.png +0 -0
- data/test/public/stylesheets/blueprint/src/ie.css +59 -0
- data/test/public/stylesheets/blueprint/src/print.css +85 -0
- data/test/public/stylesheets/blueprint/src/reset.css +38 -0
- data/test/public/stylesheets/blueprint/src/typography.css +105 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-bg_glass_100_f0f0f0_1x400.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-bg_glass_50_99c2ff_1x400.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-bg_glass_80_e6e6e6_1x400.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-soft_100_e7eef3_1x100.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-icons_222222_256x240.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-icons_888888_256x240.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
- data/test/public/stylesheets/jquery/cupertino/jquery-ui-1.7.1.custom.css +404 -0
- data/test/public/stylesheets/jquery/cupertino/jquery-ui-1.7.2.custom.css +160 -0
- data/test/public/stylesheets/jquery/jquery.autocomplete.css +15 -0
- data/test/public/stylesheets/jquery/jquery.fancybox.css +77 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/test/public/stylesheets/jquery/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/test/public/stylesheets/jquery/redmond/jquery-ui-1.7.1.custom.css +404 -0
- data/test/public/stylesheets/jquery/redmond/jquery-ui-1.7.2.custom.css +160 -0
- data/test/public/stylesheets/jquery/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/test/public/stylesheets/jquery/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/test/public/stylesheets/jquery/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/test/public/stylesheets/jquery/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/test/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/test/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/test/public/stylesheets/jquery/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/public/stylesheets/jquery/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/test/public/stylesheets/jquery/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/test/public/stylesheets/jquery/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/public/stylesheets/jquery/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/test/public/stylesheets/jquery/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/test/public/stylesheets/jquery/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/public/stylesheets/jquery/smoothness/jquery-ui-1.7.1.custom.css +404 -0
- data/test/public/stylesheets/jquery/smoothness/jquery-ui-1.7.2.custom.css +160 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/test/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.1.custom.css +404 -0
- data/test/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.2.custom.css +160 -0
- data/test/public/stylesheets/muck-activities.css +39 -0
- data/test/public/stylesheets/muck-invites.css +17 -0
- data/test/public/stylesheets/muck-users.css +10 -0
- data/test/public/stylesheets/reset.css +0 -0
- data/test/public/stylesheets/styles.css +98 -0
- data/test/public/stylesheets/swfupload.css +26 -0
- data/test/public/stylesheets/themes/blue/styles.css +1 -0
- data/test/public/stylesheets/themes/red/styles.css +1 -0
- data/test/public/stylesheets/tinymce.css +56 -0
- data/test/public/stylesheets/uploadify.css +53 -0
- data/test/script/rails +6 -0
- data/test/spec/controllers/invites_controller_spec.rb +113 -0
- data/test/spec/helpers/muck_invites_helper_spec.rb +86 -0
- data/test/spec/mailers/invite_mailer_spec.rb +38 -0
- data/test/spec/models/contacts_spec.rb +37 -0
- data/test/spec/models/invite_spec.rb +19 -0
- data/test/spec/models/invitee_spec.rb +149 -0
- data/test/spec/models/user_spec.rb +18 -0
- data/test/spec/spec_helper.rb +5 -0
- data/test/test/fixtures/google_contacts.xml +88 -0
- data/test/test/fixtures/rails.png +0 -0
- data/test/test/fixtures/yahoo_contacts.json +0 -0
- metadata +2143 -29
@@ -0,0 +1 @@
|
|
1
|
+
(function(){var c=tinymce.DOM,a=tinymce.dom.Event,d=tinymce.each,b=tinymce.explode;tinymce.create("tinymce.plugins.TabFocusPlugin",{init:function(f,g){function e(i,j){if(j.keyCode===9){return a.cancel(j)}}function h(l,p){var j,m,o,n,k;function q(i){o=c.getParent(l.id,"form");n=o.elements;if(o){d(n,function(s,r){if(s.id==l.id){j=r;return false}});if(i>0){for(m=j+1;m<n.length;m++){if(n[m].type!="hidden"){return n[m]}}}else{for(m=j-1;m>=0;m--){if(n[m].type!="hidden"){return n[m]}}}}return null}if(p.keyCode===9){k=b(l.getParam("tab_focus",l.getParam("tabfocus_elements",":prev,:next")));if(k.length==1){k[1]=k[0];k[0]=":prev"}if(p.shiftKey){if(k[0]==":prev"){n=q(-1)}else{n=c.get(k[0])}}else{if(k[1]==":next"){n=q(1)}else{n=c.get(k[1])}}if(n){if(l=tinymce.get(n.id||n.name)){l.focus()}else{window.setTimeout(function(){window.focus();n.focus()},10)}return a.cancel(p)}}}f.onKeyUp.add(e);if(tinymce.isGecko){f.onKeyPress.add(h);f.onKeyDown.add(e)}else{f.onKeyDown.add(h)}f.onInit.add(function(){d(c.select("a:first,a:last",f.getContainer()),function(i){a.add(i,"focus",function(){f.focus()})})})},getInfo:function(){return{longname:"Tabfocus",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("tabfocus",tinymce.plugins.TabFocusPlugin)})();
|
@@ -0,0 +1,112 @@
|
|
1
|
+
/**
|
2
|
+
* editor_plugin_src.js
|
3
|
+
*
|
4
|
+
* Copyright 2009, Moxiecode Systems AB
|
5
|
+
* Released under LGPL License.
|
6
|
+
*
|
7
|
+
* License: http://tinymce.moxiecode.com/license
|
8
|
+
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
+
*/
|
10
|
+
|
11
|
+
(function() {
|
12
|
+
var DOM = tinymce.DOM, Event = tinymce.dom.Event, each = tinymce.each, explode = tinymce.explode;
|
13
|
+
|
14
|
+
tinymce.create('tinymce.plugins.TabFocusPlugin', {
|
15
|
+
init : function(ed, url) {
|
16
|
+
function tabCancel(ed, e) {
|
17
|
+
if (e.keyCode === 9)
|
18
|
+
return Event.cancel(e);
|
19
|
+
};
|
20
|
+
|
21
|
+
function tabHandler(ed, e) {
|
22
|
+
var x, i, f, el, v;
|
23
|
+
|
24
|
+
function find(d) {
|
25
|
+
f = DOM.getParent(ed.id, 'form');
|
26
|
+
el = f.elements;
|
27
|
+
|
28
|
+
if (f) {
|
29
|
+
each(el, function(e, i) {
|
30
|
+
if (e.id == ed.id) {
|
31
|
+
x = i;
|
32
|
+
return false;
|
33
|
+
}
|
34
|
+
});
|
35
|
+
|
36
|
+
if (d > 0) {
|
37
|
+
for (i = x + 1; i < el.length; i++) {
|
38
|
+
if (el[i].type != 'hidden')
|
39
|
+
return el[i];
|
40
|
+
}
|
41
|
+
} else {
|
42
|
+
for (i = x - 1; i >= 0; i--) {
|
43
|
+
if (el[i].type != 'hidden')
|
44
|
+
return el[i];
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
return null;
|
50
|
+
};
|
51
|
+
|
52
|
+
if (e.keyCode === 9) {
|
53
|
+
v = explode(ed.getParam('tab_focus', ed.getParam('tabfocus_elements', ':prev,:next')));
|
54
|
+
|
55
|
+
if (v.length == 1) {
|
56
|
+
v[1] = v[0];
|
57
|
+
v[0] = ':prev';
|
58
|
+
}
|
59
|
+
|
60
|
+
// Find element to focus
|
61
|
+
if (e.shiftKey) {
|
62
|
+
if (v[0] == ':prev')
|
63
|
+
el = find(-1);
|
64
|
+
else
|
65
|
+
el = DOM.get(v[0]);
|
66
|
+
} else {
|
67
|
+
if (v[1] == ':next')
|
68
|
+
el = find(1);
|
69
|
+
else
|
70
|
+
el = DOM.get(v[1]);
|
71
|
+
}
|
72
|
+
|
73
|
+
if (el) {
|
74
|
+
if (ed = tinymce.get(el.id || el.name))
|
75
|
+
ed.focus();
|
76
|
+
else
|
77
|
+
window.setTimeout(function() {window.focus();el.focus();}, 10);
|
78
|
+
|
79
|
+
return Event.cancel(e);
|
80
|
+
}
|
81
|
+
}
|
82
|
+
};
|
83
|
+
|
84
|
+
ed.onKeyUp.add(tabCancel);
|
85
|
+
|
86
|
+
if (tinymce.isGecko) {
|
87
|
+
ed.onKeyPress.add(tabHandler);
|
88
|
+
ed.onKeyDown.add(tabCancel);
|
89
|
+
} else
|
90
|
+
ed.onKeyDown.add(tabHandler);
|
91
|
+
|
92
|
+
ed.onInit.add(function() {
|
93
|
+
each(DOM.select('a:first,a:last', ed.getContainer()), function(n) {
|
94
|
+
Event.add(n, 'focus', function() {ed.focus();});
|
95
|
+
});
|
96
|
+
});
|
97
|
+
},
|
98
|
+
|
99
|
+
getInfo : function() {
|
100
|
+
return {
|
101
|
+
longname : 'Tabfocus',
|
102
|
+
author : 'Moxiecode Systems AB',
|
103
|
+
authorurl : 'http://tinymce.moxiecode.com',
|
104
|
+
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus',
|
105
|
+
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
106
|
+
};
|
107
|
+
}
|
108
|
+
});
|
109
|
+
|
110
|
+
// Register plugin
|
111
|
+
tinymce.PluginManager.add('tabfocus', tinymce.plugins.TabFocusPlugin);
|
112
|
+
})();
|
@@ -0,0 +1,178 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
+
<head>
|
4
|
+
<title>{#table_dlg.cell_title}</title>
|
5
|
+
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
6
|
+
<script type="text/javascript" src="../../utils/mctabs.js"></script>
|
7
|
+
<script type="text/javascript" src="../../utils/form_utils.js"></script>
|
8
|
+
<script type="text/javascript" src="../../utils/editable_selects.js"></script>
|
9
|
+
<script type="text/javascript" src="js/cell.js"></script>
|
10
|
+
<link href="css/cell.css" rel="stylesheet" type="text/css" />
|
11
|
+
</head>
|
12
|
+
<body id="tablecell" style="display: none">
|
13
|
+
<form onsubmit="updateAction();return false;" action="#">
|
14
|
+
<div class="tabs">
|
15
|
+
<ul>
|
16
|
+
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#table_dlg.general_tab}</a></span></li>
|
17
|
+
<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#table_dlg.advanced_tab}</a></span></li>
|
18
|
+
</ul>
|
19
|
+
</div>
|
20
|
+
|
21
|
+
<div class="panel_wrapper">
|
22
|
+
<div id="general_panel" class="panel current">
|
23
|
+
<fieldset>
|
24
|
+
<legend>{#table_dlg.general_props}</legend>
|
25
|
+
|
26
|
+
<table border="0" cellpadding="4" cellspacing="0">
|
27
|
+
<tr>
|
28
|
+
<td><label for="align">{#table_dlg.align}</label></td>
|
29
|
+
<td>
|
30
|
+
<select id="align" name="align" class="mceFocus">
|
31
|
+
<option value="">{#not_set}</option>
|
32
|
+
<option value="center">{#table_dlg.align_middle}</option>
|
33
|
+
<option value="left">{#table_dlg.align_left}</option>
|
34
|
+
<option value="right">{#table_dlg.align_right}</option>
|
35
|
+
</select>
|
36
|
+
</td>
|
37
|
+
|
38
|
+
<td><label for="celltype">{#table_dlg.cell_type}</label></td>
|
39
|
+
<td>
|
40
|
+
<select id="celltype" name="celltype">
|
41
|
+
<option value="td">{#table_dlg.td}</option>
|
42
|
+
<option value="th">{#table_dlg.th}</option>
|
43
|
+
</select>
|
44
|
+
</td>
|
45
|
+
</tr>
|
46
|
+
|
47
|
+
<tr>
|
48
|
+
<td><label for="valign">{#table_dlg.valign}</label></td>
|
49
|
+
<td>
|
50
|
+
<select id="valign" name="valign">
|
51
|
+
<option value="">{#not_set}</option>
|
52
|
+
<option value="top">{#table_dlg.align_top}</option>
|
53
|
+
<option value="middle">{#table_dlg.align_middle}</option>
|
54
|
+
<option value="bottom">{#table_dlg.align_bottom}</option>
|
55
|
+
</select>
|
56
|
+
</td>
|
57
|
+
|
58
|
+
<td><label for="scope">{#table_dlg.scope}</label></td>
|
59
|
+
<td>
|
60
|
+
<select id="scope" name="scope">
|
61
|
+
<option value="">{#not_set}</option>
|
62
|
+
<option value="col">{#table.col}</option>
|
63
|
+
<option value="row">{#table.row}</option>
|
64
|
+
<option value="rowgroup">{#table_dlg.rowgroup}</option>
|
65
|
+
<option value="colgroup">{#table_dlg.colgroup}</option>
|
66
|
+
</select>
|
67
|
+
</td>
|
68
|
+
|
69
|
+
</tr>
|
70
|
+
|
71
|
+
<tr>
|
72
|
+
<td><label for="width">{#table_dlg.width}</label></td>
|
73
|
+
<td><input id="width" name="width" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
|
74
|
+
|
75
|
+
<td><label for="height">{#table_dlg.height}</label></td>
|
76
|
+
<td><input id="height" name="height" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
|
77
|
+
</tr>
|
78
|
+
|
79
|
+
<tr id="styleSelectRow">
|
80
|
+
<td><label for="class">{#class_name}</label></td>
|
81
|
+
<td colspan="3">
|
82
|
+
<select id="class" name="class" class="mceEditableSelect">
|
83
|
+
<option value="" selected="selected">{#not_set}</option>
|
84
|
+
</select>
|
85
|
+
</td>
|
86
|
+
</tr>
|
87
|
+
</table>
|
88
|
+
</fieldset>
|
89
|
+
</div>
|
90
|
+
|
91
|
+
<div id="advanced_panel" class="panel">
|
92
|
+
<fieldset>
|
93
|
+
<legend>{#table_dlg.advanced_props}</legend>
|
94
|
+
|
95
|
+
<table border="0" cellpadding="0" cellspacing="4">
|
96
|
+
<tr>
|
97
|
+
<td class="column1"><label for="id">{#table_dlg.id}</label></td>
|
98
|
+
<td><input id="id" name="id" type="text" value="" style="width: 200px" /></td>
|
99
|
+
</tr>
|
100
|
+
|
101
|
+
<tr>
|
102
|
+
<td><label for="style">{#table_dlg.style}</label></td>
|
103
|
+
<td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td>
|
104
|
+
</tr>
|
105
|
+
|
106
|
+
<tr>
|
107
|
+
<td class="column1"><label for="dir">{#table_dlg.langdir}</label></td>
|
108
|
+
<td>
|
109
|
+
<select id="dir" name="dir" style="width: 200px">
|
110
|
+
<option value="">{#not_set}</option>
|
111
|
+
<option value="ltr">{#table_dlg.ltr}</option>
|
112
|
+
<option value="rtl">{#table_dlg.rtl}</option>
|
113
|
+
</select>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
|
117
|
+
<tr>
|
118
|
+
<td class="column1"><label for="lang">{#table_dlg.langcode}</label></td>
|
119
|
+
<td>
|
120
|
+
<input id="lang" name="lang" type="text" value="" style="width: 200px" />
|
121
|
+
</td>
|
122
|
+
</tr>
|
123
|
+
|
124
|
+
<tr>
|
125
|
+
<td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
|
126
|
+
<td>
|
127
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
128
|
+
<tr>
|
129
|
+
<td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
|
130
|
+
<td id="backgroundimagebrowsercontainer"> </td>
|
131
|
+
</tr>
|
132
|
+
</table>
|
133
|
+
</td>
|
134
|
+
</tr>
|
135
|
+
|
136
|
+
<tr>
|
137
|
+
<td class="column1"><label for="bordercolor">{#table_dlg.bordercolor}</label></td>
|
138
|
+
<td>
|
139
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
140
|
+
<tr>
|
141
|
+
<td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
|
142
|
+
<td id="bordercolor_pickcontainer"> </td>
|
143
|
+
</tr>
|
144
|
+
</table>
|
145
|
+
</td>
|
146
|
+
</tr>
|
147
|
+
|
148
|
+
<tr>
|
149
|
+
<td class="column1"><label for="bgcolor">{#table_dlg.bgcolor}</label></td>
|
150
|
+
<td>
|
151
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
152
|
+
<tr>
|
153
|
+
<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
|
154
|
+
<td id="bgcolor_pickcontainer"> </td>
|
155
|
+
</tr>
|
156
|
+
</table>
|
157
|
+
</td>
|
158
|
+
</tr>
|
159
|
+
</table>
|
160
|
+
</fieldset>
|
161
|
+
</div>
|
162
|
+
</div>
|
163
|
+
|
164
|
+
<div class="mceActionPanel">
|
165
|
+
<div>
|
166
|
+
<select id="action" name="action">
|
167
|
+
<option value="cell">{#table_dlg.cell_cell}</option>
|
168
|
+
<option value="row">{#table_dlg.cell_row}</option>
|
169
|
+
<option value="all">{#table_dlg.cell_all}</option>
|
170
|
+
</select>
|
171
|
+
</div>
|
172
|
+
|
173
|
+
<input type="submit" id="insert" name="insert" value="{#update}" />
|
174
|
+
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
|
175
|
+
</div>
|
176
|
+
</form>
|
177
|
+
</body>
|
178
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/* CSS file for row dialog in the table plugin */
|
2
|
+
|
3
|
+
.panel_wrapper div.current {
|
4
|
+
height: 200px;
|
5
|
+
}
|
6
|
+
|
7
|
+
.advfield {
|
8
|
+
width: 200px;
|
9
|
+
}
|
10
|
+
|
11
|
+
#action {
|
12
|
+
margin-bottom: 3px;
|
13
|
+
}
|
14
|
+
|
15
|
+
#rowtype,#align,#valign,#class,#height {
|
16
|
+
width: 150px;
|
17
|
+
}
|
18
|
+
|
19
|
+
#height {
|
20
|
+
width: 50px;
|
21
|
+
}
|
22
|
+
|
23
|
+
.col2 {
|
24
|
+
padding-left: 20px;
|
25
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(b){var c=b.each;function a(F,E,I){var e,J,B,n;r();n=E.getParent(I.getStart(),"th,td");if(n){J=D(n);B=G();n=v(J.x,J.y)}function w(L,K){L=L.cloneNode(K);L.removeAttribute("id");return L}function r(){var K=0;e=[];c(["thead","tbody","tfoot"],function(L){var M=E.select(L+" tr",F);c(M,function(N,O){O+=K;c(E.select("td,th",N),function(U,P){var Q,R,S,T;if(e[O]){while(e[O][P]){P++}}S=g(U,"rowspan");T=g(U,"colspan");for(R=O;R<O+S;R++){if(!e[R]){e[R]=[]}for(Q=P;Q<P+T;Q++){e[R][Q]={part:L,real:R==O&&Q==P,elm:U,rowspan:S,colspan:T}}}})});K+=M.length})}function v(K,M){var L;L=e[M];if(L){return L[K]}}function g(L,K){return parseInt(L.getAttribute(K)||1)}function h(K){return E.hasClass(K.elm,"mceSelected")||K==n}function j(){var K=[];c(F.rows,function(L){c(L.cells,function(M){if(E.hasClass(M,"mceSelected")||M==n.elm){K.push(L);return false}})});return K}function q(){var K=E.createRng();K.setStartAfter(F);K.setEndAfter(F);I.setRng(K);E.remove(F)}function d(K){var L;b.walk(K,function(N){var M;if(N.nodeType==3){c(E.getParents(N.parentNode,null,K).reverse(),function(O){O=w(O,false);if(!L){L=M=O}else{if(M){M.appendChild(O)}}M=O});if(M){M.innerHTML=b.isIE?" ":'<br _mce_bogus="1" />'}return false}},"childNodes");K=w(K,false);K.rowSpan=K.colSpan=1;if(L){K.appendChild(L)}else{if(!b.isIE){K.innerHTML='<br _mce_bogus="1" />'}}return K}function p(){var K=E.createRng();c(E.select("tr",F),function(L){if(L.cells.length==0){E.remove(L)}});if(E.select("tr",F).length==0){K.setStartAfter(F);K.setEndAfter(F);I.setRng(K);E.remove(F);return}c(E.select("thead,tbody,tfoot",F),function(L){if(L.rows.length==0){E.remove(L)}});r();row=e[Math.min(e.length-1,J.y)];if(row){I.select(row[Math.min(row.length-1,J.x)].elm,true);I.collapse(true)}}function s(Q,O,S,P){var N,L,K,M,R;N=e[O][Q].elm.parentNode;for(K=1;K<=S;K++){N=E.getNext(N,"tr");if(N){for(L=Q;L>=0;L--){R=e[O+K][L].elm;if(R.parentNode==N){for(M=1;M<=P;M++){E.insertAfter(d(R),R)}break}}if(L==-1){for(M=1;M<=P;M++){N.insertBefore(d(N.cells[0]),N.cells[0])}}}}}function A(){c(e,function(K,L){c(K,function(N,M){var Q,P,R,O;if(h(N)){N=N.elm;Q=g(N,"colspan");P=g(N,"rowspan");if(Q>1||P>1){N.colSpan=N.rowSpan=1;for(O=0;O<Q-1;O++){E.insertAfter(d(N),N)}s(M,L,P-1,Q)}}})})}function o(S,P,V){var N,M,U,T,R,O,Q,K,S,L;if(S){pos=D(S);N=pos.x;M=pos.y;U=N+(P-1);T=M+(V-1)}else{N=J.x;M=J.y;U=B.x;T=B.y}Q=v(N,M);K=v(U,T);if(Q&&K&&Q.part==K.part){A();r();Q=v(N,M).elm;Q.colSpan=(U-N)+1;Q.rowSpan=(T-M)+1;for(O=M;O<=T;O++){for(R=N;R<=U;R++){S=e[O][R].elm;if(S!=Q){L=b.grep(S.childNodes);c(L,function(X,W){if(X.nodeName!="BR"||W!=L.length-1){Q.appendChild(X)}});E.remove(S)}}}p()}}function k(N){var K,P,M,O,Q,R,L,S;c(e,function(T,U){c(T,function(W,V){if(h(W)){W=W.elm;Q=W.parentNode;R=w(Q,false);K=U;if(N){return false}}});if(N){return !K}});for(O=0;O<e[0].length;O++){P=e[K][O].elm;if(P!=M){if(!N){rowSpan=g(P,"rowspan");if(rowSpan>1){P.rowSpan=rowSpan+1;continue}}else{if(K>0&&e[K-1][O]){S=e[K-1][O].elm;rowSpan=g(S,"rowspan");if(rowSpan>1){S.rowSpan=rowSpan+1;continue}}}L=d(P);L.colSpan=P.colSpan;R.appendChild(L);M=P}}if(R.hasChildNodes()){if(!N){E.insertAfter(R,Q)}else{Q.parentNode.insertBefore(R,Q)}}}function f(L){var M,K;c(e,function(N,O){c(N,function(Q,P){if(h(Q)){M=P;if(L){return false}}});if(L){return !M}});c(e,function(Q,R){var N=Q[M].elm,O,P;if(N!=K){P=g(N,"colspan");O=g(N,"rowspan");if(P==1){if(!L){E.insertAfter(d(N),N);s(M,R,O-1,P)}else{N.parentNode.insertBefore(d(N),N);s(M,R,O-1,P)}}else{N.colSpan++}K=N}})}function m(){var K=[];c(e,function(L,M){c(L,function(O,N){if(h(O)&&b.inArray(K,N)===-1){c(e,function(R){var P=R[N].elm,Q;Q=g(P,"colspan");if(Q>1){P.colSpan=Q-1}else{E.remove(P)}});K.push(N)}})});p()}function l(){var L;function K(O){var N,P,M;N=E.getNext(O,"tr");c(O.cells,function(Q){var R=g(Q,"rowspan");if(R>1){Q.rowSpan=R-1;P=D(Q);s(P.x,P.y,1,1)}});P=D(O.cells[0]);c(e[P.y],function(Q){var R;Q=Q.elm;if(Q!=M){R=g(Q,"rowspan");if(R<=1){E.remove(Q)}else{Q.rowSpan=R-1}M=Q}})}L=j();c(L.reverse(),function(M){K(M)});p()}function C(){var K=j();E.remove(K);p();return K}function H(){var K=j();c(K,function(M,L){K[L]=w(M,true)});return K}function z(M,L){var N=j(),K=N[L?0:N.length-1],O=K.cells.length;c(e,function(Q){var P;O=0;c(Q,function(S,R){if(S.real){O+=S.colspan}if(S.elm.parentNode==K){P=1}});if(P){return false}});if(!L){M.reverse()}c(M,function(R){var Q=R.cells.length,P;for(i=0;i<Q;i++){P=R.cells[i];P.colSpan=P.rowSpan=1}for(i=Q;i<O;i++){R.appendChild(d(R.cells[Q-1]))}for(i=O;i<Q;i++){E.remove(R.cells[i])}if(L){K.parentNode.insertBefore(R,K)}else{E.insertAfter(R,K)}})}function D(K){var L;c(e,function(M,N){c(M,function(P,O){if(P.elm==K){L={x:O,y:N};return false}});return !L});return L}function u(K){J=D(K)}function G(){var M,L,K;L=K=0;c(e,function(N,O){c(N,function(Q,P){var S,R;if(h(Q)){Q=e[O][P];if(P>L){L=P}if(O>K){K=O}if(Q.real){S=Q.colspan-1;R=Q.rowspan-1;if(S){if(P+S>L){L=P+S}}if(R){if(O+R>K){K=O+R}}}}})});return{x:L,y:K}}function t(Q){var N,M,S,R,L,K,O,P;B=D(Q);if(J&&B){N=Math.min(J.x,B.x);M=Math.min(J.y,B.y);S=Math.max(J.x,B.x);R=Math.max(J.y,B.y);L=S;K=R;for(y=M;y<=K;y++){Q=e[y][N];if(!Q.real){if(N-(Q.colspan-1)<N){N-=Q.colspan-1}}}for(x=N;x<=L;x++){Q=e[M][x];if(!Q.real){if(M-(Q.rowspan-1)<M){M-=Q.rowspan-1}}}for(y=M;y<=R;y++){for(x=N;x<=S;x++){Q=e[y][x];if(Q.real){O=Q.colspan-1;P=Q.rowspan-1;if(O){if(x+O>L){L=x+O}}if(P){if(y+P>K){K=y+P}}}}}E.removeClass(E.select("td.mceSelected,th.mceSelected"),"mceSelected");for(y=M;y<=K;y++){for(x=N;x<=L;x++){E.addClass(e[y][x].elm,"mceSelected")}}}}b.extend(this,{deleteTable:q,split:A,merge:o,insertRow:k,insertCol:f,deleteCols:m,deleteRows:l,cutRows:C,copyRows:H,pasteRows:z,getPos:D,setStartCell:u,setEndCell:t})}b.create("tinymce.plugins.TablePlugin",{init:function(e,f){var d,j;function h(m){var l=e.selection,k=e.dom.getParent(m||l.getNode(),"table");if(k){return new a(k,e.dom,l)}}function g(){e.getBody().style.webkitUserSelect="";e.dom.removeClass(e.dom.select("td.mceSelected,th.mceSelected"),"mceSelected")}c([["table","table.desc","mceInsertTable",true],["delete_table","table.del","mceTableDelete"],["delete_col","table.delete_col_desc","mceTableDeleteCol"],["delete_row","table.delete_row_desc","mceTableDeleteRow"],["col_after","table.col_after_desc","mceTableInsertColAfter"],["col_before","table.col_before_desc","mceTableInsertColBefore"],["row_after","table.row_after_desc","mceTableInsertRowAfter"],["row_before","table.row_before_desc","mceTableInsertRowBefore"],["row_props","table.row_desc","mceTableRowProps",true],["cell_props","table.cell_desc","mceTableCellProps",true],["split_cells","table.split_cells_desc","mceTableSplitCells",true],["merge_cells","table.merge_cells_desc","mceTableMergeCells",true]],function(k){e.addButton(k[0],{title:k[1],cmd:k[2],ui:k[3]})});if(!b.isIE){e.onClick.add(function(k,l){l=l.target;if(l.nodeName==="TABLE"){k.selection.select(l)}})}e.onNodeChange.add(function(l,k,o){var m;o=l.selection.getStart();m=l.dom.getParent(o,"td,th,caption");k.setActive("table",o.nodeName==="TABLE"||!!m);if(m&&m.nodeName==="CAPTION"){m=0}k.setDisabled("delete_table",!m);k.setDisabled("delete_col",!m);k.setDisabled("delete_table",!m);k.setDisabled("delete_row",!m);k.setDisabled("col_after",!m);k.setDisabled("col_before",!m);k.setDisabled("row_after",!m);k.setDisabled("row_before",!m);k.setDisabled("row_props",!m);k.setDisabled("cell_props",!m);k.setDisabled("split_cells",!m);k.setDisabled("merge_cells",!m)});e.onInit.add(function(l){var k,o,p=l.dom,m;d=l.windowManager;l.onMouseDown.add(function(q,r){if(r.button!=2){g();o=p.getParent(r.target,"td,th");k=p.getParent(o,"table")}});p.bind(l.getDoc(),"mouseover",function(t){var r,q,s=t.target;if(o&&(m||s!=o)&&(s.nodeName=="TD"||s.nodeName=="TH")){q=p.getParent(s,"table");if(q==k){if(!m){m=h(q);m.setStartCell(o);l.getBody().style.webkitUserSelect="none"}m.setEndCell(s)}r=l.selection.getSel();if(r.removeAllRanges){r.removeAllRanges()}else{r.empty()}t.preventDefault()}});l.onMouseUp.add(function(z,A){var r,t=z.selection,B,C=t.getSel(),q,u,s,w;if(o){if(m){z.getBody().style.webkitUserSelect=""}function v(D,F){var E=new b.dom.TreeWalker(D,D);do{if(D.nodeType==3&&b.trim(D.nodeValue).length!=0){if(F){r.setStart(D,0)}else{r.setEnd(D,D.nodeValue.length)}return}if(D.nodeName=="BR"){if(F){r.setStartBefore(D)}else{r.setEndBefore(D)}return}}while(D=(F?E.next():E.prev()))}B=p.select("td.mceSelected,th.mceSelected");if(B.length>0){r=p.createRng();u=B[0];w=B[B.length-1];v(u,1);q=new b.dom.TreeWalker(u,p.getParent(B[0],"table"));do{if(u.nodeName=="TD"||u.nodeName=="TH"){if(!p.hasClass(u,"mceSelected")){break}s=u}}while(u=q.next());v(s);t.setRng(r)}z.nodeChanged();o=m=k=null}});l.onKeyUp.add(function(q,r){g()});if(l&&l.plugins.contextmenu){l.plugins.contextmenu.onContextMenu.add(function(s,q,u){var v,t=l.selection,r=t.getNode()||l.getBody();if(l.dom.getParent(u,"td")||l.dom.getParent(u,"th")||l.dom.select("td.mceSelected,th.mceSelected").length){q.removeAll();if(r.nodeName=="A"&&!l.dom.getAttrib(r,"name")){q.add({title:"advanced.link_desc",icon:"link",cmd:l.plugins.advlink?"mceAdvLink":"mceLink",ui:true});q.add({title:"advanced.unlink_desc",icon:"unlink",cmd:"UnLink"});q.addSeparator()}if(r.nodeName=="IMG"&&r.className.indexOf("mceItem")==-1){q.add({title:"advanced.image_desc",icon:"image",cmd:l.plugins.advimage?"mceAdvImage":"mceImage",ui:true});q.addSeparator()}q.add({title:"table.desc",icon:"table",cmd:"mceInsertTable",value:{action:"insert"}});q.add({title:"table.props_desc",icon:"table_props",cmd:"mceInsertTable"});q.add({title:"table.del",icon:"delete_table",cmd:"mceTableDelete"});q.addSeparator();v=q.addMenu({title:"table.cell"});v.add({title:"table.cell_desc",icon:"cell_props",cmd:"mceTableCellProps"});v.add({title:"table.split_cells_desc",icon:"split_cells",cmd:"mceTableSplitCells"});v.add({title:"table.merge_cells_desc",icon:"merge_cells",cmd:"mceTableMergeCells"});v=q.addMenu({title:"table.row"});v.add({title:"table.row_desc",icon:"row_props",cmd:"mceTableRowProps"});v.add({title:"table.row_before_desc",icon:"row_before",cmd:"mceTableInsertRowBefore"});v.add({title:"table.row_after_desc",icon:"row_after",cmd:"mceTableInsertRowAfter"});v.add({title:"table.delete_row_desc",icon:"delete_row",cmd:"mceTableDeleteRow"});v.addSeparator();v.add({title:"table.cut_row_desc",icon:"cut",cmd:"mceTableCutRow"});v.add({title:"table.copy_row_desc",icon:"copy",cmd:"mceTableCopyRow"});v.add({title:"table.paste_row_before_desc",icon:"paste",cmd:"mceTablePasteRowBefore"}).setDisabled(!j);v.add({title:"table.paste_row_after_desc",icon:"paste",cmd:"mceTablePasteRowAfter"}).setDisabled(!j);v=q.addMenu({title:"table.col"});v.add({title:"table.col_before_desc",icon:"col_before",cmd:"mceTableInsertColBefore"});v.add({title:"table.col_after_desc",icon:"col_after",cmd:"mceTableInsertColAfter"});v.add({title:"table.delete_col_desc",icon:"delete_col",cmd:"mceTableDeleteCol"})}else{q.add({title:"table.desc",icon:"table",cmd:"mceInsertTable"})}})}if(!b.isIE){function n(){var q;for(q=l.getBody().lastChild;q&&q.nodeType==3&&!q.nodeValue.length;q=q.previousSibling){}if(q&&q.nodeName=="TABLE"){l.dom.add(l.getBody(),"p",null,'<br mce_bogus="1" />')}}if(b.isGecko){l.onKeyDown.add(function(r,t){var q,s,u=r.dom;if(t.keyCode==37||t.keyCode==38){q=r.selection.getRng();s=u.getParent(q.startContainer,"table");if(s&&r.getBody().firstChild==s){if(isAtStart(q,s)){q=u.createRng();q.setStartBefore(s);q.setEndBefore(s);r.selection.setRng(q);t.preventDefault()}}}})}l.onKeyUp.add(n);l.onSetContent.add(n);l.onVisualAid.add(n);l.onPreProcess.add(function(q,s){var r=s.node.lastChild;if(r&&r.childNodes.length==1&&r.firstChild.nodeName=="BR"){q.dom.remove(r)}});n()}});c({mceTableSplitCells:function(k){k.split()},mceTableMergeCells:function(l){var m,n,k;k=e.dom.getParent(e.selection.getNode(),"th,td");if(k){m=k.rowSpan;n=k.colSpan}if(!e.dom.select("td.mceSelected,th.mceSelected").length){d.open({url:f+"/merge_cells.htm",width:240+parseInt(e.getLang("table.merge_cells_delta_width",0)),height:110+parseInt(e.getLang("table.merge_cells_delta_height",0)),inline:1},{rows:m,cols:n,onaction:function(o){l.merge(k,o.cols,o.rows)},plugin_url:f})}else{l.merge()}},mceTableInsertRowBefore:function(k){k.insertRow(true)},mceTableInsertRowAfter:function(k){k.insertRow()},mceTableInsertColBefore:function(k){k.insertCol(true)},mceTableInsertColAfter:function(k){k.insertCol()},mceTableDeleteCol:function(k){k.deleteCols()},mceTableDeleteRow:function(k){k.deleteRows()},mceTableCutRow:function(k){j=k.cutRows()},mceTableCopyRow:function(k){j=k.copyRows()},mceTablePasteRowBefore:function(k){k.pasteRows(j,true)},mceTablePasteRowAfter:function(k){k.pasteRows(j)},mceTableDelete:function(k){k.deleteTable()}},function(l,k){e.addCommand(k,function(){var m=h();if(m){l(m);e.execCommand("mceRepaint");g()}})});c({mceInsertTable:function(k){d.open({url:f+"/table.htm",width:400+parseInt(e.getLang("table.table_delta_width",0)),height:320+parseInt(e.getLang("table.table_delta_height",0)),inline:1},{plugin_url:f,action:k?k.action:0})},mceTableRowProps:function(){d.open({url:f+"/row.htm",width:400+parseInt(e.getLang("table.rowprops_delta_width",0)),height:295+parseInt(e.getLang("table.rowprops_delta_height",0)),inline:1},{plugin_url:f})},mceTableCellProps:function(){d.open({url:f+"/cell.htm",width:400+parseInt(e.getLang("table.cellprops_delta_width",0)),height:295+parseInt(e.getLang("table.cellprops_delta_height",0)),inline:1},{plugin_url:f})}},function(l,k){e.addCommand(k,function(m,n){l(n)})})}});b.PluginManager.add("table",b.plugins.TablePlugin)})(tinymce);
|
@@ -0,0 +1,1125 @@
|
|
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(tinymce) {
|
12
|
+
var each = tinymce.each;
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Table Grid class.
|
16
|
+
*/
|
17
|
+
function TableGrid(table, dom, selection) {
|
18
|
+
var grid, startPos, endPos, selectedCell;
|
19
|
+
|
20
|
+
buildGrid();
|
21
|
+
selectedCell = dom.getParent(selection.getStart(), 'th,td');
|
22
|
+
if (selectedCell) {
|
23
|
+
startPos = getPos(selectedCell);
|
24
|
+
endPos = findEndPos();
|
25
|
+
selectedCell = getCell(startPos.x, startPos.y);
|
26
|
+
}
|
27
|
+
|
28
|
+
function cloneNode(node, children) {
|
29
|
+
node = node.cloneNode(children);
|
30
|
+
node.removeAttribute('id');
|
31
|
+
|
32
|
+
return node;
|
33
|
+
}
|
34
|
+
|
35
|
+
function buildGrid() {
|
36
|
+
var startY = 0;
|
37
|
+
|
38
|
+
grid = [];
|
39
|
+
|
40
|
+
each(['thead', 'tbody', 'tfoot'], function(part) {
|
41
|
+
var rows = dom.select(part + ' tr', table);
|
42
|
+
|
43
|
+
each(rows, function(tr, y) {
|
44
|
+
y += startY;
|
45
|
+
|
46
|
+
each(dom.select('td,th', tr), function(td, x) {
|
47
|
+
var x2, y2, rowspan, colspan;
|
48
|
+
|
49
|
+
// Skip over existing cells produced by rowspan
|
50
|
+
if (grid[y]) {
|
51
|
+
while (grid[y][x])
|
52
|
+
x++;
|
53
|
+
}
|
54
|
+
|
55
|
+
// Get col/rowspan from cell
|
56
|
+
rowspan = getSpanVal(td, 'rowspan');
|
57
|
+
colspan = getSpanVal(td, 'colspan');
|
58
|
+
|
59
|
+
// Fill out rowspan/colspan right and down
|
60
|
+
for (y2 = y; y2 < y + rowspan; y2++) {
|
61
|
+
if (!grid[y2])
|
62
|
+
grid[y2] = [];
|
63
|
+
|
64
|
+
for (x2 = x; x2 < x + colspan; x2++) {
|
65
|
+
grid[y2][x2] = {
|
66
|
+
part : part,
|
67
|
+
real : y2 == y && x2 == x,
|
68
|
+
elm : td,
|
69
|
+
rowspan : rowspan,
|
70
|
+
colspan : colspan
|
71
|
+
};
|
72
|
+
}
|
73
|
+
}
|
74
|
+
});
|
75
|
+
});
|
76
|
+
|
77
|
+
startY += rows.length;
|
78
|
+
});
|
79
|
+
};
|
80
|
+
|
81
|
+
function getCell(x, y) {
|
82
|
+
var row;
|
83
|
+
|
84
|
+
row = grid[y];
|
85
|
+
if (row)
|
86
|
+
return row[x];
|
87
|
+
};
|
88
|
+
|
89
|
+
function getSpanVal(td, name) {
|
90
|
+
return parseInt(td.getAttribute(name) || 1);
|
91
|
+
};
|
92
|
+
|
93
|
+
function isCellSelected(cell) {
|
94
|
+
return dom.hasClass(cell.elm, 'mceSelected') || cell == selectedCell;
|
95
|
+
};
|
96
|
+
|
97
|
+
function getSelectedRows() {
|
98
|
+
var rows = [];
|
99
|
+
|
100
|
+
each(table.rows, function(row) {
|
101
|
+
each(row.cells, function(cell) {
|
102
|
+
if (dom.hasClass(cell, 'mceSelected') || cell == selectedCell.elm) {
|
103
|
+
rows.push(row);
|
104
|
+
return false;
|
105
|
+
}
|
106
|
+
});
|
107
|
+
});
|
108
|
+
|
109
|
+
return rows;
|
110
|
+
};
|
111
|
+
|
112
|
+
function deleteTable() {
|
113
|
+
var rng = dom.createRng();
|
114
|
+
|
115
|
+
rng.setStartAfter(table);
|
116
|
+
rng.setEndAfter(table);
|
117
|
+
|
118
|
+
selection.setRng(rng);
|
119
|
+
|
120
|
+
dom.remove(table);
|
121
|
+
};
|
122
|
+
|
123
|
+
function cloneCell(cell) {
|
124
|
+
var formatNode;
|
125
|
+
|
126
|
+
// Clone formats
|
127
|
+
tinymce.walk(cell, function(node) {
|
128
|
+
var curNode;
|
129
|
+
|
130
|
+
if (node.nodeType == 3) {
|
131
|
+
each(dom.getParents(node.parentNode, null, cell).reverse(), function(node) {
|
132
|
+
node = cloneNode(node, false);
|
133
|
+
|
134
|
+
if (!formatNode)
|
135
|
+
formatNode = curNode = node;
|
136
|
+
else if (curNode)
|
137
|
+
curNode.appendChild(node);
|
138
|
+
|
139
|
+
curNode = node;
|
140
|
+
});
|
141
|
+
|
142
|
+
// Add something to the inner node
|
143
|
+
if (curNode)
|
144
|
+
curNode.innerHTML = tinymce.isIE ? ' ' : '<br _mce_bogus="1" />';
|
145
|
+
|
146
|
+
return false;
|
147
|
+
}
|
148
|
+
}, 'childNodes');
|
149
|
+
|
150
|
+
cell = cloneNode(cell, false);
|
151
|
+
cell.rowSpan = cell.colSpan = 1;
|
152
|
+
|
153
|
+
if (formatNode) {
|
154
|
+
cell.appendChild(formatNode);
|
155
|
+
} else {
|
156
|
+
if (!tinymce.isIE)
|
157
|
+
cell.innerHTML = '<br _mce_bogus="1" />';
|
158
|
+
}
|
159
|
+
|
160
|
+
return cell;
|
161
|
+
};
|
162
|
+
|
163
|
+
function cleanup() {
|
164
|
+
var rng = dom.createRng();
|
165
|
+
|
166
|
+
// Empty rows
|
167
|
+
each(dom.select('tr', table), function(tr) {
|
168
|
+
if (tr.cells.length == 0)
|
169
|
+
dom.remove(tr);
|
170
|
+
});
|
171
|
+
|
172
|
+
// Empty table
|
173
|
+
if (dom.select('tr', table).length == 0) {
|
174
|
+
rng.setStartAfter(table);
|
175
|
+
rng.setEndAfter(table);
|
176
|
+
selection.setRng(rng);
|
177
|
+
dom.remove(table);
|
178
|
+
return;
|
179
|
+
}
|
180
|
+
|
181
|
+
// Empty header/body/footer
|
182
|
+
each(dom.select('thead,tbody,tfoot', table), function(part) {
|
183
|
+
if (part.rows.length == 0)
|
184
|
+
dom.remove(part);
|
185
|
+
});
|
186
|
+
|
187
|
+
// Restore selection to start position if it still exists
|
188
|
+
buildGrid();
|
189
|
+
|
190
|
+
// Restore the selection to the closest table position
|
191
|
+
row = grid[Math.min(grid.length - 1, startPos.y)];
|
192
|
+
if (row) {
|
193
|
+
selection.select(row[Math.min(row.length - 1, startPos.x)].elm, true);
|
194
|
+
selection.collapse(true);
|
195
|
+
}
|
196
|
+
};
|
197
|
+
|
198
|
+
function fillLeftDown(x, y, rows, cols) {
|
199
|
+
var tr, x2, r, c, cell;
|
200
|
+
|
201
|
+
tr = grid[y][x].elm.parentNode;
|
202
|
+
for (r = 1; r <= rows; r++) {
|
203
|
+
tr = dom.getNext(tr, 'tr');
|
204
|
+
|
205
|
+
if (tr) {
|
206
|
+
// Loop left to find real cell
|
207
|
+
for (x2 = x; x2 >= 0; x2--) {
|
208
|
+
cell = grid[y + r][x2].elm;
|
209
|
+
|
210
|
+
if (cell.parentNode == tr) {
|
211
|
+
// Append clones after
|
212
|
+
for (c = 1; c <= cols; c++)
|
213
|
+
dom.insertAfter(cloneCell(cell), cell);
|
214
|
+
|
215
|
+
break;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
if (x2 == -1) {
|
220
|
+
// Insert nodes before first cell
|
221
|
+
for (c = 1; c <= cols; c++)
|
222
|
+
tr.insertBefore(cloneCell(tr.cells[0]), tr.cells[0]);
|
223
|
+
}
|
224
|
+
}
|
225
|
+
}
|
226
|
+
};
|
227
|
+
|
228
|
+
function split() {
|
229
|
+
each(grid, function(row, y) {
|
230
|
+
each(row, function(cell, x) {
|
231
|
+
var colSpan, rowSpan, newCell, i;
|
232
|
+
|
233
|
+
if (isCellSelected(cell)) {
|
234
|
+
cell = cell.elm;
|
235
|
+
colSpan = getSpanVal(cell, 'colspan');
|
236
|
+
rowSpan = getSpanVal(cell, 'rowspan');
|
237
|
+
|
238
|
+
if (colSpan > 1 || rowSpan > 1) {
|
239
|
+
cell.colSpan = cell.rowSpan = 1;
|
240
|
+
|
241
|
+
// Insert cells right
|
242
|
+
for (i = 0; i < colSpan - 1; i++)
|
243
|
+
dom.insertAfter(cloneCell(cell), cell);
|
244
|
+
|
245
|
+
fillLeftDown(x, y, rowSpan - 1, colSpan);
|
246
|
+
}
|
247
|
+
}
|
248
|
+
});
|
249
|
+
});
|
250
|
+
};
|
251
|
+
|
252
|
+
function merge(cell, cols, rows) {
|
253
|
+
var startX, startY, endX, endY, x, y, startCell, endCell, cell, children;
|
254
|
+
|
255
|
+
// Use specified cell and cols/rows
|
256
|
+
if (cell) {
|
257
|
+
pos = getPos(cell);
|
258
|
+
startX = pos.x;
|
259
|
+
startY = pos.y;
|
260
|
+
endX = startX + (cols - 1);
|
261
|
+
endY = startY + (rows - 1);
|
262
|
+
} else {
|
263
|
+
// Use selection
|
264
|
+
startX = startPos.x;
|
265
|
+
startY = startPos.y;
|
266
|
+
endX = endPos.x;
|
267
|
+
endY = endPos.y;
|
268
|
+
}
|
269
|
+
|
270
|
+
// Find start/end cells
|
271
|
+
startCell = getCell(startX, startY);
|
272
|
+
endCell = getCell(endX, endY);
|
273
|
+
|
274
|
+
// Check if the cells exists and if they are of the same part for example tbody = tbody
|
275
|
+
if (startCell && endCell && startCell.part == endCell.part) {
|
276
|
+
// Split and rebuild grid
|
277
|
+
split();
|
278
|
+
buildGrid();
|
279
|
+
|
280
|
+
// Set row/col span to start cell
|
281
|
+
startCell = getCell(startX, startY).elm;
|
282
|
+
startCell.colSpan = (endX - startX) + 1;
|
283
|
+
startCell.rowSpan = (endY - startY) + 1;
|
284
|
+
|
285
|
+
// Remove other cells and add it's contents to the start cell
|
286
|
+
for (y = startY; y <= endY; y++) {
|
287
|
+
for (x = startX; x <= endX; x++) {
|
288
|
+
cell = grid[y][x].elm;
|
289
|
+
|
290
|
+
if (cell != startCell) {
|
291
|
+
// Move children to startCell
|
292
|
+
children = tinymce.grep(cell.childNodes);
|
293
|
+
each(children, function(node, i) {
|
294
|
+
// Jump over last BR element
|
295
|
+
if (node.nodeName != 'BR' || i != children.length - 1)
|
296
|
+
startCell.appendChild(node);
|
297
|
+
});
|
298
|
+
|
299
|
+
// Remove cell
|
300
|
+
dom.remove(cell);
|
301
|
+
}
|
302
|
+
}
|
303
|
+
}
|
304
|
+
|
305
|
+
// Remove empty rows etc and restore caret location
|
306
|
+
cleanup();
|
307
|
+
}
|
308
|
+
};
|
309
|
+
|
310
|
+
function insertRow(before) {
|
311
|
+
var posY, cell, lastCell, x, rowElm, newRow, newCell, otherCell;
|
312
|
+
|
313
|
+
// Find first/last row
|
314
|
+
each(grid, function(row, y) {
|
315
|
+
each(row, function(cell, x) {
|
316
|
+
if (isCellSelected(cell)) {
|
317
|
+
cell = cell.elm;
|
318
|
+
rowElm = cell.parentNode;
|
319
|
+
newRow = cloneNode(rowElm, false);
|
320
|
+
posY = y;
|
321
|
+
|
322
|
+
if (before)
|
323
|
+
return false;
|
324
|
+
}
|
325
|
+
});
|
326
|
+
|
327
|
+
if (before)
|
328
|
+
return !posY;
|
329
|
+
});
|
330
|
+
|
331
|
+
for (x = 0; x < grid[0].length; x++) {
|
332
|
+
cell = grid[posY][x].elm;
|
333
|
+
|
334
|
+
if (cell != lastCell) {
|
335
|
+
if (!before) {
|
336
|
+
rowSpan = getSpanVal(cell, 'rowspan');
|
337
|
+
if (rowSpan > 1) {
|
338
|
+
cell.rowSpan = rowSpan + 1;
|
339
|
+
continue;
|
340
|
+
}
|
341
|
+
} else {
|
342
|
+
// Check if cell above can be expanded
|
343
|
+
if (posY > 0 && grid[posY - 1][x]) {
|
344
|
+
otherCell = grid[posY - 1][x].elm;
|
345
|
+
rowSpan = getSpanVal(otherCell, 'rowspan');
|
346
|
+
if (rowSpan > 1) {
|
347
|
+
otherCell.rowSpan = rowSpan + 1;
|
348
|
+
continue;
|
349
|
+
}
|
350
|
+
}
|
351
|
+
}
|
352
|
+
|
353
|
+
// Insert new cell into new row
|
354
|
+
newCell = cloneCell(cell)
|
355
|
+
newCell.colSpan = cell.colSpan;
|
356
|
+
newRow.appendChild(newCell);
|
357
|
+
|
358
|
+
lastCell = cell;
|
359
|
+
}
|
360
|
+
}
|
361
|
+
|
362
|
+
if (newRow.hasChildNodes()) {
|
363
|
+
if (!before)
|
364
|
+
dom.insertAfter(newRow, rowElm);
|
365
|
+
else
|
366
|
+
rowElm.parentNode.insertBefore(newRow, rowElm);
|
367
|
+
}
|
368
|
+
};
|
369
|
+
|
370
|
+
function insertCol(before) {
|
371
|
+
var posX, lastCell;
|
372
|
+
|
373
|
+
// Find first/last column
|
374
|
+
each(grid, function(row, y) {
|
375
|
+
each(row, function(cell, x) {
|
376
|
+
if (isCellSelected(cell)) {
|
377
|
+
posX = x;
|
378
|
+
|
379
|
+
if (before)
|
380
|
+
return false;
|
381
|
+
}
|
382
|
+
});
|
383
|
+
|
384
|
+
if (before)
|
385
|
+
return !posX;
|
386
|
+
});
|
387
|
+
|
388
|
+
each(grid, function(row, y) {
|
389
|
+
var cell = row[posX].elm, rowSpan, colSpan;
|
390
|
+
|
391
|
+
if (cell != lastCell) {
|
392
|
+
colSpan = getSpanVal(cell, 'colspan');
|
393
|
+
rowSpan = getSpanVal(cell, 'rowspan');
|
394
|
+
|
395
|
+
if (colSpan == 1) {
|
396
|
+
if (!before) {
|
397
|
+
dom.insertAfter(cloneCell(cell), cell);
|
398
|
+
fillLeftDown(posX, y, rowSpan - 1, colSpan);
|
399
|
+
} else {
|
400
|
+
cell.parentNode.insertBefore(cloneCell(cell), cell);
|
401
|
+
fillLeftDown(posX, y, rowSpan - 1, colSpan);
|
402
|
+
}
|
403
|
+
} else
|
404
|
+
cell.colSpan++;
|
405
|
+
|
406
|
+
lastCell = cell;
|
407
|
+
}
|
408
|
+
});
|
409
|
+
};
|
410
|
+
|
411
|
+
function deleteCols() {
|
412
|
+
var cols = [];
|
413
|
+
|
414
|
+
// Get selected column indexes
|
415
|
+
each(grid, function(row, y) {
|
416
|
+
each(row, function(cell, x) {
|
417
|
+
if (isCellSelected(cell) && tinymce.inArray(cols, x) === -1) {
|
418
|
+
each(grid, function(row) {
|
419
|
+
var cell = row[x].elm, colSpan;
|
420
|
+
|
421
|
+
colSpan = getSpanVal(cell, 'colspan');
|
422
|
+
|
423
|
+
if (colSpan > 1)
|
424
|
+
cell.colSpan = colSpan - 1;
|
425
|
+
else
|
426
|
+
dom.remove(cell);
|
427
|
+
});
|
428
|
+
|
429
|
+
cols.push(x);
|
430
|
+
}
|
431
|
+
});
|
432
|
+
});
|
433
|
+
|
434
|
+
cleanup();
|
435
|
+
};
|
436
|
+
|
437
|
+
function deleteRows() {
|
438
|
+
var rows;
|
439
|
+
|
440
|
+
function deleteRow(tr) {
|
441
|
+
var nextTr, pos, lastCell;
|
442
|
+
|
443
|
+
nextTr = dom.getNext(tr, 'tr');
|
444
|
+
|
445
|
+
// Move down row spanned cells
|
446
|
+
each(tr.cells, function(cell) {
|
447
|
+
var rowSpan = getSpanVal(cell, 'rowspan');
|
448
|
+
|
449
|
+
if (rowSpan > 1) {
|
450
|
+
cell.rowSpan = rowSpan - 1;
|
451
|
+
pos = getPos(cell);
|
452
|
+
fillLeftDown(pos.x, pos.y, 1, 1);
|
453
|
+
}
|
454
|
+
});
|
455
|
+
|
456
|
+
// Delete cells
|
457
|
+
pos = getPos(tr.cells[0]);
|
458
|
+
each(grid[pos.y], function(cell) {
|
459
|
+
var rowSpan;
|
460
|
+
|
461
|
+
cell = cell.elm;
|
462
|
+
|
463
|
+
if (cell != lastCell) {
|
464
|
+
rowSpan = getSpanVal(cell, 'rowspan');
|
465
|
+
|
466
|
+
if (rowSpan <= 1)
|
467
|
+
dom.remove(cell);
|
468
|
+
else
|
469
|
+
cell.rowSpan = rowSpan - 1;
|
470
|
+
|
471
|
+
lastCell = cell;
|
472
|
+
}
|
473
|
+
});
|
474
|
+
};
|
475
|
+
|
476
|
+
// Get selected rows and move selection out of scope
|
477
|
+
rows = getSelectedRows();
|
478
|
+
|
479
|
+
// Delete all selected rows
|
480
|
+
each(rows.reverse(), function(tr) {
|
481
|
+
deleteRow(tr);
|
482
|
+
});
|
483
|
+
|
484
|
+
cleanup();
|
485
|
+
};
|
486
|
+
|
487
|
+
function cutRows() {
|
488
|
+
var rows = getSelectedRows();
|
489
|
+
|
490
|
+
dom.remove(rows);
|
491
|
+
cleanup();
|
492
|
+
|
493
|
+
return rows;
|
494
|
+
};
|
495
|
+
|
496
|
+
function copyRows() {
|
497
|
+
var rows = getSelectedRows();
|
498
|
+
|
499
|
+
each(rows, function(row, i) {
|
500
|
+
rows[i] = cloneNode(row, true);
|
501
|
+
});
|
502
|
+
|
503
|
+
return rows;
|
504
|
+
};
|
505
|
+
|
506
|
+
function pasteRows(rows, before) {
|
507
|
+
var selectedRows = getSelectedRows(),
|
508
|
+
targetRow = selectedRows[before ? 0 : selectedRows.length - 1],
|
509
|
+
targetCellCount = targetRow.cells.length;
|
510
|
+
|
511
|
+
// Calc target cell count
|
512
|
+
each(grid, function(row) {
|
513
|
+
var match;
|
514
|
+
|
515
|
+
targetCellCount = 0;
|
516
|
+
each(row, function(cell, x) {
|
517
|
+
if (cell.real)
|
518
|
+
targetCellCount += cell.colspan;
|
519
|
+
|
520
|
+
if (cell.elm.parentNode == targetRow)
|
521
|
+
match = 1;
|
522
|
+
});
|
523
|
+
|
524
|
+
if (match)
|
525
|
+
return false;
|
526
|
+
});
|
527
|
+
|
528
|
+
if (!before)
|
529
|
+
rows.reverse();
|
530
|
+
|
531
|
+
each(rows, function(row) {
|
532
|
+
var cellCount = row.cells.length, cell;
|
533
|
+
|
534
|
+
// Remove col/rowspans
|
535
|
+
for (i = 0; i < cellCount; i++) {
|
536
|
+
cell = row.cells[i];
|
537
|
+
cell.colSpan = cell.rowSpan = 1;
|
538
|
+
}
|
539
|
+
|
540
|
+
// Needs more cells
|
541
|
+
for (i = cellCount; i < targetCellCount; i++)
|
542
|
+
row.appendChild(cloneCell(row.cells[cellCount - 1]));
|
543
|
+
|
544
|
+
// Needs less cells
|
545
|
+
for (i = targetCellCount; i < cellCount; i++)
|
546
|
+
dom.remove(row.cells[i]);
|
547
|
+
|
548
|
+
// Add before/after
|
549
|
+
if (before)
|
550
|
+
targetRow.parentNode.insertBefore(row, targetRow);
|
551
|
+
else
|
552
|
+
dom.insertAfter(row, targetRow);
|
553
|
+
});
|
554
|
+
};
|
555
|
+
|
556
|
+
function getPos(target) {
|
557
|
+
var pos;
|
558
|
+
|
559
|
+
each(grid, function(row, y) {
|
560
|
+
each(row, function(cell, x) {
|
561
|
+
if (cell.elm == target) {
|
562
|
+
pos = {x : x, y : y};
|
563
|
+
return false;
|
564
|
+
}
|
565
|
+
});
|
566
|
+
|
567
|
+
return !pos;
|
568
|
+
});
|
569
|
+
|
570
|
+
return pos;
|
571
|
+
};
|
572
|
+
|
573
|
+
function setStartCell(cell) {
|
574
|
+
startPos = getPos(cell);
|
575
|
+
};
|
576
|
+
|
577
|
+
function findEndPos() {
|
578
|
+
var pos, maxX, maxY;
|
579
|
+
|
580
|
+
maxX = maxY = 0;
|
581
|
+
|
582
|
+
each(grid, function(row, y) {
|
583
|
+
each(row, function(cell, x) {
|
584
|
+
var colSpan, rowSpan;
|
585
|
+
|
586
|
+
if (isCellSelected(cell)) {
|
587
|
+
cell = grid[y][x];
|
588
|
+
|
589
|
+
if (x > maxX)
|
590
|
+
maxX = x;
|
591
|
+
|
592
|
+
if (y > maxY)
|
593
|
+
maxY = y;
|
594
|
+
|
595
|
+
if (cell.real) {
|
596
|
+
colSpan = cell.colspan - 1;
|
597
|
+
rowSpan = cell.rowspan - 1;
|
598
|
+
|
599
|
+
if (colSpan) {
|
600
|
+
if (x + colSpan > maxX)
|
601
|
+
maxX = x + colSpan;
|
602
|
+
}
|
603
|
+
|
604
|
+
if (rowSpan) {
|
605
|
+
if (y + rowSpan > maxY)
|
606
|
+
maxY = y + rowSpan;
|
607
|
+
}
|
608
|
+
}
|
609
|
+
}
|
610
|
+
});
|
611
|
+
});
|
612
|
+
|
613
|
+
return {x : maxX, y : maxY};
|
614
|
+
};
|
615
|
+
|
616
|
+
function setEndCell(cell) {
|
617
|
+
var startX, startY, endX, endY, maxX, maxY, colSpan, rowSpan;
|
618
|
+
|
619
|
+
endPos = getPos(cell);
|
620
|
+
|
621
|
+
if (startPos && endPos) {
|
622
|
+
// Get start/end positions
|
623
|
+
startX = Math.min(startPos.x, endPos.x);
|
624
|
+
startY = Math.min(startPos.y, endPos.y);
|
625
|
+
endX = Math.max(startPos.x, endPos.x);
|
626
|
+
endY = Math.max(startPos.y, endPos.y);
|
627
|
+
|
628
|
+
// Expand end positon to include spans
|
629
|
+
maxX = endX;
|
630
|
+
maxY = endY;
|
631
|
+
|
632
|
+
// Expand startX
|
633
|
+
for (y = startY; y <= maxY; y++) {
|
634
|
+
cell = grid[y][startX];
|
635
|
+
|
636
|
+
if (!cell.real) {
|
637
|
+
if (startX - (cell.colspan - 1) < startX)
|
638
|
+
startX -= cell.colspan - 1;
|
639
|
+
}
|
640
|
+
}
|
641
|
+
|
642
|
+
// Expand startY
|
643
|
+
for (x = startX; x <= maxX; x++) {
|
644
|
+
cell = grid[startY][x];
|
645
|
+
|
646
|
+
if (!cell.real) {
|
647
|
+
if (startY - (cell.rowspan - 1) < startY)
|
648
|
+
startY -= cell.rowspan - 1;
|
649
|
+
}
|
650
|
+
}
|
651
|
+
|
652
|
+
// Find max X, Y
|
653
|
+
for (y = startY; y <= endY; y++) {
|
654
|
+
for (x = startX; x <= endX; x++) {
|
655
|
+
cell = grid[y][x];
|
656
|
+
|
657
|
+
if (cell.real) {
|
658
|
+
colSpan = cell.colspan - 1;
|
659
|
+
rowSpan = cell.rowspan - 1;
|
660
|
+
|
661
|
+
if (colSpan) {
|
662
|
+
if (x + colSpan > maxX)
|
663
|
+
maxX = x + colSpan;
|
664
|
+
}
|
665
|
+
|
666
|
+
if (rowSpan) {
|
667
|
+
if (y + rowSpan > maxY)
|
668
|
+
maxY = y + rowSpan;
|
669
|
+
}
|
670
|
+
}
|
671
|
+
}
|
672
|
+
}
|
673
|
+
|
674
|
+
// Remove current selection
|
675
|
+
dom.removeClass(dom.select('td.mceSelected,th.mceSelected'), 'mceSelected');
|
676
|
+
|
677
|
+
// Add new selection
|
678
|
+
for (y = startY; y <= maxY; y++) {
|
679
|
+
for (x = startX; x <= maxX; x++)
|
680
|
+
dom.addClass(grid[y][x].elm, 'mceSelected');
|
681
|
+
}
|
682
|
+
}
|
683
|
+
};
|
684
|
+
|
685
|
+
// Expose to public
|
686
|
+
tinymce.extend(this, {
|
687
|
+
deleteTable : deleteTable,
|
688
|
+
split : split,
|
689
|
+
merge : merge,
|
690
|
+
insertRow : insertRow,
|
691
|
+
insertCol : insertCol,
|
692
|
+
deleteCols : deleteCols,
|
693
|
+
deleteRows : deleteRows,
|
694
|
+
cutRows : cutRows,
|
695
|
+
copyRows : copyRows,
|
696
|
+
pasteRows : pasteRows,
|
697
|
+
getPos : getPos,
|
698
|
+
setStartCell : setStartCell,
|
699
|
+
setEndCell : setEndCell
|
700
|
+
});
|
701
|
+
};
|
702
|
+
|
703
|
+
tinymce.create('tinymce.plugins.TablePlugin', {
|
704
|
+
init : function(ed, url) {
|
705
|
+
var winMan, clipboardRows;
|
706
|
+
|
707
|
+
function createTableGrid(node) {
|
708
|
+
var selection = ed.selection, tblElm = ed.dom.getParent(node || selection.getNode(), 'table');
|
709
|
+
|
710
|
+
if (tblElm)
|
711
|
+
return new TableGrid(tblElm, ed.dom, selection);
|
712
|
+
};
|
713
|
+
|
714
|
+
function cleanup() {
|
715
|
+
// Restore selection possibilities
|
716
|
+
ed.getBody().style.webkitUserSelect = '';
|
717
|
+
ed.dom.removeClass(ed.dom.select('td.mceSelected,th.mceSelected'), 'mceSelected');
|
718
|
+
};
|
719
|
+
|
720
|
+
// Register buttons
|
721
|
+
each([
|
722
|
+
['table', 'table.desc', 'mceInsertTable', true],
|
723
|
+
['delete_table', 'table.del', 'mceTableDelete'],
|
724
|
+
['delete_col', 'table.delete_col_desc', 'mceTableDeleteCol'],
|
725
|
+
['delete_row', 'table.delete_row_desc', 'mceTableDeleteRow'],
|
726
|
+
['col_after', 'table.col_after_desc', 'mceTableInsertColAfter'],
|
727
|
+
['col_before', 'table.col_before_desc', 'mceTableInsertColBefore'],
|
728
|
+
['row_after', 'table.row_after_desc', 'mceTableInsertRowAfter'],
|
729
|
+
['row_before', 'table.row_before_desc', 'mceTableInsertRowBefore'],
|
730
|
+
['row_props', 'table.row_desc', 'mceTableRowProps', true],
|
731
|
+
['cell_props', 'table.cell_desc', 'mceTableCellProps', true],
|
732
|
+
['split_cells', 'table.split_cells_desc', 'mceTableSplitCells', true],
|
733
|
+
['merge_cells', 'table.merge_cells_desc', 'mceTableMergeCells', true]
|
734
|
+
], function(c) {
|
735
|
+
ed.addButton(c[0], {title : c[1], cmd : c[2], ui : c[3]});
|
736
|
+
});
|
737
|
+
|
738
|
+
// Select whole table is a table border is clicked
|
739
|
+
if (!tinymce.isIE) {
|
740
|
+
ed.onClick.add(function(ed, e) {
|
741
|
+
e = e.target;
|
742
|
+
|
743
|
+
if (e.nodeName === 'TABLE')
|
744
|
+
ed.selection.select(e);
|
745
|
+
});
|
746
|
+
}
|
747
|
+
|
748
|
+
// Handle node change updates
|
749
|
+
ed.onNodeChange.add(function(ed, cm, n) {
|
750
|
+
var p;
|
751
|
+
|
752
|
+
n = ed.selection.getStart();
|
753
|
+
p = ed.dom.getParent(n, 'td,th,caption');
|
754
|
+
cm.setActive('table', n.nodeName === 'TABLE' || !!p);
|
755
|
+
|
756
|
+
// Disable table tools if we are in caption
|
757
|
+
if (p && p.nodeName === 'CAPTION')
|
758
|
+
p = 0;
|
759
|
+
|
760
|
+
cm.setDisabled('delete_table', !p);
|
761
|
+
cm.setDisabled('delete_col', !p);
|
762
|
+
cm.setDisabled('delete_table', !p);
|
763
|
+
cm.setDisabled('delete_row', !p);
|
764
|
+
cm.setDisabled('col_after', !p);
|
765
|
+
cm.setDisabled('col_before', !p);
|
766
|
+
cm.setDisabled('row_after', !p);
|
767
|
+
cm.setDisabled('row_before', !p);
|
768
|
+
cm.setDisabled('row_props', !p);
|
769
|
+
cm.setDisabled('cell_props', !p);
|
770
|
+
cm.setDisabled('split_cells', !p);
|
771
|
+
cm.setDisabled('merge_cells', !p);
|
772
|
+
});
|
773
|
+
|
774
|
+
ed.onInit.add(function(ed) {
|
775
|
+
var startTable, startCell, dom = ed.dom, tableGrid;
|
776
|
+
|
777
|
+
winMan = ed.windowManager;
|
778
|
+
|
779
|
+
// Add cell selection logic
|
780
|
+
ed.onMouseDown.add(function(ed, e) {
|
781
|
+
if (e.button != 2) {
|
782
|
+
cleanup();
|
783
|
+
|
784
|
+
startCell = dom.getParent(e.target, 'td,th');
|
785
|
+
startTable = dom.getParent(startCell, 'table');
|
786
|
+
}
|
787
|
+
});
|
788
|
+
|
789
|
+
dom.bind(ed.getDoc(), 'mouseover', function(e) {
|
790
|
+
var sel, table, target = e.target;
|
791
|
+
|
792
|
+
if (startCell && (tableGrid || target != startCell) && (target.nodeName == 'TD' || target.nodeName == 'TH')) {
|
793
|
+
table = dom.getParent(target, 'table');
|
794
|
+
if (table == startTable) {
|
795
|
+
if (!tableGrid) {
|
796
|
+
tableGrid = createTableGrid(table);
|
797
|
+
tableGrid.setStartCell(startCell);
|
798
|
+
|
799
|
+
ed.getBody().style.webkitUserSelect = 'none';
|
800
|
+
}
|
801
|
+
|
802
|
+
tableGrid.setEndCell(target);
|
803
|
+
}
|
804
|
+
|
805
|
+
// Remove current selection
|
806
|
+
sel = ed.selection.getSel();
|
807
|
+
|
808
|
+
if (sel.removeAllRanges)
|
809
|
+
sel.removeAllRanges();
|
810
|
+
else
|
811
|
+
sel.empty();
|
812
|
+
|
813
|
+
e.preventDefault();
|
814
|
+
}
|
815
|
+
});
|
816
|
+
|
817
|
+
ed.onMouseUp.add(function(ed, e) {
|
818
|
+
var rng, sel = ed.selection, selectedCells, nativeSel = sel.getSel(), walker, node, lastNode, endNode;
|
819
|
+
|
820
|
+
// Move selection to startCell
|
821
|
+
if (startCell) {
|
822
|
+
if (tableGrid)
|
823
|
+
ed.getBody().style.webkitUserSelect = '';
|
824
|
+
|
825
|
+
function setPoint(node, start) {
|
826
|
+
var walker = new tinymce.dom.TreeWalker(node, node);
|
827
|
+
|
828
|
+
do {
|
829
|
+
// Text node
|
830
|
+
if (node.nodeType == 3 && tinymce.trim(node.nodeValue).length != 0) {
|
831
|
+
if (start)
|
832
|
+
rng.setStart(node, 0);
|
833
|
+
else
|
834
|
+
rng.setEnd(node, node.nodeValue.length);
|
835
|
+
|
836
|
+
return;
|
837
|
+
}
|
838
|
+
|
839
|
+
// BR element
|
840
|
+
if (node.nodeName == 'BR') {
|
841
|
+
if (start)
|
842
|
+
rng.setStartBefore(node);
|
843
|
+
else
|
844
|
+
rng.setEndBefore(node);
|
845
|
+
|
846
|
+
return;
|
847
|
+
}
|
848
|
+
} while (node = (start ? walker.next() : walker.prev()));
|
849
|
+
};
|
850
|
+
|
851
|
+
// Try to expand text selection as much as we can only Gecko supports cell selection
|
852
|
+
selectedCells = dom.select('td.mceSelected,th.mceSelected');
|
853
|
+
if (selectedCells.length > 0) {
|
854
|
+
rng = dom.createRng();
|
855
|
+
node = selectedCells[0];
|
856
|
+
endNode = selectedCells[selectedCells.length - 1];
|
857
|
+
|
858
|
+
setPoint(node, 1);
|
859
|
+
walker = new tinymce.dom.TreeWalker(node, dom.getParent(selectedCells[0], 'table'));
|
860
|
+
|
861
|
+
do {
|
862
|
+
if (node.nodeName == 'TD' || node.nodeName == 'TH') {
|
863
|
+
if (!dom.hasClass(node, 'mceSelected'))
|
864
|
+
break;
|
865
|
+
|
866
|
+
lastNode = node;
|
867
|
+
}
|
868
|
+
} while (node = walker.next());
|
869
|
+
|
870
|
+
setPoint(lastNode);
|
871
|
+
|
872
|
+
sel.setRng(rng);
|
873
|
+
}
|
874
|
+
|
875
|
+
ed.nodeChanged();
|
876
|
+
startCell = tableGrid = startTable = null;
|
877
|
+
}
|
878
|
+
});
|
879
|
+
|
880
|
+
ed.onKeyUp.add(function(ed, e) {
|
881
|
+
cleanup();
|
882
|
+
});
|
883
|
+
|
884
|
+
// Add context menu
|
885
|
+
if (ed && ed.plugins.contextmenu) {
|
886
|
+
ed.plugins.contextmenu.onContextMenu.add(function(th, m, e) {
|
887
|
+
var sm, se = ed.selection, el = se.getNode() || ed.getBody();
|
888
|
+
|
889
|
+
if (ed.dom.getParent(e, 'td') || ed.dom.getParent(e, 'th') || ed.dom.select('td.mceSelected,th.mceSelected').length) {
|
890
|
+
m.removeAll();
|
891
|
+
|
892
|
+
if (el.nodeName == 'A' && !ed.dom.getAttrib(el, 'name')) {
|
893
|
+
m.add({title : 'advanced.link_desc', icon : 'link', cmd : ed.plugins.advlink ? 'mceAdvLink' : 'mceLink', ui : true});
|
894
|
+
m.add({title : 'advanced.unlink_desc', icon : 'unlink', cmd : 'UnLink'});
|
895
|
+
m.addSeparator();
|
896
|
+
}
|
897
|
+
|
898
|
+
if (el.nodeName == 'IMG' && el.className.indexOf('mceItem') == -1) {
|
899
|
+
m.add({title : 'advanced.image_desc', icon : 'image', cmd : ed.plugins.advimage ? 'mceAdvImage' : 'mceImage', ui : true});
|
900
|
+
m.addSeparator();
|
901
|
+
}
|
902
|
+
|
903
|
+
m.add({title : 'table.desc', icon : 'table', cmd : 'mceInsertTable', value : {action : 'insert'}});
|
904
|
+
m.add({title : 'table.props_desc', icon : 'table_props', cmd : 'mceInsertTable'});
|
905
|
+
m.add({title : 'table.del', icon : 'delete_table', cmd : 'mceTableDelete'});
|
906
|
+
m.addSeparator();
|
907
|
+
|
908
|
+
// Cell menu
|
909
|
+
sm = m.addMenu({title : 'table.cell'});
|
910
|
+
sm.add({title : 'table.cell_desc', icon : 'cell_props', cmd : 'mceTableCellProps'});
|
911
|
+
sm.add({title : 'table.split_cells_desc', icon : 'split_cells', cmd : 'mceTableSplitCells'});
|
912
|
+
sm.add({title : 'table.merge_cells_desc', icon : 'merge_cells', cmd : 'mceTableMergeCells'});
|
913
|
+
|
914
|
+
// Row menu
|
915
|
+
sm = m.addMenu({title : 'table.row'});
|
916
|
+
sm.add({title : 'table.row_desc', icon : 'row_props', cmd : 'mceTableRowProps'});
|
917
|
+
sm.add({title : 'table.row_before_desc', icon : 'row_before', cmd : 'mceTableInsertRowBefore'});
|
918
|
+
sm.add({title : 'table.row_after_desc', icon : 'row_after', cmd : 'mceTableInsertRowAfter'});
|
919
|
+
sm.add({title : 'table.delete_row_desc', icon : 'delete_row', cmd : 'mceTableDeleteRow'});
|
920
|
+
sm.addSeparator();
|
921
|
+
sm.add({title : 'table.cut_row_desc', icon : 'cut', cmd : 'mceTableCutRow'});
|
922
|
+
sm.add({title : 'table.copy_row_desc', icon : 'copy', cmd : 'mceTableCopyRow'});
|
923
|
+
sm.add({title : 'table.paste_row_before_desc', icon : 'paste', cmd : 'mceTablePasteRowBefore'}).setDisabled(!clipboardRows);
|
924
|
+
sm.add({title : 'table.paste_row_after_desc', icon : 'paste', cmd : 'mceTablePasteRowAfter'}).setDisabled(!clipboardRows);
|
925
|
+
|
926
|
+
// Column menu
|
927
|
+
sm = m.addMenu({title : 'table.col'});
|
928
|
+
sm.add({title : 'table.col_before_desc', icon : 'col_before', cmd : 'mceTableInsertColBefore'});
|
929
|
+
sm.add({title : 'table.col_after_desc', icon : 'col_after', cmd : 'mceTableInsertColAfter'});
|
930
|
+
sm.add({title : 'table.delete_col_desc', icon : 'delete_col', cmd : 'mceTableDeleteCol'});
|
931
|
+
} else
|
932
|
+
m.add({title : 'table.desc', icon : 'table', cmd : 'mceInsertTable'});
|
933
|
+
});
|
934
|
+
}
|
935
|
+
|
936
|
+
// Fixes an issue on Gecko where it's impossible to place the caret behind a table
|
937
|
+
// This fix will force a paragraph element after the table but only when the forced_root_block setting is enabled
|
938
|
+
if (!tinymce.isIE) {
|
939
|
+
function fixTableCaretPos() {
|
940
|
+
var last;
|
941
|
+
|
942
|
+
// Skip empty text nodes form the end
|
943
|
+
for (last = ed.getBody().lastChild; last && last.nodeType == 3 && !last.nodeValue.length; last = last.previousSibling) ;
|
944
|
+
|
945
|
+
if (last && last.nodeName == 'TABLE')
|
946
|
+
ed.dom.add(ed.getBody(), 'p', null, '<br mce_bogus="1" />');
|
947
|
+
};
|
948
|
+
|
949
|
+
// Fixes an bug where it's impossible to place the caret before a table in Gecko
|
950
|
+
// this fix solves it by detecting when the caret is at the beginning of such a table
|
951
|
+
// and then manually moves the caret infront of the table
|
952
|
+
if (tinymce.isGecko) {
|
953
|
+
ed.onKeyDown.add(function(ed, e) {
|
954
|
+
var rng, table, dom = ed.dom;
|
955
|
+
|
956
|
+
// On gecko it's not possible to place the caret before a table
|
957
|
+
if (e.keyCode == 37 || e.keyCode == 38) {
|
958
|
+
rng = ed.selection.getRng();
|
959
|
+
table = dom.getParent(rng.startContainer, 'table');
|
960
|
+
|
961
|
+
if (table && ed.getBody().firstChild == table) {
|
962
|
+
if (isAtStart(rng, table)) {
|
963
|
+
rng = dom.createRng();
|
964
|
+
|
965
|
+
rng.setStartBefore(table);
|
966
|
+
rng.setEndBefore(table);
|
967
|
+
|
968
|
+
ed.selection.setRng(rng);
|
969
|
+
|
970
|
+
e.preventDefault();
|
971
|
+
}
|
972
|
+
}
|
973
|
+
}
|
974
|
+
});
|
975
|
+
}
|
976
|
+
|
977
|
+
ed.onKeyUp.add(fixTableCaretPos);
|
978
|
+
ed.onSetContent.add(fixTableCaretPos);
|
979
|
+
ed.onVisualAid.add(fixTableCaretPos);
|
980
|
+
|
981
|
+
ed.onPreProcess.add(function(ed, o) {
|
982
|
+
var last = o.node.lastChild;
|
983
|
+
|
984
|
+
if (last && last.childNodes.length == 1 && last.firstChild.nodeName == 'BR')
|
985
|
+
ed.dom.remove(last);
|
986
|
+
});
|
987
|
+
|
988
|
+
fixTableCaretPos();
|
989
|
+
}
|
990
|
+
});
|
991
|
+
|
992
|
+
// Register action commands
|
993
|
+
each({
|
994
|
+
mceTableSplitCells : function(grid) {
|
995
|
+
grid.split();
|
996
|
+
},
|
997
|
+
|
998
|
+
mceTableMergeCells : function(grid) {
|
999
|
+
var rowSpan, colSpan, cell;
|
1000
|
+
|
1001
|
+
cell = ed.dom.getParent(ed.selection.getNode(), 'th,td');
|
1002
|
+
if (cell) {
|
1003
|
+
rowSpan = cell.rowSpan;
|
1004
|
+
colSpan = cell.colSpan;
|
1005
|
+
}
|
1006
|
+
|
1007
|
+
if (!ed.dom.select('td.mceSelected,th.mceSelected').length) {
|
1008
|
+
winMan.open({
|
1009
|
+
url : url + '/merge_cells.htm',
|
1010
|
+
width : 240 + parseInt(ed.getLang('table.merge_cells_delta_width', 0)),
|
1011
|
+
height : 110 + parseInt(ed.getLang('table.merge_cells_delta_height', 0)),
|
1012
|
+
inline : 1
|
1013
|
+
}, {
|
1014
|
+
rows : rowSpan,
|
1015
|
+
cols : colSpan,
|
1016
|
+
onaction : function(data) {
|
1017
|
+
grid.merge(cell, data.cols, data.rows);
|
1018
|
+
},
|
1019
|
+
plugin_url : url
|
1020
|
+
});
|
1021
|
+
} else
|
1022
|
+
grid.merge();
|
1023
|
+
},
|
1024
|
+
|
1025
|
+
mceTableInsertRowBefore : function(grid) {
|
1026
|
+
grid.insertRow(true);
|
1027
|
+
},
|
1028
|
+
|
1029
|
+
mceTableInsertRowAfter : function(grid) {
|
1030
|
+
grid.insertRow();
|
1031
|
+
},
|
1032
|
+
|
1033
|
+
mceTableInsertColBefore : function(grid) {
|
1034
|
+
grid.insertCol(true);
|
1035
|
+
},
|
1036
|
+
|
1037
|
+
mceTableInsertColAfter : function(grid) {
|
1038
|
+
grid.insertCol();
|
1039
|
+
},
|
1040
|
+
|
1041
|
+
mceTableDeleteCol : function(grid) {
|
1042
|
+
grid.deleteCols();
|
1043
|
+
},
|
1044
|
+
|
1045
|
+
mceTableDeleteRow : function(grid) {
|
1046
|
+
grid.deleteRows();
|
1047
|
+
},
|
1048
|
+
|
1049
|
+
mceTableCutRow : function(grid) {
|
1050
|
+
clipboardRows = grid.cutRows();
|
1051
|
+
},
|
1052
|
+
|
1053
|
+
mceTableCopyRow : function(grid) {
|
1054
|
+
clipboardRows = grid.copyRows();
|
1055
|
+
},
|
1056
|
+
|
1057
|
+
mceTablePasteRowBefore : function(grid) {
|
1058
|
+
grid.pasteRows(clipboardRows, true);
|
1059
|
+
},
|
1060
|
+
|
1061
|
+
mceTablePasteRowAfter : function(grid) {
|
1062
|
+
grid.pasteRows(clipboardRows);
|
1063
|
+
},
|
1064
|
+
|
1065
|
+
mceTableDelete : function(grid) {
|
1066
|
+
grid.deleteTable();
|
1067
|
+
}
|
1068
|
+
}, function(func, name) {
|
1069
|
+
ed.addCommand(name, function() {
|
1070
|
+
var grid = createTableGrid();
|
1071
|
+
|
1072
|
+
if (grid) {
|
1073
|
+
func(grid);
|
1074
|
+
ed.execCommand('mceRepaint');
|
1075
|
+
cleanup();
|
1076
|
+
}
|
1077
|
+
});
|
1078
|
+
});
|
1079
|
+
|
1080
|
+
// Register dialog commands
|
1081
|
+
each({
|
1082
|
+
mceInsertTable : function(val) {
|
1083
|
+
winMan.open({
|
1084
|
+
url : url + '/table.htm',
|
1085
|
+
width : 400 + parseInt(ed.getLang('table.table_delta_width', 0)),
|
1086
|
+
height : 320 + parseInt(ed.getLang('table.table_delta_height', 0)),
|
1087
|
+
inline : 1
|
1088
|
+
}, {
|
1089
|
+
plugin_url : url,
|
1090
|
+
action : val ? val.action : 0
|
1091
|
+
});
|
1092
|
+
},
|
1093
|
+
|
1094
|
+
mceTableRowProps : function() {
|
1095
|
+
winMan.open({
|
1096
|
+
url : url + '/row.htm',
|
1097
|
+
width : 400 + parseInt(ed.getLang('table.rowprops_delta_width', 0)),
|
1098
|
+
height : 295 + parseInt(ed.getLang('table.rowprops_delta_height', 0)),
|
1099
|
+
inline : 1
|
1100
|
+
}, {
|
1101
|
+
plugin_url : url
|
1102
|
+
});
|
1103
|
+
},
|
1104
|
+
|
1105
|
+
mceTableCellProps : function() {
|
1106
|
+
winMan.open({
|
1107
|
+
url : url + '/cell.htm',
|
1108
|
+
width : 400 + parseInt(ed.getLang('table.cellprops_delta_width', 0)),
|
1109
|
+
height : 295 + parseInt(ed.getLang('table.cellprops_delta_height', 0)),
|
1110
|
+
inline : 1
|
1111
|
+
}, {
|
1112
|
+
plugin_url : url
|
1113
|
+
});
|
1114
|
+
}
|
1115
|
+
}, function(func, name) {
|
1116
|
+
ed.addCommand(name, function(ui, val) {
|
1117
|
+
func(val);
|
1118
|
+
});
|
1119
|
+
});
|
1120
|
+
}
|
1121
|
+
});
|
1122
|
+
|
1123
|
+
// Register plugin
|
1124
|
+
tinymce.PluginManager.add('table', tinymce.plugins.TablePlugin);
|
1125
|
+
})(tinymce);
|