rich 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +13 -10
- data/app/assets/images/rich/loading.png +0 -0
- data/app/assets/javascripts/rich/application.js +3 -109
- data/app/assets/javascripts/rich/base.js +3 -81
- data/app/assets/javascripts/rich/browser/extensions.js +15 -0
- data/app/assets/javascripts/rich/browser/filebrowser.js +147 -0
- data/app/assets/javascripts/rich/{uploader.js → browser/uploader.js} +0 -1
- data/app/assets/javascripts/rich/{ckeditor_path.js → editor/ckeditor_path.js} +0 -0
- data/app/assets/javascripts/rich/editor/rich_editor.js +52 -0
- data/app/assets/javascripts/rich/editor/rich_finder.js +34 -0
- data/app/assets/stylesheets/rich/application.css.scss +11 -4
- data/app/controllers/rich/files_controller.rb +2 -14
- data/app/inputs/rich_asset_input.rb +2 -5
- data/app/inputs/rich_input.rb +11 -17
- data/app/models/rich/rich_image.rb +1 -1
- data/app/views/layouts/rich/application.html.erb +1 -1
- data/app/views/rails_admin/main/_form_rich_text.html.haml +1 -1
- data/app/views/rich/files/_image.html.erb +3 -2
- data/app/views/rich/files/index.html.erb +7 -11
- data/app/views/rich/files/index.js.erb +1 -1
- data/lib/generators/rich/install/templates/rich.rb.erb +9 -1
- data/lib/rich/integrations/legacy_formtastic.rb +21 -0
- data/lib/rich/integrations/rails_admin_editor.rb +20 -0
- data/lib/rich/version.rb +1 -1
- data/lib/rich.rb +34 -11
- data/lib/tasks/rich_tasks.rake +10 -0
- data/test/dummy/app/views/posts/_formtastic_form.html.erb +1 -1
- data/test/dummy/config/initializers/rich.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +21156 -0
- data/test/dummy/log/production.log +1584 -0
- data/test/dummy/public/assets/active_admin/admin_notes_icon-44f1e8c6c964121ed2a81ec46cab4e8f.png +0 -0
- data/test/dummy/public/assets/active_admin/admin_notes_icon.png +0 -0
- data/test/dummy/public/assets/active_admin/datepicker/datepicker-header-bg-82379b1692ff58021cbb72b7a47398f4.png +0 -0
- data/test/dummy/public/assets/active_admin/datepicker/datepicker-header-bg.png +0 -0
- data/test/dummy/public/assets/active_admin/datepicker/datepicker-input-icon-8bc559f420278746aadc71a39ee2dcba.png +0 -0
- data/test/dummy/public/assets/active_admin/datepicker/datepicker-input-icon.png +0 -0
- data/test/dummy/public/assets/active_admin/datepicker/datepicker-next-link-icon-244c553aa4397b8bd71fb7b9c6f2c038.png +0 -0
- data/test/dummy/public/assets/active_admin/datepicker/datepicker-next-link-icon.png +0 -0
- data/test/dummy/public/assets/active_admin/datepicker/datepicker-nipple-b2d462853233e269d07924e121373ed6.png +0 -0
- data/test/dummy/public/assets/active_admin/datepicker/datepicker-nipple.png +0 -0
- data/test/dummy/public/assets/active_admin/datepicker/datepicker-prev-link-icon-c7350481017d5d77579c21937470ab25.png +0 -0
- data/test/dummy/public/assets/active_admin/datepicker/datepicker-prev-link-icon.png +0 -0
- data/test/dummy/public/assets/active_admin/loading-d608b5c4f1285d851932fb16404f2ef9.gif +0 -0
- data/test/dummy/public/assets/active_admin/loading.gif +0 -0
- data/test/dummy/public/assets/active_admin/nested_menu_arrow-843da9bdc70bc1b886dcb77568b56c17.gif +0 -0
- data/test/dummy/public/assets/active_admin/nested_menu_arrow.gif +0 -0
- data/test/dummy/public/assets/active_admin/nested_menu_arrow_dark-639ddf23c1337911ccba7cc755edce38.gif +0 -0
- data/test/dummy/public/assets/active_admin/nested_menu_arrow_dark.gif +0 -0
- data/test/dummy/public/assets/active_admin/orderable-91583e6f60064e4b86801f12b7d52bc8.png +0 -0
- data/test/dummy/public/assets/active_admin/orderable.png +0 -0
- data/test/dummy/public/assets/active_admin-7c22dd5d091d5986bb317d01578d770b.css +1 -0
- data/test/dummy/public/assets/active_admin-7c22dd5d091d5986bb317d01578d770b.css.gz +0 -0
- data/test/dummy/public/assets/active_admin-cab6278178c392e12a96772baa6f75d3.js +30 -0
- data/test/dummy/public/assets/active_admin-cab6278178c392e12a96772baa6f75d3.js.gz +0 -0
- data/test/dummy/public/assets/active_admin.css +1 -0
- data/test/dummy/public/assets/active_admin.css.gz +0 -0
- data/test/dummy/public/assets/active_admin.js +30 -0
- data/test/dummy/public/assets/active_admin.js.gz +0 -0
- data/test/dummy/public/assets/application-1807d8e7d63797f1ada2239ca9cf7c3b.css +1 -0
- data/test/dummy/public/assets/application-1807d8e7d63797f1ada2239ca9cf7c3b.css.gz +0 -0
- data/test/dummy/public/assets/application-a08973695228f879d618b212de14ccd7.js +29 -0
- data/test/dummy/public/assets/application-a08973695228f879d618b212de14ccd7.js.gz +0 -0
- data/test/dummy/public/assets/application.css +1 -0
- data/test/dummy/public/assets/application.css.gz +0 -0
- data/test/dummy/public/assets/application.js +29 -0
- data/test/dummy/public/assets/application.js.gz +0 -0
- data/test/dummy/public/assets/ckeditor/CHANGES-f20e8a82d502c4c177f9f36630336b41.html +1433 -0
- data/test/dummy/public/assets/ckeditor/CHANGES.html +1433 -0
- data/test/dummy/public/assets/ckeditor/INSTALL-2ffbef3279a59c4316cf813597a2c508.html +92 -0
- data/test/dummy/public/assets/ckeditor/INSTALL.html +92 -0
- data/test/dummy/public/assets/ckeditor/LICENSE-2b4f1fb3d6f70cd4d5213c7bab7ee998.html +1327 -0
- data/test/dummy/public/assets/ckeditor/LICENSE.html +1327 -0
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/application-5bc1ca37c86572044599f9e6308f2710.xml +32 -0
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/application.xml +32 -0
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/run-31c16b1eec8b8f4789dd418d8ccc6c06.sh +8 -0
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/run-94e108d6e09ab93ee31e7878a770a3db.bat +9 -0
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/run.bat +9 -0
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/run.sh +8 -0
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/sample-94ee1edb7dfb307dd415eb1315df1be5.html +45 -0
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/sample.html +45 -0
- data/test/dummy/public/assets/ckeditor/_samples/ajax-bafebba9e9dc0a61d2d4a5e924d8a70c.html +98 -0
- data/test/dummy/public/assets/ckeditor/_samples/ajax.html +98 -0
- data/test/dummy/public/assets/ckeditor/_samples/api-057535aabdb4860995cb08e1a535ef60.html +192 -0
- data/test/dummy/public/assets/ckeditor/_samples/api.html +192 -0
- data/test/dummy/public/assets/ckeditor/_samples/api_dialog/my_dialog.js +28 -0
- data/test/dummy/public/assets/ckeditor/_samples/api_dialog-b32277b735d50842cceec8c3ff10e134.html +198 -0
- data/test/dummy/public/assets/ckeditor/_samples/api_dialog.html +198 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/advanced-54ff50b3650043f062f720f8a65b6afd.asp +105 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/advanced.asp +105 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/events-c68d53123518d87149d8f562b21cf494.asp +136 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/events.asp +136 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/index-68ba3a172db03205bef8cbee8641e78d.html +103 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/index.html +103 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/replace-1f7af5a8bb29d30663445b22be5a628e.asp +72 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/replace.asp +72 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/replaceall-01e192b1664cc24f07fbe25d57f41612.asp +77 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/replaceall.asp +77 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/sample_posteddata-ce7311b1afdd32525d1eac9f717c7ae2.asp +46 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/sample_posteddata.asp +46 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/standalone-49dbef1fd77f8041dad9561c056a2155.asp +72 -0
- data/test/dummy/public/assets/ckeditor/_samples/asp/standalone.asp +72 -0
- data/test/dummy/public/assets/ckeditor/_samples/assets/_posteddata-1d3aef6c999e042b6f7d313a9ac0f609.php +59 -0
- data/test/dummy/public/assets/ckeditor/_samples/assets/_posteddata.php +59 -0
- data/test/dummy/public/assets/ckeditor/_samples/assets/output_for_flash-0e1abfc75b16edc78c33987ba1380070.swf +0 -0
- data/test/dummy/public/assets/ckeditor/_samples/assets/output_for_flash-1066afe33f62b4aa2d82bcb81f486043.fla +0 -0
- data/test/dummy/public/assets/ckeditor/_samples/assets/output_for_flash.fla +0 -0
- data/test/dummy/public/assets/ckeditor/_samples/assets/output_for_flash.swf +0 -0
- data/test/dummy/public/assets/ckeditor/_samples/assets/output_xhtml.css +204 -0
- data/test/dummy/public/assets/ckeditor/_samples/assets/parsesample.css +70 -0
- data/test/dummy/public/assets/ckeditor/_samples/assets/swfobject.js +18 -0
- data/test/dummy/public/assets/ckeditor/_samples/autogrow-d75f5b15f788f42dbc9741db3776d69a.html +108 -0
- data/test/dummy/public/assets/ckeditor/_samples/autogrow.html +108 -0
- data/test/dummy/public/assets/ckeditor/_samples/bbcode-0f74d8e224f5266d89593ec30d11b36b.html +125 -0
- data/test/dummy/public/assets/ckeditor/_samples/bbcode.html +125 -0
- data/test/dummy/public/assets/ckeditor/_samples/devtools-f3809d9f736e4c808a3d719a92e25cf3.html +94 -0
- data/test/dummy/public/assets/ckeditor/_samples/devtools.html +94 -0
- data/test/dummy/public/assets/ckeditor/_samples/divreplace-d465028dd7a709153254e7fdd64a5168.html +154 -0
- data/test/dummy/public/assets/ckeditor/_samples/divreplace.html +154 -0
- data/test/dummy/public/assets/ckeditor/_samples/enterkey-57de47d08ee98aa394821181d6db2cbd.html +115 -0
- data/test/dummy/public/assets/ckeditor/_samples/enterkey.html +115 -0
- data/test/dummy/public/assets/ckeditor/_samples/fullpage-57a20d50b0a5a8747f335dec7300e9a0.html +82 -0
- data/test/dummy/public/assets/ckeditor/_samples/fullpage.html +82 -0
- data/test/dummy/public/assets/ckeditor/_samples/index-5cf9715eb1983edee5d3da2da6d3a2b0.html +116 -0
- data/test/dummy/public/assets/ckeditor/_samples/index.html +116 -0
- data/test/dummy/public/assets/ckeditor/_samples/jqueryadapter-6baf7fff5cc78b08e345459b31f2edeb.html +99 -0
- data/test/dummy/public/assets/ckeditor/_samples/jqueryadapter.html +99 -0
- data/test/dummy/public/assets/ckeditor/_samples/output_for_flash-659e402a614b6bcdf89d137fcacaa7c2.html +275 -0
- data/test/dummy/public/assets/ckeditor/_samples/output_for_flash.html +275 -0
- data/test/dummy/public/assets/ckeditor/_samples/output_html-ae26aa60262a0b170e27ed43165467e4.html +285 -0
- data/test/dummy/public/assets/ckeditor/_samples/output_html.html +285 -0
- data/test/dummy/public/assets/ckeditor/_samples/output_xhtml-2dd3dce4c43dcd7e4aa7ddd8943b374b.html +177 -0
- data/test/dummy/public/assets/ckeditor/_samples/output_xhtml.html +177 -0
- data/test/dummy/public/assets/ckeditor/_samples/php/advanced-e5323a928a4d1c2883156610f3e0a38e.php +120 -0
- data/test/dummy/public/assets/ckeditor/_samples/php/advanced.php +120 -0
- data/test/dummy/public/assets/ckeditor/_samples/php/events-5286b70c33caae79a7be1a52a5e9245d.php +153 -0
- data/test/dummy/public/assets/ckeditor/_samples/php/events.php +153 -0
- data/test/dummy/public/assets/ckeditor/_samples/php/index-946329b00cf358518f2d685586b82e97.html +47 -0
- data/test/dummy/public/assets/ckeditor/_samples/php/index.html +47 -0
- data/test/dummy/public/assets/ckeditor/_samples/php/replace-ae0be7dbef2f0229baa7d4b56cf5eeea.php +87 -0
- data/test/dummy/public/assets/ckeditor/_samples/php/replace.php +87 -0
- data/test/dummy/public/assets/ckeditor/_samples/php/replaceall-2278779ada3171438515d024ed1f7d86.php +88 -0
- data/test/dummy/public/assets/ckeditor/_samples/php/replaceall.php +88 -0
- data/test/dummy/public/assets/ckeditor/_samples/php/standalone-964b35efc041bdf618d27fcd632ab5ad.php +83 -0
- data/test/dummy/public/assets/ckeditor/_samples/php/standalone.php +83 -0
- data/test/dummy/public/assets/ckeditor/_samples/placeholder-117048862dab5cea78c207cce4bc79b2.html +81 -0
- data/test/dummy/public/assets/ckeditor/_samples/placeholder.html +81 -0
- data/test/dummy/public/assets/ckeditor/_samples/readonly-34a58f31885ae6e59af2af51cb232433.html +91 -0
- data/test/dummy/public/assets/ckeditor/_samples/readonly.html +91 -0
- data/test/dummy/public/assets/ckeditor/_samples/replacebyclass-2c0dca58346a180aabf46284ca2b3b26.html +64 -0
- data/test/dummy/public/assets/ckeditor/_samples/replacebyclass.html +64 -0
- data/test/dummy/public/assets/ckeditor/_samples/replacebycode-87179bec3dfddf48b08ab7d6ddb6e8b0.html +97 -0
- data/test/dummy/public/assets/ckeditor/_samples/replacebycode.html +97 -0
- data/test/dummy/public/assets/ckeditor/_samples/sample.css +163 -0
- data/test/dummy/public/assets/ckeditor/_samples/sample.js +65 -0
- data/test/dummy/public/assets/ckeditor/_samples/sample_posteddata-51b7712d6c70ff6dca17de03a4b2d3d1.php +21 -0
- data/test/dummy/public/assets/ckeditor/_samples/sample_posteddata.php +21 -0
- data/test/dummy/public/assets/ckeditor/_samples/sharedspaces-4bb176a12b4fa9a0f8dafaa8d8580ec7.html +153 -0
- data/test/dummy/public/assets/ckeditor/_samples/sharedspaces.html +153 -0
- data/test/dummy/public/assets/ckeditor/_samples/skins-c45f1281cd26ea856954c9e28f5de0de.html +110 -0
- data/test/dummy/public/assets/ckeditor/_samples/skins.html +110 -0
- data/test/dummy/public/assets/ckeditor/_samples/stylesheetparser-64a03394b2a15563465e36ff37207acf.html +93 -0
- data/test/dummy/public/assets/ckeditor/_samples/stylesheetparser.html +93 -0
- data/test/dummy/public/assets/ckeditor/_samples/tableresize-64c60ccc44d2e031d3f7ea15898da27a.html +115 -0
- data/test/dummy/public/assets/ckeditor/_samples/tableresize.html +115 -0
- data/test/dummy/public/assets/ckeditor/_samples/ui_color-d8839219a2553c5cd7160488bb1a44ad.html +129 -0
- data/test/dummy/public/assets/ckeditor/_samples/ui_color.html +129 -0
- data/test/dummy/public/assets/ckeditor/_samples/ui_languages-78f32c64667385393fd630d8998f67e2.html +134 -0
- data/test/dummy/public/assets/ckeditor/_samples/ui_languages.html +134 -0
- data/test/dummy/public/assets/ckeditor/_source/adapters/jquery.js +306 -0
- data/test/dummy/public/assets/ckeditor/_source/core/_bootstrap.js +87 -0
- data/test/dummy/public/assets/ckeditor/_source/core/ckeditor.js +141 -0
- data/test/dummy/public/assets/ckeditor/_source/core/ckeditor_base.js +227 -0
- data/test/dummy/public/assets/ckeditor/_source/core/ckeditor_basic.js +238 -0
- data/test/dummy/public/assets/ckeditor/_source/core/command.js +209 -0
- data/test/dummy/public/assets/ckeditor/_source/core/commanddefinition.js +129 -0
- data/test/dummy/public/assets/ckeditor/_source/core/config.js +439 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dataprocessor.js +65 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/comment.js +32 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/document.js +251 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/documentfragment.js +49 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/domobject.js +258 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/element.js +1691 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/elementpath.js +119 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/event.js +145 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/node.js +696 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/nodelist.js +26 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/range.js +2054 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/rangelist.js +213 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/text.js +128 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/walker.js +462 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom/window.js +96 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dom.js +20 -0
- data/test/dummy/public/assets/ckeditor/_source/core/dtd.js +266 -0
- data/test/dummy/public/assets/ckeditor/_source/core/editor.js +1059 -0
- data/test/dummy/public/assets/ckeditor/_source/core/editor_basic.js +186 -0
- data/test/dummy/public/assets/ckeditor/_source/core/env.js +305 -0
- data/test/dummy/public/assets/ckeditor/_source/core/event.js +342 -0
- data/test/dummy/public/assets/ckeditor/_source/core/eventInfo.js +120 -0
- data/test/dummy/public/assets/ckeditor/_source/core/focusmanager.js +152 -0
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/basicwriter.js +145 -0
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/cdata.js +43 -0
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/comment.js +60 -0
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/element.js +308 -0
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/filter.js +288 -0
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/fragment.js +518 -0
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/text.js +53 -0
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser.js +224 -0
- data/test/dummy/public/assets/ckeditor/_source/core/lang.js +157 -0
- data/test/dummy/public/assets/ckeditor/_source/core/loader.js +240 -0
- data/test/dummy/public/assets/ckeditor/_source/core/plugindefinition.js +83 -0
- data/test/dummy/public/assets/ckeditor/_source/core/plugins.js +103 -0
- data/test/dummy/public/assets/ckeditor/_source/core/resourcemanager.js +238 -0
- data/test/dummy/public/assets/ckeditor/_source/core/scriptloader.js +180 -0
- data/test/dummy/public/assets/ckeditor/_source/core/skins.js +184 -0
- data/test/dummy/public/assets/ckeditor/_source/core/themes.js +19 -0
- data/test/dummy/public/assets/ckeditor/_source/core/tools.js +763 -0
- data/test/dummy/public/assets/ckeditor/_source/core/ui.js +128 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/_languages.js +84 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/_translationstatus-d4de76b18adf6359149559be9138847a.txt +61 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/_translationstatus.txt +61 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/af.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/ar.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/bg.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/bn.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/bs.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/ca.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/cs.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/cy.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/da.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/de.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/el.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/en-au.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/en-ca.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/en-gb.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/en.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/eo.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/es.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/et.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/eu.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/fa.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/fi.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/fo.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/fr-ca.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/fr.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/gl.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/gu.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/he.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/hi.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/hr.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/hu.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/is.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/it.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/ja.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/ka.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/km.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/ko.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/lt.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/lv.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/mn.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/ms.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/nb.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/nl.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/no.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/pl.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/pt-br.js +814 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/pt.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/ro.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/ru.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/sk.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/sl.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/sr-latn.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/sr.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/sv.js +814 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/th.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/tr.js +814 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/uk.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/vi.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/zh-cn.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/lang/zh.js +815 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +222 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/a11yhelp/lang/en.js +108 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/a11yhelp/lang/he.js +216 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/a11yhelp/plugin.js +47 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/about/dialogs/about.js +76 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/about/dialogs/logo_ckeditor-fc876ee54c60ea0f0bb16ad65ca4deeb.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/about/plugin.js +24 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/adobeair/plugin.js +228 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/ajax/plugin.js +152 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/autogrow/plugin.js +141 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/basicstyles/plugin.js +129 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/bbcode/plugin.js +931 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/bidi/plugin.js +334 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/blockquote/plugin.js +305 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/button/plugin.js +290 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/clipboard/dialogs/paste.js +223 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/clipboard/plugin.js +453 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/colorbutton/plugin.js +301 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +340 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/colordialog/plugin.js +15 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/contextmenu/plugin.js +179 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/devtools/lang/en.js +16 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/devtools/plugin.js +173 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/dialog/dialogDefinition.js +1166 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/dialog/plugin.js +3308 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/dialogadvtab/plugin.js +208 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/dialogui/plugin.js +1541 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/div/dialogs/div.js +535 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/div/plugin.js +121 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/docprops/dialogs/docprops.js +674 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/docprops/plugin.js +22 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/domiterator/plugin.js +361 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/editingblock/plugin.js +278 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/elementspath/plugin.js +218 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/enterkey/plugin.js +433 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/entities/plugin.js +250 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/fakeobjects/plugin.js +175 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/filebrowser/plugin.js +534 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/find/dialogs/find.js +915 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/find/plugin.js +47 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/flash/dialogs/flash.js +674 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/flash/images/placeholder-ba59b836184c3127b4b6f60f7a4e0720.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/flash/plugin.js +154 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/floatpanel/plugin.js +428 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/font/plugin.js +234 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/format/plugin.js +197 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/button.js +118 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/checkbox.js +153 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/form.js +177 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +100 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/radio.js +135 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/select.js +558 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/textarea.js +135 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/textfield.js +199 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/images/hiddenfield-4b630612e38369aae8e4502421668aec.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/plugin.js +288 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/horizontalrule/plugin.js +48 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/htmldataprocessor/plugin.js +596 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/htmlwriter/plugin.js +319 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/iframe/dialogs/iframe.js +229 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/iframe/images/placeholder-0003e18e649512d4360293190828c51e.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/iframe/images/placeholder.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/iframe/plugin.js +87 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/iframedialog/plugin.js +188 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/image/dialogs/image.js +1407 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/image/plugin.js +81 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/indent/plugin.js +461 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/justify/plugin.js +253 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/keystrokes/plugin.js +225 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/link/dialogs/anchor.js +144 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/link/dialogs/link.js +1425 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/link/images/anchor-501974232bdebac2c503f40a23e2108d.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/link/plugin.js +374 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/list/plugin.js +774 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/listblock/plugin.js +266 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +225 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/liststyle/plugin.js +66 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/maximize/plugin.js +353 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/menu/plugin.js +541 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/menubutton/plugin.js +98 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/newpage/plugin.js +55 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/pagebreak/images/pagebreak-2bbc85d3a07d40c7c7fb8d07c5ba1a91.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/pagebreak/plugin.js +164 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/panel/plugin.js +400 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/panelbutton/plugin.js +144 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/pastefromword/filter/default.js +1367 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/pastefromword/plugin.js +141 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +67 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/pastetext/plugin.js +98 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js +71 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/lang/en.js +16 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/lang/he.js +16 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/placeholder-3fa52c05f290e714bb7ce46ef9e1e3fd.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/placeholder.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/plugin.js +171 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/popup/plugin.js +64 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/preview/plugin.js +113 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/print/plugin.js +42 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/removeformat/plugin.js +185 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/resize/plugin.js +168 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/richcombo/plugin.js +381 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/save/plugin.js +56 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/scayt/dialogs/options.js +537 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +71 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/scayt/plugin.js +973 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/selection/plugin.js +1729 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_address-03733f204b35c6ea053d6dc766e627f4.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_blockquote-9f5a2341078595e812f4390673e1d691.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_div-197a3f96741fe9008a4679d26fdb7f2c.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h1-2ef949aef3e9e43f866cd44f6b912617.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h2-a1bd5af6674ec59ab8dd2753d1fe7123.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h3-94ce278fa39900a6603e7c509116d322.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h4-6c8bbaba545a3e0c29e06bb015ff38f6.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h5-b22e60c26c7c654fcc751f77c16cad59.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h6-184a0c99cd06c2d7d329a1ce8aab7963.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_p-638869d4338d1e1ebb9eaa4f73de174d.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_pre-ebdbe4b89d8955761f6a97a891c8aa19.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/plugin.js +160 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/showborders/plugin.js +207 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/dialogs/smiley.js +224 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/angel_smile-61a21f5af1321a26350cb2ac7f9ecab8.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/angry_smile-5f6ecc899507a1b169bb7a8a62372441.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/broken_heart-089eb8c05b66c50383cf43a94170bcd7.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/confused_smile-bdfd0e16b074007d0621999fd50f5348.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/cry_smile-e28cb803c6d8eaa6f22f90489b4c519c.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/devil_smile-77d7bfa3796df2c81858e285c4b65d97.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/embaressed_smile-16ef2926176e59d29ec7fe3a2bfe2e02.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/envelope-c2077dc5ae53ac8ec69c9ff0b8386938.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/heart-2d8a0eaaf7c2e42f579e78464a8d443f.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/kiss-a4e7f76f10b1fbe1891e6db5bb900b1b.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/lightbulb-939e2ca2cb123f03c8ee11e53dce7a35.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/omg_smile-84ae8a1fc1c04e9289421037347799ba.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/regular_smile-6b1e1690d88c16913eb05dd119f221d9.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/sad_smile-bf3a033d9be803b4f5b38b9b0c258704.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/shades_smile-bd6d9f1ef7c868ef160aafc4da42fdad.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/teeth_smile-7da3f610067417297b3a235899688067.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/thumbs_down-abcf7aad6e8ccd1e0786786bc5594c7a.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/thumbs_up-e5239bab9fb2674ce22705d232cd29f3.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/tounge_smile-66d4ad71a8977e7e9871a18c5a79952f.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile-a831e713a52639619968a6c67ade659b.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/wink_smile-81177f9fe9e8c62c8bc1dac30fbedf12.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/wink_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/plugin.js +94 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/sourcearea/plugin.js +209 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +350 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/specialchar/lang/en.js +122 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/specialchar/plugin.js +70 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/styles/plugin.js +1700 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/styles/styles/default.js +88 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/stylescombo/plugin.js +218 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/stylesheetparser/plugin.js +148 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/tab/plugin.js +367 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/table/dialogs/table.js +623 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/table/plugin.js +78 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/tableresize/plugin.js +443 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +525 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/tabletools/plugin.js +1194 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/templates/dialogs/templates.js +234 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/templates/plugin.js +99 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/default.js +94 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/images/template1-ea363748d77b692075af885f384ae6bd.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/images/template2-6401418f8e62efe47b7a87c734c9dd25.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/images/template3-ef931fe4fdb3fa35897598a2df449988.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/toolbar/plugin.js +545 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +205 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/lang/en.js +15 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/lang/he.js +15 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/plugin.js +37 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/uicolor-8ce2d3d1bf5d83b297c1568e065fd6e9.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg-c2d8d7faeb9d4b01f3008cda322f2763.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb-8e5fb8d26c158303b319553876a2a799.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask-ac846f51ee3570c6880d2a88cb4c5353.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb-aed7c70c1854dac98bd8310da084d689.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +15 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/yui.js +71 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/undo/plugin.js +578 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/ciframe-c7c588e16f092fdb33f9522df57acdf7.html +49 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +49 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset-2ed47c8c321406680828cd39a4cfd841.html +52 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/wsc.css +82 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/wsc.js +192 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/plugin.js +33 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/wysiwygarea/plugin.js +1347 -0
- data/test/dummy/public/assets/ckeditor/_source/plugins/xml/plugin.js +170 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/dialog.css +989 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/editor.css +25 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/elementspath.css +73 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons-2f0d4921addf1896455275e7ccb7d0ff.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons.css +366 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons_rtl-fe1043485a7af2aaf254c823086123ba.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons_rtl.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/dialog_sides-1bd20fa0a9f35f0921eccfbb345490e2.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/dialog_sides-b54c340d7451e52aaecf7e944f15bde8.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/dialog_sides_rtl-53a84633be082d2b19a805a9398cfe03.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/mini-92ae7c7f7f48d849814f5e331cb2bd24.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/mini.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/noimage-623baac6fe6b7cd494715931451deeed.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/noimage.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/sprites-37a3ebdc1b4393eefbc4520a02938daf.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/sprites.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/sprites_ie6-105615f241302fed23e7aae2411b4a1f.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/toolbar_start-806bf6a72342160d7ccdc846e7d4a476.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/mainui.css +206 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/menu.css +232 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/panel.css +217 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/presets.css +49 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/reset.css +85 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/richcombo.css +287 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/skin.js +236 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/templates.css +88 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/toolbar.css +408 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/dialog.css +891 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/editor.css +25 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/elementspath.css +74 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons-2f0d4921addf1896455275e7ccb7d0ff.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons.css +363 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons_rtl-fe1043485a7af2aaf254c823086123ba.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons_rtl.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/dialog_sides-75a65a85a2b30468dc1beac0c54d1fb9.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/dialog_sides-edefdf8c116d4656501f13731ae8ff5b.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/dialog_sides_rtl-77bbf3783e5dc7984f3be35faf7779fb.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/mini-92ae7c7f7f48d849814f5e331cb2bd24.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/noimage-623baac6fe6b7cd494715931451deeed.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/sprites-55354902984711767f69cf5f190b9d42.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/sprites_ie6-ea9534ccd0a64d8d14579a37bcdaaeb9.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/sprites_ie6.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/mainui.css +153 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/menu.css +229 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/panel.css +212 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/presets.css +49 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/reset.css +85 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/richcombo.css +309 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/skin.js +74 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/templates.css +87 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/toolbar.css +522 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/dialog.css +907 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/editor.css +25 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/elementspath.css +74 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons-2f0d4921addf1896455275e7ccb7d0ff.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons.css +363 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons_rtl-fe1043485a7af2aaf254c823086123ba.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons_rtl.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/dialog_sides-1bd20fa0a9f35f0921eccfbb345490e2.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/dialog_sides-b54c340d7451e52aaecf7e944f15bde8.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/dialog_sides_rtl-53a84633be082d2b19a805a9398cfe03.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/mini-92ae7c7f7f48d849814f5e331cb2bd24.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/mini.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/noimage-623baac6fe6b7cd494715931451deeed.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/noimage.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/sprites-781d681644b31f32868856fa132e4906.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/sprites.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/sprites_ie6-9c6895a740fc1778a432cce5b91bc281.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/toolbar_start-806bf6a72342160d7ccdc846e7d4a476.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/toolbar_start.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/mainui.css +162 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/menu.css +232 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/panel.css +212 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/presets.css +50 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/reset.css +85 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/richcombo.css +302 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/skin.js +70 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/templates.css +87 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/toolbar.css +465 -0
- data/test/dummy/public/assets/ckeditor/_source/themes/default/theme.js +407 -0
- data/test/dummy/{tmp/cache/assets/CA3/A50/sprockets%2F1138d3a48560705a7e596ab7bd02253b → public/assets/ckeditor/adapters/jquery.js} +0 -0
- data/test/dummy/public/assets/ckeditor/ckeditor-375b08659b4cb8f72be5ee3587123e65.pack +211 -0
- data/test/dummy/public/assets/ckeditor/ckeditor-443f9c44cd2d9283d11a70ab3fcf480a.php +29 -0
- data/test/dummy/public/assets/ckeditor/ckeditor-d4b0a17fd7607891a271f2430be8835d.asp +955 -0
- data/test/dummy/public/assets/ckeditor/ckeditor.asp +955 -0
- data/test/dummy/{tmp/cache/assets/D1F/840/sprockets%2F3f6d2f8168b95fd5064838cfb05c5d54 → public/assets/ckeditor/ckeditor.js} +0 -0
- data/test/dummy/public/assets/ckeditor/ckeditor.pack +211 -0
- data/test/dummy/public/assets/ckeditor/ckeditor.php +29 -0
- data/test/dummy/public/assets/ckeditor/ckeditor_basic.js +8 -0
- data/test/dummy/public/assets/ckeditor/ckeditor_basic_source.js +20 -0
- data/test/dummy/public/assets/ckeditor/ckeditor_php4-e6e1feca4ad8048e38b87150326bb706.php +566 -0
- data/test/dummy/public/assets/ckeditor/ckeditor_php4.php +566 -0
- data/test/dummy/public/assets/ckeditor/ckeditor_php5-2ac2cebe11e6dbe76831c21173cc6d36.php +556 -0
- data/test/dummy/public/assets/ckeditor/ckeditor_php5.php +556 -0
- data/test/dummy/public/assets/ckeditor/ckeditor_source.js +35 -0
- data/test/dummy/public/assets/ckeditor/config.js +11 -0
- data/test/dummy/public/assets/ckeditor/contents.css +25 -0
- data/test/dummy/public/assets/ckeditor/images/spacer-dade68cd2b33bdcd06c6a8f59676327e.gif +0 -0
- data/test/dummy/public/assets/ckeditor/images/spacer.gif +0 -0
- data/test/dummy/public/assets/ckeditor/lang/_languages.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/_translationstatus-d4de76b18adf6359149559be9138847a.txt +61 -0
- data/test/dummy/public/assets/ckeditor/lang/_translationstatus.txt +61 -0
- data/test/dummy/public/assets/ckeditor/lang/af.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/ar.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/bg.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/bn.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/bs.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/ca.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/cs.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/cy.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/da.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/de.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/el.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/en-au.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/en-ca.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/en-gb.js +6 -0
- data/test/dummy/{tmp/cache/assets/D93/890/sprockets%2F033c6ea07a61dbd408ba2bf8e99b518a → public/assets/ckeditor/lang/en.js} +0 -0
- data/test/dummy/public/assets/ckeditor/lang/eo.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/es.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/et.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/eu.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/fa.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/fi.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/fo.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/fr-ca.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/fr.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/gl.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/gu.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/he.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/hi.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/hr.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/hu.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/is.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/it.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/ja.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/ka.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/km.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/ko.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/lt.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/lv.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/mn.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/ms.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/nb.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/nl.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/no.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/pl.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/pt-br.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/pt.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/ro.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/ru.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/sk.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/sl.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/sr-latn.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/sr.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/sv.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/th.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/tr.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/uk.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/vi.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/zh-cn.js +6 -0
- data/test/dummy/public/assets/ckeditor/lang/zh.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -0
- data/test/dummy/public/assets/ckeditor/plugins/a11yhelp/lang/en.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/a11yhelp/lang/he.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/about/dialogs/logo_ckeditor-fc876ee54c60ea0f0bb16ad65ca4deeb.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/adobeair/plugin.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/ajax/plugin.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/autogrow/plugin.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/bbcode/plugin.js +9 -0
- data/test/dummy/public/assets/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
- data/test/dummy/public/assets/ckeditor/plugins/colordialog/dialogs/colordialog.js +7 -0
- data/test/dummy/public/assets/ckeditor/plugins/devtools/lang/en.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/devtools/plugin.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/test/dummy/public/assets/ckeditor/plugins/div/dialogs/div.js +8 -0
- data/test/dummy/public/assets/ckeditor/plugins/docprops/dialogs/docprops.js +10 -0
- data/test/dummy/public/assets/ckeditor/plugins/docprops/plugin.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/find/dialogs/find.js +10 -0
- data/test/dummy/public/assets/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/test/dummy/public/assets/ckeditor/plugins/flash/images/placeholder-ba59b836184c3127b4b6f60f7a4e0720.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/forms/images/hiddenfield-4b630612e38369aae8e4502421668aec.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/iframe/dialogs/iframe.js +7 -0
- data/test/dummy/public/assets/ckeditor/plugins/iframe/images/placeholder-0003e18e649512d4360293190828c51e.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/image/dialogs/image.js +13 -0
- data/test/dummy/public/assets/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/link/dialogs/link.js +12 -0
- data/test/dummy/public/assets/ckeditor/plugins/link/images/anchor-501974232bdebac2c503f40a23e2108d.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/liststyle/dialogs/liststyle.js +7 -0
- data/test/dummy/public/assets/ckeditor/plugins/pagebreak/images/pagebreak-2bbc85d3a07d40c7c7fb8d07c5ba1a91.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/pastefromword/filter/default.js +11 -0
- data/test/dummy/public/assets/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/placeholder/dialogs/placeholder.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/placeholder/lang/en.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/placeholder/lang/he.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/placeholder/placeholder-3fa52c05f290e714bb7ce46ef9e1e3fd.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/placeholder/plugin.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/scayt/dialogs/options.js +8 -0
- data/test/dummy/public/assets/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_address-03733f204b35c6ea053d6dc766e627f4.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_blockquote-9f5a2341078595e812f4390673e1d691.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_div-197a3f96741fe9008a4679d26fdb7f2c.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h1-2ef949aef3e9e43f866cd44f6b912617.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h2-a1bd5af6674ec59ab8dd2753d1fe7123.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h3-94ce278fa39900a6603e7c509116d322.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h4-6c8bbaba545a3e0c29e06bb015ff38f6.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h5-b22e60c26c7c654fcc751f77c16cad59.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h6-184a0c99cd06c2d7d329a1ce8aab7963.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_p-638869d4338d1e1ebb9eaa4f73de174d.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_pre-ebdbe4b89d8955761f6a97a891c8aa19.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/angel_smile-61a21f5af1321a26350cb2ac7f9ecab8.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/angry_smile-5f6ecc899507a1b169bb7a8a62372441.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/broken_heart-089eb8c05b66c50383cf43a94170bcd7.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/confused_smile-bdfd0e16b074007d0621999fd50f5348.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/cry_smile-e28cb803c6d8eaa6f22f90489b4c519c.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/devil_smile-77d7bfa3796df2c81858e285c4b65d97.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/embaressed_smile-16ef2926176e59d29ec7fe3a2bfe2e02.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/envelope-c2077dc5ae53ac8ec69c9ff0b8386938.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/heart-2d8a0eaaf7c2e42f579e78464a8d443f.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/kiss-a4e7f76f10b1fbe1891e6db5bb900b1b.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/lightbulb-939e2ca2cb123f03c8ee11e53dce7a35.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/omg_smile-84ae8a1fc1c04e9289421037347799ba.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/regular_smile-6b1e1690d88c16913eb05dd119f221d9.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/sad_smile-bf3a033d9be803b4f5b38b9b0c258704.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/shades_smile-bd6d9f1ef7c868ef160aafc4da42fdad.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/teeth_smile-7da3f610067417297b3a235899688067.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/thumbs_down-abcf7aad6e8ccd1e0786786bc5594c7a.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/thumbs_up-e5239bab9fb2674ce22705d232cd29f3.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/tounge_smile-66d4ad71a8977e7e9871a18c5a79952f.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile-a831e713a52639619968a6c67ade659b.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/wink_smile-81177f9fe9e8c62c8bc1dac30fbedf12.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/test/dummy/public/assets/ckeditor/plugins/specialchar/lang/en.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/styles/styles/default.js +6 -0
- data/test/dummy/{tmp/cache/assets/CC6/910/sprockets%2Fdf1992311ede6a7259c057589a7b6984 → public/assets/ckeditor/plugins/stylesheetparser/plugin.js} +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/table/dialogs/table.js +9 -0
- data/test/dummy/public/assets/ckeditor/plugins/tableresize/plugin.js +7 -0
- data/test/dummy/public/assets/ckeditor/plugins/tabletools/dialogs/tableCell.js +8 -0
- data/test/dummy/public/assets/ckeditor/plugins/templates/dialogs/templates.js +7 -0
- data/test/dummy/public/assets/ckeditor/plugins/templates/templates/default.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/templates/templates/images/template1-ea363748d77b692075af885f384ae6bd.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/templates/templates/images/template2-6401418f8e62efe47b7a87c734c9dd25.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/templates/templates/images/template3-ef931fe4fdb3fa35897598a2df449988.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/lang/he.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/uicolor-8ce2d3d1bf5d83b297c1568e065fd6e9.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/hue_bg-c2d8d7faeb9d4b01f3008cda322f2763.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/hue_thumb-8e5fb8d26c158303b319553876a2a799.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/picker_mask-ac846f51ee3570c6880d2a88cb4c5353.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/picker_thumb-aed7c70c1854dac98bd8310da084d689.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/ciframe-c7c588e16f092fdb33f9522df57acdf7.html +49 -0
- data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset-2ed47c8c321406680828cd39a4cfd841.html +52 -0
- data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
- data/test/dummy/public/assets/ckeditor/plugins/xml/plugin.js +6 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/dialog.css +10 -0
- data/test/dummy/{tmp/cache/assets/DBF/180/sprockets%2F19427ba0edb6b1c15eaaf43afd73e617 → public/assets/ckeditor/skins/kama/editor.css} +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/icons-2f0d4921addf1896455275e7ccb7d0ff.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/icons.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/icons_rtl-fe1043485a7af2aaf254c823086123ba.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/dialog_sides-1bd20fa0a9f35f0921eccfbb345490e2.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/dialog_sides-b54c340d7451e52aaecf7e944f15bde8.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/dialog_sides_rtl-53a84633be082d2b19a805a9398cfe03.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/mini-92ae7c7f7f48d849814f5e331cb2bd24.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/mini.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/noimage-623baac6fe6b7cd494715931451deeed.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/noimage.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/sprites-37a3ebdc1b4393eefbc4520a02938daf.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/sprites.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/sprites_ie6-105615f241302fed23e7aae2411b4a1f.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/toolbar_start-806bf6a72342160d7ccdc846e7d4a476.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/skin.js +7 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/templates.css +6 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/dialog.css +9 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/editor.css +14 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/icons-2f0d4921addf1896455275e7ccb7d0ff.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/icons.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/icons_rtl-fe1043485a7af2aaf254c823086123ba.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/dialog_sides-75a65a85a2b30468dc1beac0c54d1fb9.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/dialog_sides-edefdf8c116d4656501f13731ae8ff5b.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/dialog_sides_rtl-77bbf3783e5dc7984f3be35faf7779fb.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/mini-92ae7c7f7f48d849814f5e331cb2bd24.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/noimage-623baac6fe6b7cd494715931451deeed.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/sprites-55354902984711767f69cf5f190b9d42.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/sprites_ie6-ea9534ccd0a64d8d14579a37bcdaaeb9.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/skin.js +6 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/templates.css +6 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/dialog.css +9 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/editor.css +13 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/icons-2f0d4921addf1896455275e7ccb7d0ff.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/icons.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/icons_rtl-fe1043485a7af2aaf254c823086123ba.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/dialog_sides-1bd20fa0a9f35f0921eccfbb345490e2.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/dialog_sides-b54c340d7451e52aaecf7e944f15bde8.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/dialog_sides_rtl-53a84633be082d2b19a805a9398cfe03.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/mini-92ae7c7f7f48d849814f5e331cb2bd24.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/mini.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/noimage-623baac6fe6b7cd494715931451deeed.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/noimage.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/sprites-781d681644b31f32868856fa132e4906.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/sprites.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/sprites_ie6-9c6895a740fc1778a432cce5b91bc281.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/toolbar_start-806bf6a72342160d7ccdc846e7d4a476.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/skin.js +6 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/templates.css +6 -0
- data/test/dummy/public/assets/ckeditor/themes/default/theme.js +8 -0
- data/test/dummy/public/assets/manifest.yml +239 -0
- data/test/dummy/public/assets/rich/application-2d948ba94e7a1e8ee49e29ef95f87995.css +2 -0
- data/test/dummy/public/assets/rich/application-2d948ba94e7a1e8ee49e29ef95f87995.css.gz +0 -0
- data/test/dummy/public/assets/rich/application-f0e3ebd0b5dd8a6ffd525e1b5a688acf.js +19 -0
- data/test/dummy/public/assets/rich/application-f0e3ebd0b5dd8a6ffd525e1b5a688acf.js.gz +0 -0
- data/test/dummy/public/assets/rich/application.css +2 -0
- data/test/dummy/public/assets/rich/application.css.gz +0 -0
- data/test/dummy/public/assets/rich/application.js +19 -0
- data/test/dummy/public/assets/rich/application.js.gz +0 -0
- data/test/dummy/public/assets/rich/base-3d3160088af99119a311b4e7362326ac.js +11 -0
- data/test/dummy/public/assets/rich/base-3d3160088af99119a311b4e7362326ac.js.gz +0 -0
- data/test/dummy/public/assets/rich/base.js +11 -0
- data/test/dummy/public/assets/rich/base.js.gz +0 -0
- data/test/dummy/public/assets/rich/editor-204d2a1d7aec25614b4611349aa793fb.css +1 -0
- data/test/dummy/public/assets/rich/editor-204d2a1d7aec25614b4611349aa793fb.css.gz +0 -0
- data/test/dummy/public/assets/rich/editor.css +1 -0
- data/test/dummy/public/assets/rich/editor.css.gz +0 -0
- data/test/dummy/public/assets/rich/images-e091bcc710f62a6265d8bc6eae54fbab.png +0 -0
- data/test/dummy/public/assets/rich/images.png +0 -0
- data/test/dummy/public/assets/rich/insert-many-0a73f24b86f9df3e23484009639f306c.png +0 -0
- data/test/dummy/public/assets/rich/insert-many.png +0 -0
- data/test/dummy/public/assets/rich/insert-one-452c896e53e8907911a0e6961601be4c.png +0 -0
- data/test/dummy/public/assets/rich/insert-one.png +0 -0
- data/test/dummy/public/assets/rich/loading-3fc55503a06d7a68cbed7e4a5d9aef8e.png +0 -0
- data/test/dummy/public/assets/rich/loading.png +0 -0
- data/test/dummy/public/assets/rich/menu-dash-12c49f78947dffd7da66c54427a241b7.png +0 -0
- data/test/dummy/public/assets/rich/menu-dash.png +0 -0
- data/test/dummy/public/assets/rich/plus-dc390d95d28f5c2b62823c0d50f97c61.png +0 -0
- data/test/dummy/public/assets/rich/plus-red-ab024857950b67766ecc033a1231944e.png +0 -0
- data/test/dummy/public/assets/rich/plus-red.png +0 -0
- data/test/dummy/public/assets/rich/plus.png +0 -0
- data/test/dummy/public/assets/rich/x-red-e18786c310c0a2a696a8eaccc9618711.png +0 -0
- data/test/dummy/public/assets/rich/x-red.png +0 -0
- data/test/dummy/tmp/cache/assets/BDC/DF0/sprockets%2F556859632756792340573f0b7d7937d4 +0 -0
- data/test/dummy/tmp/cache/assets/BEE/9D0/sprockets%2F04f1847209c701267b145074c38d7915 +0 -0
- data/test/dummy/tmp/cache/assets/C09/940/sprockets%2F9c892480308a353394094957b3389d7e +0 -0
- data/test/dummy/tmp/cache/assets/C19/4A0/sprockets%2F25141441498608917b8f0fa0b263a356 +0 -0
- data/test/dummy/tmp/cache/assets/C27/DF0/sprockets%2F33f6324a781951f5041a3515ae596788 +0 -0
- data/test/dummy/tmp/cache/assets/C2B/650/sprockets%2F1df4737580163259e6d2b79578a23191 +0 -0
- data/test/dummy/tmp/cache/assets/C2B/690/sprockets%2F7386b243b8578943a8a058fd73153523 +0 -0
- data/test/dummy/tmp/cache/assets/C2E/BB0/sprockets%2F67170774689ef70161779c25ce13145c +0 -0
- data/test/dummy/tmp/cache/assets/C30/AD0/sprockets%2F5e464907523e20c546b278814936f9a7 +0 -0
- data/test/dummy/tmp/cache/assets/C33/CE0/sprockets%2Fb83256fce54175498209904a643f4677 +0 -0
- data/test/dummy/tmp/cache/assets/C48/FF0/sprockets%2F96e842574236271ede53a401177c103c +0 -0
- data/test/dummy/tmp/cache/assets/C49/500/sprockets%2F72473c15cf2e294b25b1823e82954031 +0 -0
- data/test/dummy/tmp/cache/assets/C4B/120/sprockets%2F68c509110e4521f31e08c02988cd1871 +0 -0
- data/test/dummy/tmp/cache/assets/C4B/4F0/sprockets%2F507227215261ca7b895102e5f831b9b8 +0 -0
- data/test/dummy/tmp/cache/assets/C4D/110/sprockets%2F611640a397c0e9a8a99433e6681b3401 +0 -0
- data/test/dummy/tmp/cache/assets/C53/D20/sprockets%2Fc717231c3a3035802677df4eb6884727 +0 -0
- data/test/dummy/tmp/cache/assets/C54/A80/sprockets%2F1de74a969431c6973c790026061ab287 +0 -0
- data/test/dummy/tmp/cache/assets/C55/B30/sprockets%2F39a30f38a0388c637e0840d03656967b +0 -0
- data/test/dummy/tmp/cache/assets/C56/250/sprockets%2Fb6db18745993b17d85dc925232322923 +0 -0
- data/test/dummy/tmp/cache/assets/C58/8D0/sprockets%2F353a6a7559802014f934e28851f7da74 +0 -0
- data/test/dummy/tmp/cache/assets/C5D/7F0/sprockets%2F539347136e2b81496339888d3fead221 +0 -0
- data/test/dummy/tmp/cache/assets/C65/9A0/sprockets%2F7ce27567092e41279b34498d6075cb87 +0 -0
- data/test/dummy/tmp/cache/assets/C68/9D0/sprockets%2F46c8f88ef788054366f4b5c940236533 +0 -0
- data/test/dummy/tmp/cache/assets/C6B/9C0/sprockets%2F3dae21157a42b25135fae24956315172 +0 -0
- data/test/dummy/tmp/cache/assets/C6D/1A0/sprockets%2F212b0151e5d2cba1587771f308323d48 +0 -0
- data/test/dummy/tmp/cache/assets/C6E/8D0/sprockets%2Fca47069498ba75e028c450aa50333005 +0 -0
- data/test/dummy/tmp/cache/assets/C70/F80/sprockets%2F25a1272055d68b1f13f457471a3082af +0 -0
- data/test/dummy/tmp/cache/assets/C72/A20/sprockets%2F3f1d53046321c2171bbd83739410d7c9 +0 -0
- data/test/dummy/tmp/cache/assets/C73/820/sprockets%2Fdc73957133cc0c6c36681621ad275022 +0 -0
- data/test/dummy/tmp/cache/assets/C77/5B0/sprockets%2F540101198b081942476e5ef23c406fcc +0 -0
- data/test/dummy/tmp/cache/assets/C77/720/sprockets%2Fca30f4a4080067a42488536e598232da +0 -0
- data/test/dummy/tmp/cache/assets/C77/EF0/sprockets%2F35ca46348a682bda063928544a2630d5 +0 -0
- data/test/dummy/tmp/cache/assets/C79/B60/sprockets%2F7002c4f53b73b5eef125743664530f53 +0 -0
- data/test/dummy/tmp/cache/assets/C7B/200/sprockets%2F2720e7546112b1c1d03fd9697e606d90 +0 -0
- data/test/dummy/tmp/cache/assets/C7B/410/sprockets%2Ff676f01075f2e49124321b39229e5d2a +0 -0
- data/test/dummy/tmp/cache/assets/C7B/540/sprockets%2F547199d245ed02056a83508dd104a69a +0 -0
- data/test/dummy/tmp/cache/assets/C7D/C40/sprockets%2Fc99034ce618e1228e662c007671f2a53 +0 -0
- data/test/dummy/tmp/cache/assets/C7E/9B0/sprockets%2Fc7ed8687b3ce693f0342017416225b60 +0 -0
- data/test/dummy/tmp/cache/assets/C7F/360/sprockets%2Fb500dd4e82499845120f11801cf99b45 +0 -0
- data/test/dummy/tmp/cache/assets/C80/060/sprockets%2Fb1220c62161546be7f197a929d2096f6 +0 -0
- data/test/dummy/tmp/cache/assets/C82/D30/sprockets%2F8187429e99fcd8806f856c75449b6695 +0 -0
- data/test/dummy/tmp/cache/assets/C83/A00/sprockets%2F9c83c872822bb127b72291b42729ca49 +0 -0
- data/test/dummy/tmp/cache/assets/C84/840/sprockets%2Ff4d18b49e90538028a47531ca4668a35 +0 -0
- data/test/dummy/tmp/cache/assets/C85/380/sprockets%2F53a7b57361807c68e79e068a40273c0e +0 -0
- data/test/dummy/tmp/cache/assets/C88/B20/sprockets%2F7b205d3f7366e20665c267792b07c6b9 +0 -0
- data/test/dummy/tmp/cache/assets/C89/B80/sprockets%2Fea20d64c17365772e6cc48b787323728 +0 -0
- data/test/dummy/tmp/cache/assets/{D11/D20/sprockets%2Fcac21eac42152981882bf9e489316af4 → C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212} +0 -0
- data/test/dummy/tmp/cache/assets/C8D/710/sprockets%2F15cd04c9e7637a0b4229648dd6395838 +0 -0
- data/test/dummy/tmp/cache/assets/C8D/F20/sprockets%2F06a7164988ac4742a97874f84aa2a870 +0 -0
- data/test/dummy/tmp/cache/assets/C8F/D80/sprockets%2F455e93b83c0e017f18c228f533c74899 +0 -0
- data/test/dummy/tmp/cache/assets/C93/B40/sprockets%2F2270437a1d5132fb56c8231aa2d4f700 +0 -0
- data/test/dummy/tmp/cache/assets/C93/E70/sprockets%2F15444ade262779d3465f892d96403ee7 +0 -0
- data/test/dummy/tmp/cache/assets/C95/5F0/sprockets%2F53e43e281a976e7c238662c7853915ef +0 -0
- data/test/dummy/tmp/cache/assets/C99/810/sprockets%2F635ebe464ce2f4e00172f900204124b4 +0 -0
- data/test/dummy/tmp/cache/assets/C9A/1C0/sprockets%2F4af720073e4216a9d110904c61db1a87 +0 -0
- data/test/dummy/tmp/cache/assets/C9B/7D0/sprockets%2F96f6279c83e55127e167ef745f37b911 +0 -0
- data/test/dummy/tmp/cache/assets/C9B/D00/sprockets%2Fb8d85ebf421d5b24e602a64260507021 +0 -0
- data/test/dummy/tmp/cache/assets/C9B/FE0/sprockets%2F303058205a85e00b20733f8bd342b8fd +0 -0
- data/test/dummy/tmp/cache/assets/C9D/410/sprockets%2F68567256a0f5453dd962789b884b7f4b +0 -0
- data/test/dummy/tmp/cache/assets/C9D/AD0/sprockets%2F9534922958d0e57f02ca7a68bb887878 +0 -0
- data/test/dummy/tmp/cache/assets/C9E/C60/sprockets%2F2533ccfb67e257141e36362e252da032 +0 -0
- data/test/dummy/tmp/cache/assets/CA2/380/sprockets%2F33584e07265b247dae580ae72a7c2400 +0 -0
- data/test/dummy/tmp/cache/assets/CA3/840/sprockets%2F97c1b55a37382e5212f06661ad22b47a +0 -0
- data/test/dummy/tmp/cache/assets/CA5/3E0/sprockets%2F6ab4dab3e616486a6e691190a4550432 +0 -0
- data/test/dummy/tmp/cache/assets/CA5/DE0/sprockets%2F1aec0853505712843049be275d6afa17 +0 -0
- data/test/dummy/tmp/cache/assets/CA6/D70/sprockets%2F954979c930b87d937d7c968dec805082 +0 -0
- data/test/dummy/tmp/cache/assets/CA7/2D0/sprockets%2Fe973314ba7ade33537d8456a59101c12 +0 -0
- data/test/dummy/tmp/cache/assets/CA8/010/sprockets%2F3822fe6ee82705342f2d141f13e5018d +0 -0
- data/test/dummy/tmp/cache/assets/CA8/CC0/sprockets%2Ff50aa8604c2dc7ef123085426c447680 +0 -0
- data/test/dummy/tmp/cache/assets/CA8/F60/sprockets%2F0b316c6974cffbd0a850690d14629016 +0 -0
- data/test/dummy/tmp/cache/assets/CA9/BD0/sprockets%2F85c5c7da5274e330a42646d15e26650c +0 -0
- data/test/dummy/tmp/cache/assets/CAA/CB0/sprockets%2F21a4f54177965054ccba876d4ac90044 +0 -0
- data/test/dummy/tmp/cache/assets/CAC/130/sprockets%2F720e4c18ea437d497333ae2a293265c6 +0 -0
- data/test/dummy/tmp/cache/assets/CAC/660/sprockets%2Fa610f1c249982658e21d3c61b32d7e90 +0 -0
- data/test/dummy/tmp/cache/assets/CAD/D40/sprockets%2Fd5e8810f5217f0d1f60d130646682bc9 +0 -0
- data/test/dummy/tmp/cache/assets/{D4B/190/sprockets%2F3302dab8fad86d469b9e126ff56d3593 → CAE/440/sprockets%2F31dc3464893dd5a7734a257022bf9a37} +0 -0
- data/test/dummy/tmp/cache/assets/CB0/4E0/sprockets%2Fc8b3ba39cf681f453847427b6130d290 +0 -0
- data/test/dummy/tmp/cache/assets/CB0/600/sprockets%2F721bd25e8fdb60735b9076b6004d8672 +0 -0
- data/test/dummy/tmp/cache/assets/CB0/9C0/sprockets%2F70533e8bf04740f964137b3a7d1ef580 +0 -0
- data/test/dummy/tmp/cache/assets/CB0/9E0/sprockets%2Fa79c8554338c001671b1fa59d03e4d68 +0 -0
- data/test/dummy/tmp/cache/assets/CB0/F40/sprockets%2F539d1dd471483a311391ef9c03474cf6 +0 -0
- data/test/dummy/tmp/cache/assets/CB1/3F0/sprockets%2F2172ba97acd80322a70758d66d5739e2 +0 -0
- data/test/dummy/tmp/cache/assets/CB2/8C0/sprockets%2F6914720c7939036a3e2732ccffa5f264 +0 -0
- data/test/dummy/tmp/cache/assets/CB2/C10/sprockets%2Fda8a1c8122d78dd08710294582f46a76 +0 -0
- data/test/dummy/tmp/cache/assets/CB3/E10/sprockets%2Fd5b564657254f5c2a5483a0691b9df05 +0 -0
- data/test/dummy/tmp/cache/assets/CB4/E40/sprockets%2Fb74c920b96371fa5234b8fd717b29237 +0 -0
- data/test/dummy/tmp/cache/assets/CB6/CD0/sprockets%2F662c7a2399eb4f53567a415802aa38f7 +0 -0
- data/test/dummy/tmp/cache/assets/CBA/7A0/sprockets%2F12bc93547225645986e183d867cc3cda +0 -0
- data/test/dummy/tmp/cache/assets/CBB/670/sprockets%2F03d2a8fa7c98289281cd88ff86451020 +0 -0
- data/test/dummy/tmp/cache/assets/CBC/610/sprockets%2F7a258d3f291d8be96017cb7e78024457 +0 -0
- data/test/dummy/tmp/cache/assets/CBD/2B0/sprockets%2Fc1ff2e740da50e998769526dc9420364 +0 -0
- data/test/dummy/tmp/cache/assets/CBE/A80/sprockets%2F60bb9087aed9745744925f6ce01525d9 +0 -0
- data/test/dummy/tmp/cache/assets/CC3/670/sprockets%2F787a8401551cdb9896241f17e65a9ce8 +0 -0
- data/test/dummy/tmp/cache/assets/CC3/9E0/sprockets%2F2498b630f6820fa93a9779a8760af47c +0 -0
- data/test/dummy/tmp/cache/assets/CC7/220/sprockets%2Fd066c004d1fd26ae76a61303a7a18145 +0 -0
- data/test/dummy/tmp/cache/assets/CC9/7C0/sprockets%2Fc82557feaf0c7f8138225e629e905689 +0 -0
- data/test/dummy/tmp/cache/assets/CCC/BF0/sprockets%2Fd64241850aaf9a25152b91a69130a8ac +0 -0
- data/test/dummy/tmp/cache/assets/CCD/390/sprockets%2Fe60c975c2568f7ab948e190369c697f1 +0 -0
- data/test/dummy/tmp/cache/assets/CCD/B70/sprockets%2Fbe5d4276053476bce1da3850b710b108 +0 -0
- data/test/dummy/tmp/cache/assets/CCE/3D0/sprockets%2F7c053a0e37e4109846266a0a686acb0a +0 -0
- data/test/dummy/tmp/cache/assets/CCF/230/sprockets%2F60a41eef6b55f390c02108a0a0681d97 +0 -0
- data/test/dummy/tmp/cache/assets/CCF/500/sprockets%2F0330258c93457d4b72d10e2e5d1bb1c9 +0 -0
- data/test/dummy/tmp/cache/assets/CD0/3C0/sprockets%2F246333a1ec8bbbc08425552f0da98621 +0 -0
- data/test/dummy/tmp/cache/assets/CD0/700/sprockets%2F652b92177e5b7db32062ba3e0c08a491 +0 -0
- data/test/dummy/tmp/cache/assets/CD3/830/sprockets%2Fb5142e54768f952183bdb60cc2352b0b +0 -0
- data/test/dummy/tmp/cache/assets/CD6/370/sprockets%2F36de299a111a8a148188b30ac146d55f +0 -0
- data/test/dummy/tmp/cache/assets/CD7/A90/sprockets%2Fa4a89b241f7573bb600539fe154ed123 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +4 -0
- data/test/dummy/tmp/cache/assets/CD9/250/sprockets%2F7e917f0e901da1316765aa09934dab61 +0 -0
- data/test/dummy/tmp/cache/assets/CD9/590/sprockets%2F9713483f12b1c7021150cf9cfdc6905e +0 -0
- data/test/dummy/tmp/cache/assets/CD9/B40/sprockets%2F7d192e48d1b63bccf1582db070388142 +0 -0
- data/test/dummy/tmp/cache/assets/CDA/0A0/sprockets%2Feca5b9f722a12be9921b80813a316964 +0 -0
- data/test/dummy/tmp/cache/assets/CDA/170/sprockets%2F2107f8467a22ca1f677e7721ad149da3 +0 -0
- data/test/dummy/tmp/cache/assets/CDA/420/sprockets%2F63c2e7b996558fafc202d5d32a181322 +0 -0
- data/test/dummy/tmp/cache/assets/CDA/B70/sprockets%2F2bd240317a1b99b77f2686a14dc443b9 +0 -0
- data/test/dummy/tmp/cache/assets/CDB/040/sprockets%2Fc732474e67003a4eb840eb44c5ca9385 +0 -0
- data/test/dummy/tmp/cache/assets/CDD/1B0/sprockets%2F0ff0d37d63ee08c16d32c363c8638163 +0 -0
- data/test/dummy/tmp/cache/assets/CDD/D40/sprockets%2Fb576ec16362bed40601d284642e4e65f +0 -0
- data/test/dummy/tmp/cache/assets/CDE/000/sprockets%2Fe97433dd8b48edad9812b060532a3616 +0 -0
- data/test/dummy/tmp/cache/assets/CDE/140/sprockets%2F851c91b0bb7b4f177553597cf8ca1043 +0 -0
- data/test/dummy/tmp/cache/assets/CDE/F80/sprockets%2F0f0a327295671d4a71e54cc90a9ef608 +0 -0
- data/test/dummy/tmp/cache/assets/CE0/680/sprockets%2F574bb703603a713ac76ff8f20dc73658 +0 -0
- data/test/dummy/tmp/cache/assets/CE0/F70/sprockets%2F5f626eb3d0e9861907861afe5612a00f +0 -0
- data/test/dummy/tmp/cache/assets/CE1/990/sprockets%2F5334706128d5d744f211efe5e1a4c69f +0 -0
- data/test/dummy/tmp/cache/assets/CE1/A60/sprockets%2Fc25ce483202a35f7574cb39717ba929c +0 -0
- data/test/dummy/tmp/cache/assets/CE2/4B0/sprockets%2F93a5af891560bd8a5292f2f0b9307e34 +0 -0
- data/test/dummy/tmp/cache/assets/CE2/E50/sprockets%2F15a14263195fc451ea7eb4ce86c56872 +0 -0
- data/test/dummy/tmp/cache/assets/CE3/B40/sprockets%2F7b599dfd5a2a00872ac28ba983832094 +0 -0
- data/test/dummy/tmp/cache/assets/CE4/350/sprockets%2F265c265a5e41393b3d5e7d639bf0a496 +0 -0
- data/test/dummy/tmp/cache/assets/CE5/5B0/sprockets%2F9ba69a933006592e5570cf6e60a86b2e +0 -0
- data/test/dummy/tmp/cache/assets/CE5/7E0/sprockets%2F1ffd3469b370f7b79022757f4cfe1403 +0 -0
- data/test/dummy/tmp/cache/assets/CE6/0D0/sprockets%2F4d0d42d933e80526e6498de7ac597a01 +0 -0
- data/test/dummy/tmp/cache/assets/CE6/1A0/sprockets%2F914de32827cb63c586780e7b60a0dc77 +0 -0
- data/test/dummy/tmp/cache/assets/CE6/CE0/sprockets%2F5110c98e00cb6a5f0154eb0a1c12a027 +0 -0
- data/test/dummy/tmp/cache/assets/CE7/050/sprockets%2F82c0f75e42815fd25931f7efbf476121 +0 -0
- data/test/dummy/tmp/cache/assets/CE7/C30/sprockets%2F6804fdb4e5322536e5496cda8a538d17 +0 -0
- data/test/dummy/tmp/cache/assets/CE8/690/sprockets%2F4d6aa28aa542f1e7b5941992cb738972 +0 -0
- data/test/dummy/tmp/cache/assets/CE8/6E0/sprockets%2F8923777ce0d4b72fb555e68172a2cb64 +0 -0
- data/test/dummy/tmp/cache/assets/CE9/260/sprockets%2F20e1d59afc58e2ba50296184927fd568 +0 -0
- data/test/dummy/tmp/cache/assets/CE9/A20/sprockets%2F9bc63f08d44e8c1117c1460496a7e86f +0 -0
- data/test/dummy/tmp/cache/assets/CE9/B80/sprockets%2F5b2c5115ef4f940777455ffec4f26073 +0 -0
- data/test/dummy/tmp/cache/assets/CE9/EB0/sprockets%2F7f84d056b7fe2b725f7932aa23a66844 +0 -0
- data/test/dummy/tmp/cache/assets/CEC/CF0/sprockets%2F7d24293c4dd5e394e4fc986d91e13323 +0 -0
- data/test/dummy/tmp/cache/assets/CEC/DA0/sprockets%2F977a164588d50ff9b2b40c39a79a6c06 +0 -0
- data/test/dummy/tmp/cache/assets/CED/CF0/sprockets%2F74a2cf33276e4898e45eed1a73180b79 +0 -0
- data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/test/dummy/tmp/cache/assets/CF0/E20/sprockets%2Ff99883cd6c0d6948912163ea70e1a77b +0 -0
- data/test/dummy/tmp/cache/assets/CF2/0F0/sprockets%2Fba5069468c4d33d87e1693bed71e7828 +0 -0
- data/test/dummy/tmp/cache/assets/CF3/070/sprockets%2F58eff2332972bb5992d8cf77a542835a +0 -0
- data/test/dummy/tmp/cache/assets/CF5/440/sprockets%2F763177da4ee86d55459c0e67d0ff8471 +0 -0
- data/test/dummy/tmp/cache/assets/CF6/610/sprockets%2Fa9939681583396390d7a6db5ef6ac71d +0 -0
- data/test/dummy/tmp/cache/assets/CF6/9E0/sprockets%2Ff3c0e6e191993ce3d97cb35929d18197 +0 -0
- data/test/dummy/tmp/cache/assets/CF8/E20/sprockets%2F04404b5427d0fa1409084aa2e7c3cbd8 +0 -0
- data/test/dummy/tmp/cache/assets/CFA/F90/sprockets%2F9963d85bcc2128785c833cb6b549c7f9 +0 -0
- data/test/dummy/tmp/cache/assets/CFA/FF0/sprockets%2Fa6545f61c7de6879eb67484098a462cf +0 -0
- data/test/dummy/tmp/cache/assets/CFC/350/sprockets%2Fb5801d1da3bbb5345b61cc825306f825 +0 -0
- data/test/dummy/tmp/cache/assets/CFC/630/sprockets%2F432f958a494fd38f3f37b89567ae307f +0 -0
- data/test/dummy/tmp/cache/assets/CFD/270/sprockets%2Fc745cd989d73367f34afec4c47897117 +0 -0
- data/test/dummy/tmp/cache/assets/CFD/710/sprockets%2Fbc0c3a445b706b06a105e27283c7c86d +0 -0
- data/test/dummy/tmp/cache/assets/CFD/B60/sprockets%2Ff12843c2e0032ed43f125a7f9b109a2f +0 -0
- data/test/dummy/tmp/cache/assets/CFE/0F0/sprockets%2Fe98895972601a6cc7ab8d9f069a529b9 +0 -0
- data/test/dummy/tmp/cache/assets/D01/560/sprockets%2F04a744ea7118f43a7a27c24bcd642e71 +0 -0
- data/test/dummy/tmp/cache/assets/D01/590/sprockets%2F9bad11726f5d1f504ce12d8033d1f139 +0 -0
- data/test/dummy/tmp/cache/assets/D02/2C0/sprockets%2Fd73b46ed6a762df701e311a74ae11922 +0 -0
- data/test/dummy/tmp/cache/assets/D02/640/sprockets%2F6d5e6c58fd5f03e2085101ef10e6f001 +0 -0
- data/test/dummy/tmp/cache/assets/D02/E40/sprockets%2Fa9cebd54c414f85c03f7b3139f035210 +0 -0
- data/test/dummy/tmp/cache/assets/D06/F80/sprockets%2F2afddf336526f2108d7556508cd0b31d +0 -0
- data/test/dummy/tmp/cache/assets/D08/4D0/sprockets%2Fa160637ce029d8b0e13d612cb97a69e3 +0 -0
- data/test/dummy/tmp/cache/assets/D08/5C0/sprockets%2F550ad52ac67d961c444d3757a8d211eb +0 -0
- data/test/dummy/tmp/cache/assets/D08/760/sprockets%2F2473104fe4e449cf4bfe83b52d402a72 +0 -0
- data/test/dummy/tmp/cache/assets/D09/130/sprockets%2F4f3f2b2d7797011422ca58b088dfc4c1 +0 -0
- data/test/dummy/tmp/cache/assets/D09/190/sprockets%2F71fe58d509e365a1f075f06fa02e2b24 +0 -0
- data/test/dummy/tmp/cache/assets/D0A/690/sprockets%2F8bb7894de97fb8480d98129f5c65794c +0 -0
- data/test/dummy/tmp/cache/assets/D0B/9F0/sprockets%2F61079c4cb9b1cb5694950218aeb01ed8 +0 -0
- data/test/dummy/tmp/cache/assets/D0C/F90/sprockets%2Fc835c94f6e5d2507b7d5108bbf33d150 +0 -0
- data/test/dummy/tmp/cache/assets/D0D/500/sprockets%2Fe9df7097196f12161bd1e81c2c5e0a18 +0 -0
- data/test/dummy/tmp/cache/assets/D0D/800/sprockets%2Fca77562e78d1945a2ba47c257074be1b +0 -0
- data/test/dummy/tmp/cache/assets/D0D/B90/sprockets%2Fa948d9c1d5112b935641e39e5adad406 +0 -0
- data/test/dummy/tmp/cache/assets/D0D/EC0/sprockets%2F78e6ad15884b3128b31b2b33c9dc5d28 +0 -0
- data/test/dummy/tmp/cache/assets/D0E/970/sprockets%2Ff4346553df4bcb0293ec44436ceb7445 +0 -0
- data/test/dummy/tmp/cache/assets/D0E/C50/sprockets%2F3857156331637ee1fbac0d2ee6c077e5 +0 -0
- data/test/dummy/tmp/cache/assets/D0F/E60/sprockets%2F1e18f8d3084d0d11e871c43c9923da9b +0 -0
- data/test/dummy/tmp/cache/assets/D11/480/sprockets%2F9abb3f39da45da15e51996a03d458625 +0 -0
- data/test/dummy/tmp/cache/assets/D11/500/sprockets%2F3639b6f984cae1c94702d1ad2306ed66 +0 -0
- data/test/dummy/tmp/cache/assets/D11/570/sprockets%2Fb05e6530b69847a4b5064ab78bc83d8c +0 -0
- data/test/dummy/tmp/cache/assets/D11/A30/sprockets%2Ff8e47f36b1ab958267a330d882baa129 +0 -0
- data/test/dummy/tmp/cache/assets/D13/050/sprockets%2Fbabf84b54e50b709867265a852f49ac0 +0 -0
- data/test/dummy/tmp/cache/assets/D13/070/sprockets%2F0ccc67084360d9b43ce3737427fd2c9e +0 -0
- data/test/dummy/tmp/cache/assets/D13/120/sprockets%2Fd2e5b5a7e1b3071528d6e58ab79f5426 +0 -0
- data/test/dummy/tmp/cache/assets/D13/270/sprockets%2Fce909c16cf3808c14f5c28b95006ee43 +0 -0
- data/test/dummy/tmp/cache/assets/D13/B90/sprockets%2F805ac5f993e6cab507a8532f5bb40883 +0 -0
- data/test/dummy/tmp/cache/assets/D14/A40/sprockets%2F42754518d7e0ebf48fd64f3d387d102a +0 -0
- data/test/dummy/tmp/cache/assets/D14/B10/sprockets%2Ff38863f0920a58989fac3b39b01a8ae0 +0 -0
- data/test/dummy/tmp/cache/assets/D15/0B0/sprockets%2Fd5149b844d7a98c07c7ba2a61334ef49 +0 -0
- data/test/dummy/tmp/cache/assets/D15/8F0/sprockets%2F8b0888b329d337e1167e0d25c49ebd2e +0 -0
- data/test/dummy/tmp/cache/assets/D15/CE0/sprockets%2Fdade526d1ef2c411639d80985b8725b5 +0 -0
- data/test/dummy/tmp/cache/assets/D15/E00/sprockets%2F9ee2fbb12247382968b720fbbd35c729 +0 -0
- data/test/dummy/tmp/cache/assets/D15/EC0/sprockets%2F6d0bde1aa84292c30b1003ac230fb254 +0 -0
- data/test/dummy/tmp/cache/assets/D16/920/sprockets%2F7f5b385e40fd83a24f148722b9a4b65f +0 -0
- data/test/dummy/tmp/cache/assets/D16/B40/sprockets%2Fc1e0e33847ba7d65fb40fd674544485e +0 -0
- data/test/dummy/tmp/cache/assets/D16/FE0/sprockets%2F514d67b58770ab16259b9f5c53e5f4ab +0 -0
- data/test/dummy/tmp/cache/assets/D17/220/sprockets%2F97927ed522c7f6a7e4f184b0c084a6a4 +0 -0
- data/test/dummy/tmp/cache/assets/D17/8C0/sprockets%2Fdff966f193f4c8026a3ae110287737dd +0 -0
- data/test/dummy/tmp/cache/assets/D18/A30/sprockets%2F901a1bfb87fa6d5563e7e55632f6b375 +0 -0
- data/test/dummy/tmp/cache/assets/D18/FB0/sprockets%2F948c078adb346c2b9e3e4e794d054d60 +0 -0
- data/test/dummy/tmp/cache/assets/D19/CB0/sprockets%2Fcac38332595f72fe9156b55d1f55c92b +0 -0
- data/test/dummy/tmp/cache/assets/D1A/B60/sprockets%2Fdcf768d806243bfa34e6ef20902795f3 +0 -0
- data/test/dummy/tmp/cache/assets/D1B/350/sprockets%2F383e9fa9d5a7d053391b3fbe5c167863 +0 -0
- data/test/dummy/tmp/cache/assets/D1B/660/sprockets%2Fdd39ad391b6e318822eb3779cb465f36 +0 -0
- data/test/dummy/tmp/cache/assets/D1C/F40/sprockets%2F0d33b8f2d9fb681d65c0926364c5f7c8 +0 -0
- data/test/dummy/tmp/cache/assets/D1D/220/sprockets%2F847c4b2bf7db2f731f17556fa2f67809 +0 -0
- data/test/dummy/tmp/cache/assets/D1F/150/sprockets%2Fa123aa32899798a9f2f1f046fe76bc94 +0 -0
- data/test/dummy/tmp/cache/assets/D1F/990/sprockets%2F0229af100a7137b13cb36acf7c1843ba +0 -0
- data/test/dummy/tmp/cache/assets/D1F/DE0/sprockets%2Fc489f1afba2df21817e4a999496c0943 +0 -0
- data/test/dummy/tmp/cache/assets/D23/CF0/sprockets%2F0e77db800c24be23b153dead25322b26 +0 -0
- data/test/dummy/tmp/cache/assets/D23/EA0/sprockets%2F5c4b2f6109d6f098b259bc2736f94e9f +0 -0
- data/test/dummy/tmp/cache/assets/D25/300/sprockets%2Fc1788b2da83f9a01e957d9d74497f0c6 +0 -0
- data/test/dummy/tmp/cache/assets/D25/4A0/sprockets%2F6da119011fd1c4afc2c8cec032692151 +0 -0
- data/test/dummy/tmp/cache/assets/D26/530/sprockets%2F818dd91d72b47a76578e1789fe7ad0d2 +0 -0
- data/test/dummy/tmp/cache/assets/D27/940/sprockets%2F7765f5936c6eee1166f57e0f883cb17b +0 -0
- data/test/dummy/tmp/cache/assets/D28/9F0/sprockets%2Fa19ac5ae78c7137516a5799609fdf69e +0 -0
- data/test/dummy/tmp/cache/assets/D29/730/sprockets%2Fe4c91c7a22fb37e3037a2e0b77ec1102 +0 -0
- data/test/dummy/tmp/cache/assets/D2A/E60/sprockets%2F7025f1229a2a1d7ea814efad0473d05b +0 -0
- data/test/dummy/tmp/cache/assets/D2B/4C0/sprockets%2Feb44438184c4b3c490f4b0b127dba24c +0 -0
- data/test/dummy/tmp/cache/assets/D2B/F50/sprockets%2Fe26eda13a54cd6200413fd8245a5e36b +0 -0
- data/test/dummy/tmp/cache/assets/D2C/B30/sprockets%2F17ffe8089e75f2a8f32f36fd6554a793 +0 -0
- data/test/dummy/tmp/cache/assets/D2D/3B0/sprockets%2Fa138b75a5452409b2eba70a3248fcc1f +0 -0
- data/test/dummy/tmp/cache/assets/D2D/460/sprockets%2F331b76daab2794678cd6a5e42e010ab1 +0 -0
- data/test/dummy/tmp/cache/assets/D2E/810/sprockets%2Fb1855e47730873ec79f8ff3ad792c79b +0 -0
- data/test/dummy/tmp/cache/assets/D2E/AE0/sprockets%2F320b52115ecb6998f00abf7ad00e26c8 +0 -0
- data/test/dummy/tmp/cache/assets/D30/110/sprockets%2Fb0040b0738cb8a55272b28f641fffcd1 +0 -0
- data/test/dummy/tmp/cache/assets/D31/780/sprockets%2F56108beeaa03b0831f1cbf8a269817c3 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A00/sprockets%2Fe0f2020ee5e383f19c42f0a00566fd7c +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D34/3D0/sprockets%2F119d40a8f2a43038578ff0f6b0da4d2d +0 -0
- data/test/dummy/tmp/cache/assets/D34/5C0/sprockets%2F904c9b8fddca30f8ac0061367513f2d2 +0 -0
- data/test/dummy/tmp/cache/assets/D34/800/sprockets%2F9b41851c5133ffabbc40861ba79527ba +0 -0
- data/test/dummy/tmp/cache/assets/D36/340/sprockets%2Ff0143d2bc0f90ea4d33b6597c592e2c4 +0 -0
- data/test/dummy/tmp/cache/assets/D36/DD0/sprockets%2F33ca018764d31fbf5187366aaea616eb +0 -0
- data/test/dummy/tmp/cache/assets/D37/480/sprockets%2F101629fc7aaf58f0f21aa7f976d2b313 +0 -0
- data/test/dummy/tmp/cache/assets/D37/7A0/sprockets%2Fe81d470a3d42215c3de7739ecf23db42 +0 -0
- data/test/dummy/tmp/cache/assets/D37/960/sprockets%2F61a6af3eff42bab11629ba9610a61898 +0 -0
- data/test/dummy/tmp/cache/assets/D37/A30/sprockets%2F97e5740333f81b8bebf5b0b1abd93305 +0 -0
- data/test/dummy/tmp/cache/assets/D38/4D0/sprockets%2F9ba117f1b040c2a45bd5848474eed7a7 +0 -0
- data/test/dummy/tmp/cache/assets/D38/540/sprockets%2F86e1ad844bc9df4491a2a52b870421db +0 -0
- data/test/dummy/tmp/cache/assets/D38/8A0/sprockets%2F1f1e7f16400f3c4b814ec9b254bb5f83 +0 -0
- data/test/dummy/tmp/cache/assets/D38/8F0/sprockets%2F1c4d30cdafd61299103b235af5e958b7 +0 -0
- data/test/dummy/tmp/cache/assets/D38/9D0/sprockets%2F5bd3c62f2076b688ba1a8bee052e4364 +0 -0
- data/test/dummy/tmp/cache/assets/D39/6C0/sprockets%2F21f41594eb00f4477d6beb038a2f6bd7 +0 -0
- data/test/dummy/tmp/cache/assets/D39/940/sprockets%2F07b30d0d5f5480b06e7a5d9540fae9a7 +0 -0
- data/test/dummy/tmp/cache/assets/D39/B40/sprockets%2Fad8f11451a28c67435bc69c7c303b4ee +0 -0
- data/test/dummy/tmp/cache/assets/D3A/9D0/sprockets%2Fb4c4d44120bb4654e97cf9b2900c6eb7 +0 -0
- data/test/dummy/tmp/cache/assets/D3B/9D0/sprockets%2Fbe23efc42b103a6190e6b77e0aa86888 +0 -0
- data/test/dummy/tmp/cache/assets/D3B/A50/sprockets%2F7cd55ad8b822b0e5f860da7e6c804321 +0 -0
- data/test/dummy/tmp/cache/assets/D3C/840/sprockets%2F2cc9f2f6f2813d2734d152eb0d3a27f9 +0 -0
- data/test/dummy/tmp/cache/assets/D3C/960/sprockets%2F64bc8df36b55c0af96b209630ff22f41 +0 -0
- data/test/dummy/tmp/cache/assets/D3D/1A0/sprockets%2F4d98b3e2964a665d090dc05ceb26f04b +0 -0
- data/test/dummy/tmp/cache/assets/D3D/830/sprockets%2Fe0cddff2df836c4a507c3c7889101702 +0 -0
- data/test/dummy/tmp/cache/assets/D3E/BA0/sprockets%2Ff61844e1ee3a7d1425bdc3c524b9864c +0 -0
- data/test/dummy/tmp/cache/assets/D3F/730/sprockets%2F42e5b389fd468b620820e30feba48a4f +0 -0
- data/test/dummy/tmp/cache/assets/D3F/D60/sprockets%2Fc4be91aa2c15835ee9463297d1d1cf63 +0 -0
- data/test/dummy/tmp/cache/assets/D40/2F0/sprockets%2F4e62f80b61f6ba86e7e4422d55192acd +0 -0
- data/test/dummy/tmp/cache/assets/D40/450/sprockets%2Fbb52e6c1d4033d98782eb3e6953ea13f +0 -0
- data/test/dummy/tmp/cache/assets/D40/A70/sprockets%2F9fc97e7cb3f02054434fc6d5b92560aa +0 -0
- data/test/dummy/tmp/cache/assets/D41/560/sprockets%2F80dacf68f8f4c072cc8e2600993124ea +0 -0
- data/test/dummy/tmp/cache/assets/D41/650/sprockets%2F6e9c347ae1b83e9f48b7a13e0fe50630 +0 -0
- data/test/dummy/tmp/cache/assets/D42/370/sprockets%2F6cc76bba170617de617563a983fb82bd +0 -0
- data/test/dummy/tmp/cache/assets/D43/3D0/sprockets%2F8ada471f7421754fee5fbf924129fc02 +0 -0
- data/test/dummy/tmp/cache/assets/D43/7C0/sprockets%2F8e5114ada2934ee254f7ece612c9d249 +0 -0
- data/test/dummy/tmp/cache/assets/D43/950/sprockets%2F4daa403e1633b51ae8a13cb1334ec00a +0 -0
- data/test/dummy/tmp/cache/assets/D43/E00/sprockets%2Fc4c5ff4471dfaa6231dc699271f5406f +0 -0
- data/test/dummy/tmp/cache/assets/D44/0A0/sprockets%2Fa6f7ddb2d883616fd31562ff0f4c5173 +0 -0
- data/test/dummy/tmp/cache/assets/D44/E90/sprockets%2F1216c14a8fb1c0c982e86dd6c8ef9425 +0 -0
- data/test/dummy/tmp/cache/assets/D45/580/sprockets%2F7c3eeca57727e72e6b272c1c836cd049 +0 -0
- data/test/dummy/tmp/cache/assets/D46/6E0/sprockets%2Fbd1d8ec68a8962ff1832082bc158ee33 +0 -0
- data/test/dummy/tmp/cache/assets/D46/8E0/sprockets%2Fb35bf69c999ecf20641b357ad13a819c +0 -0
- data/test/dummy/tmp/cache/assets/D48/470/sprockets%2F5031e9bffd9c3b316bfb718e8e925444 +0 -0
- data/test/dummy/tmp/cache/assets/D48/640/sprockets%2F9f4f18d910b678b1d0777e04cdaf6f24 +0 -0
- data/test/dummy/tmp/cache/assets/D49/BB0/sprockets%2F7b540757fd5b74d7e28cf951f402a6fa +0 -0
- data/test/dummy/tmp/cache/assets/D4A/050/sprockets%2F624bb566309f6ab88f4eebd1a76f5167 +0 -0
- data/test/dummy/tmp/cache/assets/D4A/590/sprockets%2F83b19be32a99cbc53d6b1593ff59573a +0 -0
- data/test/dummy/tmp/cache/assets/D4A/F90/sprockets%2Fcf6b86c748033f0a17b7cc831c6d58f9 +0 -0
- data/test/dummy/tmp/cache/assets/D4B/1D0/sprockets%2F0769c4e1883fbee89ccfa684319051bb +0 -0
- data/test/dummy/tmp/cache/assets/D4C/100/sprockets%2Ff6ad0962972e10a956e6a85dd7c358db +0 -0
- data/test/dummy/tmp/cache/assets/D4D/DF0/sprockets%2Feb951b6de7e9a824c622816c85473cde +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/B80/sprockets%2F12b0ea98f9192449e82d8ae7d185dbd6 +0 -0
- data/test/dummy/tmp/cache/assets/D4F/1F0/sprockets%2F2824f2530a0ac36c117a2afcac736a6a +0 -0
- data/test/dummy/tmp/cache/assets/D50/3C0/sprockets%2F178a6e5098feedc2b5ae759413b77d83 +0 -0
- data/test/dummy/tmp/cache/assets/D50/D70/sprockets%2F13297c9f3a654ebe511fc93c9c7d974c +0 -0
- data/test/dummy/tmp/cache/assets/D52/B60/sprockets%2Ff845b7f41c8cb98d13b90964a92e9e2c +0 -0
- data/test/dummy/tmp/cache/assets/D53/120/sprockets%2F6bfa5aab9fb0247002900e73cc2eb206 +0 -0
- data/test/dummy/tmp/cache/assets/D54/C50/sprockets%2F011c250cecb491f0716c2d35db11d5ef +0 -0
- data/test/dummy/tmp/cache/assets/D55/CF0/sprockets%2F7d7fe3b68cb317492f290a6f57b2f79f +0 -0
- data/test/dummy/tmp/cache/assets/D56/060/sprockets%2F3cc85144bd659faafd4ba12514a04a41 +0 -0
- data/test/dummy/tmp/cache/assets/D56/8B0/sprockets%2Fd07237e557b67cf8dc3d7f9993fad027 +0 -0
- data/test/dummy/tmp/cache/assets/D58/030/sprockets%2F20c195c0206544ad0039cc7eaddff13d +0 -0
- data/test/dummy/tmp/cache/assets/D58/3E0/sprockets%2Fc24b0c6ca152dc28e8d957a036d10bc1 +0 -0
- data/test/dummy/tmp/cache/assets/D58/D30/sprockets%2Ff15a54b9f439372e8f8b4a68778c5eea +0 -0
- data/test/dummy/tmp/cache/assets/D59/D70/sprockets%2Fed9f0de1b65ae8d7ef89087c83728461 +0 -0
- data/test/dummy/tmp/cache/assets/D59/F60/sprockets%2Fa60b09ec201afe4006f5363c33d76eac +0 -0
- data/test/dummy/tmp/cache/assets/D59/FD0/sprockets%2Ff3ed2c82c99fe2e39994837f0aa8346d +0 -0
- data/test/dummy/tmp/cache/assets/D5A/DA0/sprockets%2Fd1c25b1bd44d0def57ce592c912100f1 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/E70/sprockets%2F206e1e7e85af42e0d1eeb0b061028fd2 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D5C/DD0/sprockets%2Feec24d1953ff13e02858b0aac10a076e +0 -0
- data/test/dummy/tmp/cache/assets/D5D/1A0/sprockets%2Faa06db4710c1a4b247d56b385daec719 +0 -0
- data/test/dummy/tmp/cache/assets/D5D/990/sprockets%2F51fcb2d63f0aa308af357e3127eac616 +0 -0
- data/test/dummy/tmp/cache/assets/D5D/CE0/sprockets%2Fc30fd9a32d15a079b2b0cb99865bab20 +0 -0
- data/test/dummy/tmp/cache/assets/D5E/B80/sprockets%2Fe625810245c919dc11b09d0fe0fbfb2a +0 -0
- data/test/dummy/tmp/cache/assets/D5E/F20/sprockets%2F752a76745e38ed8f3aee8bd996a9b366 +0 -0
- data/test/dummy/tmp/cache/assets/D60/C60/sprockets%2Fdb27de9df2ccd7874c6798689219b17e +0 -0
- data/test/dummy/tmp/cache/assets/D60/CC0/sprockets%2F94b21cc1744250cb2ddcb8d8c80e813a +0 -0
- data/test/dummy/tmp/cache/assets/D61/A70/sprockets%2Fddd9348f4a2f2224a3f214a7d5ea12f3 +0 -0
- data/test/dummy/tmp/cache/assets/D61/EA0/sprockets%2F1bf460ff6016c9a0300ef911b4dd96db +0 -0
- data/test/dummy/tmp/cache/assets/D62/DB0/sprockets%2Fda35aee549e43a36049ab2ac3e27713d +0 -0
- data/test/dummy/tmp/cache/assets/D63/110/sprockets%2F9d0225436ad44c81b4c2c54e1ffd8bb2 +0 -0
- data/test/dummy/tmp/cache/assets/D63/420/sprockets%2F5d1b25fd4631fd4b6077fd6c4aac1155 +0 -0
- data/test/dummy/tmp/cache/assets/D63/8B0/sprockets%2Ffd68b2a5725a037c42c2aefe4417ec05 +0 -0
- data/test/dummy/tmp/cache/assets/D64/FC0/sprockets%2F949311ddda0a051ffab848db9b50a591 +0 -0
- data/test/dummy/tmp/cache/assets/D65/560/sprockets%2F33385b9c98a3a1cb3b45e330ced1dc75 +0 -0
- data/test/dummy/tmp/cache/assets/D66/750/sprockets%2Fd4153ec333cf53abf1c7abd718c02689 +0 -0
- data/test/dummy/tmp/cache/assets/D67/270/sprockets%2F2bd6d8a7baa62843bcc05e5d2239256f +0 -0
- data/test/dummy/tmp/cache/assets/D68/3B0/sprockets%2Fe0ac076b844e6c350abc027feb685e91 +0 -0
- data/test/dummy/tmp/cache/assets/D68/870/sprockets%2F7a92d35590718f3fb11c95add4a5bb3a +0 -0
- data/test/dummy/tmp/cache/assets/D68/980/sprockets%2F63eabb497ea33b281c722fc7b12f95d1 +0 -0
- data/test/dummy/tmp/cache/assets/D68/DE0/sprockets%2F7d630ecce0c227377a609deed09a332e +0 -0
- data/test/dummy/tmp/cache/assets/D69/570/sprockets%2Ff54291dc566dc2a25ccd0d55a6e8209b +0 -0
- data/test/dummy/tmp/cache/assets/D69/900/sprockets%2Ff0a07be0d41e5cb998f70020effb8048 +0 -0
- data/test/dummy/tmp/cache/assets/D6A/000/sprockets%2Fbb7461dd924cbd860e8cae2a0e921079 +0 -0
- data/test/dummy/tmp/cache/assets/D6A/110/sprockets%2Fb93ff472ebb3773cd9b412fbb47c2502 +0 -0
- data/test/dummy/tmp/cache/assets/D6A/2F0/sprockets%2Fffe90709b05c7ac131463faada7d4395 +0 -0
- data/test/dummy/tmp/cache/assets/D6B/010/sprockets%2Fde174944909ea6c90acc19a0ab576dd0 +0 -0
- data/test/dummy/tmp/cache/assets/D6B/ED0/sprockets%2F95316224abccb0d08782d77dda95abc8 +0 -0
- data/test/dummy/tmp/cache/assets/D6C/AC0/sprockets%2F97aac3f84c8a14d18caa957ed41613e1 +0 -0
- data/test/dummy/tmp/cache/assets/D6E/F90/sprockets%2F543aa025557a09fe4e19aed7b77b0ee7 +0 -0
- data/test/dummy/tmp/cache/assets/D6F/5B0/sprockets%2Fc0a3a580c584caaa292d939c2d999b2f +0 -0
- data/test/dummy/tmp/cache/assets/D6F/AA0/sprockets%2F6ba461f33c45ba3ca198cb5f177d49d7 +0 -0
- data/test/dummy/tmp/cache/assets/D70/1D0/sprockets%2F1920e0a4ad06e9d71d89f3cecd56084e +0 -0
- data/test/dummy/tmp/cache/assets/D70/620/sprockets%2Fb7a0b3fec35d697aaa981766c325d9b1 +0 -0
- data/test/dummy/tmp/cache/assets/D70/880/sprockets%2F3ff7edf6019d5b55c68c1f43d7b6100d +0 -0
- data/test/dummy/tmp/cache/assets/D70/B80/sprockets%2Ff66eaed3de611551ae84d6e34b04d495 +0 -0
- data/test/dummy/tmp/cache/assets/D71/760/sprockets%2Fc64381994a923ace4c5e2e5c178ba4fa +0 -0
- data/test/dummy/tmp/cache/assets/D72/3D0/sprockets%2F923ba252f3fd65b366e437c6ddbd278b +0 -0
- data/test/dummy/tmp/cache/assets/D72/E60/sprockets%2F22cd61e47198a268f3be5aebf3534cd8 +0 -0
- data/test/dummy/tmp/cache/assets/D73/020/sprockets%2F2e306d7c72e689d14fadcf72dc7327c1 +0 -0
- data/test/dummy/tmp/cache/assets/D73/9B0/sprockets%2Ff8a186d6bf7a3faad8829b9aa1881006 +0 -0
- data/test/dummy/tmp/cache/assets/D73/A90/sprockets%2F887d5caf9ac104401916ca75fcff08a8 +0 -0
- data/test/dummy/tmp/cache/assets/D74/960/sprockets%2F493fabdec98fe58d0c36db7821521a63 +0 -0
- data/test/dummy/tmp/cache/assets/D75/460/sprockets%2F8cd8795055b081fd1be3e7fa2785dca2 +0 -0
- data/test/dummy/tmp/cache/assets/D75/510/sprockets%2Fb4491f28776c3b33b589fcb590aedc2c +0 -0
- data/test/dummy/tmp/cache/assets/D75/600/sprockets%2F2afafb282ed0628408f76753fbc9df51 +0 -0
- data/test/dummy/tmp/cache/assets/D75/840/sprockets%2F9937d516ad47438fccb8f0815fe2ab3a +0 -0
- data/test/dummy/tmp/cache/assets/D76/CF0/sprockets%2F7ec2368edb7eb22a3fd702a4272e9e89 +0 -0
- data/test/dummy/tmp/cache/assets/D77/440/sprockets%2F938ff041ac8b9346fa3d51cffd0675b7 +0 -0
- data/test/dummy/tmp/cache/assets/D77/580/sprockets%2Fa8dd3ed803c736f6995bf1543d0d8be1 +0 -0
- data/test/dummy/tmp/cache/assets/D77/720/sprockets%2Fffe40f92385ceb1311ae53d77f948ad5 +0 -0
- data/test/dummy/tmp/cache/assets/D77/C50/sprockets%2F0d3dac59d5038274467ffb8dbfd5924b +0 -0
- data/test/dummy/tmp/cache/assets/D78/100/sprockets%2F0f618f82a476ad93a8c199c9c6bbfa50 +0 -0
- data/test/dummy/tmp/cache/assets/D78/490/sprockets%2Fe2986e19baeda4ad61a7999a44303e8c +0 -0
- data/test/dummy/tmp/cache/assets/D78/5E0/sprockets%2Fd8e4db6d4b7de69d0d28f4a627124f81 +0 -0
- data/test/dummy/tmp/cache/assets/D78/C40/sprockets%2F95d8ee0f10fcadca3927427c3990b99a +0 -0
- data/test/dummy/tmp/cache/assets/D79/440/sprockets%2Fabd1b8188900ee5afcef4a486673855d +0 -0
- data/test/dummy/tmp/cache/assets/D79/750/sprockets%2F624cecec55d5d244b8b935f06e57b4e8 +0 -0
- data/test/dummy/tmp/cache/assets/D79/BD0/sprockets%2Fa28334562f4a5947f684bdcfefe2b65a +0 -0
- data/test/dummy/tmp/cache/assets/D7B/470/sprockets%2F4628828d5fded2770f9d4541cacc0f9c +0 -0
- data/test/dummy/tmp/cache/assets/D7B/920/sprockets%2Fda69e29ee3ffe7a2c63781c7d10593d3 +0 -0
- data/test/dummy/tmp/cache/assets/D7C/510/sprockets%2F779ca358c6e034a723cbeca985fb84d7 +0 -0
- data/test/dummy/tmp/cache/assets/D7C/B80/sprockets%2Fe00c543f5cfb7825e52c7bf6d299cf38 +0 -0
- data/test/dummy/tmp/cache/assets/D7C/D80/sprockets%2F9dcd822bf5be7ee30d14c04a96785b99 +0 -0
- data/test/dummy/tmp/cache/assets/D7C/F50/sprockets%2Fc3ac208cec41908ff3393197ccd789ee +0 -0
- data/test/dummy/tmp/cache/assets/D7E/600/sprockets%2F73cfa96224daea00c732aebb0413f12b +0 -0
- data/test/dummy/tmp/cache/assets/D7E/CE0/sprockets%2F480dd37fe4cf71f649a5186d5c29dfc2 +0 -0
- data/test/dummy/tmp/cache/assets/D7F/660/sprockets%2Fe856b8fe72d371ddcb9a6d961317f36c +0 -0
- data/test/dummy/tmp/cache/assets/D80/310/sprockets%2Fd20319d8ef9238666d8dead0ccd6675f +0 -0
- data/test/dummy/tmp/cache/assets/D80/550/sprockets%2F9f26fe839674331ce8ba44ee79edc0a4 +0 -0
- data/test/dummy/tmp/cache/assets/D80/CD0/sprockets%2Fe77d6be07ff62e4fc47e35d4c04d8853 +0 -0
- data/test/dummy/tmp/cache/assets/D80/ED0/sprockets%2F0a56cc02f4f6620064b5dbb91bfa20bb +0 -0
- data/test/dummy/tmp/cache/assets/D81/DD0/sprockets%2Ffffebdff398ef962880d3810b514082f +0 -0
- data/test/dummy/tmp/cache/assets/D82/540/sprockets%2F850ad4b014aea40e7abeed224d30763b +0 -0
- data/test/dummy/tmp/cache/assets/D84/550/sprockets%2Fbc1fc79d543f504d2e8581ce6ee68d78 +0 -0
- data/test/dummy/tmp/cache/assets/D86/330/sprockets%2Fe262ff5799f085cfc9f3c0f9ad090c67 +13 -0
- data/test/dummy/tmp/cache/assets/D87/1F0/sprockets%2F96766fecddb0ec4f87238167d9b7ae90 +0 -0
- data/test/dummy/tmp/cache/assets/D89/790/sprockets%2Fc28cac5b0fbe00ee48e7b0616b34123e +0 -0
- data/test/dummy/tmp/cache/assets/D89/E50/sprockets%2F5198fa00faf0ae724c5a7b0b0047b4df +0 -0
- data/test/dummy/tmp/cache/assets/D8A/160/sprockets%2F3c99b6f39fd9f6a31444944e6fbbfe29 +0 -0
- data/test/dummy/tmp/cache/assets/D8D/0B0/sprockets%2F4e290aaad51d06a4b3e91f88060cad6c +0 -0
- data/test/dummy/tmp/cache/assets/D8F/440/sprockets%2F47623d312f4ac92cbe27e72fdb4a0aa6 +0 -0
- data/test/dummy/tmp/cache/assets/D91/460/sprockets%2Fb7cf39ef8fd9fd950130e779e4847c6d +0 -0
- data/test/dummy/tmp/cache/assets/D92/9A0/sprockets%2Fd055f103c6d30edb8abebb381d2997c1 +0 -0
- data/test/dummy/tmp/cache/assets/D93/190/sprockets%2F4c3c82c0fe91f855df82401f121bdaae +0 -0
- data/test/dummy/tmp/cache/assets/D93/1C0/sprockets%2Ff23b5794b0f2c371a40e4ffaae246cb7 +0 -0
- data/test/dummy/tmp/cache/assets/D93/4C0/sprockets%2F857ecd2092cee11f740b3cf2e373ad2a +0 -0
- data/test/dummy/tmp/cache/assets/D96/5C0/sprockets%2Fec17fb2aa35590948ecdfab12265cd43 +0 -0
- data/test/dummy/tmp/cache/assets/D96/5E0/sprockets%2F8ab3acca6a547a8f9521fbc1e76b1129 +0 -0
- data/test/dummy/tmp/cache/assets/D97/950/sprockets%2Fb599ecabbba5b1bb1c025092990966de +0 -0
- data/test/dummy/tmp/cache/assets/D97/BF0/sprockets%2F09df11e5a1e8a6ac6ba8c2ab6f692615 +0 -0
- data/test/dummy/tmp/cache/assets/D98/230/sprockets%2F1ade5eb764fe2cd76faa1241d12259f6 +0 -0
- data/test/dummy/tmp/cache/assets/D98/CD0/sprockets%2Fcafa6a24ecba1f5c899188701d0084dc +0 -0
- data/test/dummy/tmp/cache/assets/D99/390/sprockets%2F68e0acf8be26200d58dcf4edc1c70329 +0 -0
- data/test/dummy/tmp/cache/assets/{DA1/930/sprockets%2F8e0da9449a5212b1faede8db894814ae → D99/8B0/sprockets%2F751a6a4f71b2d265b1a2ba69fe74da9e} +0 -0
- data/test/dummy/tmp/cache/assets/D99/D70/sprockets%2Ff9bd12f1c79a65cab71c8864b2bb7c02 +0 -0
- data/test/dummy/tmp/cache/assets/D9C/CD0/sprockets%2Fc85016e7bbd4f3adbb7635d01f85d39b +0 -0
- data/test/dummy/tmp/cache/assets/D9C/F00/sprockets%2F3e977aee4ddade1c0c397ac4414862d1 +0 -0
- data/test/dummy/tmp/cache/assets/D9C/FC0/sprockets%2F4bb5a2a65c16b0ef27fec77491d1da88 +0 -0
- data/test/dummy/tmp/cache/assets/D9D/AB0/sprockets%2F3a6af815e06da817837c0867e1dbdcad +0 -0
- data/test/dummy/tmp/cache/assets/D9E/3D0/sprockets%2F9e1c6c638a039a1bc71fb3f098ffc0e4 +0 -0
- data/test/dummy/tmp/cache/assets/D9E/8A0/sprockets%2F0a7eeed4a8f1f8254832ab05ebc45f84 +0 -0
- data/test/dummy/tmp/cache/assets/D9F/870/sprockets%2F0ba85295bee19d33738bdd5b0e6ac77c +0 -0
- data/test/dummy/tmp/cache/assets/D9F/EA0/sprockets%2F33a453bf9407af39d63d34bffa5b6c6d +0 -0
- data/test/dummy/tmp/cache/assets/DA0/5B0/sprockets%2Fcb59af26c8dbd9e32b43bc1f628884a0 +0 -0
- data/test/dummy/tmp/cache/assets/DA0/D10/sprockets%2Ff3ea93c25f1ee82c0d968ccc1e542b37 +0 -0
- data/test/dummy/tmp/cache/assets/DA1/270/sprockets%2F2f1f73349032e4ef6bffeb3b6164dd9a +0 -0
- data/test/dummy/tmp/cache/assets/DA1/440/sprockets%2Fabefcd66d26e6dc045535ddf32c08297 +0 -0
- data/test/dummy/tmp/cache/assets/DA1/C50/sprockets%2F6871442f272dc32ae3f5da27dfcfb7f4 +0 -0
- data/test/dummy/tmp/cache/assets/DA2/900/sprockets%2F253fd4c683d31b6ae7d2ec8db9b5c509 +0 -0
- data/test/dummy/tmp/cache/assets/DA3/AF0/sprockets%2F669d9e6e618b3cb21db4063b5eaaf87c +0 -0
- data/test/dummy/tmp/cache/assets/DA4/100/sprockets%2F10c9ed07a7c83a5f8f2fa5827a6c3eb8 +0 -0
- data/test/dummy/tmp/cache/assets/DA5/F50/sprockets%2F6e5e9448aeecbd1a4e242fd346a5d829 +0 -0
- data/test/dummy/tmp/cache/assets/DA6/450/sprockets%2Fddd8a39e9f078ac33133bb71e5365fef +0 -0
- data/test/dummy/tmp/cache/assets/DA7/120/sprockets%2F1bf2a915b5c9ee1fd36c85f5276fe04f +0 -0
- data/test/dummy/tmp/cache/assets/DA9/3A0/sprockets%2F6a93e60a4af9dde11c88ce1f1f5f0698 +0 -0
- data/test/dummy/tmp/cache/assets/DA9/910/sprockets%2Fbb959ba602ab7943a96debe1558da88e +0 -0
- data/test/dummy/tmp/cache/assets/DAA/8E0/sprockets%2Fb59cb9365c263e17d8e9cc72b2f1e8ea +0 -0
- data/test/dummy/tmp/cache/assets/DAA/A50/sprockets%2F8cfa87b2646897bd65abdc6f4a23df51 +0 -0
- data/test/dummy/tmp/cache/assets/DAA/C50/sprockets%2F990e0def657f2f38f0f46ea25c3aa67e +0 -0
- data/test/dummy/tmp/cache/assets/DAC/390/sprockets%2F692b14ff6d597b82d7cb9b7671ddbf0a +0 -0
- data/test/dummy/tmp/cache/assets/DAD/150/sprockets%2F7510e84f786ad386efd0ac4ecf963dc4 +0 -0
- data/test/dummy/tmp/cache/assets/DAD/B00/sprockets%2Fc50f0bb43f1be82d46b3dbaed700d002 +0 -0
- data/test/dummy/tmp/cache/assets/DAF/6A0/sprockets%2Fa10a9fb17fdd3c30a048cfa112fdb441 +0 -0
- data/test/dummy/tmp/cache/assets/DB0/FB0/sprockets%2F7b977859d2c94edcaddb62b75e2a098b +0 -0
- data/test/dummy/tmp/cache/assets/DB4/580/sprockets%2F73cfb0d516a66b01deb0d0c098dfb0d0 +0 -0
- data/test/dummy/tmp/cache/assets/DBE/6D0/sprockets%2Fe6f798b88c87fe64a4e40ead8ad85d37 +0 -0
- data/test/dummy/tmp/cache/assets/DBE/F60/sprockets%2Ff389a1ce4db9c7c6ae03ac1f312fa232 +0 -0
- data/test/dummy/tmp/cache/assets/DBF/D70/sprockets%2F0fb312a776d39a42a8c6cb8ca0d4eb5b +0 -0
- data/test/dummy/tmp/cache/assets/DC0/D20/sprockets%2F348d1dba39ef8d6e48fd02a201a6eaa1 +0 -0
- data/test/dummy/tmp/cache/assets/DC1/330/sprockets%2F0ca5e4ab25ba6b584b50c681b2e2f8ef +0 -0
- data/test/dummy/tmp/cache/assets/DC3/9A0/sprockets%2F4fca05aadb18e1ce743875b3c0eae763 +0 -0
- data/test/dummy/tmp/cache/assets/DC5/990/sprockets%2Fad178a990d23dd1ac46e0bd930dcf46c +0 -0
- data/test/dummy/tmp/cache/assets/DC9/F10/sprockets%2Fef521f1bf8efce0a0ec6c3e6728b0508 +0 -0
- data/test/dummy/tmp/cache/assets/DCA/1A0/sprockets%2Fa340bbf09a7ea93e47ac5dc7b9bc5436 +0 -0
- data/test/dummy/tmp/cache/assets/DCD/6B0/sprockets%2F05ccaeb7ffede091c1708296eacb9713 +0 -0
- data/test/dummy/tmp/cache/assets/DCF/260/sprockets%2Ffa6048415c7ead7b13579c9cbeb8dae0 +0 -0
- data/test/dummy/tmp/cache/assets/DD4/820/sprockets%2F35a959659ad9dc2de1e0fbe3c13d18fd +0 -0
- data/test/dummy/tmp/cache/assets/DD5/2A0/sprockets%2Fef50b031ac1a0fb2e08a2a6ea3fc08b0 +0 -0
- data/test/dummy/tmp/cache/assets/DD5/610/sprockets%2F9e1ba99824f7731edc3489abbaca5ef1 +0 -0
- data/test/dummy/tmp/cache/assets/DD6/330/sprockets%2F7ca77285ccddf7fdab491480fde7c151 +0 -0
- data/test/dummy/tmp/cache/assets/DD7/B50/sprockets%2F7effa89c4b23ab60109f969a9a66ccbc +0 -0
- data/test/dummy/tmp/cache/assets/DD8/2D0/sprockets%2Fc7f10cddd3a3cdccc64580ca85795f99 +0 -0
- data/test/dummy/tmp/cache/assets/DD9/DE0/sprockets%2Fb966cd2ba3e1b3ff91f8b948ec238e2e +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +31 -0
- data/test/dummy/tmp/cache/assets/DDD/390/sprockets%2F97cde4e909ae99d0bacaaf5483a8b944 +0 -0
- data/test/dummy/tmp/cache/assets/DDE/420/sprockets%2Ffb8b186d5bf0307f86f65fc787d2adeb +0 -0
- data/test/dummy/tmp/cache/assets/DDE/960/sprockets%2Ff3399fed917fb2a6f8ff71d4d1ae21b9 +0 -0
- data/test/dummy/tmp/cache/assets/DDF/B10/sprockets%2F74a9645f5a8bb77187bbb49aac2ef9ef +0 -0
- data/test/dummy/tmp/cache/assets/DE1/B90/sprockets%2Fd1da8c874edf3fa186e5e3f3e29e862e +0 -0
- data/test/dummy/tmp/cache/assets/DE2/FF0/sprockets%2F8f58db6f60a268bbf88249eb2d76ecbe +0 -0
- data/test/dummy/tmp/cache/assets/DE5/C00/sprockets%2Fdd9d56992a0f3fe1cbd8b667ec9d09e6 +0 -0
- data/test/dummy/tmp/cache/assets/DE6/DB0/sprockets%2F267addac8fe023b1a311ddad2e25f71d +0 -0
- data/test/dummy/tmp/cache/assets/DE8/2F0/sprockets%2F96f2a8f5f9405bdef3dd3cfd3ee26699 +0 -0
- data/test/dummy/tmp/cache/assets/DEA/ED0/sprockets%2Fa9ece897c9d32df5d53aed7eb5d38973 +0 -0
- data/test/dummy/tmp/cache/assets/DEE/140/sprockets%2F9e7b9f2cc1e4af0aac3a2c630a6823bf +0 -0
- data/test/dummy/tmp/cache/assets/DEF/170/sprockets%2Fb277fe609cadbad6cda3d5440e17e11b +0 -0
- data/test/dummy/tmp/cache/assets/DF1/390/sprockets%2F6e5c959ef6f318f078e7d4a9f6ff3bfb +0 -0
- data/test/dummy/tmp/cache/assets/DF1/AB0/sprockets%2Fe07c10f91a71dedd69d86ce3ac210aeb +0 -0
- data/test/dummy/tmp/cache/assets/DF1/B20/sprockets%2Fdaf37c0f4b45bd9e7261afd02a1e3b5f +0 -0
- data/test/dummy/tmp/cache/assets/DF3/5D0/sprockets%2Fbded3ce230d39fbb3d0802ef2d7726bd +0 -0
- data/test/dummy/tmp/cache/assets/DF3/E20/sprockets%2F552e130b12fc2abeb75fcafcde9e6471 +0 -0
- data/test/dummy/tmp/cache/assets/DF4/810/sprockets%2F07fbe0ba9e5c035a15e3defdc472b7c5 +0 -0
- data/test/dummy/tmp/cache/assets/DF4/BF0/sprockets%2Fba73f1ee71ebc1ad6b8f025b4d3e58d2 +0 -0
- data/test/dummy/tmp/cache/assets/DF5/F30/sprockets%2F61a9f09fc06eb910c5a984a3db1fbcbc +0 -0
- data/test/dummy/tmp/cache/assets/DF6/220/sprockets%2F7e6ea4f6a6c0c9cf3db8c0d4414b3de0 +0 -0
- data/test/dummy/tmp/cache/assets/DF7/0A0/sprockets%2F846c5a4fe7a07fb7db1a50f17e2adfb4 +0 -0
- data/test/dummy/tmp/cache/assets/DF7/EE0/sprockets%2F661abfd8ab8ddb966ccded48ca100623 +0 -0
- data/test/dummy/tmp/cache/assets/DF8/A50/sprockets%2Fab8699ae64f2efbfb0c01bd269661aba +0 -0
- data/test/dummy/tmp/cache/assets/DFA/E10/sprockets%2Fe0ed51edc80877cbe7d5c6ea334c41da +0 -0
- data/test/dummy/tmp/cache/assets/DFA/FD0/sprockets%2Fae353fbfac66799b1b2b673cd0ee2dd2 +0 -0
- data/test/dummy/tmp/cache/assets/DFB/A10/sprockets%2Fe8c0b2f8d9deb6d6edacfe3042213c29 +0 -0
- data/test/dummy/tmp/cache/assets/DFC/D30/sprockets%2F4420d2feffc9ca5db5627b7cc32e18fb +0 -0
- data/test/dummy/tmp/cache/assets/DFD/D00/sprockets%2Fa1f60245fdcbef10e7b34ff59b7e1ce7 +0 -0
- data/test/dummy/tmp/cache/assets/DFE/390/sprockets%2Fe3b16ae99b11b9eeb1f19b9da4a3f9b4 +0 -0
- data/test/dummy/tmp/cache/assets/E02/C40/sprockets%2F78ca65bacdf0f50b219c998bd2d8c1fd +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E04/E00/sprockets%2F82bbcd7dc4cd65bcaf98f457e64cd006 +0 -0
- data/test/dummy/tmp/cache/assets/E07/B90/sprockets%2Faa8bbd5ec66e8551cb8f02e6f91ccf66 +0 -0
- data/test/dummy/tmp/cache/assets/E0A/170/sprockets%2F997a4124bcbaff8ef47ba8c3f186b6fc +0 -0
- data/test/dummy/tmp/cache/assets/E0A/1C0/sprockets%2Fb86fd2e0b485e4ed9457b5e1fbd7bcf4 +0 -0
- data/test/dummy/tmp/cache/assets/E0B/300/sprockets%2F6b29fde38df17f56a7dfd0b53e78c0fb +0 -0
- data/test/dummy/tmp/cache/assets/E0D/910/sprockets%2F13bc0ba3fbaece034c2cd4e223cea493 +0 -0
- data/test/dummy/tmp/cache/assets/E12/620/sprockets%2F6aed958a85d7bbfed8175b89b21baef9 +0 -0
- data/test/dummy/tmp/cache/assets/E12/C20/sprockets%2Feb34805a939ece95f8dade1eacfe8575 +0 -0
- data/test/dummy/tmp/cache/assets/E18/BD0/sprockets%2Fdd3f079cb22f0cbad4d62c2df2e6a1c1 +0 -0
- data/test/dummy/tmp/cache/assets/E19/9B0/sprockets%2F8dcc04b1c4d8aecb55c19e2f0a13aac8 +0 -0
- data/test/dummy/tmp/cache/assets/E19/A50/sprockets%2Fc235225f0a4e2d6aaac029dec6dc7fca +0 -0
- data/test/dummy/tmp/cache/assets/E1C/6A0/sprockets%2Fd27eac5dac6f025912b1ae4f60aafe6b +0 -0
- data/test/dummy/tmp/cache/assets/E1E/6D0/sprockets%2F0286dff2b4ebd44afc41a7bea4db414e +0 -0
- data/test/dummy/tmp/cache/assets/E1F/040/sprockets%2Fcaaa0078fb3ec94cd2b8a2565d4abda8 +0 -0
- data/test/dummy/tmp/cache/assets/E25/920/sprockets%2F96dab96ea56aceaeaaaa605803bb68d4 +0 -0
- data/test/dummy/tmp/cache/assets/E26/430/sprockets%2Ffa79fa9d616edd2acb247422aa17eafb +0 -0
- data/test/dummy/tmp/cache/assets/E2B/B40/sprockets%2F88b136beafea9b44ef70aa16b4afcb78 +0 -0
- data/test/dummy/tmp/cache/assets/E2D/350/sprockets%2F38bf1c815d0b29bdf4c5c5f8c7c7beaa +0 -0
- data/test/dummy/tmp/cache/assets/E2D/620/sprockets%2F378b29aa9f5b06dba19fac1a7c8cdfd4 +0 -0
- data/test/dummy/tmp/cache/assets/E2F/350/sprockets%2Fad9346a4df3cc90fb4aba15ce9db9f47 +0 -0
- data/test/dummy/tmp/cache/assets/E32/D80/sprockets%2F460ccbfbbb7bd5d4f4954bcd1792bf8f +0 -0
- data/test/dummy/tmp/cache/assets/E33/6A0/sprockets%2Fda09745d0a9bccceef4b95f7c4e3d36c +0 -0
- data/test/dummy/tmp/cache/assets/E39/2D0/sprockets%2F52e15dbdf2cefdb67efc480d67e38f6a +0 -0
- data/test/dummy/tmp/cache/assets/E41/2C0/sprockets%2Fb4fdba6739eff84ef39eec25f5f15fd0 +0 -0
- data/test/dummy/tmp/cache/assets/E50/0A0/sprockets%2F3b85ffabdab3abb59d1aa3c63ded2674 +0 -0
- data/test/dummy/tmp/cache/assets/E56/660/sprockets%2Ffed6a01984e7ea5c007c5e3bfad1fadd +0 -0
- data/test/dummy/tmp/cache/assets/E62/880/sprockets%2F3aaf0abaaa5dfc481858fcf99be744df +0 -0
- data/test/dummy/tmp/cache/assets/E66/340/sprockets%2F57b82ebdad2ba79dd446f878a3eeaedb +0 -0
- data/test/dummy/tmp/cache/assets/E68/350/sprockets%2Ff26bb3efad0f92afcaf6dfb597fa7448 +0 -0
- data/test/dummy/tmp/cache/assets/E68/EA0/sprockets%2F93ee9ef7cee9da2cd08dca8430cce81d +0 -0
- data/test/dummy/tmp/cache/assets/E71/550/sprockets%2F0efa339ed96f9cb5eab36f8adec8de39 +0 -0
- data/test/dummy/tmp/cache/assets/E8B/C90/sprockets%2Fa4bdcee220f4a6e6d48fd6cb5dceed71 +0 -0
- data/test/dummy/tmp/cache/assets/E94/740/sprockets%2Faa66cedb6ca6aee1d95ebaf8937beb57 +0 -0
- data/test/dummy/tmp/cache/assets/E95/F50/sprockets%2F37a48ac3dc87ddfec85b4dc7abcca99b +0 -0
- data/test/dummy/tmp/cache/assets/EF4/820/sprockets%2Fee2adf3afe09beb7fd9cbb9ea29da75d +0 -0
- data/test/dummy/tmp/cache/sass/2e16b619d48bf62a8ac98dbb3d2bc6e27f102db4/_base.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/2e16b619d48bf62a8ac98dbb3d2bc6e27f102db4/_forms.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/2e16b619d48bf62a8ac98dbb3d2bc6e27f102db4/_header.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/2e16b619d48bf62a8ac98dbb3d2bc6e27f102db4/_mixins.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/2e16b619d48bf62a8ac98dbb3d2bc6e27f102db4/_typography.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_all.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_buttons.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_gradients.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_icons.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_reset.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_rounded.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_sections.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_shadows.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_utilities.scssc +0 -0
- data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_variables.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8b152f509dc9acb2d79f7dce8f46ec225b01bc66/_comments.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8b152f509dc9acb2d79f7dce8f46ec225b01bc66/_date_picker.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8b152f509dc9acb2d79f7dce8f46ec225b01bc66/_flash_messages.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8b152f509dc9acb2d79f7dce8f46ec225b01bc66/_tables.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/9ca9a22eff91c4261249b7b40e957b81799629ba/application.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/9fa1a2d9195a64ca73dc2fbf42b5468fc9babf48/active_admin.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/c467ab1ac00bb4b33ddebfbc4207f8cc0f9e61bc/reset.css.scssc +0 -0
- metadata +2822 -205
- data/lib/rich/legacy_formtastic.rb +0 -21
- data/lib/rich/rails_admin.rb +0 -14
- data/test/dummy/tmp/cache/assets/C87/8E0/sprockets%2F17e0d5efdd575486014469da98231146 +0 -0
- data/test/dummy/tmp/cache/assets/CA5/030/sprockets%2Ff1b86195281bc68a00fa20c6107f3638 +0 -0
- data/test/dummy/tmp/cache/assets/CA6/D70/sprockets%2F2cb539c0037029723e323a67fbe99b20 +0 -0
- data/test/dummy/tmp/cache/assets/CAA/4C0/sprockets%2F5b64d12f9a13a72a8495fc5154c72720 +0 -0
- data/test/dummy/tmp/cache/assets/CAF/610/sprockets%2F0335639b1fe477c2726a98f223f4c0a5 +0 -0
- data/test/dummy/tmp/cache/assets/CBF/9D0/sprockets%2Fb6b4157c8461b7799f5331967eec007d +0 -0
- data/test/dummy/tmp/cache/assets/CC2/680/sprockets%2F246dc8445ce003f6b944c6c1796769d7 +0 -0
- data/test/dummy/tmp/cache/assets/CC9/FB0/sprockets%2Fb265a0c8713c462a3dab42a043592c84 +0 -0
- data/test/dummy/tmp/cache/assets/CCC/800/sprockets%2F655e3dff9911f7527f1787fd951c4471 +0 -0
- data/test/dummy/tmp/cache/assets/CDE/720/sprockets%2Fc5b9143c5e46515e7453e0592b0fa57c +0 -0
- data/test/dummy/tmp/cache/assets/CE4/D20/sprockets%2F7a924cdc374439e3f1f48d1d527b3219 +0 -0
- data/test/dummy/tmp/cache/assets/CEA/ED0/sprockets%2F502a590ce74298a6596411ce9bd880df +0 -0
- data/test/dummy/tmp/cache/assets/CEB/BA0/sprockets%2F1c35edc033470f3659ee6fa97c607468 +0 -0
- data/test/dummy/tmp/cache/assets/CEC/1A0/sprockets%2F87fdead6014b961bb870b5931890d677 +0 -0
- data/test/dummy/tmp/cache/assets/CFA/C40/sprockets%2F14a89388c9e53e2effddc82034375987 +0 -0
- data/test/dummy/tmp/cache/assets/D01/980/sprockets%2F47c7e52f43c37ea9a1731f0400c393aa +0 -0
- data/test/dummy/tmp/cache/assets/D09/A80/sprockets%2Fee7932182acd760811453ac1e56a6ce4 +0 -0
- data/test/dummy/tmp/cache/assets/D0B/B20/sprockets%2Fdd220433e63488b61313f47e3ff64bbd +0 -0
- data/test/dummy/tmp/cache/assets/D15/F30/sprockets%2F87caf81fdffb8037b59096a0519a0481 +0 -0
- data/test/dummy/tmp/cache/assets/D15/F40/sprockets%2F83d1a8006e470e79f75592d63bdedc04 +0 -0
- data/test/dummy/tmp/cache/assets/D23/2C0/sprockets%2F0c3abf24c60bbb7d31217d1109870ce4 +0 -0
- data/test/dummy/tmp/cache/assets/D30/D00/sprockets%2Fc07d24cdbe55e5c2510d1590cf662a26 +0 -0
- data/test/dummy/tmp/cache/assets/D38/680/sprockets%2F60a41a53a3c2d1b9fecd7564d1b58576 +0 -0
- data/test/dummy/tmp/cache/assets/D3B/C70/sprockets%2Ff704fd927eb4b431ebbb078964ad1082 +0 -0
- data/test/dummy/tmp/cache/assets/D3E/420/sprockets%2F8813eaec4334ab6b9e4d4066c05c569b +0 -0
- data/test/dummy/tmp/cache/assets/D43/5E0/sprockets%2Ffa3d6621ff6b3f04b13a46974ac7488e +0 -0
- data/test/dummy/tmp/cache/assets/D45/740/sprockets%2F8c6505fad3328da88838a2038f1cee7b +0 -0
- data/test/dummy/tmp/cache/assets/D50/F20/sprockets%2Fcf6ca517cd1745586b9190ffd974d53d +0 -0
- data/test/dummy/tmp/cache/assets/D51/0E0/sprockets%2F7c2fe2f837656b4be38c13cc949de744 +0 -0
- data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
- data/test/dummy/tmp/cache/assets/D62/550/sprockets%2F06614d902daa3481bbae7c51b66d3f6e +0 -0
- data/test/dummy/tmp/cache/assets/D69/3A0/sprockets%2Fc2e8be30894dbf2c5ae343b31d4581a9 +0 -0
- data/test/dummy/tmp/cache/assets/D6D/950/sprockets%2Fb9497be057cbca0f3561346f1b9e3c6a +0 -0
- data/test/dummy/tmp/cache/assets/D71/0D0/sprockets%2F71cd5d2d914e51ad358b9b64f443ccc8 +0 -0
- data/test/dummy/tmp/cache/assets/D77/020/sprockets%2Fad98cede2e30585e158452e7cd60ab86 +0 -0
- data/test/dummy/tmp/cache/assets/D7A/110/sprockets%2F9bb282830e134ce5eff5c3f880be48f5 +0 -0
- data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
- data/test/dummy/tmp/cache/assets/DDD/C20/sprockets%2F00d5c014021fc61bebcf0aafced83d17 +0 -0
- data/test/dummy/tmp/cache/assets/DE9/D40/sprockets%2F716df3d3bad61ab36c36d8ae1aea136a +0 -0
- data/test/dummy/tmp/cache/assets/DFF/4D0/sprockets%2F0d7eae306cc4e83ae549e96b1b6da8db +0 -0
- data/test/dummy/tmp/cache/assets/E06/920/sprockets%2F6baa37d1c26468aef4fe5fe4bf982fa3 +0 -0
- data/test/dummy/tmp/cache/assets/E07/6D0/sprockets%2Ff05a33fad80ccddbb49e773fc5837bf9 +0 -0
- data/test/dummy/tmp/cache/assets/E2F/E90/sprockets%2Ff4b19e42c92a93dcaaec9fe6eae4081d +0 -0
- data/test/dummy/tmp/cache/assets/E7E/2C0/sprockets%2Fcb51b66fdf6bc0ac41e34a2f9ddcfc0c +0 -0
- data/test/dummy/tmp/cache/sass/47d28203c7dfe65c985011aefaae84f4a193cd34/_all.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/47d28203c7dfe65c985011aefaae84f4a193cd34/_buttons.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/47d28203c7dfe65c985011aefaae84f4a193cd34/_gradients.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/47d28203c7dfe65c985011aefaae84f4a193cd34/_icons.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/47d28203c7dfe65c985011aefaae84f4a193cd34/_reset.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/47d28203c7dfe65c985011aefaae84f4a193cd34/_rounded.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/47d28203c7dfe65c985011aefaae84f4a193cd34/_sections.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/47d28203c7dfe65c985011aefaae84f4a193cd34/_shadows.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/47d28203c7dfe65c985011aefaae84f4a193cd34/_utilities.scssc +0 -0
- data/test/dummy/tmp/cache/sass/47d28203c7dfe65c985011aefaae84f4a193cd34/_variables.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/6c515d69838e656613f3f5477b832c205c6ada9a/_comments.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/6c515d69838e656613f3f5477b832c205c6ada9a/_date_picker.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/6c515d69838e656613f3f5477b832c205c6ada9a/_flash_messages.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/6c515d69838e656613f3f5477b832c205c6ada9a/_tables.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/6cab87537e628c7459f6979d5274910ad7b21d27/_comments.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/6cab87537e628c7459f6979d5274910ad7b21d27/_date_picker.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/6cab87537e628c7459f6979d5274910ad7b21d27/_flash_messages.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/6cab87537e628c7459f6979d5274910ad7b21d27/_tables.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7daff679404b0204bd7b1e078fa2b7095fab4cd0/_base.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7daff679404b0204bd7b1e078fa2b7095fab4cd0/_forms.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7daff679404b0204bd7b1e078fa2b7095fab4cd0/_header.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7daff679404b0204bd7b1e078fa2b7095fab4cd0/_mixins.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7daff679404b0204bd7b1e078fa2b7095fab4cd0/_typography.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/82d751268dfb866e38eebcd712da0b0edbf5ebc4/_base.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/82d751268dfb866e38eebcd712da0b0edbf5ebc4/_forms.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/82d751268dfb866e38eebcd712da0b0edbf5ebc4/_header.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/82d751268dfb866e38eebcd712da0b0edbf5ebc4/_mixins.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/82d751268dfb866e38eebcd712da0b0edbf5ebc4/_typography.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8c1379ab71928de23afbcc1bab7f2054c1fe860d/_all.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8c1379ab71928de23afbcc1bab7f2054c1fe860d/_buttons.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8c1379ab71928de23afbcc1bab7f2054c1fe860d/_gradients.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8c1379ab71928de23afbcc1bab7f2054c1fe860d/_icons.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8c1379ab71928de23afbcc1bab7f2054c1fe860d/_reset.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8c1379ab71928de23afbcc1bab7f2054c1fe860d/_rounded.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8c1379ab71928de23afbcc1bab7f2054c1fe860d/_sections.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8c1379ab71928de23afbcc1bab7f2054c1fe860d/_shadows.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8c1379ab71928de23afbcc1bab7f2054c1fe860d/_utilities.scssc +0 -0
- data/test/dummy/tmp/cache/sass/8c1379ab71928de23afbcc1bab7f2054c1fe860d/_variables.css.scssc +0 -0
@@ -0,0 +1,3308 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
/**
|
7
|
+
* @fileOverview The floating dialog plugin.
|
8
|
+
*/
|
9
|
+
|
10
|
+
/**
|
11
|
+
* No resize for this dialog.
|
12
|
+
* @constant
|
13
|
+
*/
|
14
|
+
CKEDITOR.DIALOG_RESIZE_NONE = 0;
|
15
|
+
|
16
|
+
/**
|
17
|
+
* Only allow horizontal resizing for this dialog, disable vertical resizing.
|
18
|
+
* @constant
|
19
|
+
*/
|
20
|
+
CKEDITOR.DIALOG_RESIZE_WIDTH = 1;
|
21
|
+
|
22
|
+
/**
|
23
|
+
* Only allow vertical resizing for this dialog, disable horizontal resizing.
|
24
|
+
* @constant
|
25
|
+
*/
|
26
|
+
CKEDITOR.DIALOG_RESIZE_HEIGHT = 2;
|
27
|
+
|
28
|
+
/*
|
29
|
+
* Allow the dialog to be resized in both directions.
|
30
|
+
* @constant
|
31
|
+
*/
|
32
|
+
CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
33
|
+
|
34
|
+
(function()
|
35
|
+
{
|
36
|
+
var cssLength = CKEDITOR.tools.cssLength;
|
37
|
+
function isTabVisible( tabId )
|
38
|
+
{
|
39
|
+
return !!this._.tabs[ tabId ][ 0 ].$.offsetHeight;
|
40
|
+
}
|
41
|
+
|
42
|
+
function getPreviousVisibleTab()
|
43
|
+
{
|
44
|
+
var tabId = this._.currentTabId,
|
45
|
+
length = this._.tabIdList.length,
|
46
|
+
tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId ) + length;
|
47
|
+
|
48
|
+
for ( var i = tabIndex - 1 ; i > tabIndex - length ; i-- )
|
49
|
+
{
|
50
|
+
if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) )
|
51
|
+
return this._.tabIdList[ i % length ];
|
52
|
+
}
|
53
|
+
|
54
|
+
return null;
|
55
|
+
}
|
56
|
+
|
57
|
+
function getNextVisibleTab()
|
58
|
+
{
|
59
|
+
var tabId = this._.currentTabId,
|
60
|
+
length = this._.tabIdList.length,
|
61
|
+
tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId );
|
62
|
+
|
63
|
+
for ( var i = tabIndex + 1 ; i < tabIndex + length ; i++ )
|
64
|
+
{
|
65
|
+
if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) )
|
66
|
+
return this._.tabIdList[ i % length ];
|
67
|
+
}
|
68
|
+
|
69
|
+
return null;
|
70
|
+
}
|
71
|
+
|
72
|
+
|
73
|
+
function clearOrRecoverTextInputValue( container, isRecover )
|
74
|
+
{
|
75
|
+
var inputs = container.$.getElementsByTagName( 'input' );
|
76
|
+
for ( var i = 0, length = inputs.length; i < length ; i++ )
|
77
|
+
{
|
78
|
+
var item = new CKEDITOR.dom.element( inputs[ i ] );
|
79
|
+
|
80
|
+
if ( item.getAttribute( 'type' ).toLowerCase() == 'text' )
|
81
|
+
{
|
82
|
+
if ( isRecover )
|
83
|
+
{
|
84
|
+
item.setAttribute( 'value', item.getCustomData( 'fake_value' ) || '' );
|
85
|
+
item.removeCustomData( 'fake_value' );
|
86
|
+
}
|
87
|
+
else
|
88
|
+
{
|
89
|
+
item.setCustomData( 'fake_value', item.getAttribute( 'value' ) );
|
90
|
+
item.setAttribute( 'value', '' );
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
// Handle dialog element validation state UI changes.
|
97
|
+
function handleFieldValidated( isValid, msg )
|
98
|
+
{
|
99
|
+
var input = this.getInputElement();
|
100
|
+
if ( input )
|
101
|
+
{
|
102
|
+
isValid ? input.removeAttribute( 'aria-invalid' )
|
103
|
+
: input.setAttribute( 'aria-invalid', true );
|
104
|
+
}
|
105
|
+
|
106
|
+
if ( !isValid )
|
107
|
+
{
|
108
|
+
if ( this.select )
|
109
|
+
this.select();
|
110
|
+
else
|
111
|
+
this.focus();
|
112
|
+
}
|
113
|
+
|
114
|
+
msg && alert( msg );
|
115
|
+
|
116
|
+
this.fire( 'validated', { valid : isValid, msg : msg } );
|
117
|
+
}
|
118
|
+
|
119
|
+
function resetField()
|
120
|
+
{
|
121
|
+
var input = this.getInputElement();
|
122
|
+
input && input.removeAttribute( 'aria-invalid' );
|
123
|
+
}
|
124
|
+
|
125
|
+
|
126
|
+
/**
|
127
|
+
* This is the base class for runtime dialog objects. An instance of this
|
128
|
+
* class represents a single named dialog for a single editor instance.
|
129
|
+
* @param {Object} editor The editor which created the dialog.
|
130
|
+
* @param {String} dialogName The dialog's registered name.
|
131
|
+
* @constructor
|
132
|
+
* @example
|
133
|
+
* var dialogObj = new CKEDITOR.dialog( editor, 'smiley' );
|
134
|
+
*/
|
135
|
+
CKEDITOR.dialog = function( editor, dialogName )
|
136
|
+
{
|
137
|
+
// Load the dialog definition.
|
138
|
+
var definition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
|
139
|
+
defaultDefinition = CKEDITOR.tools.clone( defaultDialogDefinition ),
|
140
|
+
buttonsOrder = editor.config.dialog_buttonsOrder || 'OS',
|
141
|
+
dir = editor.lang.dir;
|
142
|
+
|
143
|
+
if ( ( buttonsOrder == 'OS' && CKEDITOR.env.mac ) || // The buttons in MacOS Apps are in reverse order (#4750)
|
144
|
+
( buttonsOrder == 'rtl' && dir == 'ltr' ) ||
|
145
|
+
( buttonsOrder == 'ltr' && dir == 'rtl' ) )
|
146
|
+
defaultDefinition.buttons.reverse();
|
147
|
+
|
148
|
+
|
149
|
+
// Completes the definition with the default values.
|
150
|
+
definition = CKEDITOR.tools.extend( definition( editor ), defaultDefinition );
|
151
|
+
|
152
|
+
// Clone a functionally independent copy for this dialog.
|
153
|
+
definition = CKEDITOR.tools.clone( definition );
|
154
|
+
|
155
|
+
// Create a complex definition object, extending it with the API
|
156
|
+
// functions.
|
157
|
+
definition = new definitionObject( this, definition );
|
158
|
+
|
159
|
+
var doc = CKEDITOR.document;
|
160
|
+
|
161
|
+
var themeBuilt = editor.theme.buildDialog( editor );
|
162
|
+
|
163
|
+
// Initialize some basic parameters.
|
164
|
+
this._ =
|
165
|
+
{
|
166
|
+
editor : editor,
|
167
|
+
element : themeBuilt.element,
|
168
|
+
name : dialogName,
|
169
|
+
contentSize : { width : 0, height : 0 },
|
170
|
+
size : { width : 0, height : 0 },
|
171
|
+
contents : {},
|
172
|
+
buttons : {},
|
173
|
+
accessKeyMap : {},
|
174
|
+
|
175
|
+
// Initialize the tab and page map.
|
176
|
+
tabs : {},
|
177
|
+
tabIdList : [],
|
178
|
+
currentTabId : null,
|
179
|
+
currentTabIndex : null,
|
180
|
+
pageCount : 0,
|
181
|
+
lastTab : null,
|
182
|
+
tabBarMode : false,
|
183
|
+
|
184
|
+
// Initialize the tab order array for input widgets.
|
185
|
+
focusList : [],
|
186
|
+
currentFocusIndex : 0,
|
187
|
+
hasFocus : false
|
188
|
+
};
|
189
|
+
|
190
|
+
this.parts = themeBuilt.parts;
|
191
|
+
|
192
|
+
CKEDITOR.tools.setTimeout( function()
|
193
|
+
{
|
194
|
+
editor.fire( 'ariaWidget', this.parts.contents );
|
195
|
+
},
|
196
|
+
0, this );
|
197
|
+
|
198
|
+
// Set the startup styles for the dialog, avoiding it enlarging the
|
199
|
+
// page size on the dialog creation.
|
200
|
+
var startStyles = {
|
201
|
+
position : CKEDITOR.env.ie6Compat ? 'absolute' : 'fixed',
|
202
|
+
top : 0,
|
203
|
+
visibility : 'hidden'
|
204
|
+
};
|
205
|
+
|
206
|
+
startStyles[ dir == 'rtl' ? 'right' : 'left' ] = 0;
|
207
|
+
this.parts.dialog.setStyles( startStyles );
|
208
|
+
|
209
|
+
|
210
|
+
// Call the CKEDITOR.event constructor to initialize this instance.
|
211
|
+
CKEDITOR.event.call( this );
|
212
|
+
|
213
|
+
// Fire the "dialogDefinition" event, making it possible to customize
|
214
|
+
// the dialog definition.
|
215
|
+
this.definition = definition = CKEDITOR.fire( 'dialogDefinition',
|
216
|
+
{
|
217
|
+
name : dialogName,
|
218
|
+
definition : definition
|
219
|
+
}
|
220
|
+
, editor ).definition;
|
221
|
+
|
222
|
+
var tabsToRemove = {};
|
223
|
+
// Cache tabs that should be removed.
|
224
|
+
if ( !( 'removeDialogTabs' in editor._ ) && editor.config.removeDialogTabs )
|
225
|
+
{
|
226
|
+
var removeContents = editor.config.removeDialogTabs.split( ';' );
|
227
|
+
|
228
|
+
for ( i = 0; i < removeContents.length; i++ )
|
229
|
+
{
|
230
|
+
var parts = removeContents[ i ].split( ':' );
|
231
|
+
if ( parts.length == 2 )
|
232
|
+
{
|
233
|
+
var removeDialogName = parts[ 0 ];
|
234
|
+
if ( !tabsToRemove[ removeDialogName ] )
|
235
|
+
tabsToRemove[ removeDialogName ] = [];
|
236
|
+
tabsToRemove[ removeDialogName ].push( parts[ 1 ] );
|
237
|
+
}
|
238
|
+
}
|
239
|
+
editor._.removeDialogTabs = tabsToRemove;
|
240
|
+
}
|
241
|
+
|
242
|
+
// Remove tabs of this dialog.
|
243
|
+
if ( editor._.removeDialogTabs && ( tabsToRemove = editor._.removeDialogTabs[ dialogName ] ) )
|
244
|
+
{
|
245
|
+
for ( i = 0; i < tabsToRemove.length; i++ )
|
246
|
+
definition.removeContents( tabsToRemove[ i ] );
|
247
|
+
}
|
248
|
+
|
249
|
+
// Initialize load, show, hide, ok and cancel events.
|
250
|
+
if ( definition.onLoad )
|
251
|
+
this.on( 'load', definition.onLoad );
|
252
|
+
|
253
|
+
if ( definition.onShow )
|
254
|
+
this.on( 'show', definition.onShow );
|
255
|
+
|
256
|
+
if ( definition.onHide )
|
257
|
+
this.on( 'hide', definition.onHide );
|
258
|
+
|
259
|
+
if ( definition.onOk )
|
260
|
+
{
|
261
|
+
this.on( 'ok', function( evt )
|
262
|
+
{
|
263
|
+
// Dialog confirm might probably introduce content changes (#5415).
|
264
|
+
editor.fire( 'saveSnapshot' );
|
265
|
+
setTimeout( function () { editor.fire( 'saveSnapshot' ); }, 0 );
|
266
|
+
if ( definition.onOk.call( this, evt ) === false )
|
267
|
+
evt.data.hide = false;
|
268
|
+
});
|
269
|
+
}
|
270
|
+
|
271
|
+
if ( definition.onCancel )
|
272
|
+
{
|
273
|
+
this.on( 'cancel', function( evt )
|
274
|
+
{
|
275
|
+
if ( definition.onCancel.call( this, evt ) === false )
|
276
|
+
evt.data.hide = false;
|
277
|
+
});
|
278
|
+
}
|
279
|
+
|
280
|
+
var me = this;
|
281
|
+
|
282
|
+
// Iterates over all items inside all content in the dialog, calling a
|
283
|
+
// function for each of them.
|
284
|
+
var iterContents = function( func )
|
285
|
+
{
|
286
|
+
var contents = me._.contents,
|
287
|
+
stop = false;
|
288
|
+
|
289
|
+
for ( var i in contents )
|
290
|
+
{
|
291
|
+
for ( var j in contents[i] )
|
292
|
+
{
|
293
|
+
stop = func.call( this, contents[i][j] );
|
294
|
+
if ( stop )
|
295
|
+
return;
|
296
|
+
}
|
297
|
+
}
|
298
|
+
};
|
299
|
+
|
300
|
+
this.on( 'ok', function( evt )
|
301
|
+
{
|
302
|
+
iterContents( function( item )
|
303
|
+
{
|
304
|
+
if ( item.validate )
|
305
|
+
{
|
306
|
+
var retval = item.validate( this ),
|
307
|
+
invalid = typeof ( retval ) == 'string' || retval === false;
|
308
|
+
|
309
|
+
if ( invalid )
|
310
|
+
{
|
311
|
+
evt.data.hide = false;
|
312
|
+
evt.stop();
|
313
|
+
}
|
314
|
+
|
315
|
+
handleFieldValidated.call( item, !invalid, typeof retval == 'string' ? retval : undefined );
|
316
|
+
return invalid;
|
317
|
+
}
|
318
|
+
});
|
319
|
+
}, this, null, 0 );
|
320
|
+
|
321
|
+
this.on( 'cancel', function( evt )
|
322
|
+
{
|
323
|
+
iterContents( function( item )
|
324
|
+
{
|
325
|
+
if ( item.isChanged() )
|
326
|
+
{
|
327
|
+
if ( !confirm( editor.lang.common.confirmCancel ) )
|
328
|
+
evt.data.hide = false;
|
329
|
+
return true;
|
330
|
+
}
|
331
|
+
});
|
332
|
+
}, this, null, 0 );
|
333
|
+
|
334
|
+
this.parts.close.on( 'click', function( evt )
|
335
|
+
{
|
336
|
+
if ( this.fire( 'cancel', { hide : true } ).hide !== false )
|
337
|
+
this.hide();
|
338
|
+
evt.data.preventDefault();
|
339
|
+
}, this );
|
340
|
+
|
341
|
+
// Sort focus list according to tab order definitions.
|
342
|
+
function setupFocus()
|
343
|
+
{
|
344
|
+
var focusList = me._.focusList;
|
345
|
+
focusList.sort( function( a, b )
|
346
|
+
{
|
347
|
+
// Mimics browser tab order logics;
|
348
|
+
if ( a.tabIndex != b.tabIndex )
|
349
|
+
return b.tabIndex - a.tabIndex;
|
350
|
+
// Sort is not stable in some browsers,
|
351
|
+
// fall-back the comparator to 'focusIndex';
|
352
|
+
else
|
353
|
+
return a.focusIndex - b.focusIndex;
|
354
|
+
});
|
355
|
+
|
356
|
+
var size = focusList.length;
|
357
|
+
for ( var i = 0; i < size; i++ )
|
358
|
+
focusList[ i ].focusIndex = i;
|
359
|
+
}
|
360
|
+
|
361
|
+
function changeFocus( forward )
|
362
|
+
{
|
363
|
+
var focusList = me._.focusList,
|
364
|
+
offset = forward ? 1 : -1;
|
365
|
+
if ( focusList.length < 1 )
|
366
|
+
return;
|
367
|
+
|
368
|
+
var current = me._.currentFocusIndex;
|
369
|
+
|
370
|
+
// Trigger the 'blur' event of any input element before anything,
|
371
|
+
// since certain UI updates may depend on it.
|
372
|
+
try
|
373
|
+
{
|
374
|
+
focusList[ current ].getInputElement().$.blur();
|
375
|
+
}
|
376
|
+
catch( e ){}
|
377
|
+
|
378
|
+
var startIndex = ( current + offset + focusList.length ) % focusList.length,
|
379
|
+
currentIndex = startIndex;
|
380
|
+
while ( !focusList[ currentIndex ].isFocusable() )
|
381
|
+
{
|
382
|
+
currentIndex = ( currentIndex + offset + focusList.length ) % focusList.length;
|
383
|
+
if ( currentIndex == startIndex )
|
384
|
+
break;
|
385
|
+
}
|
386
|
+
focusList[ currentIndex ].focus();
|
387
|
+
|
388
|
+
// Select whole field content.
|
389
|
+
if ( focusList[ currentIndex ].type == 'text' )
|
390
|
+
focusList[ currentIndex ].select();
|
391
|
+
}
|
392
|
+
|
393
|
+
this.changeFocus = changeFocus;
|
394
|
+
|
395
|
+
var processed;
|
396
|
+
|
397
|
+
function focusKeydownHandler( evt )
|
398
|
+
{
|
399
|
+
// If I'm not the top dialog, ignore.
|
400
|
+
if ( me != CKEDITOR.dialog._.currentTop )
|
401
|
+
return;
|
402
|
+
|
403
|
+
var keystroke = evt.data.getKeystroke(),
|
404
|
+
rtl = editor.lang.dir == 'rtl';
|
405
|
+
|
406
|
+
processed = 0;
|
407
|
+
if ( keystroke == 9 || keystroke == CKEDITOR.SHIFT + 9 )
|
408
|
+
{
|
409
|
+
var shiftPressed = ( keystroke == CKEDITOR.SHIFT + 9 );
|
410
|
+
|
411
|
+
// Handling Tab and Shift-Tab.
|
412
|
+
if ( me._.tabBarMode )
|
413
|
+
{
|
414
|
+
// Change tabs.
|
415
|
+
var nextId = shiftPressed ? getPreviousVisibleTab.call( me ) : getNextVisibleTab.call( me );
|
416
|
+
me.selectPage( nextId );
|
417
|
+
me._.tabs[ nextId ][ 0 ].focus();
|
418
|
+
}
|
419
|
+
else
|
420
|
+
{
|
421
|
+
// Change the focus of inputs.
|
422
|
+
changeFocus( !shiftPressed );
|
423
|
+
}
|
424
|
+
|
425
|
+
processed = 1;
|
426
|
+
}
|
427
|
+
else if ( keystroke == CKEDITOR.ALT + 121 && !me._.tabBarMode && me.getPageCount() > 1 )
|
428
|
+
{
|
429
|
+
// Alt-F10 puts focus into the current tab item in the tab bar.
|
430
|
+
me._.tabBarMode = true;
|
431
|
+
me._.tabs[ me._.currentTabId ][ 0 ].focus();
|
432
|
+
processed = 1;
|
433
|
+
}
|
434
|
+
else if ( ( keystroke == 37 || keystroke == 39 ) && me._.tabBarMode )
|
435
|
+
{
|
436
|
+
// Arrow keys - used for changing tabs.
|
437
|
+
nextId = ( keystroke == ( rtl ? 39 : 37 ) ? getPreviousVisibleTab.call( me ) : getNextVisibleTab.call( me ) );
|
438
|
+
me.selectPage( nextId );
|
439
|
+
me._.tabs[ nextId ][ 0 ].focus();
|
440
|
+
processed = 1;
|
441
|
+
}
|
442
|
+
else if ( ( keystroke == 13 || keystroke == 32 ) && me._.tabBarMode )
|
443
|
+
{
|
444
|
+
this.selectPage( this._.currentTabId );
|
445
|
+
this._.tabBarMode = false;
|
446
|
+
this._.currentFocusIndex = -1;
|
447
|
+
changeFocus( true );
|
448
|
+
processed = 1;
|
449
|
+
}
|
450
|
+
|
451
|
+
if ( processed )
|
452
|
+
{
|
453
|
+
evt.stop();
|
454
|
+
evt.data.preventDefault();
|
455
|
+
}
|
456
|
+
}
|
457
|
+
|
458
|
+
function focusKeyPressHandler( evt )
|
459
|
+
{
|
460
|
+
processed && evt.data.preventDefault();
|
461
|
+
}
|
462
|
+
|
463
|
+
var dialogElement = this._.element;
|
464
|
+
// Add the dialog keyboard handlers.
|
465
|
+
this.on( 'show', function()
|
466
|
+
{
|
467
|
+
dialogElement.on( 'keydown', focusKeydownHandler, this, null, 0 );
|
468
|
+
// Some browsers instead, don't cancel key events in the keydown, but in the
|
469
|
+
// keypress. So we must do a longer trip in those cases. (#4531)
|
470
|
+
if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
|
471
|
+
dialogElement.on( 'keypress', focusKeyPressHandler, this );
|
472
|
+
|
473
|
+
} );
|
474
|
+
this.on( 'hide', function()
|
475
|
+
{
|
476
|
+
dialogElement.removeListener( 'keydown', focusKeydownHandler );
|
477
|
+
if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
|
478
|
+
dialogElement.removeListener( 'keypress', focusKeyPressHandler );
|
479
|
+
|
480
|
+
// Reset fields state when closing dialog.
|
481
|
+
iterContents( function( item ) { resetField.apply( item ); } );
|
482
|
+
} );
|
483
|
+
this.on( 'iframeAdded', function( evt )
|
484
|
+
{
|
485
|
+
var doc = new CKEDITOR.dom.document( evt.data.iframe.$.contentWindow.document );
|
486
|
+
doc.on( 'keydown', focusKeydownHandler, this, null, 0 );
|
487
|
+
} );
|
488
|
+
|
489
|
+
// Auto-focus logic in dialog.
|
490
|
+
this.on( 'show', function()
|
491
|
+
{
|
492
|
+
// Setup tabIndex on showing the dialog instead of on loading
|
493
|
+
// to allow dynamic tab order happen in dialog definition.
|
494
|
+
setupFocus();
|
495
|
+
|
496
|
+
if ( editor.config.dialog_startupFocusTab
|
497
|
+
&& me._.pageCount > 1 )
|
498
|
+
{
|
499
|
+
me._.tabBarMode = true;
|
500
|
+
me._.tabs[ me._.currentTabId ][ 0 ].focus();
|
501
|
+
}
|
502
|
+
else if ( !this._.hasFocus )
|
503
|
+
{
|
504
|
+
this._.currentFocusIndex = -1;
|
505
|
+
|
506
|
+
// Decide where to put the initial focus.
|
507
|
+
if ( definition.onFocus )
|
508
|
+
{
|
509
|
+
var initialFocus = definition.onFocus.call( this );
|
510
|
+
// Focus the field that the user specified.
|
511
|
+
initialFocus && initialFocus.focus();
|
512
|
+
}
|
513
|
+
// Focus the first field in layout order.
|
514
|
+
else
|
515
|
+
changeFocus( true );
|
516
|
+
|
517
|
+
/*
|
518
|
+
* IE BUG: If the initial focus went into a non-text element (e.g. button),
|
519
|
+
* then IE would still leave the caret inside the editing area.
|
520
|
+
*/
|
521
|
+
if ( this._.editor.mode == 'wysiwyg' && CKEDITOR.env.ie )
|
522
|
+
{
|
523
|
+
var $selection = editor.document.$.selection,
|
524
|
+
$range = $selection.createRange();
|
525
|
+
|
526
|
+
if ( $range )
|
527
|
+
{
|
528
|
+
if ( $range.parentElement && $range.parentElement().ownerDocument == editor.document.$
|
529
|
+
|| $range.item && $range.item( 0 ).ownerDocument == editor.document.$ )
|
530
|
+
{
|
531
|
+
var $myRange = document.body.createTextRange();
|
532
|
+
$myRange.moveToElementText( this.getElement().getFirst().$ );
|
533
|
+
$myRange.collapse( true );
|
534
|
+
$myRange.select();
|
535
|
+
}
|
536
|
+
}
|
537
|
+
}
|
538
|
+
}
|
539
|
+
}, this, null, 0xffffffff );
|
540
|
+
|
541
|
+
// IE6 BUG: Text fields and text areas are only half-rendered the first time the dialog appears in IE6 (#2661).
|
542
|
+
// This is still needed after [2708] and [2709] because text fields in hidden TR tags are still broken.
|
543
|
+
if ( CKEDITOR.env.ie6Compat )
|
544
|
+
{
|
545
|
+
this.on( 'load', function( evt )
|
546
|
+
{
|
547
|
+
var outer = this.getElement(),
|
548
|
+
inner = outer.getFirst();
|
549
|
+
inner.remove();
|
550
|
+
inner.appendTo( outer );
|
551
|
+
}, this );
|
552
|
+
}
|
553
|
+
|
554
|
+
initDragAndDrop( this );
|
555
|
+
initResizeHandles( this );
|
556
|
+
|
557
|
+
// Insert the title.
|
558
|
+
( new CKEDITOR.dom.text( definition.title, CKEDITOR.document ) ).appendTo( this.parts.title );
|
559
|
+
|
560
|
+
// Insert the tabs and contents.
|
561
|
+
for ( var i = 0 ; i < definition.contents.length ; i++ )
|
562
|
+
{
|
563
|
+
var page = definition.contents[i];
|
564
|
+
page && this.addPage( page );
|
565
|
+
}
|
566
|
+
|
567
|
+
this.parts[ 'tabs' ].on( 'click', function( evt )
|
568
|
+
{
|
569
|
+
var target = evt.data.getTarget();
|
570
|
+
// If we aren't inside a tab, bail out.
|
571
|
+
if ( target.hasClass( 'cke_dialog_tab' ) )
|
572
|
+
{
|
573
|
+
// Get the ID of the tab, without the 'cke_' prefix and the unique number suffix.
|
574
|
+
var id = target.$.id;
|
575
|
+
this.selectPage( id.substring( 4, id.lastIndexOf( '_' ) ) );
|
576
|
+
|
577
|
+
if ( this._.tabBarMode )
|
578
|
+
{
|
579
|
+
this._.tabBarMode = false;
|
580
|
+
this._.currentFocusIndex = -1;
|
581
|
+
changeFocus( true );
|
582
|
+
}
|
583
|
+
evt.data.preventDefault();
|
584
|
+
}
|
585
|
+
}, this );
|
586
|
+
|
587
|
+
// Insert buttons.
|
588
|
+
var buttonsHtml = [],
|
589
|
+
buttons = CKEDITOR.dialog._.uiElementBuilders.hbox.build( this,
|
590
|
+
{
|
591
|
+
type : 'hbox',
|
592
|
+
className : 'cke_dialog_footer_buttons',
|
593
|
+
widths : [],
|
594
|
+
children : definition.buttons
|
595
|
+
}, buttonsHtml ).getChild();
|
596
|
+
this.parts.footer.setHtml( buttonsHtml.join( '' ) );
|
597
|
+
|
598
|
+
for ( i = 0 ; i < buttons.length ; i++ )
|
599
|
+
this._.buttons[ buttons[i].id ] = buttons[i];
|
600
|
+
};
|
601
|
+
|
602
|
+
// Focusable interface. Use it via dialog.addFocusable.
|
603
|
+
function Focusable( dialog, element, index )
|
604
|
+
{
|
605
|
+
this.element = element;
|
606
|
+
this.focusIndex = index;
|
607
|
+
// TODO: support tabIndex for focusables.
|
608
|
+
this.tabIndex = 0;
|
609
|
+
this.isFocusable = function()
|
610
|
+
{
|
611
|
+
return !element.getAttribute( 'disabled' ) && element.isVisible();
|
612
|
+
};
|
613
|
+
this.focus = function()
|
614
|
+
{
|
615
|
+
dialog._.currentFocusIndex = this.focusIndex;
|
616
|
+
this.element.focus();
|
617
|
+
};
|
618
|
+
// Bind events
|
619
|
+
element.on( 'keydown', function( e )
|
620
|
+
{
|
621
|
+
if ( e.data.getKeystroke() in { 32:1, 13:1 } )
|
622
|
+
this.fire( 'click' );
|
623
|
+
} );
|
624
|
+
element.on( 'focus', function()
|
625
|
+
{
|
626
|
+
this.fire( 'mouseover' );
|
627
|
+
} );
|
628
|
+
element.on( 'blur', function()
|
629
|
+
{
|
630
|
+
this.fire( 'mouseout' );
|
631
|
+
} );
|
632
|
+
}
|
633
|
+
|
634
|
+
CKEDITOR.dialog.prototype =
|
635
|
+
{
|
636
|
+
destroy : function()
|
637
|
+
{
|
638
|
+
this.hide();
|
639
|
+
this._.element.remove();
|
640
|
+
},
|
641
|
+
|
642
|
+
/**
|
643
|
+
* Resizes the dialog.
|
644
|
+
* @param {Number} width The width of the dialog in pixels.
|
645
|
+
* @param {Number} height The height of the dialog in pixels.
|
646
|
+
* @function
|
647
|
+
* @example
|
648
|
+
* dialogObj.resize( 800, 640 );
|
649
|
+
*/
|
650
|
+
resize : (function()
|
651
|
+
{
|
652
|
+
return function( width, height )
|
653
|
+
{
|
654
|
+
if ( this._.contentSize && this._.contentSize.width == width && this._.contentSize.height == height )
|
655
|
+
return;
|
656
|
+
|
657
|
+
CKEDITOR.dialog.fire( 'resize',
|
658
|
+
{
|
659
|
+
dialog : this,
|
660
|
+
skin : this._.editor.skinName,
|
661
|
+
width : width,
|
662
|
+
height : height
|
663
|
+
}, this._.editor );
|
664
|
+
|
665
|
+
this.fire( 'resize',
|
666
|
+
{
|
667
|
+
skin : this._.editor.skinName,
|
668
|
+
width : width,
|
669
|
+
height : height
|
670
|
+
}, this._.editor );
|
671
|
+
|
672
|
+
// Update dialog position when dimension get changed in RTL.
|
673
|
+
if ( this._.editor.lang.dir == 'rtl' && this._.position )
|
674
|
+
this._.position.x = CKEDITOR.document.getWindow().getViewPaneSize().width -
|
675
|
+
this._.contentSize.width - parseInt( this._.element.getFirst().getStyle( 'right' ), 10 );
|
676
|
+
|
677
|
+
this._.contentSize = { width : width, height : height };
|
678
|
+
};
|
679
|
+
})(),
|
680
|
+
|
681
|
+
/**
|
682
|
+
* Gets the current size of the dialog in pixels.
|
683
|
+
* @returns {Object} An object with "width" and "height" properties.
|
684
|
+
* @example
|
685
|
+
* var width = dialogObj.getSize().width;
|
686
|
+
*/
|
687
|
+
getSize : function()
|
688
|
+
{
|
689
|
+
var element = this._.element.getFirst();
|
690
|
+
return { width : element.$.offsetWidth || 0, height : element.$.offsetHeight || 0};
|
691
|
+
},
|
692
|
+
|
693
|
+
/**
|
694
|
+
* Moves the dialog to an (x, y) coordinate relative to the window.
|
695
|
+
* @function
|
696
|
+
* @param {Number} x The target x-coordinate.
|
697
|
+
* @param {Number} y The target y-coordinate.
|
698
|
+
* @param {Boolean} save Flag indicate whether the dialog position should be remembered on next open up.
|
699
|
+
* @example
|
700
|
+
* dialogObj.move( 10, 40 );
|
701
|
+
*/
|
702
|
+
move : (function()
|
703
|
+
{
|
704
|
+
var isFixed;
|
705
|
+
return function( x, y, save )
|
706
|
+
{
|
707
|
+
// The dialog may be fixed positioned or absolute positioned. Ask the
|
708
|
+
// browser what is the current situation first.
|
709
|
+
var element = this._.element.getFirst(),
|
710
|
+
rtl = this._.editor.lang.dir == 'rtl';
|
711
|
+
|
712
|
+
if ( isFixed === undefined )
|
713
|
+
isFixed = element.getComputedStyle( 'position' ) == 'fixed';
|
714
|
+
|
715
|
+
if ( isFixed && this._.position && this._.position.x == x && this._.position.y == y )
|
716
|
+
return;
|
717
|
+
|
718
|
+
// Save the current position.
|
719
|
+
this._.position = { x : x, y : y };
|
720
|
+
|
721
|
+
// If not fixed positioned, add scroll position to the coordinates.
|
722
|
+
if ( !isFixed )
|
723
|
+
{
|
724
|
+
var scrollPosition = CKEDITOR.document.getWindow().getScrollPosition();
|
725
|
+
x += scrollPosition.x;
|
726
|
+
y += scrollPosition.y;
|
727
|
+
}
|
728
|
+
|
729
|
+
// Translate coordinate for RTL.
|
730
|
+
if ( rtl )
|
731
|
+
{
|
732
|
+
var dialogSize = this.getSize(),
|
733
|
+
viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize();
|
734
|
+
x = viewPaneSize.width - dialogSize.width - x;
|
735
|
+
}
|
736
|
+
|
737
|
+
var styles = { 'top' : ( y > 0 ? y : 0 ) + 'px' };
|
738
|
+
styles[ rtl ? 'right' : 'left' ] = ( x > 0 ? x : 0 ) + 'px';
|
739
|
+
|
740
|
+
element.setStyles( styles );
|
741
|
+
|
742
|
+
save && ( this._.moved = 1 );
|
743
|
+
};
|
744
|
+
})(),
|
745
|
+
|
746
|
+
/**
|
747
|
+
* Gets the dialog's position in the window.
|
748
|
+
* @returns {Object} An object with "x" and "y" properties.
|
749
|
+
* @example
|
750
|
+
* var dialogX = dialogObj.getPosition().x;
|
751
|
+
*/
|
752
|
+
getPosition : function(){ return CKEDITOR.tools.extend( {}, this._.position ); },
|
753
|
+
|
754
|
+
/**
|
755
|
+
* Shows the dialog box.
|
756
|
+
* @example
|
757
|
+
* dialogObj.show();
|
758
|
+
*/
|
759
|
+
show : function()
|
760
|
+
{
|
761
|
+
// Insert the dialog's element to the root document.
|
762
|
+
var element = this._.element;
|
763
|
+
var definition = this.definition;
|
764
|
+
if ( !( element.getParent() && element.getParent().equals( CKEDITOR.document.getBody() ) ) )
|
765
|
+
element.appendTo( CKEDITOR.document.getBody() );
|
766
|
+
else
|
767
|
+
element.setStyle( 'display', 'block' );
|
768
|
+
|
769
|
+
// FIREFOX BUG: Fix vanishing caret for Firefox 2 or Gecko 1.8.
|
770
|
+
if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 )
|
771
|
+
{
|
772
|
+
var dialogElement = this.parts.dialog;
|
773
|
+
dialogElement.setStyle( 'position', 'absolute' );
|
774
|
+
setTimeout( function()
|
775
|
+
{
|
776
|
+
dialogElement.setStyle( 'position', 'fixed' );
|
777
|
+
}, 0 );
|
778
|
+
}
|
779
|
+
|
780
|
+
|
781
|
+
// First, set the dialog to an appropriate size.
|
782
|
+
this.resize( this._.contentSize && this._.contentSize.width || definition.width || definition.minWidth,
|
783
|
+
this._.contentSize && this._.contentSize.height || definition.height || definition.minHeight );
|
784
|
+
|
785
|
+
// Reset all inputs back to their default value.
|
786
|
+
this.reset();
|
787
|
+
|
788
|
+
// Select the first tab by default.
|
789
|
+
this.selectPage( this.definition.contents[0].id );
|
790
|
+
|
791
|
+
// Set z-index.
|
792
|
+
if ( CKEDITOR.dialog._.currentZIndex === null )
|
793
|
+
CKEDITOR.dialog._.currentZIndex = this._.editor.config.baseFloatZIndex;
|
794
|
+
this._.element.getFirst().setStyle( 'z-index', CKEDITOR.dialog._.currentZIndex += 10 );
|
795
|
+
|
796
|
+
// Maintain the dialog ordering and dialog cover.
|
797
|
+
// Also register key handlers if first dialog.
|
798
|
+
if ( CKEDITOR.dialog._.currentTop === null )
|
799
|
+
{
|
800
|
+
CKEDITOR.dialog._.currentTop = this;
|
801
|
+
this._.parentDialog = null;
|
802
|
+
showCover( this._.editor );
|
803
|
+
|
804
|
+
element.on( 'keydown', accessKeyDownHandler );
|
805
|
+
element.on( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler );
|
806
|
+
|
807
|
+
// Prevent some keys from bubbling up. (#4269)
|
808
|
+
for ( var event in { keyup :1, keydown :1, keypress :1 } )
|
809
|
+
element.on( event, preventKeyBubbling );
|
810
|
+
}
|
811
|
+
else
|
812
|
+
{
|
813
|
+
this._.parentDialog = CKEDITOR.dialog._.currentTop;
|
814
|
+
var parentElement = this._.parentDialog.getElement().getFirst();
|
815
|
+
parentElement.$.style.zIndex -= Math.floor( this._.editor.config.baseFloatZIndex / 2 );
|
816
|
+
CKEDITOR.dialog._.currentTop = this;
|
817
|
+
}
|
818
|
+
|
819
|
+
// Register the Esc hotkeys.
|
820
|
+
registerAccessKey( this, this, '\x1b', null, function()
|
821
|
+
{
|
822
|
+
this.getButton( 'cancel' ) && this.getButton( 'cancel' ).click();
|
823
|
+
} );
|
824
|
+
|
825
|
+
// Reset the hasFocus state.
|
826
|
+
this._.hasFocus = false;
|
827
|
+
|
828
|
+
CKEDITOR.tools.setTimeout( function()
|
829
|
+
{
|
830
|
+
this.layout();
|
831
|
+
this.parts.dialog.setStyle( 'visibility', '' );
|
832
|
+
|
833
|
+
// Execute onLoad for the first show.
|
834
|
+
this.fireOnce( 'load', {} );
|
835
|
+
CKEDITOR.ui.fire( 'ready', this );
|
836
|
+
|
837
|
+
this.fire( 'show', {} );
|
838
|
+
this._.editor.fire( 'dialogShow', this );
|
839
|
+
|
840
|
+
// Save the initial values of the dialog.
|
841
|
+
this.foreach( function( contentObj ) { contentObj.setInitValue && contentObj.setInitValue(); } );
|
842
|
+
|
843
|
+
},
|
844
|
+
100, this );
|
845
|
+
},
|
846
|
+
|
847
|
+
/**
|
848
|
+
* Rearrange the dialog to its previous position or the middle of the window.
|
849
|
+
* @since 3.5
|
850
|
+
*/
|
851
|
+
layout : function()
|
852
|
+
{
|
853
|
+
var viewSize = CKEDITOR.document.getWindow().getViewPaneSize(),
|
854
|
+
dialogSize = this.getSize();
|
855
|
+
|
856
|
+
this.move( this._.moved ? this._.position.x : ( viewSize.width - dialogSize.width ) / 2,
|
857
|
+
this._.moved ? this._.position.y : ( viewSize.height - dialogSize.height ) / 2 );
|
858
|
+
},
|
859
|
+
|
860
|
+
/**
|
861
|
+
* Executes a function for each UI element.
|
862
|
+
* @param {Function} fn Function to execute for each UI element.
|
863
|
+
* @returns {CKEDITOR.dialog} The current dialog object.
|
864
|
+
*/
|
865
|
+
foreach : function( fn )
|
866
|
+
{
|
867
|
+
for ( var i in this._.contents )
|
868
|
+
{
|
869
|
+
for ( var j in this._.contents[i] )
|
870
|
+
fn.call( this, this._.contents[i][j] );
|
871
|
+
}
|
872
|
+
return this;
|
873
|
+
},
|
874
|
+
|
875
|
+
/**
|
876
|
+
* Resets all input values in the dialog.
|
877
|
+
* @example
|
878
|
+
* dialogObj.reset();
|
879
|
+
* @returns {CKEDITOR.dialog} The current dialog object.
|
880
|
+
*/
|
881
|
+
reset : (function()
|
882
|
+
{
|
883
|
+
var fn = function( widget ){ if ( widget.reset ) widget.reset( 1 ); };
|
884
|
+
return function(){ this.foreach( fn ); return this; };
|
885
|
+
})(),
|
886
|
+
|
887
|
+
|
888
|
+
/**
|
889
|
+
* Calls the {@link CKEDITOR.dialog.definition.uiElement#setup} method of each of the UI elements, with the arguments passed through it.
|
890
|
+
* It is usually being called when the dialog is opened, to put the initial value inside the field.
|
891
|
+
* @example
|
892
|
+
* dialogObj.setupContent();
|
893
|
+
* @example
|
894
|
+
* var timestamp = ( new Date() ).valueOf();
|
895
|
+
* dialogObj.setupContent( timestamp );
|
896
|
+
*/
|
897
|
+
setupContent : function()
|
898
|
+
{
|
899
|
+
var args = arguments;
|
900
|
+
this.foreach( function( widget )
|
901
|
+
{
|
902
|
+
if ( widget.setup )
|
903
|
+
widget.setup.apply( widget, args );
|
904
|
+
});
|
905
|
+
},
|
906
|
+
|
907
|
+
/**
|
908
|
+
* Calls the {@link CKEDITOR.dialog.definition.uiElement#commit} method of each of the UI elements, with the arguments passed through it.
|
909
|
+
* It is usually being called when the user confirms the dialog, to process the values.
|
910
|
+
* @example
|
911
|
+
* dialogObj.commitContent();
|
912
|
+
* @example
|
913
|
+
* var timestamp = ( new Date() ).valueOf();
|
914
|
+
* dialogObj.commitContent( timestamp );
|
915
|
+
*/
|
916
|
+
commitContent : function()
|
917
|
+
{
|
918
|
+
var args = arguments;
|
919
|
+
this.foreach( function( widget )
|
920
|
+
{
|
921
|
+
// Make sure IE triggers "change" event on last focused input before closing the dialog. (#7915)
|
922
|
+
if ( CKEDITOR.env.ie && this._.currentFocusIndex == widget.focusIndex )
|
923
|
+
widget.getInputElement().$.blur();
|
924
|
+
|
925
|
+
if ( widget.commit )
|
926
|
+
widget.commit.apply( widget, args );
|
927
|
+
});
|
928
|
+
},
|
929
|
+
|
930
|
+
/**
|
931
|
+
* Hides the dialog box.
|
932
|
+
* @example
|
933
|
+
* dialogObj.hide();
|
934
|
+
*/
|
935
|
+
hide : function()
|
936
|
+
{
|
937
|
+
if ( !this.parts.dialog.isVisible() )
|
938
|
+
return;
|
939
|
+
|
940
|
+
this.fire( 'hide', {} );
|
941
|
+
this._.editor.fire( 'dialogHide', this );
|
942
|
+
var element = this._.element;
|
943
|
+
element.setStyle( 'display', 'none' );
|
944
|
+
this.parts.dialog.setStyle( 'visibility', 'hidden' );
|
945
|
+
// Unregister all access keys associated with this dialog.
|
946
|
+
unregisterAccessKey( this );
|
947
|
+
|
948
|
+
// Close any child(top) dialogs first.
|
949
|
+
while( CKEDITOR.dialog._.currentTop != this )
|
950
|
+
CKEDITOR.dialog._.currentTop.hide();
|
951
|
+
|
952
|
+
// Maintain dialog ordering and remove cover if needed.
|
953
|
+
if ( !this._.parentDialog )
|
954
|
+
hideCover();
|
955
|
+
else
|
956
|
+
{
|
957
|
+
var parentElement = this._.parentDialog.getElement().getFirst();
|
958
|
+
parentElement.setStyle( 'z-index', parseInt( parentElement.$.style.zIndex, 10 ) + Math.floor( this._.editor.config.baseFloatZIndex / 2 ) );
|
959
|
+
}
|
960
|
+
CKEDITOR.dialog._.currentTop = this._.parentDialog;
|
961
|
+
|
962
|
+
// Deduct or clear the z-index.
|
963
|
+
if ( !this._.parentDialog )
|
964
|
+
{
|
965
|
+
CKEDITOR.dialog._.currentZIndex = null;
|
966
|
+
|
967
|
+
// Remove access key handlers.
|
968
|
+
element.removeListener( 'keydown', accessKeyDownHandler );
|
969
|
+
element.removeListener( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler );
|
970
|
+
|
971
|
+
// Remove bubbling-prevention handler. (#4269)
|
972
|
+
for ( var event in { keyup :1, keydown :1, keypress :1 } )
|
973
|
+
element.removeListener( event, preventKeyBubbling );
|
974
|
+
|
975
|
+
var editor = this._.editor;
|
976
|
+
editor.focus();
|
977
|
+
|
978
|
+
if ( editor.mode == 'wysiwyg' && CKEDITOR.env.ie )
|
979
|
+
{
|
980
|
+
var selection = editor.getSelection();
|
981
|
+
selection && selection.unlock( true );
|
982
|
+
}
|
983
|
+
}
|
984
|
+
else
|
985
|
+
CKEDITOR.dialog._.currentZIndex -= 10;
|
986
|
+
|
987
|
+
delete this._.parentDialog;
|
988
|
+
// Reset the initial values of the dialog.
|
989
|
+
this.foreach( function( contentObj ) { contentObj.resetInitValue && contentObj.resetInitValue(); } );
|
990
|
+
},
|
991
|
+
|
992
|
+
/**
|
993
|
+
* Adds a tabbed page into the dialog.
|
994
|
+
* @param {Object} contents Content definition.
|
995
|
+
* @example
|
996
|
+
*/
|
997
|
+
addPage : function( contents )
|
998
|
+
{
|
999
|
+
var pageHtml = [],
|
1000
|
+
titleHtml = contents.label ? ' title="' + CKEDITOR.tools.htmlEncode( contents.label ) + '"' : '',
|
1001
|
+
elements = contents.elements,
|
1002
|
+
vbox = CKEDITOR.dialog._.uiElementBuilders.vbox.build( this,
|
1003
|
+
{
|
1004
|
+
type : 'vbox',
|
1005
|
+
className : 'cke_dialog_page_contents',
|
1006
|
+
children : contents.elements,
|
1007
|
+
expand : !!contents.expand,
|
1008
|
+
padding : contents.padding,
|
1009
|
+
style : contents.style || 'width: 100%;height:100%'
|
1010
|
+
}, pageHtml );
|
1011
|
+
|
1012
|
+
// Create the HTML for the tab and the content block.
|
1013
|
+
var page = CKEDITOR.dom.element.createFromHtml( pageHtml.join( '' ) );
|
1014
|
+
page.setAttribute( 'role', 'tabpanel' );
|
1015
|
+
|
1016
|
+
var env = CKEDITOR.env;
|
1017
|
+
var tabId = 'cke_' + contents.id + '_' + CKEDITOR.tools.getNextNumber(),
|
1018
|
+
tab = CKEDITOR.dom.element.createFromHtml( [
|
1019
|
+
'<a class="cke_dialog_tab"',
|
1020
|
+
( this._.pageCount > 0 ? ' cke_last' : 'cke_first' ),
|
1021
|
+
titleHtml,
|
1022
|
+
( !!contents.hidden ? ' style="display:none"' : '' ),
|
1023
|
+
' id="', tabId, '"',
|
1024
|
+
env.gecko && env.version >= 10900 && !env.hc ? '' : ' href="javascript:void(0)"',
|
1025
|
+
' tabIndex="-1"',
|
1026
|
+
' hidefocus="true"',
|
1027
|
+
' role="tab">',
|
1028
|
+
contents.label,
|
1029
|
+
'</a>'
|
1030
|
+
].join( '' ) );
|
1031
|
+
|
1032
|
+
page.setAttribute( 'aria-labelledby', tabId );
|
1033
|
+
|
1034
|
+
// Take records for the tabs and elements created.
|
1035
|
+
this._.tabs[ contents.id ] = [ tab, page ];
|
1036
|
+
this._.tabIdList.push( contents.id );
|
1037
|
+
!contents.hidden && this._.pageCount++;
|
1038
|
+
this._.lastTab = tab;
|
1039
|
+
this.updateStyle();
|
1040
|
+
|
1041
|
+
var contentMap = this._.contents[ contents.id ] = {},
|
1042
|
+
cursor,
|
1043
|
+
children = vbox.getChild();
|
1044
|
+
|
1045
|
+
while ( ( cursor = children.shift() ) )
|
1046
|
+
{
|
1047
|
+
contentMap[ cursor.id ] = cursor;
|
1048
|
+
if ( typeof( cursor.getChild ) == 'function' )
|
1049
|
+
children.push.apply( children, cursor.getChild() );
|
1050
|
+
}
|
1051
|
+
|
1052
|
+
// Attach the DOM nodes.
|
1053
|
+
|
1054
|
+
page.setAttribute( 'name', contents.id );
|
1055
|
+
page.appendTo( this.parts.contents );
|
1056
|
+
|
1057
|
+
tab.unselectable();
|
1058
|
+
this.parts.tabs.append( tab );
|
1059
|
+
|
1060
|
+
// Add access key handlers if access key is defined.
|
1061
|
+
if ( contents.accessKey )
|
1062
|
+
{
|
1063
|
+
registerAccessKey( this, this, 'CTRL+' + contents.accessKey,
|
1064
|
+
tabAccessKeyDown, tabAccessKeyUp );
|
1065
|
+
this._.accessKeyMap[ 'CTRL+' + contents.accessKey ] = contents.id;
|
1066
|
+
}
|
1067
|
+
},
|
1068
|
+
|
1069
|
+
/**
|
1070
|
+
* Activates a tab page in the dialog by its id.
|
1071
|
+
* @param {String} id The id of the dialog tab to be activated.
|
1072
|
+
* @example
|
1073
|
+
* dialogObj.selectPage( 'tab_1' );
|
1074
|
+
*/
|
1075
|
+
selectPage : function( id )
|
1076
|
+
{
|
1077
|
+
if ( this._.currentTabId == id )
|
1078
|
+
return;
|
1079
|
+
|
1080
|
+
// Returning true means that the event has been canceled
|
1081
|
+
if ( this.fire( 'selectPage', { page : id, currentPage : this._.currentTabId } ) === true )
|
1082
|
+
return;
|
1083
|
+
|
1084
|
+
// Hide the non-selected tabs and pages.
|
1085
|
+
for ( var i in this._.tabs )
|
1086
|
+
{
|
1087
|
+
var tab = this._.tabs[i][0],
|
1088
|
+
page = this._.tabs[i][1];
|
1089
|
+
if ( i != id )
|
1090
|
+
{
|
1091
|
+
tab.removeClass( 'cke_dialog_tab_selected' );
|
1092
|
+
page.hide();
|
1093
|
+
}
|
1094
|
+
page.setAttribute( 'aria-hidden', i != id );
|
1095
|
+
}
|
1096
|
+
|
1097
|
+
var selected = this._.tabs[ id ];
|
1098
|
+
selected[ 0 ].addClass( 'cke_dialog_tab_selected' );
|
1099
|
+
|
1100
|
+
// [IE] an invisible input[type='text'] will enlarge it's width
|
1101
|
+
// if it's value is long when it shows, so we clear it's value
|
1102
|
+
// before it shows and then recover it (#5649)
|
1103
|
+
if ( CKEDITOR.env.ie6Compat || CKEDITOR.env.ie7Compat )
|
1104
|
+
{
|
1105
|
+
clearOrRecoverTextInputValue( selected[ 1 ] );
|
1106
|
+
selected[ 1 ].show();
|
1107
|
+
setTimeout( function()
|
1108
|
+
{
|
1109
|
+
clearOrRecoverTextInputValue( selected[ 1 ], 1 );
|
1110
|
+
}, 0 );
|
1111
|
+
}
|
1112
|
+
else
|
1113
|
+
selected[ 1 ].show();
|
1114
|
+
|
1115
|
+
this._.currentTabId = id;
|
1116
|
+
this._.currentTabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, id );
|
1117
|
+
},
|
1118
|
+
|
1119
|
+
// Dialog state-specific style updates.
|
1120
|
+
updateStyle : function()
|
1121
|
+
{
|
1122
|
+
// If only a single page shown, a different style is used in the central pane.
|
1123
|
+
this.parts.dialog[ ( this._.pageCount === 1 ? 'add' : 'remove' ) + 'Class' ]( 'cke_single_page' );
|
1124
|
+
},
|
1125
|
+
|
1126
|
+
/**
|
1127
|
+
* Hides a page's tab away from the dialog.
|
1128
|
+
* @param {String} id The page's Id.
|
1129
|
+
* @example
|
1130
|
+
* dialog.hidePage( 'tab_3' );
|
1131
|
+
*/
|
1132
|
+
hidePage : function( id )
|
1133
|
+
{
|
1134
|
+
var tab = this._.tabs[id] && this._.tabs[id][0];
|
1135
|
+
if ( !tab || this._.pageCount == 1 || !tab.isVisible() )
|
1136
|
+
return;
|
1137
|
+
// Switch to other tab first when we're hiding the active tab.
|
1138
|
+
else if ( id == this._.currentTabId )
|
1139
|
+
this.selectPage( getPreviousVisibleTab.call( this ) );
|
1140
|
+
|
1141
|
+
tab.hide();
|
1142
|
+
this._.pageCount--;
|
1143
|
+
this.updateStyle();
|
1144
|
+
},
|
1145
|
+
|
1146
|
+
/**
|
1147
|
+
* Unhides a page's tab.
|
1148
|
+
* @param {String} id The page's Id.
|
1149
|
+
* @example
|
1150
|
+
* dialog.showPage( 'tab_2' );
|
1151
|
+
*/
|
1152
|
+
showPage : function( id )
|
1153
|
+
{
|
1154
|
+
var tab = this._.tabs[id] && this._.tabs[id][0];
|
1155
|
+
if ( !tab )
|
1156
|
+
return;
|
1157
|
+
tab.show();
|
1158
|
+
this._.pageCount++;
|
1159
|
+
this.updateStyle();
|
1160
|
+
},
|
1161
|
+
|
1162
|
+
/**
|
1163
|
+
* Gets the root DOM element of the dialog.
|
1164
|
+
* @returns {CKEDITOR.dom.element} The <span> element containing this dialog.
|
1165
|
+
* @example
|
1166
|
+
* var dialogElement = dialogObj.getElement().getFirst();
|
1167
|
+
* dialogElement.setStyle( 'padding', '5px' );
|
1168
|
+
*/
|
1169
|
+
getElement : function()
|
1170
|
+
{
|
1171
|
+
return this._.element;
|
1172
|
+
},
|
1173
|
+
|
1174
|
+
/**
|
1175
|
+
* Gets the name of the dialog.
|
1176
|
+
* @returns {String} The name of this dialog.
|
1177
|
+
* @example
|
1178
|
+
* var dialogName = dialogObj.getName();
|
1179
|
+
*/
|
1180
|
+
getName : function()
|
1181
|
+
{
|
1182
|
+
return this._.name;
|
1183
|
+
},
|
1184
|
+
|
1185
|
+
/**
|
1186
|
+
* Gets a dialog UI element object from a dialog page.
|
1187
|
+
* @param {String} pageId id of dialog page.
|
1188
|
+
* @param {String} elementId id of UI element.
|
1189
|
+
* @example
|
1190
|
+
* dialogObj.getContentElement( 'tabId', 'elementId' ).setValue( 'Example' );
|
1191
|
+
* @returns {CKEDITOR.ui.dialog.uiElement} The dialog UI element.
|
1192
|
+
*/
|
1193
|
+
getContentElement : function( pageId, elementId )
|
1194
|
+
{
|
1195
|
+
var page = this._.contents[ pageId ];
|
1196
|
+
return page && page[ elementId ];
|
1197
|
+
},
|
1198
|
+
|
1199
|
+
/**
|
1200
|
+
* Gets the value of a dialog UI element.
|
1201
|
+
* @param {String} pageId id of dialog page.
|
1202
|
+
* @param {String} elementId id of UI element.
|
1203
|
+
* @example
|
1204
|
+
* alert( dialogObj.getValueOf( 'tabId', 'elementId' ) );
|
1205
|
+
* @returns {Object} The value of the UI element.
|
1206
|
+
*/
|
1207
|
+
getValueOf : function( pageId, elementId )
|
1208
|
+
{
|
1209
|
+
return this.getContentElement( pageId, elementId ).getValue();
|
1210
|
+
},
|
1211
|
+
|
1212
|
+
/**
|
1213
|
+
* Sets the value of a dialog UI element.
|
1214
|
+
* @param {String} pageId id of the dialog page.
|
1215
|
+
* @param {String} elementId id of the UI element.
|
1216
|
+
* @param {Object} value The new value of the UI element.
|
1217
|
+
* @example
|
1218
|
+
* dialogObj.setValueOf( 'tabId', 'elementId', 'Example' );
|
1219
|
+
*/
|
1220
|
+
setValueOf : function( pageId, elementId, value )
|
1221
|
+
{
|
1222
|
+
return this.getContentElement( pageId, elementId ).setValue( value );
|
1223
|
+
},
|
1224
|
+
|
1225
|
+
/**
|
1226
|
+
* Gets the UI element of a button in the dialog's button row.
|
1227
|
+
* @param {String} id The id of the button.
|
1228
|
+
* @example
|
1229
|
+
* @returns {CKEDITOR.ui.dialog.button} The button object.
|
1230
|
+
*/
|
1231
|
+
getButton : function( id )
|
1232
|
+
{
|
1233
|
+
return this._.buttons[ id ];
|
1234
|
+
},
|
1235
|
+
|
1236
|
+
/**
|
1237
|
+
* Simulates a click to a dialog button in the dialog's button row.
|
1238
|
+
* @param {String} id The id of the button.
|
1239
|
+
* @example
|
1240
|
+
* @returns The return value of the dialog's "click" event.
|
1241
|
+
*/
|
1242
|
+
click : function( id )
|
1243
|
+
{
|
1244
|
+
return this._.buttons[ id ].click();
|
1245
|
+
},
|
1246
|
+
|
1247
|
+
/**
|
1248
|
+
* Disables a dialog button.
|
1249
|
+
* @param {String} id The id of the button.
|
1250
|
+
* @example
|
1251
|
+
*/
|
1252
|
+
disableButton : function( id )
|
1253
|
+
{
|
1254
|
+
return this._.buttons[ id ].disable();
|
1255
|
+
},
|
1256
|
+
|
1257
|
+
/**
|
1258
|
+
* Enables a dialog button.
|
1259
|
+
* @param {String} id The id of the button.
|
1260
|
+
* @example
|
1261
|
+
*/
|
1262
|
+
enableButton : function( id )
|
1263
|
+
{
|
1264
|
+
return this._.buttons[ id ].enable();
|
1265
|
+
},
|
1266
|
+
|
1267
|
+
/**
|
1268
|
+
* Gets the number of pages in the dialog.
|
1269
|
+
* @returns {Number} Page count.
|
1270
|
+
*/
|
1271
|
+
getPageCount : function()
|
1272
|
+
{
|
1273
|
+
return this._.pageCount;
|
1274
|
+
},
|
1275
|
+
|
1276
|
+
/**
|
1277
|
+
* Gets the editor instance which opened this dialog.
|
1278
|
+
* @returns {CKEDITOR.editor} Parent editor instances.
|
1279
|
+
*/
|
1280
|
+
getParentEditor : function()
|
1281
|
+
{
|
1282
|
+
return this._.editor;
|
1283
|
+
},
|
1284
|
+
|
1285
|
+
/**
|
1286
|
+
* Gets the element that was selected when opening the dialog, if any.
|
1287
|
+
* @returns {CKEDITOR.dom.element} The element that was selected, or null.
|
1288
|
+
*/
|
1289
|
+
getSelectedElement : function()
|
1290
|
+
{
|
1291
|
+
return this.getParentEditor().getSelection().getSelectedElement();
|
1292
|
+
},
|
1293
|
+
|
1294
|
+
/**
|
1295
|
+
* Adds element to dialog's focusable list.
|
1296
|
+
*
|
1297
|
+
* @param {CKEDITOR.dom.element} element
|
1298
|
+
* @param {Number} [index]
|
1299
|
+
*/
|
1300
|
+
addFocusable: function( element, index ) {
|
1301
|
+
if ( typeof index == 'undefined' )
|
1302
|
+
{
|
1303
|
+
index = this._.focusList.length;
|
1304
|
+
this._.focusList.push( new Focusable( this, element, index ) );
|
1305
|
+
}
|
1306
|
+
else
|
1307
|
+
{
|
1308
|
+
this._.focusList.splice( index, 0, new Focusable( this, element, index ) );
|
1309
|
+
for ( var i = index + 1 ; i < this._.focusList.length ; i++ )
|
1310
|
+
this._.focusList[ i ].focusIndex++;
|
1311
|
+
}
|
1312
|
+
}
|
1313
|
+
};
|
1314
|
+
|
1315
|
+
CKEDITOR.tools.extend( CKEDITOR.dialog,
|
1316
|
+
/**
|
1317
|
+
* @lends CKEDITOR.dialog
|
1318
|
+
*/
|
1319
|
+
{
|
1320
|
+
/**
|
1321
|
+
* Registers a dialog.
|
1322
|
+
* @param {String} name The dialog's name.
|
1323
|
+
* @param {Function|String} dialogDefinition
|
1324
|
+
* A function returning the dialog's definition, or the URL to the .js file holding the function.
|
1325
|
+
* The function should accept an argument "editor" which is the current editor instance, and
|
1326
|
+
* return an object conforming to {@link CKEDITOR.dialog.definition}.
|
1327
|
+
* @see CKEDITOR.dialog.definition
|
1328
|
+
* @example
|
1329
|
+
* // Full sample plugin, which does not only register a dialog window but also adds an item to the context menu.
|
1330
|
+
* // To open the dialog window, choose "Open dialog" in the context menu.
|
1331
|
+
* CKEDITOR.plugins.add( 'myplugin',
|
1332
|
+
* {
|
1333
|
+
* init: function( editor )
|
1334
|
+
* {
|
1335
|
+
* editor.addCommand( 'mydialog',new CKEDITOR.dialogCommand( 'mydialog' ) );
|
1336
|
+
*
|
1337
|
+
* if ( editor.contextMenu )
|
1338
|
+
* {
|
1339
|
+
* editor.addMenuGroup( 'mygroup', 10 );
|
1340
|
+
* editor.addMenuItem( 'My Dialog',
|
1341
|
+
* {
|
1342
|
+
* label : 'Open dialog',
|
1343
|
+
* command : 'mydialog',
|
1344
|
+
* group : 'mygroup'
|
1345
|
+
* });
|
1346
|
+
* editor.contextMenu.addListener( function( element )
|
1347
|
+
* {
|
1348
|
+
* return { 'My Dialog' : CKEDITOR.TRISTATE_OFF };
|
1349
|
+
* });
|
1350
|
+
* }
|
1351
|
+
*
|
1352
|
+
* <strong>CKEDITOR.dialog.add</strong>( 'mydialog', function( api )
|
1353
|
+
* {
|
1354
|
+
* // CKEDITOR.dialog.definition
|
1355
|
+
* var <strong>dialogDefinition</strong> =
|
1356
|
+
* {
|
1357
|
+
* title : 'Sample dialog',
|
1358
|
+
* minWidth : 390,
|
1359
|
+
* minHeight : 130,
|
1360
|
+
* contents : [
|
1361
|
+
* {
|
1362
|
+
* id : 'tab1',
|
1363
|
+
* label : 'Label',
|
1364
|
+
* title : 'Title',
|
1365
|
+
* expand : true,
|
1366
|
+
* padding : 0,
|
1367
|
+
* elements :
|
1368
|
+
* [
|
1369
|
+
* {
|
1370
|
+
* type : 'html',
|
1371
|
+
* html : '<p>This is some sample HTML content.</p>'
|
1372
|
+
* },
|
1373
|
+
* {
|
1374
|
+
* type : 'textarea',
|
1375
|
+
* id : 'textareaId',
|
1376
|
+
* rows : 4,
|
1377
|
+
* cols : 40
|
1378
|
+
* }
|
1379
|
+
* ]
|
1380
|
+
* }
|
1381
|
+
* ],
|
1382
|
+
* buttons : [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ],
|
1383
|
+
* onOk : function() {
|
1384
|
+
* // "this" is now a CKEDITOR.dialog object.
|
1385
|
+
* // Accessing dialog elements:
|
1386
|
+
* var textareaObj = this.<strong>getContentElement</strong>( 'tab1', 'textareaId' );
|
1387
|
+
* alert( "You have entered: " + textareaObj.getValue() );
|
1388
|
+
* }
|
1389
|
+
* };
|
1390
|
+
*
|
1391
|
+
* return dialogDefinition;
|
1392
|
+
* } );
|
1393
|
+
* }
|
1394
|
+
* } );
|
1395
|
+
*
|
1396
|
+
* CKEDITOR.replace( 'editor1', { extraPlugins : 'myplugin' } );
|
1397
|
+
*/
|
1398
|
+
add : function( name, dialogDefinition )
|
1399
|
+
{
|
1400
|
+
// Avoid path registration from multiple instances override definition.
|
1401
|
+
if ( !this._.dialogDefinitions[name]
|
1402
|
+
|| typeof dialogDefinition == 'function' )
|
1403
|
+
this._.dialogDefinitions[name] = dialogDefinition;
|
1404
|
+
},
|
1405
|
+
|
1406
|
+
exists : function( name )
|
1407
|
+
{
|
1408
|
+
return !!this._.dialogDefinitions[ name ];
|
1409
|
+
},
|
1410
|
+
|
1411
|
+
getCurrent : function()
|
1412
|
+
{
|
1413
|
+
return CKEDITOR.dialog._.currentTop;
|
1414
|
+
},
|
1415
|
+
|
1416
|
+
/**
|
1417
|
+
* The default OK button for dialogs. Fires the "ok" event and closes the dialog if the event succeeds.
|
1418
|
+
* @static
|
1419
|
+
* @field
|
1420
|
+
* @example
|
1421
|
+
* @type Function
|
1422
|
+
*/
|
1423
|
+
okButton : (function()
|
1424
|
+
{
|
1425
|
+
var retval = function( editor, override )
|
1426
|
+
{
|
1427
|
+
override = override || {};
|
1428
|
+
return CKEDITOR.tools.extend( {
|
1429
|
+
id : 'ok',
|
1430
|
+
type : 'button',
|
1431
|
+
label : editor.lang.common.ok,
|
1432
|
+
'class' : 'cke_dialog_ui_button_ok',
|
1433
|
+
onClick : function( evt )
|
1434
|
+
{
|
1435
|
+
var dialog = evt.data.dialog;
|
1436
|
+
if ( dialog.fire( 'ok', { hide : true } ).hide !== false )
|
1437
|
+
dialog.hide();
|
1438
|
+
}
|
1439
|
+
}, override, true );
|
1440
|
+
};
|
1441
|
+
retval.type = 'button';
|
1442
|
+
retval.override = function( override )
|
1443
|
+
{
|
1444
|
+
return CKEDITOR.tools.extend( function( editor ){ return retval( editor, override ); },
|
1445
|
+
{ type : 'button' }, true );
|
1446
|
+
};
|
1447
|
+
return retval;
|
1448
|
+
})(),
|
1449
|
+
|
1450
|
+
/**
|
1451
|
+
* The default cancel button for dialogs. Fires the "cancel" event and closes the dialog if no UI element value changed.
|
1452
|
+
* @static
|
1453
|
+
* @field
|
1454
|
+
* @example
|
1455
|
+
* @type Function
|
1456
|
+
*/
|
1457
|
+
cancelButton : (function()
|
1458
|
+
{
|
1459
|
+
var retval = function( editor, override )
|
1460
|
+
{
|
1461
|
+
override = override || {};
|
1462
|
+
return CKEDITOR.tools.extend( {
|
1463
|
+
id : 'cancel',
|
1464
|
+
type : 'button',
|
1465
|
+
label : editor.lang.common.cancel,
|
1466
|
+
'class' : 'cke_dialog_ui_button_cancel',
|
1467
|
+
onClick : function( evt )
|
1468
|
+
{
|
1469
|
+
var dialog = evt.data.dialog;
|
1470
|
+
if ( dialog.fire( 'cancel', { hide : true } ).hide !== false )
|
1471
|
+
dialog.hide();
|
1472
|
+
}
|
1473
|
+
}, override, true );
|
1474
|
+
};
|
1475
|
+
retval.type = 'button';
|
1476
|
+
retval.override = function( override )
|
1477
|
+
{
|
1478
|
+
return CKEDITOR.tools.extend( function( editor ){ return retval( editor, override ); },
|
1479
|
+
{ type : 'button' }, true );
|
1480
|
+
};
|
1481
|
+
return retval;
|
1482
|
+
})(),
|
1483
|
+
|
1484
|
+
/**
|
1485
|
+
* Registers a dialog UI element.
|
1486
|
+
* @param {String} typeName The name of the UI element.
|
1487
|
+
* @param {Function} builder The function to build the UI element.
|
1488
|
+
* @example
|
1489
|
+
*/
|
1490
|
+
addUIElement : function( typeName, builder )
|
1491
|
+
{
|
1492
|
+
this._.uiElementBuilders[ typeName ] = builder;
|
1493
|
+
}
|
1494
|
+
});
|
1495
|
+
|
1496
|
+
CKEDITOR.dialog._ =
|
1497
|
+
{
|
1498
|
+
uiElementBuilders : {},
|
1499
|
+
|
1500
|
+
dialogDefinitions : {},
|
1501
|
+
|
1502
|
+
currentTop : null,
|
1503
|
+
|
1504
|
+
currentZIndex : null
|
1505
|
+
};
|
1506
|
+
|
1507
|
+
// "Inherit" (copy actually) from CKEDITOR.event.
|
1508
|
+
CKEDITOR.event.implementOn( CKEDITOR.dialog );
|
1509
|
+
CKEDITOR.event.implementOn( CKEDITOR.dialog.prototype, true );
|
1510
|
+
|
1511
|
+
var defaultDialogDefinition =
|
1512
|
+
{
|
1513
|
+
resizable : CKEDITOR.DIALOG_RESIZE_BOTH,
|
1514
|
+
minWidth : 600,
|
1515
|
+
minHeight : 400,
|
1516
|
+
buttons : [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ]
|
1517
|
+
};
|
1518
|
+
|
1519
|
+
// Tool function used to return an item from an array based on its id
|
1520
|
+
// property.
|
1521
|
+
var getById = function( array, id, recurse )
|
1522
|
+
{
|
1523
|
+
for ( var i = 0, item ; ( item = array[ i ] ) ; i++ )
|
1524
|
+
{
|
1525
|
+
if ( item.id == id )
|
1526
|
+
return item;
|
1527
|
+
if ( recurse && item[ recurse ] )
|
1528
|
+
{
|
1529
|
+
var retval = getById( item[ recurse ], id, recurse ) ;
|
1530
|
+
if ( retval )
|
1531
|
+
return retval;
|
1532
|
+
}
|
1533
|
+
}
|
1534
|
+
return null;
|
1535
|
+
};
|
1536
|
+
|
1537
|
+
// Tool function used to add an item into an array.
|
1538
|
+
var addById = function( array, newItem, nextSiblingId, recurse, nullIfNotFound )
|
1539
|
+
{
|
1540
|
+
if ( nextSiblingId )
|
1541
|
+
{
|
1542
|
+
for ( var i = 0, item ; ( item = array[ i ] ) ; i++ )
|
1543
|
+
{
|
1544
|
+
if ( item.id == nextSiblingId )
|
1545
|
+
{
|
1546
|
+
array.splice( i, 0, newItem );
|
1547
|
+
return newItem;
|
1548
|
+
}
|
1549
|
+
|
1550
|
+
if ( recurse && item[ recurse ] )
|
1551
|
+
{
|
1552
|
+
var retval = addById( item[ recurse ], newItem, nextSiblingId, recurse, true );
|
1553
|
+
if ( retval )
|
1554
|
+
return retval;
|
1555
|
+
}
|
1556
|
+
}
|
1557
|
+
|
1558
|
+
if ( nullIfNotFound )
|
1559
|
+
return null;
|
1560
|
+
}
|
1561
|
+
|
1562
|
+
array.push( newItem );
|
1563
|
+
return newItem;
|
1564
|
+
};
|
1565
|
+
|
1566
|
+
// Tool function used to remove an item from an array based on its id.
|
1567
|
+
var removeById = function( array, id, recurse )
|
1568
|
+
{
|
1569
|
+
for ( var i = 0, item ; ( item = array[ i ] ) ; i++ )
|
1570
|
+
{
|
1571
|
+
if ( item.id == id )
|
1572
|
+
return array.splice( i, 1 );
|
1573
|
+
if ( recurse && item[ recurse ] )
|
1574
|
+
{
|
1575
|
+
var retval = removeById( item[ recurse ], id, recurse );
|
1576
|
+
if ( retval )
|
1577
|
+
return retval;
|
1578
|
+
}
|
1579
|
+
}
|
1580
|
+
return null;
|
1581
|
+
};
|
1582
|
+
|
1583
|
+
/**
|
1584
|
+
* This class is not really part of the API. It is the "definition" property value
|
1585
|
+
* passed to "dialogDefinition" event handlers.
|
1586
|
+
* @constructor
|
1587
|
+
* @name CKEDITOR.dialog.definitionObject
|
1588
|
+
* @extends CKEDITOR.dialog.definition
|
1589
|
+
* @example
|
1590
|
+
* CKEDITOR.on( 'dialogDefinition', function( evt )
|
1591
|
+
* {
|
1592
|
+
* var definition = evt.data.definition;
|
1593
|
+
* var content = definition.getContents( 'page1' );
|
1594
|
+
* ...
|
1595
|
+
* } );
|
1596
|
+
*/
|
1597
|
+
var definitionObject = function( dialog, dialogDefinition )
|
1598
|
+
{
|
1599
|
+
// TODO : Check if needed.
|
1600
|
+
this.dialog = dialog;
|
1601
|
+
|
1602
|
+
// Transform the contents entries in contentObjects.
|
1603
|
+
var contents = dialogDefinition.contents;
|
1604
|
+
for ( var i = 0, content ; ( content = contents[i] ) ; i++ )
|
1605
|
+
contents[ i ] = content && new contentObject( dialog, content );
|
1606
|
+
|
1607
|
+
CKEDITOR.tools.extend( this, dialogDefinition );
|
1608
|
+
};
|
1609
|
+
|
1610
|
+
definitionObject.prototype =
|
1611
|
+
/** @lends CKEDITOR.dialog.definitionObject.prototype */
|
1612
|
+
{
|
1613
|
+
/**
|
1614
|
+
* Gets a content definition.
|
1615
|
+
* @param {String} id The id of the content definition.
|
1616
|
+
* @returns {CKEDITOR.dialog.definition.content} The content definition
|
1617
|
+
* matching id.
|
1618
|
+
*/
|
1619
|
+
getContents : function( id )
|
1620
|
+
{
|
1621
|
+
return getById( this.contents, id );
|
1622
|
+
},
|
1623
|
+
|
1624
|
+
/**
|
1625
|
+
* Gets a button definition.
|
1626
|
+
* @param {String} id The id of the button definition.
|
1627
|
+
* @returns {CKEDITOR.dialog.definition.button} The button definition
|
1628
|
+
* matching id.
|
1629
|
+
*/
|
1630
|
+
getButton : function( id )
|
1631
|
+
{
|
1632
|
+
return getById( this.buttons, id );
|
1633
|
+
},
|
1634
|
+
|
1635
|
+
/**
|
1636
|
+
* Adds a content definition object under this dialog definition.
|
1637
|
+
* @param {CKEDITOR.dialog.definition.content} contentDefinition The
|
1638
|
+
* content definition.
|
1639
|
+
* @param {String} [nextSiblingId] The id of an existing content
|
1640
|
+
* definition which the new content definition will be inserted
|
1641
|
+
* before. Omit if the new content definition is to be inserted as
|
1642
|
+
* the last item.
|
1643
|
+
* @returns {CKEDITOR.dialog.definition.content} The inserted content
|
1644
|
+
* definition.
|
1645
|
+
*/
|
1646
|
+
addContents : function( contentDefinition, nextSiblingId )
|
1647
|
+
{
|
1648
|
+
return addById( this.contents, contentDefinition, nextSiblingId );
|
1649
|
+
},
|
1650
|
+
|
1651
|
+
/**
|
1652
|
+
* Adds a button definition object under this dialog definition.
|
1653
|
+
* @param {CKEDITOR.dialog.definition.button} buttonDefinition The
|
1654
|
+
* button definition.
|
1655
|
+
* @param {String} [nextSiblingId] The id of an existing button
|
1656
|
+
* definition which the new button definition will be inserted
|
1657
|
+
* before. Omit if the new button definition is to be inserted as
|
1658
|
+
* the last item.
|
1659
|
+
* @returns {CKEDITOR.dialog.definition.button} The inserted button
|
1660
|
+
* definition.
|
1661
|
+
*/
|
1662
|
+
addButton : function( buttonDefinition, nextSiblingId )
|
1663
|
+
{
|
1664
|
+
return addById( this.buttons, buttonDefinition, nextSiblingId );
|
1665
|
+
},
|
1666
|
+
|
1667
|
+
/**
|
1668
|
+
* Removes a content definition from this dialog definition.
|
1669
|
+
* @param {String} id The id of the content definition to be removed.
|
1670
|
+
* @returns {CKEDITOR.dialog.definition.content} The removed content
|
1671
|
+
* definition.
|
1672
|
+
*/
|
1673
|
+
removeContents : function( id )
|
1674
|
+
{
|
1675
|
+
removeById( this.contents, id );
|
1676
|
+
},
|
1677
|
+
|
1678
|
+
/**
|
1679
|
+
* Removes a button definition from the dialog definition.
|
1680
|
+
* @param {String} id The id of the button definition to be removed.
|
1681
|
+
* @returns {CKEDITOR.dialog.definition.button} The removed button
|
1682
|
+
* definition.
|
1683
|
+
*/
|
1684
|
+
removeButton : function( id )
|
1685
|
+
{
|
1686
|
+
removeById( this.buttons, id );
|
1687
|
+
}
|
1688
|
+
};
|
1689
|
+
|
1690
|
+
/**
|
1691
|
+
* This class is not really part of the API. It is the template of the
|
1692
|
+
* objects representing content pages inside the
|
1693
|
+
* CKEDITOR.dialog.definitionObject.
|
1694
|
+
* @constructor
|
1695
|
+
* @name CKEDITOR.dialog.definition.contentObject
|
1696
|
+
* @example
|
1697
|
+
* CKEDITOR.on( 'dialogDefinition', function( evt )
|
1698
|
+
* {
|
1699
|
+
* var definition = evt.data.definition;
|
1700
|
+
* var content = definition.getContents( 'page1' );
|
1701
|
+
* content.remove( 'textInput1' );
|
1702
|
+
* ...
|
1703
|
+
* } );
|
1704
|
+
*/
|
1705
|
+
function contentObject( dialog, contentDefinition )
|
1706
|
+
{
|
1707
|
+
this._ =
|
1708
|
+
{
|
1709
|
+
dialog : dialog
|
1710
|
+
};
|
1711
|
+
|
1712
|
+
CKEDITOR.tools.extend( this, contentDefinition );
|
1713
|
+
}
|
1714
|
+
|
1715
|
+
contentObject.prototype =
|
1716
|
+
/** @lends CKEDITOR.dialog.definition.contentObject.prototype */
|
1717
|
+
{
|
1718
|
+
/**
|
1719
|
+
* Gets a UI element definition under the content definition.
|
1720
|
+
* @param {String} id The id of the UI element definition.
|
1721
|
+
* @returns {CKEDITOR.dialog.definition.uiElement}
|
1722
|
+
*/
|
1723
|
+
get : function( id )
|
1724
|
+
{
|
1725
|
+
return getById( this.elements, id, 'children' );
|
1726
|
+
},
|
1727
|
+
|
1728
|
+
/**
|
1729
|
+
* Adds a UI element definition to the content definition.
|
1730
|
+
* @param {CKEDITOR.dialog.definition.uiElement} elementDefinition The
|
1731
|
+
* UI elemnet definition to be added.
|
1732
|
+
* @param {String} nextSiblingId The id of an existing UI element
|
1733
|
+
* definition which the new UI element definition will be inserted
|
1734
|
+
* before. Omit if the new button definition is to be inserted as
|
1735
|
+
* the last item.
|
1736
|
+
* @returns {CKEDITOR.dialog.definition.uiElement} The element
|
1737
|
+
* definition inserted.
|
1738
|
+
*/
|
1739
|
+
add : function( elementDefinition, nextSiblingId )
|
1740
|
+
{
|
1741
|
+
return addById( this.elements, elementDefinition, nextSiblingId, 'children' );
|
1742
|
+
},
|
1743
|
+
|
1744
|
+
/**
|
1745
|
+
* Removes a UI element definition from the content definition.
|
1746
|
+
* @param {String} id The id of the UI element definition to be
|
1747
|
+
* removed.
|
1748
|
+
* @returns {CKEDITOR.dialog.definition.uiElement} The element
|
1749
|
+
* definition removed.
|
1750
|
+
* @example
|
1751
|
+
*/
|
1752
|
+
remove : function( id )
|
1753
|
+
{
|
1754
|
+
removeById( this.elements, id, 'children' );
|
1755
|
+
}
|
1756
|
+
};
|
1757
|
+
|
1758
|
+
function initDragAndDrop( dialog )
|
1759
|
+
{
|
1760
|
+
var lastCoords = null,
|
1761
|
+
abstractDialogCoords = null,
|
1762
|
+
element = dialog.getElement().getFirst(),
|
1763
|
+
editor = dialog.getParentEditor(),
|
1764
|
+
magnetDistance = editor.config.dialog_magnetDistance,
|
1765
|
+
margins = editor.skin.margins || [ 0, 0, 0, 0 ];
|
1766
|
+
|
1767
|
+
if ( typeof magnetDistance == 'undefined' )
|
1768
|
+
magnetDistance = 20;
|
1769
|
+
|
1770
|
+
function mouseMoveHandler( evt )
|
1771
|
+
{
|
1772
|
+
var dialogSize = dialog.getSize(),
|
1773
|
+
viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize(),
|
1774
|
+
x = evt.data.$.screenX,
|
1775
|
+
y = evt.data.$.screenY,
|
1776
|
+
dx = x - lastCoords.x,
|
1777
|
+
dy = y - lastCoords.y,
|
1778
|
+
realX, realY;
|
1779
|
+
|
1780
|
+
lastCoords = { x : x, y : y };
|
1781
|
+
abstractDialogCoords.x += dx;
|
1782
|
+
abstractDialogCoords.y += dy;
|
1783
|
+
|
1784
|
+
if ( abstractDialogCoords.x + margins[3] < magnetDistance )
|
1785
|
+
realX = - margins[3];
|
1786
|
+
else if ( abstractDialogCoords.x - margins[1] > viewPaneSize.width - dialogSize.width - magnetDistance )
|
1787
|
+
realX = viewPaneSize.width - dialogSize.width + ( editor.lang.dir == 'rtl' ? 0 : margins[1] );
|
1788
|
+
else
|
1789
|
+
realX = abstractDialogCoords.x;
|
1790
|
+
|
1791
|
+
if ( abstractDialogCoords.y + margins[0] < magnetDistance )
|
1792
|
+
realY = - margins[0];
|
1793
|
+
else if ( abstractDialogCoords.y - margins[2] > viewPaneSize.height - dialogSize.height - magnetDistance )
|
1794
|
+
realY = viewPaneSize.height - dialogSize.height + margins[2];
|
1795
|
+
else
|
1796
|
+
realY = abstractDialogCoords.y;
|
1797
|
+
|
1798
|
+
dialog.move( realX, realY, 1 );
|
1799
|
+
|
1800
|
+
evt.data.preventDefault();
|
1801
|
+
}
|
1802
|
+
|
1803
|
+
function mouseUpHandler( evt )
|
1804
|
+
{
|
1805
|
+
CKEDITOR.document.removeListener( 'mousemove', mouseMoveHandler );
|
1806
|
+
CKEDITOR.document.removeListener( 'mouseup', mouseUpHandler );
|
1807
|
+
|
1808
|
+
if ( CKEDITOR.env.ie6Compat )
|
1809
|
+
{
|
1810
|
+
var coverDoc = currentCover.getChild( 0 ).getFrameDocument();
|
1811
|
+
coverDoc.removeListener( 'mousemove', mouseMoveHandler );
|
1812
|
+
coverDoc.removeListener( 'mouseup', mouseUpHandler );
|
1813
|
+
}
|
1814
|
+
}
|
1815
|
+
|
1816
|
+
dialog.parts.title.on( 'mousedown', function( evt )
|
1817
|
+
{
|
1818
|
+
lastCoords = { x : evt.data.$.screenX, y : evt.data.$.screenY };
|
1819
|
+
|
1820
|
+
CKEDITOR.document.on( 'mousemove', mouseMoveHandler );
|
1821
|
+
CKEDITOR.document.on( 'mouseup', mouseUpHandler );
|
1822
|
+
abstractDialogCoords = dialog.getPosition();
|
1823
|
+
|
1824
|
+
if ( CKEDITOR.env.ie6Compat )
|
1825
|
+
{
|
1826
|
+
var coverDoc = currentCover.getChild( 0 ).getFrameDocument();
|
1827
|
+
coverDoc.on( 'mousemove', mouseMoveHandler );
|
1828
|
+
coverDoc.on( 'mouseup', mouseUpHandler );
|
1829
|
+
}
|
1830
|
+
|
1831
|
+
evt.data.preventDefault();
|
1832
|
+
}, dialog );
|
1833
|
+
}
|
1834
|
+
|
1835
|
+
function initResizeHandles( dialog )
|
1836
|
+
{
|
1837
|
+
var def = dialog.definition,
|
1838
|
+
resizable = def.resizable;
|
1839
|
+
|
1840
|
+
if ( resizable == CKEDITOR.DIALOG_RESIZE_NONE )
|
1841
|
+
return;
|
1842
|
+
|
1843
|
+
var editor = dialog.getParentEditor();
|
1844
|
+
var wrapperWidth, wrapperHeight,
|
1845
|
+
viewSize, origin, startSize,
|
1846
|
+
dialogCover;
|
1847
|
+
|
1848
|
+
var mouseDownFn = CKEDITOR.tools.addFunction( function( $event )
|
1849
|
+
{
|
1850
|
+
startSize = dialog.getSize();
|
1851
|
+
|
1852
|
+
var content = dialog.parts.contents,
|
1853
|
+
iframeDialog = content.$.getElementsByTagName( 'iframe' ).length;
|
1854
|
+
|
1855
|
+
// Shim to help capturing "mousemove" over iframe.
|
1856
|
+
if ( iframeDialog )
|
1857
|
+
{
|
1858
|
+
dialogCover = CKEDITOR.dom.element.createFromHtml( '<div class="cke_dialog_resize_cover" style="height: 100%; position: absolute; width: 100%;"></div>' );
|
1859
|
+
content.append( dialogCover );
|
1860
|
+
}
|
1861
|
+
|
1862
|
+
// Calculate the offset between content and chrome size.
|
1863
|
+
wrapperHeight = startSize.height - dialog.parts.contents.getSize( 'height', ! ( CKEDITOR.env.gecko || CKEDITOR.env.opera || CKEDITOR.env.ie && CKEDITOR.env.quirks ) );
|
1864
|
+
wrapperWidth = startSize.width - dialog.parts.contents.getSize( 'width', 1 );
|
1865
|
+
|
1866
|
+
origin = { x : $event.screenX, y : $event.screenY };
|
1867
|
+
|
1868
|
+
viewSize = CKEDITOR.document.getWindow().getViewPaneSize();
|
1869
|
+
|
1870
|
+
CKEDITOR.document.on( 'mousemove', mouseMoveHandler );
|
1871
|
+
CKEDITOR.document.on( 'mouseup', mouseUpHandler );
|
1872
|
+
|
1873
|
+
if ( CKEDITOR.env.ie6Compat )
|
1874
|
+
{
|
1875
|
+
var coverDoc = currentCover.getChild( 0 ).getFrameDocument();
|
1876
|
+
coverDoc.on( 'mousemove', mouseMoveHandler );
|
1877
|
+
coverDoc.on( 'mouseup', mouseUpHandler );
|
1878
|
+
}
|
1879
|
+
|
1880
|
+
$event.preventDefault && $event.preventDefault();
|
1881
|
+
});
|
1882
|
+
|
1883
|
+
// Prepend the grip to the dialog.
|
1884
|
+
dialog.on( 'load', function()
|
1885
|
+
{
|
1886
|
+
var direction = '';
|
1887
|
+
if ( resizable == CKEDITOR.DIALOG_RESIZE_WIDTH )
|
1888
|
+
direction = ' cke_resizer_horizontal';
|
1889
|
+
else if ( resizable == CKEDITOR.DIALOG_RESIZE_HEIGHT )
|
1890
|
+
direction = ' cke_resizer_vertical';
|
1891
|
+
var resizer = CKEDITOR.dom.element.createFromHtml( '<div' +
|
1892
|
+
' class="cke_resizer' + direction + ' cke_resizer_' + editor.lang.dir + '"' +
|
1893
|
+
' title="' + CKEDITOR.tools.htmlEncode( editor.lang.resize ) + '"' +
|
1894
|
+
' onmousedown="CKEDITOR.tools.callFunction(' + mouseDownFn + ', event )"></div>' );
|
1895
|
+
dialog.parts.footer.append( resizer, 1 );
|
1896
|
+
});
|
1897
|
+
editor.on( 'destroy', function() { CKEDITOR.tools.removeFunction( mouseDownFn ); } );
|
1898
|
+
|
1899
|
+
function mouseMoveHandler( evt )
|
1900
|
+
{
|
1901
|
+
var rtl = editor.lang.dir == 'rtl',
|
1902
|
+
dx = ( evt.data.$.screenX - origin.x ) * ( rtl ? -1 : 1 ),
|
1903
|
+
dy = evt.data.$.screenY - origin.y,
|
1904
|
+
width = startSize.width,
|
1905
|
+
height = startSize.height,
|
1906
|
+
internalWidth = width + dx * ( dialog._.moved ? 1 : 2 ),
|
1907
|
+
internalHeight = height + dy * ( dialog._.moved ? 1 : 2 ),
|
1908
|
+
element = dialog._.element.getFirst(),
|
1909
|
+
right = rtl && element.getComputedStyle( 'right' ),
|
1910
|
+
position = dialog.getPosition();
|
1911
|
+
|
1912
|
+
if ( position.y + internalHeight > viewSize.height )
|
1913
|
+
internalHeight = viewSize.height - position.y;
|
1914
|
+
|
1915
|
+
if ( ( rtl ? right : position.x ) + internalWidth > viewSize.width )
|
1916
|
+
internalWidth = viewSize.width - ( rtl ? right : position.x );
|
1917
|
+
|
1918
|
+
// Make sure the dialog will not be resized to the wrong side when it's in the leftmost position for RTL.
|
1919
|
+
if ( ( resizable == CKEDITOR.DIALOG_RESIZE_WIDTH || resizable == CKEDITOR.DIALOG_RESIZE_BOTH ) )
|
1920
|
+
width = Math.max( def.minWidth || 0, internalWidth - wrapperWidth );
|
1921
|
+
|
1922
|
+
if ( resizable == CKEDITOR.DIALOG_RESIZE_HEIGHT || resizable == CKEDITOR.DIALOG_RESIZE_BOTH )
|
1923
|
+
height = Math.max( def.minHeight || 0, internalHeight - wrapperHeight );
|
1924
|
+
|
1925
|
+
dialog.resize( width, height );
|
1926
|
+
|
1927
|
+
if ( !dialog._.moved )
|
1928
|
+
dialog.layout();
|
1929
|
+
|
1930
|
+
evt.data.preventDefault();
|
1931
|
+
}
|
1932
|
+
|
1933
|
+
function mouseUpHandler()
|
1934
|
+
{
|
1935
|
+
CKEDITOR.document.removeListener( 'mouseup', mouseUpHandler );
|
1936
|
+
CKEDITOR.document.removeListener( 'mousemove', mouseMoveHandler );
|
1937
|
+
|
1938
|
+
if ( dialogCover )
|
1939
|
+
{
|
1940
|
+
dialogCover.remove();
|
1941
|
+
dialogCover = null;
|
1942
|
+
}
|
1943
|
+
|
1944
|
+
if ( CKEDITOR.env.ie6Compat )
|
1945
|
+
{
|
1946
|
+
var coverDoc = currentCover.getChild( 0 ).getFrameDocument();
|
1947
|
+
coverDoc.removeListener( 'mouseup', mouseUpHandler );
|
1948
|
+
coverDoc.removeListener( 'mousemove', mouseMoveHandler );
|
1949
|
+
}
|
1950
|
+
}
|
1951
|
+
}
|
1952
|
+
|
1953
|
+
var resizeCover;
|
1954
|
+
// Caching resuable covers and allowing only one cover
|
1955
|
+
// on screen.
|
1956
|
+
var covers = {},
|
1957
|
+
currentCover;
|
1958
|
+
|
1959
|
+
function cancelEvent( ev )
|
1960
|
+
{
|
1961
|
+
ev.data.preventDefault(1);
|
1962
|
+
}
|
1963
|
+
|
1964
|
+
function showCover( editor )
|
1965
|
+
{
|
1966
|
+
var win = CKEDITOR.document.getWindow();
|
1967
|
+
var config = editor.config,
|
1968
|
+
backgroundColorStyle = config.dialog_backgroundCoverColor || 'white',
|
1969
|
+
backgroundCoverOpacity = config.dialog_backgroundCoverOpacity,
|
1970
|
+
baseFloatZIndex = config.baseFloatZIndex,
|
1971
|
+
coverKey = CKEDITOR.tools.genKey(
|
1972
|
+
backgroundColorStyle,
|
1973
|
+
backgroundCoverOpacity,
|
1974
|
+
baseFloatZIndex ),
|
1975
|
+
coverElement = covers[ coverKey ];
|
1976
|
+
|
1977
|
+
if ( !coverElement )
|
1978
|
+
{
|
1979
|
+
var html = [
|
1980
|
+
'<div tabIndex="-1" style="position: ', ( CKEDITOR.env.ie6Compat ? 'absolute' : 'fixed' ),
|
1981
|
+
'; z-index: ', baseFloatZIndex,
|
1982
|
+
'; top: 0px; left: 0px; ',
|
1983
|
+
( !CKEDITOR.env.ie6Compat ? 'background-color: ' + backgroundColorStyle : '' ),
|
1984
|
+
'" class="cke_dialog_background_cover">'
|
1985
|
+
];
|
1986
|
+
|
1987
|
+
if ( CKEDITOR.env.ie6Compat )
|
1988
|
+
{
|
1989
|
+
// Support for custom document.domain in IE.
|
1990
|
+
var isCustomDomain = CKEDITOR.env.isCustomDomain(),
|
1991
|
+
iframeHtml = '<html><body style=\\\'background-color:' + backgroundColorStyle + ';\\\'></body></html>';
|
1992
|
+
|
1993
|
+
html.push(
|
1994
|
+
'<iframe' +
|
1995
|
+
' hidefocus="true"' +
|
1996
|
+
' frameborder="0"' +
|
1997
|
+
' id="cke_dialog_background_iframe"' +
|
1998
|
+
' src="javascript:' );
|
1999
|
+
|
2000
|
+
html.push( 'void((function(){' +
|
2001
|
+
'document.open();' +
|
2002
|
+
( isCustomDomain ? 'document.domain=\'' + document.domain + '\';' : '' ) +
|
2003
|
+
'document.write( \'' + iframeHtml + '\' );' +
|
2004
|
+
'document.close();' +
|
2005
|
+
'})())' );
|
2006
|
+
|
2007
|
+
html.push(
|
2008
|
+
'"' +
|
2009
|
+
' style="' +
|
2010
|
+
'position:absolute;' +
|
2011
|
+
'left:0;' +
|
2012
|
+
'top:0;' +
|
2013
|
+
'width:100%;' +
|
2014
|
+
'height: 100%;' +
|
2015
|
+
'progid:DXImageTransform.Microsoft.Alpha(opacity=0)">' +
|
2016
|
+
'</iframe>' );
|
2017
|
+
}
|
2018
|
+
|
2019
|
+
html.push( '</div>' );
|
2020
|
+
|
2021
|
+
coverElement = CKEDITOR.dom.element.createFromHtml( html.join( '' ) );
|
2022
|
+
coverElement.setOpacity( backgroundCoverOpacity != undefined ? backgroundCoverOpacity : 0.5 );
|
2023
|
+
|
2024
|
+
coverElement.on( 'keydown', cancelEvent );
|
2025
|
+
coverElement.on( 'keypress', cancelEvent );
|
2026
|
+
coverElement.on( 'keyup', cancelEvent );
|
2027
|
+
|
2028
|
+
coverElement.appendTo( CKEDITOR.document.getBody() );
|
2029
|
+
covers[ coverKey ] = coverElement;
|
2030
|
+
}
|
2031
|
+
else
|
2032
|
+
coverElement. show();
|
2033
|
+
|
2034
|
+
currentCover = coverElement;
|
2035
|
+
var resizeFunc = function()
|
2036
|
+
{
|
2037
|
+
var size = win.getViewPaneSize();
|
2038
|
+
coverElement.setStyles(
|
2039
|
+
{
|
2040
|
+
width : size.width + 'px',
|
2041
|
+
height : size.height + 'px'
|
2042
|
+
} );
|
2043
|
+
};
|
2044
|
+
|
2045
|
+
var scrollFunc = function()
|
2046
|
+
{
|
2047
|
+
var pos = win.getScrollPosition(),
|
2048
|
+
cursor = CKEDITOR.dialog._.currentTop;
|
2049
|
+
coverElement.setStyles(
|
2050
|
+
{
|
2051
|
+
left : pos.x + 'px',
|
2052
|
+
top : pos.y + 'px'
|
2053
|
+
});
|
2054
|
+
|
2055
|
+
if ( cursor )
|
2056
|
+
{
|
2057
|
+
do
|
2058
|
+
{
|
2059
|
+
var dialogPos = cursor.getPosition();
|
2060
|
+
cursor.move( dialogPos.x, dialogPos.y );
|
2061
|
+
} while ( ( cursor = cursor._.parentDialog ) );
|
2062
|
+
}
|
2063
|
+
};
|
2064
|
+
|
2065
|
+
resizeCover = resizeFunc;
|
2066
|
+
win.on( 'resize', resizeFunc );
|
2067
|
+
resizeFunc();
|
2068
|
+
// Using Safari/Mac, focus must be kept where it is (#7027)
|
2069
|
+
if ( !( CKEDITOR.env.mac && CKEDITOR.env.webkit ) )
|
2070
|
+
coverElement.focus();
|
2071
|
+
|
2072
|
+
if ( CKEDITOR.env.ie6Compat )
|
2073
|
+
{
|
2074
|
+
// IE BUG: win.$.onscroll assignment doesn't work.. it must be window.onscroll.
|
2075
|
+
// So we need to invent a really funny way to make it work.
|
2076
|
+
var myScrollHandler = function()
|
2077
|
+
{
|
2078
|
+
scrollFunc();
|
2079
|
+
arguments.callee.prevScrollHandler.apply( this, arguments );
|
2080
|
+
};
|
2081
|
+
win.$.setTimeout( function()
|
2082
|
+
{
|
2083
|
+
myScrollHandler.prevScrollHandler = window.onscroll || function(){};
|
2084
|
+
window.onscroll = myScrollHandler;
|
2085
|
+
}, 0 );
|
2086
|
+
scrollFunc();
|
2087
|
+
}
|
2088
|
+
}
|
2089
|
+
|
2090
|
+
function hideCover()
|
2091
|
+
{
|
2092
|
+
if ( !currentCover )
|
2093
|
+
return;
|
2094
|
+
|
2095
|
+
var win = CKEDITOR.document.getWindow();
|
2096
|
+
currentCover.hide();
|
2097
|
+
win.removeListener( 'resize', resizeCover );
|
2098
|
+
|
2099
|
+
if ( CKEDITOR.env.ie6Compat )
|
2100
|
+
{
|
2101
|
+
win.$.setTimeout( function()
|
2102
|
+
{
|
2103
|
+
var prevScrollHandler = window.onscroll && window.onscroll.prevScrollHandler;
|
2104
|
+
window.onscroll = prevScrollHandler || null;
|
2105
|
+
}, 0 );
|
2106
|
+
}
|
2107
|
+
resizeCover = null;
|
2108
|
+
}
|
2109
|
+
|
2110
|
+
function removeCovers()
|
2111
|
+
{
|
2112
|
+
for ( var coverId in covers )
|
2113
|
+
covers[ coverId ].remove();
|
2114
|
+
covers = {};
|
2115
|
+
}
|
2116
|
+
|
2117
|
+
var accessKeyProcessors = {};
|
2118
|
+
|
2119
|
+
var accessKeyDownHandler = function( evt )
|
2120
|
+
{
|
2121
|
+
var ctrl = evt.data.$.ctrlKey || evt.data.$.metaKey,
|
2122
|
+
alt = evt.data.$.altKey,
|
2123
|
+
shift = evt.data.$.shiftKey,
|
2124
|
+
key = String.fromCharCode( evt.data.$.keyCode ),
|
2125
|
+
keyProcessor = accessKeyProcessors[( ctrl ? 'CTRL+' : '' ) + ( alt ? 'ALT+' : '') + ( shift ? 'SHIFT+' : '' ) + key];
|
2126
|
+
|
2127
|
+
if ( !keyProcessor || !keyProcessor.length )
|
2128
|
+
return;
|
2129
|
+
|
2130
|
+
keyProcessor = keyProcessor[keyProcessor.length - 1];
|
2131
|
+
keyProcessor.keydown && keyProcessor.keydown.call( keyProcessor.uiElement, keyProcessor.dialog, keyProcessor.key );
|
2132
|
+
evt.data.preventDefault();
|
2133
|
+
};
|
2134
|
+
|
2135
|
+
var accessKeyUpHandler = function( evt )
|
2136
|
+
{
|
2137
|
+
var ctrl = evt.data.$.ctrlKey || evt.data.$.metaKey,
|
2138
|
+
alt = evt.data.$.altKey,
|
2139
|
+
shift = evt.data.$.shiftKey,
|
2140
|
+
key = String.fromCharCode( evt.data.$.keyCode ),
|
2141
|
+
keyProcessor = accessKeyProcessors[( ctrl ? 'CTRL+' : '' ) + ( alt ? 'ALT+' : '') + ( shift ? 'SHIFT+' : '' ) + key];
|
2142
|
+
|
2143
|
+
if ( !keyProcessor || !keyProcessor.length )
|
2144
|
+
return;
|
2145
|
+
|
2146
|
+
keyProcessor = keyProcessor[keyProcessor.length - 1];
|
2147
|
+
if ( keyProcessor.keyup )
|
2148
|
+
{
|
2149
|
+
keyProcessor.keyup.call( keyProcessor.uiElement, keyProcessor.dialog, keyProcessor.key );
|
2150
|
+
evt.data.preventDefault();
|
2151
|
+
}
|
2152
|
+
};
|
2153
|
+
|
2154
|
+
var registerAccessKey = function( uiElement, dialog, key, downFunc, upFunc )
|
2155
|
+
{
|
2156
|
+
var procList = accessKeyProcessors[key] || ( accessKeyProcessors[key] = [] );
|
2157
|
+
procList.push( {
|
2158
|
+
uiElement : uiElement,
|
2159
|
+
dialog : dialog,
|
2160
|
+
key : key,
|
2161
|
+
keyup : upFunc || uiElement.accessKeyUp,
|
2162
|
+
keydown : downFunc || uiElement.accessKeyDown
|
2163
|
+
} );
|
2164
|
+
};
|
2165
|
+
|
2166
|
+
var unregisterAccessKey = function( obj )
|
2167
|
+
{
|
2168
|
+
for ( var i in accessKeyProcessors )
|
2169
|
+
{
|
2170
|
+
var list = accessKeyProcessors[i];
|
2171
|
+
for ( var j = list.length - 1 ; j >= 0 ; j-- )
|
2172
|
+
{
|
2173
|
+
if ( list[j].dialog == obj || list[j].uiElement == obj )
|
2174
|
+
list.splice( j, 1 );
|
2175
|
+
}
|
2176
|
+
if ( list.length === 0 )
|
2177
|
+
delete accessKeyProcessors[i];
|
2178
|
+
}
|
2179
|
+
};
|
2180
|
+
|
2181
|
+
var tabAccessKeyUp = function( dialog, key )
|
2182
|
+
{
|
2183
|
+
if ( dialog._.accessKeyMap[key] )
|
2184
|
+
dialog.selectPage( dialog._.accessKeyMap[key] );
|
2185
|
+
};
|
2186
|
+
|
2187
|
+
var tabAccessKeyDown = function( dialog, key )
|
2188
|
+
{
|
2189
|
+
};
|
2190
|
+
|
2191
|
+
// ESC, ENTER
|
2192
|
+
var preventKeyBubblingKeys = { 27 :1, 13 :1 };
|
2193
|
+
var preventKeyBubbling = function( e )
|
2194
|
+
{
|
2195
|
+
if ( e.data.getKeystroke() in preventKeyBubblingKeys )
|
2196
|
+
e.data.stopPropagation();
|
2197
|
+
};
|
2198
|
+
|
2199
|
+
(function()
|
2200
|
+
{
|
2201
|
+
CKEDITOR.ui.dialog =
|
2202
|
+
{
|
2203
|
+
/**
|
2204
|
+
* The base class of all dialog UI elements.
|
2205
|
+
* @constructor
|
2206
|
+
* @param {CKEDITOR.dialog} dialog Parent dialog object.
|
2207
|
+
* @param {CKEDITOR.dialog.definition.uiElement} elementDefinition Element
|
2208
|
+
* definition. Accepted fields:
|
2209
|
+
* <ul>
|
2210
|
+
* <li><strong>id</strong> (Required) The id of the UI element. See {@link
|
2211
|
+
* CKEDITOR.dialog#getContentElement}</li>
|
2212
|
+
* <li><strong>type</strong> (Required) The type of the UI element. The
|
2213
|
+
* value to this field specifies which UI element class will be used to
|
2214
|
+
* generate the final widget.</li>
|
2215
|
+
* <li><strong>title</strong> (Optional) The popup tooltip for the UI
|
2216
|
+
* element.</li>
|
2217
|
+
* <li><strong>hidden</strong> (Optional) A flag that tells if the element
|
2218
|
+
* should be initially visible.</li>
|
2219
|
+
* <li><strong>className</strong> (Optional) Additional CSS class names
|
2220
|
+
* to add to the UI element. Separated by space.</li>
|
2221
|
+
* <li><strong>style</strong> (Optional) Additional CSS inline styles
|
2222
|
+
* to add to the UI element. A semicolon (;) is required after the last
|
2223
|
+
* style declaration.</li>
|
2224
|
+
* <li><strong>accessKey</strong> (Optional) The alphanumeric access key
|
2225
|
+
* for this element. Access keys are automatically prefixed by CTRL.</li>
|
2226
|
+
* <li><strong>on*</strong> (Optional) Any UI element definition field that
|
2227
|
+
* starts with <em>on</em> followed immediately by a capital letter and
|
2228
|
+
* probably more letters is an event handler. Event handlers may be further
|
2229
|
+
* divided into registered event handlers and DOM event handlers. Please
|
2230
|
+
* refer to {@link CKEDITOR.ui.dialog.uiElement#registerEvents} and
|
2231
|
+
* {@link CKEDITOR.ui.dialog.uiElement#eventProcessors} for more
|
2232
|
+
* information.</li>
|
2233
|
+
* </ul>
|
2234
|
+
* @param {Array} htmlList
|
2235
|
+
* List of HTML code to be added to the dialog's content area.
|
2236
|
+
* @param {Function|String} nodeNameArg
|
2237
|
+
* A function returning a string, or a simple string for the node name for
|
2238
|
+
* the root DOM node. Default is 'div'.
|
2239
|
+
* @param {Function|Object} stylesArg
|
2240
|
+
* A function returning an object, or a simple object for CSS styles applied
|
2241
|
+
* to the DOM node. Default is empty object.
|
2242
|
+
* @param {Function|Object} attributesArg
|
2243
|
+
* A fucntion returning an object, or a simple object for attributes applied
|
2244
|
+
* to the DOM node. Default is empty object.
|
2245
|
+
* @param {Function|String} contentsArg
|
2246
|
+
* A function returning a string, or a simple string for the HTML code inside
|
2247
|
+
* the root DOM node. Default is empty string.
|
2248
|
+
* @example
|
2249
|
+
*/
|
2250
|
+
uiElement : function( dialog, elementDefinition, htmlList, nodeNameArg, stylesArg, attributesArg, contentsArg )
|
2251
|
+
{
|
2252
|
+
if ( arguments.length < 4 )
|
2253
|
+
return;
|
2254
|
+
|
2255
|
+
var nodeName = ( nodeNameArg.call ? nodeNameArg( elementDefinition ) : nodeNameArg ) || 'div',
|
2256
|
+
html = [ '<', nodeName, ' ' ],
|
2257
|
+
styles = ( stylesArg && stylesArg.call ? stylesArg( elementDefinition ) : stylesArg ) || {},
|
2258
|
+
attributes = ( attributesArg && attributesArg.call ? attributesArg( elementDefinition ) : attributesArg ) || {},
|
2259
|
+
innerHTML = ( contentsArg && contentsArg.call ? contentsArg.call( this, dialog, elementDefinition ) : contentsArg ) || '',
|
2260
|
+
domId = this.domId = attributes.id || CKEDITOR.tools.getNextId() + '_uiElement',
|
2261
|
+
id = this.id = elementDefinition.id,
|
2262
|
+
i;
|
2263
|
+
|
2264
|
+
// Set the id, a unique id is required for getElement() to work.
|
2265
|
+
attributes.id = domId;
|
2266
|
+
|
2267
|
+
// Set the type and definition CSS class names.
|
2268
|
+
var classes = {};
|
2269
|
+
if ( elementDefinition.type )
|
2270
|
+
classes[ 'cke_dialog_ui_' + elementDefinition.type ] = 1;
|
2271
|
+
if ( elementDefinition.className )
|
2272
|
+
classes[ elementDefinition.className ] = 1;
|
2273
|
+
if ( elementDefinition.disabled )
|
2274
|
+
classes[ 'cke_disabled' ] = 1;
|
2275
|
+
|
2276
|
+
var attributeClasses = ( attributes['class'] && attributes['class'].split ) ? attributes['class'].split( ' ' ) : [];
|
2277
|
+
for ( i = 0 ; i < attributeClasses.length ; i++ )
|
2278
|
+
{
|
2279
|
+
if ( attributeClasses[i] )
|
2280
|
+
classes[ attributeClasses[i] ] = 1;
|
2281
|
+
}
|
2282
|
+
var finalClasses = [];
|
2283
|
+
for ( i in classes )
|
2284
|
+
finalClasses.push( i );
|
2285
|
+
attributes['class'] = finalClasses.join( ' ' );
|
2286
|
+
|
2287
|
+
// Set the popup tooltop.
|
2288
|
+
if ( elementDefinition.title )
|
2289
|
+
attributes.title = elementDefinition.title;
|
2290
|
+
|
2291
|
+
// Write the inline CSS styles.
|
2292
|
+
var styleStr = ( elementDefinition.style || '' ).split( ';' );
|
2293
|
+
|
2294
|
+
// Element alignment support.
|
2295
|
+
if ( elementDefinition.align )
|
2296
|
+
{
|
2297
|
+
var align = elementDefinition.align;
|
2298
|
+
styles[ 'margin-left' ] = align == 'left' ? 0 : 'auto';
|
2299
|
+
styles[ 'margin-right' ] = align == 'right' ? 0 : 'auto';
|
2300
|
+
}
|
2301
|
+
|
2302
|
+
for ( i in styles )
|
2303
|
+
styleStr.push( i + ':' + styles[i] );
|
2304
|
+
if ( elementDefinition.hidden )
|
2305
|
+
styleStr.push( 'display:none' );
|
2306
|
+
for ( i = styleStr.length - 1 ; i >= 0 ; i-- )
|
2307
|
+
{
|
2308
|
+
if ( styleStr[i] === '' )
|
2309
|
+
styleStr.splice( i, 1 );
|
2310
|
+
}
|
2311
|
+
if ( styleStr.length > 0 )
|
2312
|
+
attributes.style = ( attributes.style ? ( attributes.style + '; ' ) : '' ) + styleStr.join( '; ' );
|
2313
|
+
|
2314
|
+
// Write the attributes.
|
2315
|
+
for ( i in attributes )
|
2316
|
+
html.push( i + '="' + CKEDITOR.tools.htmlEncode( attributes[i] ) + '" ');
|
2317
|
+
|
2318
|
+
// Write the content HTML.
|
2319
|
+
html.push( '>', innerHTML, '</', nodeName, '>' );
|
2320
|
+
|
2321
|
+
// Add contents to the parent HTML array.
|
2322
|
+
htmlList.push( html.join( '' ) );
|
2323
|
+
|
2324
|
+
( this._ || ( this._ = {} ) ).dialog = dialog;
|
2325
|
+
|
2326
|
+
// Override isChanged if it is defined in element definition.
|
2327
|
+
if ( typeof( elementDefinition.isChanged ) == 'boolean' )
|
2328
|
+
this.isChanged = function(){ return elementDefinition.isChanged; };
|
2329
|
+
if ( typeof( elementDefinition.isChanged ) == 'function' )
|
2330
|
+
this.isChanged = elementDefinition.isChanged;
|
2331
|
+
|
2332
|
+
// Overload 'get(set)Value' on definition.
|
2333
|
+
if ( typeof( elementDefinition.setValue ) == 'function' )
|
2334
|
+
{
|
2335
|
+
this.setValue = CKEDITOR.tools.override( this.setValue, function( org )
|
2336
|
+
{
|
2337
|
+
return function( val ){ org.call( this, elementDefinition.setValue.call( this, val ) ); };
|
2338
|
+
} );
|
2339
|
+
}
|
2340
|
+
|
2341
|
+
if ( typeof( elementDefinition.getValue ) == 'function' )
|
2342
|
+
{
|
2343
|
+
this.getValue = CKEDITOR.tools.override( this.getValue, function( org )
|
2344
|
+
{
|
2345
|
+
return function(){ return elementDefinition.getValue.call( this, org.call( this ) ); };
|
2346
|
+
} );
|
2347
|
+
}
|
2348
|
+
|
2349
|
+
// Add events.
|
2350
|
+
CKEDITOR.event.implementOn( this );
|
2351
|
+
|
2352
|
+
this.registerEvents( elementDefinition );
|
2353
|
+
if ( this.accessKeyUp && this.accessKeyDown && elementDefinition.accessKey )
|
2354
|
+
registerAccessKey( this, dialog, 'CTRL+' + elementDefinition.accessKey );
|
2355
|
+
|
2356
|
+
var me = this;
|
2357
|
+
dialog.on( 'load', function()
|
2358
|
+
{
|
2359
|
+
var input = me.getInputElement();
|
2360
|
+
if ( input )
|
2361
|
+
{
|
2362
|
+
var focusClass = me.type in { 'checkbox' : 1, 'ratio' : 1 } && CKEDITOR.env.ie && CKEDITOR.env.version < 8 ? 'cke_dialog_ui_focused' : '';
|
2363
|
+
input.on( 'focus', function()
|
2364
|
+
{
|
2365
|
+
dialog._.tabBarMode = false;
|
2366
|
+
dialog._.hasFocus = true;
|
2367
|
+
me.fire( 'focus' );
|
2368
|
+
focusClass && this.addClass( focusClass );
|
2369
|
+
|
2370
|
+
});
|
2371
|
+
|
2372
|
+
input.on( 'blur', function()
|
2373
|
+
{
|
2374
|
+
me.fire( 'blur' );
|
2375
|
+
focusClass && this.removeClass( focusClass );
|
2376
|
+
});
|
2377
|
+
}
|
2378
|
+
} );
|
2379
|
+
|
2380
|
+
// Register the object as a tab focus if it can be included.
|
2381
|
+
if ( this.keyboardFocusable )
|
2382
|
+
{
|
2383
|
+
this.tabIndex = elementDefinition.tabIndex || 0;
|
2384
|
+
|
2385
|
+
this.focusIndex = dialog._.focusList.push( this ) - 1;
|
2386
|
+
this.on( 'focus', function()
|
2387
|
+
{
|
2388
|
+
dialog._.currentFocusIndex = me.focusIndex;
|
2389
|
+
} );
|
2390
|
+
}
|
2391
|
+
|
2392
|
+
// Completes this object with everything we have in the
|
2393
|
+
// definition.
|
2394
|
+
CKEDITOR.tools.extend( this, elementDefinition );
|
2395
|
+
},
|
2396
|
+
|
2397
|
+
/**
|
2398
|
+
* Horizontal layout box for dialog UI elements, auto-expends to available width of container.
|
2399
|
+
* @constructor
|
2400
|
+
* @extends CKEDITOR.ui.dialog.uiElement
|
2401
|
+
* @param {CKEDITOR.dialog} dialog
|
2402
|
+
* Parent dialog object.
|
2403
|
+
* @param {Array} childObjList
|
2404
|
+
* Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this
|
2405
|
+
* container.
|
2406
|
+
* @param {Array} childHtmlList
|
2407
|
+
* Array of HTML code that correspond to the HTML output of all the
|
2408
|
+
* objects in childObjList.
|
2409
|
+
* @param {Array} htmlList
|
2410
|
+
* Array of HTML code that this element will output to.
|
2411
|
+
* @param {CKEDITOR.dialog.definition.uiElement} elementDefinition
|
2412
|
+
* The element definition. Accepted fields:
|
2413
|
+
* <ul>
|
2414
|
+
* <li><strong>widths</strong> (Optional) The widths of child cells.</li>
|
2415
|
+
* <li><strong>height</strong> (Optional) The height of the layout.</li>
|
2416
|
+
* <li><strong>padding</strong> (Optional) The padding width inside child
|
2417
|
+
* cells.</li>
|
2418
|
+
* <li><strong>align</strong> (Optional) The alignment of the whole layout
|
2419
|
+
* </li>
|
2420
|
+
* </ul>
|
2421
|
+
* @example
|
2422
|
+
*/
|
2423
|
+
hbox : function( dialog, childObjList, childHtmlList, htmlList, elementDefinition )
|
2424
|
+
{
|
2425
|
+
if ( arguments.length < 4 )
|
2426
|
+
return;
|
2427
|
+
|
2428
|
+
this._ || ( this._ = {} );
|
2429
|
+
|
2430
|
+
var children = this._.children = childObjList,
|
2431
|
+
widths = elementDefinition && elementDefinition.widths || null,
|
2432
|
+
height = elementDefinition && elementDefinition.height || null,
|
2433
|
+
styles = {},
|
2434
|
+
i;
|
2435
|
+
/** @ignore */
|
2436
|
+
var innerHTML = function()
|
2437
|
+
{
|
2438
|
+
var html = [ '<tbody><tr class="cke_dialog_ui_hbox">' ];
|
2439
|
+
for ( i = 0 ; i < childHtmlList.length ; i++ )
|
2440
|
+
{
|
2441
|
+
var className = 'cke_dialog_ui_hbox_child',
|
2442
|
+
styles = [];
|
2443
|
+
if ( i === 0 )
|
2444
|
+
className = 'cke_dialog_ui_hbox_first';
|
2445
|
+
if ( i == childHtmlList.length - 1 )
|
2446
|
+
className = 'cke_dialog_ui_hbox_last';
|
2447
|
+
html.push( '<td class="', className, '" role="presentation" ' );
|
2448
|
+
if ( widths )
|
2449
|
+
{
|
2450
|
+
if ( widths[i] )
|
2451
|
+
styles.push( 'width:' + cssLength( widths[i] ) );
|
2452
|
+
}
|
2453
|
+
else
|
2454
|
+
styles.push( 'width:' + Math.floor( 100 / childHtmlList.length ) + '%' );
|
2455
|
+
if ( height )
|
2456
|
+
styles.push( 'height:' + cssLength( height ) );
|
2457
|
+
if ( elementDefinition && elementDefinition.padding != undefined )
|
2458
|
+
styles.push( 'padding:' + cssLength( elementDefinition.padding ) );
|
2459
|
+
// In IE Quirks alignment has to be done on table cells. (#7324)
|
2460
|
+
if ( CKEDITOR.env.ie && CKEDITOR.env.quirks && children[ i ].align )
|
2461
|
+
styles.push( 'text-align:' + children[ i ].align );
|
2462
|
+
if ( styles.length > 0 )
|
2463
|
+
html.push( 'style="' + styles.join('; ') + '" ' );
|
2464
|
+
html.push( '>', childHtmlList[i], '</td>' );
|
2465
|
+
}
|
2466
|
+
html.push( '</tr></tbody>' );
|
2467
|
+
return html.join( '' );
|
2468
|
+
};
|
2469
|
+
|
2470
|
+
var attribs = { role : 'presentation' };
|
2471
|
+
elementDefinition && elementDefinition.align && ( attribs.align = elementDefinition.align );
|
2472
|
+
|
2473
|
+
CKEDITOR.ui.dialog.uiElement.call(
|
2474
|
+
this,
|
2475
|
+
dialog,
|
2476
|
+
elementDefinition || { type : 'hbox' },
|
2477
|
+
htmlList,
|
2478
|
+
'table',
|
2479
|
+
styles,
|
2480
|
+
attribs,
|
2481
|
+
innerHTML );
|
2482
|
+
},
|
2483
|
+
|
2484
|
+
/**
|
2485
|
+
* Vertical layout box for dialog UI elements.
|
2486
|
+
* @constructor
|
2487
|
+
* @extends CKEDITOR.ui.dialog.hbox
|
2488
|
+
* @param {CKEDITOR.dialog} dialog
|
2489
|
+
* Parent dialog object.
|
2490
|
+
* @param {Array} childObjList
|
2491
|
+
* Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this
|
2492
|
+
* container.
|
2493
|
+
* @param {Array} childHtmlList
|
2494
|
+
* Array of HTML code that correspond to the HTML output of all the
|
2495
|
+
* objects in childObjList.
|
2496
|
+
* @param {Array} htmlList
|
2497
|
+
* Array of HTML code that this element will output to.
|
2498
|
+
* @param {CKEDITOR.dialog.definition.uiElement} elementDefinition
|
2499
|
+
* The element definition. Accepted fields:
|
2500
|
+
* <ul>
|
2501
|
+
* <li><strong>width</strong> (Optional) The width of the layout.</li>
|
2502
|
+
* <li><strong>heights</strong> (Optional) The heights of individual cells.
|
2503
|
+
* </li>
|
2504
|
+
* <li><strong>align</strong> (Optional) The alignment of the layout.</li>
|
2505
|
+
* <li><strong>padding</strong> (Optional) The padding width inside child
|
2506
|
+
* cells.</li>
|
2507
|
+
* <li><strong>expand</strong> (Optional) Whether the layout should expand
|
2508
|
+
* vertically to fill its container.</li>
|
2509
|
+
* </ul>
|
2510
|
+
* @example
|
2511
|
+
*/
|
2512
|
+
vbox : function( dialog, childObjList, childHtmlList, htmlList, elementDefinition )
|
2513
|
+
{
|
2514
|
+
if ( arguments.length < 3 )
|
2515
|
+
return;
|
2516
|
+
|
2517
|
+
this._ || ( this._ = {} );
|
2518
|
+
|
2519
|
+
var children = this._.children = childObjList,
|
2520
|
+
width = elementDefinition && elementDefinition.width || null,
|
2521
|
+
heights = elementDefinition && elementDefinition.heights || null;
|
2522
|
+
/** @ignore */
|
2523
|
+
var innerHTML = function()
|
2524
|
+
{
|
2525
|
+
var html = [ '<table role="presentation" cellspacing="0" border="0" ' ];
|
2526
|
+
html.push( 'style="' );
|
2527
|
+
if ( elementDefinition && elementDefinition.expand )
|
2528
|
+
html.push( 'height:100%;' );
|
2529
|
+
html.push( 'width:' + cssLength( width || '100%' ), ';' );
|
2530
|
+
html.push( '"' );
|
2531
|
+
html.push( 'align="', CKEDITOR.tools.htmlEncode(
|
2532
|
+
( elementDefinition && elementDefinition.align ) || ( dialog.getParentEditor().lang.dir == 'ltr' ? 'left' : 'right' ) ), '" ' );
|
2533
|
+
|
2534
|
+
html.push( '><tbody>' );
|
2535
|
+
for ( var i = 0 ; i < childHtmlList.length ; i++ )
|
2536
|
+
{
|
2537
|
+
var styles = [];
|
2538
|
+
html.push( '<tr><td role="presentation" ' );
|
2539
|
+
if ( width )
|
2540
|
+
styles.push( 'width:' + cssLength( width || '100%' ) );
|
2541
|
+
if ( heights )
|
2542
|
+
styles.push( 'height:' + cssLength( heights[i] ) );
|
2543
|
+
else if ( elementDefinition && elementDefinition.expand )
|
2544
|
+
styles.push( 'height:' + Math.floor( 100 / childHtmlList.length ) + '%' );
|
2545
|
+
if ( elementDefinition && elementDefinition.padding != undefined )
|
2546
|
+
styles.push( 'padding:' + cssLength( elementDefinition.padding ) );
|
2547
|
+
// In IE Quirks alignment has to be done on table cells. (#7324)
|
2548
|
+
if ( CKEDITOR.env.ie && CKEDITOR.env.quirks && children[ i ].align )
|
2549
|
+
styles.push( 'text-align:' + children[ i ].align );
|
2550
|
+
if ( styles.length > 0 )
|
2551
|
+
html.push( 'style="', styles.join( '; ' ), '" ' );
|
2552
|
+
html.push( ' class="cke_dialog_ui_vbox_child">', childHtmlList[i], '</td></tr>' );
|
2553
|
+
}
|
2554
|
+
html.push( '</tbody></table>' );
|
2555
|
+
return html.join( '' );
|
2556
|
+
};
|
2557
|
+
CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition || { type : 'vbox' }, htmlList, 'div', null, { role : 'presentation' }, innerHTML );
|
2558
|
+
}
|
2559
|
+
};
|
2560
|
+
})();
|
2561
|
+
|
2562
|
+
CKEDITOR.ui.dialog.uiElement.prototype =
|
2563
|
+
{
|
2564
|
+
/**
|
2565
|
+
* Gets the root DOM element of this dialog UI object.
|
2566
|
+
* @returns {CKEDITOR.dom.element} Root DOM element of UI object.
|
2567
|
+
* @example
|
2568
|
+
* uiElement.getElement().hide();
|
2569
|
+
*/
|
2570
|
+
getElement : function()
|
2571
|
+
{
|
2572
|
+
return CKEDITOR.document.getById( this.domId );
|
2573
|
+
},
|
2574
|
+
|
2575
|
+
/**
|
2576
|
+
* Gets the DOM element that the user inputs values.
|
2577
|
+
* This function is used by setValue(), getValue() and focus(). It should
|
2578
|
+
* be overrided in child classes where the input element isn't the root
|
2579
|
+
* element.
|
2580
|
+
* @returns {CKEDITOR.dom.element} The element where the user input values.
|
2581
|
+
* @example
|
2582
|
+
* var rawValue = textInput.getInputElement().$.value;
|
2583
|
+
*/
|
2584
|
+
getInputElement : function()
|
2585
|
+
{
|
2586
|
+
return this.getElement();
|
2587
|
+
},
|
2588
|
+
|
2589
|
+
/**
|
2590
|
+
* Gets the parent dialog object containing this UI element.
|
2591
|
+
* @returns {CKEDITOR.dialog} Parent dialog object.
|
2592
|
+
* @example
|
2593
|
+
* var dialog = uiElement.getDialog();
|
2594
|
+
*/
|
2595
|
+
getDialog : function()
|
2596
|
+
{
|
2597
|
+
return this._.dialog;
|
2598
|
+
},
|
2599
|
+
|
2600
|
+
/**
|
2601
|
+
* Sets the value of this dialog UI object.
|
2602
|
+
* @param {Object} value The new value.
|
2603
|
+
* @param {Boolean} noChangeEvent Internal commit, to supress 'change' event on this element.
|
2604
|
+
* @returns {CKEDITOR.dialog.uiElement} The current UI element.
|
2605
|
+
* @example
|
2606
|
+
* uiElement.setValue( 'Dingo' );
|
2607
|
+
*/
|
2608
|
+
setValue : function( value, noChangeEvent )
|
2609
|
+
{
|
2610
|
+
this.getInputElement().setValue( value );
|
2611
|
+
!noChangeEvent && this.fire( 'change', { value : value } );
|
2612
|
+
return this;
|
2613
|
+
},
|
2614
|
+
|
2615
|
+
/**
|
2616
|
+
* Gets the current value of this dialog UI object.
|
2617
|
+
* @returns {Object} The current value.
|
2618
|
+
* @example
|
2619
|
+
* var myValue = uiElement.getValue();
|
2620
|
+
*/
|
2621
|
+
getValue : function()
|
2622
|
+
{
|
2623
|
+
return this.getInputElement().getValue();
|
2624
|
+
},
|
2625
|
+
|
2626
|
+
/**
|
2627
|
+
* Tells whether the UI object's value has changed.
|
2628
|
+
* @returns {Boolean} true if changed, false if not changed.
|
2629
|
+
* @example
|
2630
|
+
* if ( uiElement.isChanged() )
|
2631
|
+
* confirm( 'Value changed! Continue?' );
|
2632
|
+
*/
|
2633
|
+
isChanged : function()
|
2634
|
+
{
|
2635
|
+
// Override in input classes.
|
2636
|
+
return false;
|
2637
|
+
},
|
2638
|
+
|
2639
|
+
/**
|
2640
|
+
* Selects the parent tab of this element. Usually called by focus() or overridden focus() methods.
|
2641
|
+
* @returns {CKEDITOR.dialog.uiElement} The current UI element.
|
2642
|
+
* @example
|
2643
|
+
* focus : function()
|
2644
|
+
* {
|
2645
|
+
* this.selectParentTab();
|
2646
|
+
* // do something else.
|
2647
|
+
* }
|
2648
|
+
*/
|
2649
|
+
selectParentTab : function()
|
2650
|
+
{
|
2651
|
+
var element = this.getInputElement(),
|
2652
|
+
cursor = element,
|
2653
|
+
tabId;
|
2654
|
+
while ( ( cursor = cursor.getParent() ) && cursor.$.className.search( 'cke_dialog_page_contents' ) == -1 )
|
2655
|
+
{ /*jsl:pass*/ }
|
2656
|
+
|
2657
|
+
// Some widgets don't have parent tabs (e.g. OK and Cancel buttons).
|
2658
|
+
if ( !cursor )
|
2659
|
+
return this;
|
2660
|
+
|
2661
|
+
tabId = cursor.getAttribute( 'name' );
|
2662
|
+
// Avoid duplicate select.
|
2663
|
+
if ( this._.dialog._.currentTabId != tabId )
|
2664
|
+
this._.dialog.selectPage( tabId );
|
2665
|
+
return this;
|
2666
|
+
},
|
2667
|
+
|
2668
|
+
/**
|
2669
|
+
* Puts the focus to the UI object. Switches tabs if the UI object isn't in the active tab page.
|
2670
|
+
* @returns {CKEDITOR.dialog.uiElement} The current UI element.
|
2671
|
+
* @example
|
2672
|
+
* uiElement.focus();
|
2673
|
+
*/
|
2674
|
+
focus : function()
|
2675
|
+
{
|
2676
|
+
this.selectParentTab().getInputElement().focus();
|
2677
|
+
return this;
|
2678
|
+
},
|
2679
|
+
|
2680
|
+
/**
|
2681
|
+
* Registers the on* event handlers defined in the element definition.
|
2682
|
+
* The default behavior of this function is:
|
2683
|
+
* <ol>
|
2684
|
+
* <li>
|
2685
|
+
* If the on* event is defined in the class's eventProcesors list,
|
2686
|
+
* then the registration is delegated to the corresponding function
|
2687
|
+
* in the eventProcessors list.
|
2688
|
+
* </li>
|
2689
|
+
* <li>
|
2690
|
+
* If the on* event is not defined in the eventProcessors list, then
|
2691
|
+
* register the event handler under the corresponding DOM event of
|
2692
|
+
* the UI element's input DOM element (as defined by the return value
|
2693
|
+
* of {@link CKEDITOR.ui.dialog.uiElement#getInputElement}).
|
2694
|
+
* </li>
|
2695
|
+
* </ol>
|
2696
|
+
* This function is only called at UI element instantiation, but can
|
2697
|
+
* be overridded in child classes if they require more flexibility.
|
2698
|
+
* @param {CKEDITOR.dialog.definition.uiElement} definition The UI element
|
2699
|
+
* definition.
|
2700
|
+
* @returns {CKEDITOR.dialog.uiElement} The current UI element.
|
2701
|
+
* @example
|
2702
|
+
*/
|
2703
|
+
registerEvents : function( definition )
|
2704
|
+
{
|
2705
|
+
var regex = /^on([A-Z]\w+)/,
|
2706
|
+
match;
|
2707
|
+
|
2708
|
+
var registerDomEvent = function( uiElement, dialog, eventName, func )
|
2709
|
+
{
|
2710
|
+
dialog.on( 'load', function()
|
2711
|
+
{
|
2712
|
+
uiElement.getInputElement().on( eventName, func, uiElement );
|
2713
|
+
});
|
2714
|
+
};
|
2715
|
+
|
2716
|
+
for ( var i in definition )
|
2717
|
+
{
|
2718
|
+
if ( !( match = i.match( regex ) ) )
|
2719
|
+
continue;
|
2720
|
+
if ( this.eventProcessors[i] )
|
2721
|
+
this.eventProcessors[i].call( this, this._.dialog, definition[i] );
|
2722
|
+
else
|
2723
|
+
registerDomEvent( this, this._.dialog, match[1].toLowerCase(), definition[i] );
|
2724
|
+
}
|
2725
|
+
|
2726
|
+
return this;
|
2727
|
+
},
|
2728
|
+
|
2729
|
+
/**
|
2730
|
+
* The event processor list used by
|
2731
|
+
* {@link CKEDITOR.ui.dialog.uiElement#getInputElement} at UI element
|
2732
|
+
* instantiation. The default list defines three on* events:
|
2733
|
+
* <ol>
|
2734
|
+
* <li>onLoad - Called when the element's parent dialog opens for the
|
2735
|
+
* first time</li>
|
2736
|
+
* <li>onShow - Called whenever the element's parent dialog opens.</li>
|
2737
|
+
* <li>onHide - Called whenever the element's parent dialog closes.</li>
|
2738
|
+
* </ol>
|
2739
|
+
* @field
|
2740
|
+
* @type Object
|
2741
|
+
* @example
|
2742
|
+
* // This connects the 'click' event in CKEDITOR.ui.dialog.button to onClick
|
2743
|
+
* // handlers in the UI element's definitions.
|
2744
|
+
* CKEDITOR.ui.dialog.button.eventProcessors = CKEDITOR.tools.extend( {},
|
2745
|
+
* CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,
|
2746
|
+
* { onClick : function( dialog, func ) { this.on( 'click', func ); } },
|
2747
|
+
* true );
|
2748
|
+
*/
|
2749
|
+
eventProcessors :
|
2750
|
+
{
|
2751
|
+
onLoad : function( dialog, func )
|
2752
|
+
{
|
2753
|
+
dialog.on( 'load', func, this );
|
2754
|
+
},
|
2755
|
+
|
2756
|
+
onShow : function( dialog, func )
|
2757
|
+
{
|
2758
|
+
dialog.on( 'show', func, this );
|
2759
|
+
},
|
2760
|
+
|
2761
|
+
onHide : function( dialog, func )
|
2762
|
+
{
|
2763
|
+
dialog.on( 'hide', func, this );
|
2764
|
+
}
|
2765
|
+
},
|
2766
|
+
|
2767
|
+
/**
|
2768
|
+
* The default handler for a UI element's access key down event, which
|
2769
|
+
* tries to put focus to the UI element.<br />
|
2770
|
+
* Can be overridded in child classes for more sophisticaed behavior.
|
2771
|
+
* @param {CKEDITOR.dialog} dialog The parent dialog object.
|
2772
|
+
* @param {String} key The key combination pressed. Since access keys
|
2773
|
+
* are defined to always include the CTRL key, its value should always
|
2774
|
+
* include a 'CTRL+' prefix.
|
2775
|
+
* @example
|
2776
|
+
*/
|
2777
|
+
accessKeyDown : function( dialog, key )
|
2778
|
+
{
|
2779
|
+
this.focus();
|
2780
|
+
},
|
2781
|
+
|
2782
|
+
/**
|
2783
|
+
* The default handler for a UI element's access key up event, which
|
2784
|
+
* does nothing.<br />
|
2785
|
+
* Can be overridded in child classes for more sophisticated behavior.
|
2786
|
+
* @param {CKEDITOR.dialog} dialog The parent dialog object.
|
2787
|
+
* @param {String} key The key combination pressed. Since access keys
|
2788
|
+
* are defined to always include the CTRL key, its value should always
|
2789
|
+
* include a 'CTRL+' prefix.
|
2790
|
+
* @example
|
2791
|
+
*/
|
2792
|
+
accessKeyUp : function( dialog, key )
|
2793
|
+
{
|
2794
|
+
},
|
2795
|
+
|
2796
|
+
/**
|
2797
|
+
* Disables a UI element.
|
2798
|
+
* @example
|
2799
|
+
*/
|
2800
|
+
disable : function()
|
2801
|
+
{
|
2802
|
+
var element = this.getElement(),
|
2803
|
+
input = this.getInputElement();
|
2804
|
+
input.setAttribute( 'disabled', 'true' );
|
2805
|
+
element.addClass( 'cke_disabled' );
|
2806
|
+
},
|
2807
|
+
|
2808
|
+
/**
|
2809
|
+
* Enables a UI element.
|
2810
|
+
* @example
|
2811
|
+
*/
|
2812
|
+
enable : function()
|
2813
|
+
{
|
2814
|
+
var element = this.getElement(),
|
2815
|
+
input = this.getInputElement();
|
2816
|
+
input.removeAttribute( 'disabled' );
|
2817
|
+
element.removeClass( 'cke_disabled' );
|
2818
|
+
},
|
2819
|
+
|
2820
|
+
/**
|
2821
|
+
* Determines whether an UI element is enabled or not.
|
2822
|
+
* @returns {Boolean} Whether the UI element is enabled.
|
2823
|
+
* @example
|
2824
|
+
*/
|
2825
|
+
isEnabled : function()
|
2826
|
+
{
|
2827
|
+
return !this.getElement().hasClass( 'cke_disabled' );
|
2828
|
+
},
|
2829
|
+
|
2830
|
+
/**
|
2831
|
+
* Determines whether an UI element is visible or not.
|
2832
|
+
* @returns {Boolean} Whether the UI element is visible.
|
2833
|
+
* @example
|
2834
|
+
*/
|
2835
|
+
isVisible : function()
|
2836
|
+
{
|
2837
|
+
return this.getInputElement().isVisible();
|
2838
|
+
},
|
2839
|
+
|
2840
|
+
/**
|
2841
|
+
* Determines whether an UI element is focus-able or not.
|
2842
|
+
* Focus-able is defined as being both visible and enabled.
|
2843
|
+
* @returns {Boolean} Whether the UI element can be focused.
|
2844
|
+
* @example
|
2845
|
+
*/
|
2846
|
+
isFocusable : function()
|
2847
|
+
{
|
2848
|
+
if ( !this.isEnabled() || !this.isVisible() )
|
2849
|
+
return false;
|
2850
|
+
return true;
|
2851
|
+
}
|
2852
|
+
};
|
2853
|
+
|
2854
|
+
CKEDITOR.ui.dialog.hbox.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement,
|
2855
|
+
/**
|
2856
|
+
* @lends CKEDITOR.ui.dialog.hbox.prototype
|
2857
|
+
*/
|
2858
|
+
{
|
2859
|
+
/**
|
2860
|
+
* Gets a child UI element inside this container.
|
2861
|
+
* @param {Array|Number} indices An array or a single number to indicate the child's
|
2862
|
+
* position in the container's descendant tree. Omit to get all the children in an array.
|
2863
|
+
* @returns {Array|CKEDITOR.ui.dialog.uiElement} Array of all UI elements in the container
|
2864
|
+
* if no argument given, or the specified UI element if indices is given.
|
2865
|
+
* @example
|
2866
|
+
* var checkbox = hbox.getChild( [0,1] );
|
2867
|
+
* checkbox.setValue( true );
|
2868
|
+
*/
|
2869
|
+
getChild : function( indices )
|
2870
|
+
{
|
2871
|
+
// If no arguments, return a clone of the children array.
|
2872
|
+
if ( arguments.length < 1 )
|
2873
|
+
return this._.children.concat();
|
2874
|
+
|
2875
|
+
// If indices isn't array, make it one.
|
2876
|
+
if ( !indices.splice )
|
2877
|
+
indices = [ indices ];
|
2878
|
+
|
2879
|
+
// Retrieve the child element according to tree position.
|
2880
|
+
if ( indices.length < 2 )
|
2881
|
+
return this._.children[ indices[0] ];
|
2882
|
+
else
|
2883
|
+
return ( this._.children[ indices[0] ] && this._.children[ indices[0] ].getChild ) ?
|
2884
|
+
this._.children[ indices[0] ].getChild( indices.slice( 1, indices.length ) ) :
|
2885
|
+
null;
|
2886
|
+
}
|
2887
|
+
}, true );
|
2888
|
+
|
2889
|
+
CKEDITOR.ui.dialog.vbox.prototype = new CKEDITOR.ui.dialog.hbox();
|
2890
|
+
|
2891
|
+
|
2892
|
+
|
2893
|
+
(function()
|
2894
|
+
{
|
2895
|
+
var commonBuilder = {
|
2896
|
+
build : function( dialog, elementDefinition, output )
|
2897
|
+
{
|
2898
|
+
var children = elementDefinition.children,
|
2899
|
+
child,
|
2900
|
+
childHtmlList = [],
|
2901
|
+
childObjList = [];
|
2902
|
+
for ( var i = 0 ; ( i < children.length && ( child = children[i] ) ) ; i++ )
|
2903
|
+
{
|
2904
|
+
var childHtml = [];
|
2905
|
+
childHtmlList.push( childHtml );
|
2906
|
+
childObjList.push( CKEDITOR.dialog._.uiElementBuilders[ child.type ].build( dialog, child, childHtml ) );
|
2907
|
+
}
|
2908
|
+
return new CKEDITOR.ui.dialog[elementDefinition.type]( dialog, childObjList, childHtmlList, output, elementDefinition );
|
2909
|
+
}
|
2910
|
+
};
|
2911
|
+
|
2912
|
+
CKEDITOR.dialog.addUIElement( 'hbox', commonBuilder );
|
2913
|
+
CKEDITOR.dialog.addUIElement( 'vbox', commonBuilder );
|
2914
|
+
})();
|
2915
|
+
|
2916
|
+
/**
|
2917
|
+
* Generic dialog command. It opens a specific dialog when executed.
|
2918
|
+
* @constructor
|
2919
|
+
* @augments CKEDITOR.commandDefinition
|
2920
|
+
* @param {string} dialogName The name of the dialog to open when executing
|
2921
|
+
* this command.
|
2922
|
+
* @example
|
2923
|
+
* // Register the "link" command, which opens the "link" dialog.
|
2924
|
+
* editor.addCommand( 'link', <b>new CKEDITOR.dialogCommand( 'link' )</b> );
|
2925
|
+
*/
|
2926
|
+
CKEDITOR.dialogCommand = function( dialogName )
|
2927
|
+
{
|
2928
|
+
this.dialogName = dialogName;
|
2929
|
+
};
|
2930
|
+
|
2931
|
+
CKEDITOR.dialogCommand.prototype =
|
2932
|
+
{
|
2933
|
+
/** @ignore */
|
2934
|
+
exec : function( editor )
|
2935
|
+
{
|
2936
|
+
// Special treatment for Opera. (#8031)
|
2937
|
+
CKEDITOR.env.opera ?
|
2938
|
+
CKEDITOR.tools.setTimeout( function() { editor.openDialog( this.dialogName ) }, 0, this )
|
2939
|
+
: editor.openDialog( this.dialogName );
|
2940
|
+
},
|
2941
|
+
|
2942
|
+
// Dialog commands just open a dialog ui, thus require no undo logic,
|
2943
|
+
// undo support should dedicate to specific dialog implementation.
|
2944
|
+
canUndo: false,
|
2945
|
+
|
2946
|
+
editorFocus : CKEDITOR.env.ie || CKEDITOR.env.webkit
|
2947
|
+
};
|
2948
|
+
|
2949
|
+
(function()
|
2950
|
+
{
|
2951
|
+
var notEmptyRegex = /^([a]|[^a])+$/,
|
2952
|
+
integerRegex = /^\d*$/,
|
2953
|
+
numberRegex = /^\d*(?:\.\d+)?$/,
|
2954
|
+
htmlLengthRegex = /^(((\d*(\.\d+))|(\d*))(px|\%)?)?$/,
|
2955
|
+
cssLengthRegex = /^(((\d*(\.\d+))|(\d*))(px|em|ex|in|cm|mm|pt|pc|\%)?)?$/i,
|
2956
|
+
inlineStyleRegex = /^(\s*[\w-]+\s*:\s*[^:;]+(?:;|$))*$/;
|
2957
|
+
|
2958
|
+
CKEDITOR.VALIDATE_OR = 1;
|
2959
|
+
CKEDITOR.VALIDATE_AND = 2;
|
2960
|
+
|
2961
|
+
CKEDITOR.dialog.validate =
|
2962
|
+
{
|
2963
|
+
functions : function()
|
2964
|
+
{
|
2965
|
+
var args = arguments;
|
2966
|
+
return function()
|
2967
|
+
{
|
2968
|
+
/**
|
2969
|
+
* It's important for validate functions to be able to accept the value
|
2970
|
+
* as argument in addition to this.getValue(), so that it is possible to
|
2971
|
+
* combine validate functions together to make more sophisticated
|
2972
|
+
* validators.
|
2973
|
+
*/
|
2974
|
+
var value = this && this.getValue ? this.getValue() : args[ 0 ];
|
2975
|
+
|
2976
|
+
var msg = undefined,
|
2977
|
+
relation = CKEDITOR.VALIDATE_AND,
|
2978
|
+
functions = [], i;
|
2979
|
+
|
2980
|
+
for ( i = 0 ; i < args.length ; i++ )
|
2981
|
+
{
|
2982
|
+
if ( typeof( args[i] ) == 'function' )
|
2983
|
+
functions.push( args[i] );
|
2984
|
+
else
|
2985
|
+
break;
|
2986
|
+
}
|
2987
|
+
|
2988
|
+
if ( i < args.length && typeof( args[i] ) == 'string' )
|
2989
|
+
{
|
2990
|
+
msg = args[i];
|
2991
|
+
i++;
|
2992
|
+
}
|
2993
|
+
|
2994
|
+
if ( i < args.length && typeof( args[i]) == 'number' )
|
2995
|
+
relation = args[i];
|
2996
|
+
|
2997
|
+
var passed = ( relation == CKEDITOR.VALIDATE_AND ? true : false );
|
2998
|
+
for ( i = 0 ; i < functions.length ; i++ )
|
2999
|
+
{
|
3000
|
+
if ( relation == CKEDITOR.VALIDATE_AND )
|
3001
|
+
passed = passed && functions[i]( value );
|
3002
|
+
else
|
3003
|
+
passed = passed || functions[i]( value );
|
3004
|
+
}
|
3005
|
+
|
3006
|
+
return !passed ? msg : true;
|
3007
|
+
};
|
3008
|
+
},
|
3009
|
+
|
3010
|
+
regex : function( regex, msg )
|
3011
|
+
{
|
3012
|
+
/*
|
3013
|
+
* Can be greatly shortened by deriving from functions validator if code size
|
3014
|
+
* turns out to be more important than performance.
|
3015
|
+
*/
|
3016
|
+
return function()
|
3017
|
+
{
|
3018
|
+
var value = this && this.getValue ? this.getValue() : arguments[0];
|
3019
|
+
return !regex.test( value ) ? msg : true;
|
3020
|
+
};
|
3021
|
+
},
|
3022
|
+
|
3023
|
+
notEmpty : function( msg )
|
3024
|
+
{
|
3025
|
+
return this.regex( notEmptyRegex, msg );
|
3026
|
+
},
|
3027
|
+
|
3028
|
+
integer : function( msg )
|
3029
|
+
{
|
3030
|
+
return this.regex( integerRegex, msg );
|
3031
|
+
},
|
3032
|
+
|
3033
|
+
'number' : function( msg )
|
3034
|
+
{
|
3035
|
+
return this.regex( numberRegex, msg );
|
3036
|
+
},
|
3037
|
+
|
3038
|
+
'cssLength' : function( msg )
|
3039
|
+
{
|
3040
|
+
return this.functions( function( val ){ return cssLengthRegex.test( CKEDITOR.tools.trim( val ) ); }, msg );
|
3041
|
+
},
|
3042
|
+
|
3043
|
+
'htmlLength' : function( msg )
|
3044
|
+
{
|
3045
|
+
return this.functions( function( val ){ return htmlLengthRegex.test( CKEDITOR.tools.trim( val ) ); }, msg );
|
3046
|
+
},
|
3047
|
+
|
3048
|
+
'inlineStyle' : function( msg )
|
3049
|
+
{
|
3050
|
+
return this.functions( function( val ){ return inlineStyleRegex.test( CKEDITOR.tools.trim( val ) ); }, msg );
|
3051
|
+
},
|
3052
|
+
|
3053
|
+
equals : function( value, msg )
|
3054
|
+
{
|
3055
|
+
return this.functions( function( val ){ return val == value; }, msg );
|
3056
|
+
},
|
3057
|
+
|
3058
|
+
notEqual : function( value, msg )
|
3059
|
+
{
|
3060
|
+
return this.functions( function( val ){ return val != value; }, msg );
|
3061
|
+
}
|
3062
|
+
};
|
3063
|
+
|
3064
|
+
CKEDITOR.on( 'instanceDestroyed', function( evt )
|
3065
|
+
{
|
3066
|
+
// Remove dialog cover on last instance destroy.
|
3067
|
+
if ( CKEDITOR.tools.isEmpty( CKEDITOR.instances ) )
|
3068
|
+
{
|
3069
|
+
var currentTopDialog;
|
3070
|
+
while ( ( currentTopDialog = CKEDITOR.dialog._.currentTop ) )
|
3071
|
+
currentTopDialog.hide();
|
3072
|
+
removeCovers();
|
3073
|
+
}
|
3074
|
+
|
3075
|
+
var dialogs = evt.editor._.storedDialogs;
|
3076
|
+
for ( var name in dialogs )
|
3077
|
+
dialogs[ name ].destroy();
|
3078
|
+
|
3079
|
+
});
|
3080
|
+
|
3081
|
+
})();
|
3082
|
+
|
3083
|
+
// Extend the CKEDITOR.editor class with dialog specific functions.
|
3084
|
+
CKEDITOR.tools.extend( CKEDITOR.editor.prototype,
|
3085
|
+
/** @lends CKEDITOR.editor.prototype */
|
3086
|
+
{
|
3087
|
+
/**
|
3088
|
+
* Loads and opens a registered dialog.
|
3089
|
+
* @param {String} dialogName The registered name of the dialog.
|
3090
|
+
* @param {Function} callback The function to be invoked after dialog instance created.
|
3091
|
+
* @see CKEDITOR.dialog.add
|
3092
|
+
* @example
|
3093
|
+
* CKEDITOR.instances.editor1.openDialog( 'smiley' );
|
3094
|
+
* @returns {CKEDITOR.dialog} The dialog object corresponding to the dialog displayed. null if the dialog name is not registered.
|
3095
|
+
*/
|
3096
|
+
openDialog : function( dialogName, callback )
|
3097
|
+
{
|
3098
|
+
if ( this.mode == 'wysiwyg' && CKEDITOR.env.ie )
|
3099
|
+
{
|
3100
|
+
var selection = this.getSelection();
|
3101
|
+
selection && selection.lock();
|
3102
|
+
}
|
3103
|
+
|
3104
|
+
var dialogDefinitions = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
|
3105
|
+
dialogSkin = this.skin.dialog;
|
3106
|
+
|
3107
|
+
if ( CKEDITOR.dialog._.currentTop === null )
|
3108
|
+
showCover( this );
|
3109
|
+
|
3110
|
+
// If the dialogDefinition is already loaded, open it immediately.
|
3111
|
+
if ( typeof dialogDefinitions == 'function' && dialogSkin._isLoaded )
|
3112
|
+
{
|
3113
|
+
var storedDialogs = this._.storedDialogs ||
|
3114
|
+
( this._.storedDialogs = {} );
|
3115
|
+
|
3116
|
+
var dialog = storedDialogs[ dialogName ] ||
|
3117
|
+
( storedDialogs[ dialogName ] = new CKEDITOR.dialog( this, dialogName ) );
|
3118
|
+
|
3119
|
+
callback && callback.call( dialog, dialog );
|
3120
|
+
dialog.show();
|
3121
|
+
|
3122
|
+
return dialog;
|
3123
|
+
}
|
3124
|
+
else if ( dialogDefinitions == 'failed' )
|
3125
|
+
{
|
3126
|
+
hideCover();
|
3127
|
+
throw new Error( '[CKEDITOR.dialog.openDialog] Dialog "' + dialogName + '" failed when loading definition.' );
|
3128
|
+
}
|
3129
|
+
|
3130
|
+
var me = this;
|
3131
|
+
|
3132
|
+
function onDialogFileLoaded( success )
|
3133
|
+
{
|
3134
|
+
var dialogDefinition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
|
3135
|
+
skin = me.skin.dialog;
|
3136
|
+
|
3137
|
+
// Check if both skin part and definition is loaded.
|
3138
|
+
if ( !skin._isLoaded || loadDefinition && typeof success == 'undefined' )
|
3139
|
+
return;
|
3140
|
+
|
3141
|
+
// In case of plugin error, mark it as loading failed.
|
3142
|
+
if ( typeof dialogDefinition != 'function' )
|
3143
|
+
CKEDITOR.dialog._.dialogDefinitions[ dialogName ] = 'failed';
|
3144
|
+
|
3145
|
+
me.openDialog( dialogName, callback );
|
3146
|
+
}
|
3147
|
+
|
3148
|
+
if ( typeof dialogDefinitions == 'string' )
|
3149
|
+
{
|
3150
|
+
var loadDefinition = 1;
|
3151
|
+
CKEDITOR.scriptLoader.load( CKEDITOR.getUrl( dialogDefinitions ), onDialogFileLoaded, null, 0, 1 );
|
3152
|
+
}
|
3153
|
+
|
3154
|
+
CKEDITOR.skins.load( this, 'dialog', onDialogFileLoaded );
|
3155
|
+
|
3156
|
+
return null;
|
3157
|
+
}
|
3158
|
+
});
|
3159
|
+
})();
|
3160
|
+
|
3161
|
+
CKEDITOR.plugins.add( 'dialog',
|
3162
|
+
{
|
3163
|
+
requires : [ 'dialogui' ]
|
3164
|
+
});
|
3165
|
+
|
3166
|
+
// Dialog related configurations.
|
3167
|
+
|
3168
|
+
/**
|
3169
|
+
* The color of the dialog background cover. It should be a valid CSS color
|
3170
|
+
* string.
|
3171
|
+
* @name CKEDITOR.config.dialog_backgroundCoverColor
|
3172
|
+
* @type String
|
3173
|
+
* @default 'white'
|
3174
|
+
* @example
|
3175
|
+
* config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
|
3176
|
+
*/
|
3177
|
+
|
3178
|
+
/**
|
3179
|
+
* The opacity of the dialog background cover. It should be a number within the
|
3180
|
+
* range [0.0, 1.0].
|
3181
|
+
* @name CKEDITOR.config.dialog_backgroundCoverOpacity
|
3182
|
+
* @type Number
|
3183
|
+
* @default 0.5
|
3184
|
+
* @example
|
3185
|
+
* config.dialog_backgroundCoverOpacity = 0.7;
|
3186
|
+
*/
|
3187
|
+
|
3188
|
+
/**
|
3189
|
+
* If the dialog has more than one tab, put focus into the first tab as soon as dialog is opened.
|
3190
|
+
* @name CKEDITOR.config.dialog_startupFocusTab
|
3191
|
+
* @type Boolean
|
3192
|
+
* @default false
|
3193
|
+
* @example
|
3194
|
+
* config.dialog_startupFocusTab = true;
|
3195
|
+
*/
|
3196
|
+
|
3197
|
+
/**
|
3198
|
+
* The distance of magnetic borders used in moving and resizing dialogs,
|
3199
|
+
* measured in pixels.
|
3200
|
+
* @name CKEDITOR.config.dialog_magnetDistance
|
3201
|
+
* @type Number
|
3202
|
+
* @default 20
|
3203
|
+
* @example
|
3204
|
+
* config.dialog_magnetDistance = 30;
|
3205
|
+
*/
|
3206
|
+
|
3207
|
+
/**
|
3208
|
+
* The guideline to follow when generating the dialog buttons. There are 3 possible options:
|
3209
|
+
* <ul>
|
3210
|
+
* <li>'OS' - the buttons will be displayed in the default order of the user's OS;</li>
|
3211
|
+
* <li>'ltr' - for Left-To-Right order;</li>
|
3212
|
+
* <li>'rtl' - for Right-To-Left order.</li>
|
3213
|
+
* </ul>
|
3214
|
+
* @name CKEDITOR.config.dialog_buttonsOrder
|
3215
|
+
* @type String
|
3216
|
+
* @default 'OS'
|
3217
|
+
* @since 3.5
|
3218
|
+
* @example
|
3219
|
+
* config.dialog_buttonsOrder = 'rtl';
|
3220
|
+
*/
|
3221
|
+
|
3222
|
+
/**
|
3223
|
+
* The dialog contents to removed. It's a string composed by dialog name and tab name with a colon between them.
|
3224
|
+
* Separate each pair with semicolon (see example).
|
3225
|
+
* <b>Note: All names are case-sensitive.</b>
|
3226
|
+
* <b>Note: Be cautious when specifying dialog tabs that are mandatory, like "info", dialog functionality might be broken because of this!</b>
|
3227
|
+
* @name CKEDITOR.config.removeDialogTabs
|
3228
|
+
* @type String
|
3229
|
+
* @since 3.5
|
3230
|
+
* @default ''
|
3231
|
+
* @example
|
3232
|
+
* config.removeDialogTabs = 'flash:advanced;image:Link';
|
3233
|
+
*/
|
3234
|
+
|
3235
|
+
/**
|
3236
|
+
* Fired when a dialog definition is about to be used to create a dialog into
|
3237
|
+
* an editor instance. This event makes it possible to customize the definition
|
3238
|
+
* before creating it.
|
3239
|
+
* <p>Note that this event is called only the first time a specific dialog is
|
3240
|
+
* opened. Successive openings will use the cached dialog, and this event will
|
3241
|
+
* not get fired.</p>
|
3242
|
+
* @name CKEDITOR#dialogDefinition
|
3243
|
+
* @event
|
3244
|
+
* @param {CKEDITOR.dialog.definition} data The dialog defination that
|
3245
|
+
* is being loaded.
|
3246
|
+
* @param {CKEDITOR.editor} editor The editor instance that will use the
|
3247
|
+
* dialog.
|
3248
|
+
*/
|
3249
|
+
|
3250
|
+
/**
|
3251
|
+
* Fired when a tab is going to be selected in a dialog
|
3252
|
+
* @name CKEDITOR.dialog#selectPage
|
3253
|
+
* @event
|
3254
|
+
* @param {String} page The id of the page that it's gonna be selected.
|
3255
|
+
* @param {String} currentPage The id of the current page.
|
3256
|
+
*/
|
3257
|
+
|
3258
|
+
/**
|
3259
|
+
* Fired when the user tries to dismiss a dialog
|
3260
|
+
* @name CKEDITOR.dialog#cancel
|
3261
|
+
* @event
|
3262
|
+
* @param {Boolean} hide Whether the event should proceed or not.
|
3263
|
+
*/
|
3264
|
+
|
3265
|
+
/**
|
3266
|
+
* Fired when the user tries to confirm a dialog
|
3267
|
+
* @name CKEDITOR.dialog#ok
|
3268
|
+
* @event
|
3269
|
+
* @param {Boolean} hide Whether the event should proceed or not.
|
3270
|
+
*/
|
3271
|
+
|
3272
|
+
/**
|
3273
|
+
* Fired when a dialog is shown
|
3274
|
+
* @name CKEDITOR.dialog#show
|
3275
|
+
* @event
|
3276
|
+
*/
|
3277
|
+
|
3278
|
+
/**
|
3279
|
+
* Fired when a dialog is shown
|
3280
|
+
* @name CKEDITOR.editor#dialogShow
|
3281
|
+
* @event
|
3282
|
+
*/
|
3283
|
+
|
3284
|
+
/**
|
3285
|
+
* Fired when a dialog is hidden
|
3286
|
+
* @name CKEDITOR.dialog#hide
|
3287
|
+
* @event
|
3288
|
+
*/
|
3289
|
+
|
3290
|
+
/**
|
3291
|
+
* Fired when a dialog is hidden
|
3292
|
+
* @name CKEDITOR.editor#dialogHide
|
3293
|
+
* @event
|
3294
|
+
*/
|
3295
|
+
|
3296
|
+
/**
|
3297
|
+
* Fired when a dialog is being resized. The event is fired on
|
3298
|
+
* both the 'CKEDITOR.dialog' object and the dialog instance
|
3299
|
+
* since 3.5.3, previously it's available only in the global object.
|
3300
|
+
* @name CKEDITOR.dialog#resize
|
3301
|
+
* @since 3.5
|
3302
|
+
* @event
|
3303
|
+
* @param {CKEDITOR.dialog} dialog The dialog being resized (if
|
3304
|
+
* it's fired on the dialog itself, this parameter isn't sent).
|
3305
|
+
* @param {String} skin The skin name.
|
3306
|
+
* @param {Number} width The new width.
|
3307
|
+
* @param {Number} height The new height.
|
3308
|
+
*/
|