rich 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +23 -3
- data/app/assets/images/rich/insert-many.png +0 -0
- data/app/assets/images/rich/insert-one.png +0 -0
- data/app/assets/images/rich/menu-dash.png +0 -0
- data/app/assets/javascripts/rich/application.js +62 -5
- data/app/assets/javascripts/rich/base.js +33 -0
- data/app/assets/stylesheets/rich/application.css.scss +26 -1
- data/app/controllers/rich/files_controller.rb +8 -47
- data/app/inputs/rich_asset_input.rb +20 -0
- data/app/inputs/rich_input.rb +23 -13
- data/app/models/rich/rich_image.rb +36 -45
- data/app/views/rails_admin/main/_form_rich_text.html.haml +5 -0
- data/app/views/rich/files/_image.html.erb +1 -1
- data/app/views/rich/files/index.html.erb +12 -4
- data/app/views/rich/files/index.js.erb +1 -0
- data/db/migrate/20111117202133_add_uri_cache_to_rich_image.rb +5 -0
- data/lib/rich.rb +13 -1
- data/lib/rich/engine.rb +1 -1
- data/lib/rich/legacy_formtastic.rb +21 -0
- data/lib/rich/rails_admin.rb +14 -0
- data/lib/rich/version.rb +1 -1
- data/test/dummy/app/views/posts/_formtastic_form.html.erb +2 -1
- data/test/dummy/app/views/posts/new.html.erb +1 -1
- data/test/dummy/config/initializers/rich.rb +1 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20111117202523_add_uri_cache_to_rich_image.rb +5 -0
- data/test/dummy/db/schema.rb +2 -1
- data/test/dummy/log/development.log +16410 -0
- data/test/dummy/log/production.log +1832 -0
- data/test/dummy/tmp/cache/assets/C49/500/sprockets%2F72473c15cf2e294b25b1823e82954031 +0 -0
- data/test/dummy/tmp/cache/assets/C84/840/sprockets%2Ff4d18b49e90538028a47531ca4668a35 +0 -0
- data/test/dummy/tmp/cache/assets/C87/8E0/sprockets%2F17e0d5efdd575486014469da98231146 +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/CA3/A50/sprockets%2F1138d3a48560705a7e596ab7bd02253b +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/CA8/010/sprockets%2F3822fe6ee82705342f2d141f13e5018d +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/CBE/A80/sprockets%2F60bb9087aed9745744925f6ce01525d9 +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/CC6/910/sprockets%2Fdf1992311ede6a7259c057589a7b6984 +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/CDB/040/sprockets%2Fc732474e67003a4eb840eb44c5ca9385 +0 -0
- data/test/dummy/tmp/cache/assets/CDE/720/sprockets%2Fc5b9143c5e46515e7453e0592b0fa57c +0 -0
- data/test/dummy/tmp/cache/assets/CE0/F70/sprockets%2F5f626eb3d0e9861907861afe5612a00f +0 -0
- data/test/dummy/tmp/cache/assets/CE4/D20/sprockets%2F7a924cdc374439e3f1f48d1d527b3219 +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/B80/sprockets%2F5b2c5115ef4f940777455ffec4f26073 +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/CEC/CF0/sprockets%2F7d24293c4dd5e394e4fc986d91e13323 +0 -0
- data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/test/dummy/tmp/cache/assets/CF6/9E0/sprockets%2Ff3c0e6e191993ce3d97cb35929d18197 +0 -0
- data/test/dummy/tmp/cache/assets/CFA/C40/sprockets%2F14a89388c9e53e2effddc82034375987 +0 -0
- data/test/dummy/tmp/cache/assets/CFA/FF0/sprockets%2Fa6545f61c7de6879eb67484098a462cf +0 -0
- data/test/dummy/tmp/cache/assets/CFD/B60/sprockets%2Ff12843c2e0032ed43f125a7f9b109a2f +0 -0
- data/test/dummy/tmp/cache/assets/D01/560/sprockets%2F04a744ea7118f43a7a27c24bcd642e71 +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/D0E/970/sprockets%2Ff4346553df4bcb0293ec44436ceb7445 +0 -0
- data/test/dummy/tmp/cache/assets/D11/D20/sprockets%2Fcac21eac42152981882bf9e489316af4 +0 -0
- data/test/dummy/tmp/cache/assets/D14/B10/sprockets%2Ff38863f0920a58989fac3b39b01a8ae0 +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/D19/CB0/sprockets%2Fcac38332595f72fe9156b55d1f55c92b +0 -0
- data/test/dummy/tmp/cache/assets/D1F/840/sprockets%2F3f6d2f8168b95fd5064838cfb05c5d54 +0 -0
- data/test/dummy/tmp/cache/assets/D23/2C0/sprockets%2F0c3abf24c60bbb7d31217d1109870ce4 +0 -0
- data/test/dummy/tmp/cache/assets/D2B/F50/sprockets%2Fe26eda13a54cd6200413fd8245a5e36b +0 -0
- data/test/dummy/tmp/cache/assets/D30/D00/sprockets%2Fc07d24cdbe55e5c2510d1590cf662a26 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D34/5C0/sprockets%2F904c9b8fddca30f8ac0061367513f2d2 +0 -0
- data/test/dummy/tmp/cache/assets/D37/480/sprockets%2F101629fc7aaf58f0f21aa7f976d2b313 +0 -0
- data/test/dummy/tmp/cache/assets/D38/540/sprockets%2F86e1ad844bc9df4491a2a52b870421db +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/3D0/sprockets%2F8ada471f7421754fee5fbf924129fc02 +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/D48/640/sprockets%2F9f4f18d910b678b1d0777e04cdaf6f24 +0 -0
- data/test/dummy/tmp/cache/assets/D4B/190/sprockets%2F3302dab8fad86d469b9e126ff56d3593 +0 -0
- data/test/dummy/tmp/cache/assets/D4B/1D0/sprockets%2F0769c4e1883fbee89ccfa684319051bb +0 -0
- data/test/dummy/tmp/cache/assets/D50/D70/sprockets%2F13297c9f3a654ebe511fc93c9c7d974c +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/C50/sprockets%2F011c250cecb491f0716c2d35db11d5ef +0 -0
- data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
- data/test/dummy/tmp/cache/assets/D56/060/sprockets%2F3cc85144bd659faafd4ba12514a04a41 +0 -0
- data/test/dummy/tmp/cache/assets/D58/3E0/sprockets%2Fc24b0c6ca152dc28e8d957a036d10bc1 +0 -0
- data/test/dummy/tmp/cache/assets/D59/D70/sprockets%2Fed9f0de1b65ae8d7ef89087c83728461 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/DA0/sprockets%2Fd1c25b1bd44d0def57ce592c912100f1 +0 -0
- data/test/dummy/tmp/cache/assets/D62/550/sprockets%2F06614d902daa3481bbae7c51b66d3f6e +0 -0
- data/test/dummy/tmp/cache/assets/D62/DB0/sprockets%2Fda35aee549e43a36049ab2ac3e27713d +0 -0
- data/test/dummy/tmp/cache/assets/D68/3B0/sprockets%2Fe0ac076b844e6c350abc027feb685e91 +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/D76/CF0/sprockets%2F7ec2368edb7eb22a3fd702a4272e9e89 +0 -0
- data/test/dummy/tmp/cache/assets/D77/020/sprockets%2Fad98cede2e30585e158452e7cd60ab86 +0 -0
- data/test/dummy/tmp/cache/assets/D78/5E0/sprockets%2Fd8e4db6d4b7de69d0d28f4a627124f81 +0 -0
- data/test/dummy/tmp/cache/assets/D7A/110/sprockets%2F9bb282830e134ce5eff5c3f880be48f5 +0 -0
- data/test/dummy/tmp/cache/assets/D7C/B80/sprockets%2Fe00c543f5cfb7825e52c7bf6d299cf38 +0 -0
- data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
- data/test/dummy/tmp/cache/assets/D93/4C0/sprockets%2F857ecd2092cee11f740b3cf2e373ad2a +0 -0
- data/test/dummy/tmp/cache/assets/D93/890/sprockets%2F033c6ea07a61dbd408ba2bf8e99b518a +0 -0
- data/test/dummy/tmp/cache/assets/D9C/CD0/sprockets%2Fc85016e7bbd4f3adbb7635d01f85d39b +0 -0
- data/test/dummy/tmp/cache/assets/D9C/FC0/sprockets%2F4bb5a2a65c16b0ef27fec77491d1da88 +0 -0
- data/test/dummy/tmp/cache/assets/D9E/8A0/sprockets%2F0a7eeed4a8f1f8254832ab05ebc45f84 +0 -0
- data/test/dummy/tmp/cache/assets/DA1/930/sprockets%2F8e0da9449a5212b1faede8db894814ae +0 -0
- data/test/dummy/tmp/cache/assets/DBF/180/sprockets%2F19427ba0edb6b1c15eaaf43afd73e617 +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/DDD/C20/sprockets%2F00d5c014021fc61bebcf0aafced83d17 +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/DE9/D40/sprockets%2F716df3d3bad61ab36c36d8ae1aea136a +0 -0
- data/test/dummy/tmp/cache/assets/DEE/140/sprockets%2F9e7b9f2cc1e4af0aac3a2c630a6823bf +0 -0
- data/test/dummy/tmp/cache/assets/DF7/EE0/sprockets%2F661abfd8ab8ddb966ccded48ca100623 +0 -0
- data/test/dummy/tmp/cache/assets/DFF/4D0/sprockets%2F0d7eae306cc4e83ae549e96b1b6da8db +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +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/E07/B90/sprockets%2Faa8bbd5ec66e8551cb8f02e6f91ccf66 +0 -0
- data/test/dummy/tmp/cache/assets/E2F/E90/sprockets%2Ff4b19e42c92a93dcaaec9fe6eae4081d +0 -0
- data/test/dummy/tmp/cache/assets/E62/880/sprockets%2F3aaf0abaaa5dfc481858fcf99be744df +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
- 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 +285 -2352
- data/test/dummy/public/assets/active_admin-01ff270d2fd5afb05ef16ff57871c7d4.css +0 -1
- data/test/dummy/public/assets/active_admin-01ff270d2fd5afb05ef16ff57871c7d4.css.gz +0 -0
- data/test/dummy/public/assets/active_admin-b35ea57d958ab0dfdb4ab002ae2c5baf.js +0 -30
- data/test/dummy/public/assets/active_admin-b35ea57d958ab0dfdb4ab002ae2c5baf.js.gz +0 -0
- data/test/dummy/public/assets/active_admin.css +0 -1
- data/test/dummy/public/assets/active_admin.css.gz +0 -0
- data/test/dummy/public/assets/active_admin.js +0 -30
- data/test/dummy/public/assets/active_admin.js.gz +0 -0
- data/test/dummy/public/assets/active_admin/admin_notes_icon-d3076b67b8655afc5cf14bf244c34db5.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-c73514e723fd274903d96ff0afd8e7f7.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-e48beac5b8da2344985c5d2afe6159dd.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-a4e4790f8884aa625c4bd9c1725b1545.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-5d9a7fdc4a5ca1c5903fa0715a5ca080.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-15b83a974894f1b0af22bc30ca5c3fc5.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-c20cbb5cb54528680d74c8f7a393b3e3.gif +0 -0
- data/test/dummy/public/assets/active_admin/loading.gif +0 -0
- data/test/dummy/public/assets/active_admin/nested_menu_arrow-7093fa8e6f12c2a688313e17f6182da9.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-37327cd654d1a4d1bbef43afbeed01da.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-312cf8ad195f38825b0fb3d7447aef58.png +0 -0
- data/test/dummy/public/assets/active_admin/orderable.png +0 -0
- data/test/dummy/public/assets/application-f15961e25792db6864b7ab845e486124.js +0 -29
- data/test/dummy/public/assets/application-f15961e25792db6864b7ab845e486124.js.gz +0 -0
- data/test/dummy/public/assets/application-f34ae8ea29557795cf85905999cc80b2.css +0 -1
- data/test/dummy/public/assets/application-f34ae8ea29557795cf85905999cc80b2.css.gz +0 -0
- data/test/dummy/public/assets/application.css +0 -1
- data/test/dummy/public/assets/application.css.gz +0 -0
- data/test/dummy/public/assets/application.js +0 -29
- data/test/dummy/public/assets/application.js.gz +0 -0
- data/test/dummy/public/assets/ckeditor/CHANGES-bde20c28392aa62188c69ce3c4c9a46f.html +0 -1433
- data/test/dummy/public/assets/ckeditor/CHANGES.html +0 -1433
- data/test/dummy/public/assets/ckeditor/INSTALL-976668b7bad85a515cf0e7abe866daa5.html +0 -92
- data/test/dummy/public/assets/ckeditor/INSTALL.html +0 -92
- data/test/dummy/public/assets/ckeditor/LICENSE-9eb3d59310bb19013cc29efddb4106b0.html +0 -1327
- data/test/dummy/public/assets/ckeditor/LICENSE.html +0 -1327
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/application-b8ddce42fe88e25daba41a48b1e560c5.xml +0 -32
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/application.xml +0 -32
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/run-3ba9e942bf6916ddc4d5a14d3ec778f6.bat +0 -9
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/run-ce1ddd042108a5bbd554c4083464ffdb.sh +0 -8
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/run.bat +0 -9
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/run.sh +0 -8
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/sample-669a8b1f701f2d83e6c337cf1d5608dc.html +0 -45
- data/test/dummy/public/assets/ckeditor/_samples/adobeair/sample.html +0 -45
- data/test/dummy/public/assets/ckeditor/_samples/ajax-c04185bec0ccde0d6927aa6c8cd81e47.html +0 -98
- data/test/dummy/public/assets/ckeditor/_samples/ajax.html +0 -98
- data/test/dummy/public/assets/ckeditor/_samples/api-05378ffae0c90f1751955b7e5d88344b.html +0 -192
- data/test/dummy/public/assets/ckeditor/_samples/api.html +0 -192
- data/test/dummy/public/assets/ckeditor/_samples/api_dialog-c1574f626ff54b387063610606b9ec52.html +0 -198
- data/test/dummy/public/assets/ckeditor/_samples/api_dialog.html +0 -198
- data/test/dummy/public/assets/ckeditor/_samples/api_dialog/my_dialog.js +0 -28
- data/test/dummy/public/assets/ckeditor/_samples/asp/advanced-8d70e31ab25ce3e66835b4c8fafad8c7.asp +0 -105
- data/test/dummy/public/assets/ckeditor/_samples/asp/advanced.asp +0 -105
- data/test/dummy/public/assets/ckeditor/_samples/asp/events-cb681459ea362f56ad7cbb861e74a5a9.asp +0 -136
- data/test/dummy/public/assets/ckeditor/_samples/asp/events.asp +0 -136
- data/test/dummy/public/assets/ckeditor/_samples/asp/index-d49218607910f8162306f627245fc13e.html +0 -103
- data/test/dummy/public/assets/ckeditor/_samples/asp/index.html +0 -103
- data/test/dummy/public/assets/ckeditor/_samples/asp/replace-a912fa7cd6d47c60f486cd872262cbcf.asp +0 -72
- data/test/dummy/public/assets/ckeditor/_samples/asp/replace.asp +0 -72
- data/test/dummy/public/assets/ckeditor/_samples/asp/replaceall-054a89f7b9d2d990c9a610f2192cac5f.asp +0 -77
- data/test/dummy/public/assets/ckeditor/_samples/asp/replaceall.asp +0 -77
- data/test/dummy/public/assets/ckeditor/_samples/asp/sample_posteddata-ff4972da3bed89477711a0ad3f29bbe4.asp +0 -46
- data/test/dummy/public/assets/ckeditor/_samples/asp/sample_posteddata.asp +0 -46
- data/test/dummy/public/assets/ckeditor/_samples/asp/standalone-a610f43edf234b64ab67b970461f1224.asp +0 -72
- data/test/dummy/public/assets/ckeditor/_samples/asp/standalone.asp +0 -72
- data/test/dummy/public/assets/ckeditor/_samples/assets/_posteddata-3a714a7667de2835fb1b230bb36b9f8a.php +0 -59
- data/test/dummy/public/assets/ckeditor/_samples/assets/_posteddata.php +0 -59
- data/test/dummy/public/assets/ckeditor/_samples/assets/output_for_flash-286e4dde2d4851e9966fcf360a733a00.fla +0 -0
- data/test/dummy/public/assets/ckeditor/_samples/assets/output_for_flash-b80819e52a12367582876a1a7ee34036.swf +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 +0 -204
- data/test/dummy/public/assets/ckeditor/_samples/assets/parsesample.css +0 -70
- data/test/dummy/public/assets/ckeditor/_samples/assets/swfobject.js +0 -18
- data/test/dummy/public/assets/ckeditor/_samples/autogrow-3ef79da534764614eb7f81b67225f4ec.html +0 -108
- data/test/dummy/public/assets/ckeditor/_samples/autogrow.html +0 -108
- data/test/dummy/public/assets/ckeditor/_samples/bbcode-27961c95420d80a7b1ea50f1c96c32e6.html +0 -125
- data/test/dummy/public/assets/ckeditor/_samples/bbcode.html +0 -125
- data/test/dummy/public/assets/ckeditor/_samples/devtools-4aea8a6d4b9b2eb6497093e14d0f8b2c.html +0 -94
- data/test/dummy/public/assets/ckeditor/_samples/devtools.html +0 -94
- data/test/dummy/public/assets/ckeditor/_samples/divreplace-c24c0466858e65fa6592542819a86537.html +0 -154
- data/test/dummy/public/assets/ckeditor/_samples/divreplace.html +0 -154
- data/test/dummy/public/assets/ckeditor/_samples/enterkey-b305bdb34a6e71f33e1f1d0f00af4920.html +0 -115
- data/test/dummy/public/assets/ckeditor/_samples/enterkey.html +0 -115
- data/test/dummy/public/assets/ckeditor/_samples/fullpage-caa3e346a6695b5d05d2cd59e03961dd.html +0 -82
- data/test/dummy/public/assets/ckeditor/_samples/fullpage.html +0 -82
- data/test/dummy/public/assets/ckeditor/_samples/index-794a327e8ed4fd665142c6dd168f29e5.html +0 -116
- data/test/dummy/public/assets/ckeditor/_samples/index.html +0 -116
- data/test/dummy/public/assets/ckeditor/_samples/jqueryadapter-854d544f3144335d82c2bf4605922751.html +0 -99
- data/test/dummy/public/assets/ckeditor/_samples/jqueryadapter.html +0 -99
- data/test/dummy/public/assets/ckeditor/_samples/output_for_flash-70dc6574e836523b1f4949aee75f0c67.html +0 -275
- data/test/dummy/public/assets/ckeditor/_samples/output_for_flash.html +0 -275
- data/test/dummy/public/assets/ckeditor/_samples/output_html-40b778e3d3ff8fcc745b8e461c3a453a.html +0 -285
- data/test/dummy/public/assets/ckeditor/_samples/output_html.html +0 -285
- data/test/dummy/public/assets/ckeditor/_samples/output_xhtml-9367ad864842f567b0e5cee1b22bf79b.html +0 -177
- data/test/dummy/public/assets/ckeditor/_samples/output_xhtml.html +0 -177
- data/test/dummy/public/assets/ckeditor/_samples/php/advanced-79d5ab1009804056cc6c44f961f199d3.php +0 -120
- data/test/dummy/public/assets/ckeditor/_samples/php/advanced.php +0 -120
- data/test/dummy/public/assets/ckeditor/_samples/php/events-b04c5ed4d0ff844d66ac6853cfbc66e0.php +0 -153
- data/test/dummy/public/assets/ckeditor/_samples/php/events.php +0 -153
- data/test/dummy/public/assets/ckeditor/_samples/php/index-f65a03a4d9e448cfbc4c7c4e5e65f7d2.html +0 -47
- data/test/dummy/public/assets/ckeditor/_samples/php/index.html +0 -47
- data/test/dummy/public/assets/ckeditor/_samples/php/replace-05df25d8602f3a48ea72f6f714af921a.php +0 -87
- data/test/dummy/public/assets/ckeditor/_samples/php/replace.php +0 -87
- data/test/dummy/public/assets/ckeditor/_samples/php/replaceall-b09ac2f9dd5ed288b78ee0ad12f6f043.php +0 -88
- data/test/dummy/public/assets/ckeditor/_samples/php/replaceall.php +0 -88
- data/test/dummy/public/assets/ckeditor/_samples/php/standalone-518d7656c6a148aca76f825aa423f1ba.php +0 -83
- data/test/dummy/public/assets/ckeditor/_samples/php/standalone.php +0 -83
- data/test/dummy/public/assets/ckeditor/_samples/placeholder-646b8d8ba8e35818149f89d41099bc53.html +0 -81
- data/test/dummy/public/assets/ckeditor/_samples/placeholder.html +0 -81
- data/test/dummy/public/assets/ckeditor/_samples/readonly-a9d351bdb32e400a3292eb867a9aa2a5.html +0 -91
- data/test/dummy/public/assets/ckeditor/_samples/readonly.html +0 -91
- data/test/dummy/public/assets/ckeditor/_samples/replacebyclass-d81d0e83a495a30bc16a5fa1ccdeec70.html +0 -64
- data/test/dummy/public/assets/ckeditor/_samples/replacebyclass.html +0 -64
- data/test/dummy/public/assets/ckeditor/_samples/replacebycode-1d41977ecaf260eba7d3155b74b7f56b.html +0 -97
- data/test/dummy/public/assets/ckeditor/_samples/replacebycode.html +0 -97
- data/test/dummy/public/assets/ckeditor/_samples/sample.css +0 -163
- data/test/dummy/public/assets/ckeditor/_samples/sample.js +0 -65
- data/test/dummy/public/assets/ckeditor/_samples/sample_posteddata-4c3c9855af8d48026faa9db7458ae1af.php +0 -21
- data/test/dummy/public/assets/ckeditor/_samples/sample_posteddata.php +0 -21
- data/test/dummy/public/assets/ckeditor/_samples/sharedspaces-bcf695d9854ced903aad0a1ca330c63d.html +0 -153
- data/test/dummy/public/assets/ckeditor/_samples/sharedspaces.html +0 -153
- data/test/dummy/public/assets/ckeditor/_samples/skins-85adce3129893bf7ec319bc318116a26.html +0 -110
- data/test/dummy/public/assets/ckeditor/_samples/skins.html +0 -110
- data/test/dummy/public/assets/ckeditor/_samples/stylesheetparser-e35db77372a283ea1ebf9a2eec221fba.html +0 -93
- data/test/dummy/public/assets/ckeditor/_samples/stylesheetparser.html +0 -93
- data/test/dummy/public/assets/ckeditor/_samples/tableresize-c75cb3e30cfc2861cb8e1b041a245520.html +0 -115
- data/test/dummy/public/assets/ckeditor/_samples/tableresize.html +0 -115
- data/test/dummy/public/assets/ckeditor/_samples/ui_color-f00be6823bfbe18cad7b94b767e67117.html +0 -129
- data/test/dummy/public/assets/ckeditor/_samples/ui_color.html +0 -129
- data/test/dummy/public/assets/ckeditor/_samples/ui_languages-f40b804a823318024e3faccd51a7e3f1.html +0 -134
- data/test/dummy/public/assets/ckeditor/_samples/ui_languages.html +0 -134
- data/test/dummy/public/assets/ckeditor/_source/adapters/jquery.js +0 -306
- data/test/dummy/public/assets/ckeditor/_source/core/_bootstrap.js +0 -87
- data/test/dummy/public/assets/ckeditor/_source/core/ckeditor.js +0 -141
- data/test/dummy/public/assets/ckeditor/_source/core/ckeditor_base.js +0 -227
- data/test/dummy/public/assets/ckeditor/_source/core/ckeditor_basic.js +0 -238
- data/test/dummy/public/assets/ckeditor/_source/core/command.js +0 -209
- data/test/dummy/public/assets/ckeditor/_source/core/commanddefinition.js +0 -129
- data/test/dummy/public/assets/ckeditor/_source/core/config.js +0 -439
- data/test/dummy/public/assets/ckeditor/_source/core/dataprocessor.js +0 -65
- data/test/dummy/public/assets/ckeditor/_source/core/dom.js +0 -20
- data/test/dummy/public/assets/ckeditor/_source/core/dom/comment.js +0 -32
- data/test/dummy/public/assets/ckeditor/_source/core/dom/document.js +0 -251
- data/test/dummy/public/assets/ckeditor/_source/core/dom/documentfragment.js +0 -49
- data/test/dummy/public/assets/ckeditor/_source/core/dom/domobject.js +0 -258
- data/test/dummy/public/assets/ckeditor/_source/core/dom/element.js +0 -1691
- data/test/dummy/public/assets/ckeditor/_source/core/dom/elementpath.js +0 -119
- data/test/dummy/public/assets/ckeditor/_source/core/dom/event.js +0 -145
- data/test/dummy/public/assets/ckeditor/_source/core/dom/node.js +0 -696
- data/test/dummy/public/assets/ckeditor/_source/core/dom/nodelist.js +0 -26
- data/test/dummy/public/assets/ckeditor/_source/core/dom/range.js +0 -2054
- data/test/dummy/public/assets/ckeditor/_source/core/dom/rangelist.js +0 -213
- data/test/dummy/public/assets/ckeditor/_source/core/dom/text.js +0 -128
- data/test/dummy/public/assets/ckeditor/_source/core/dom/walker.js +0 -462
- data/test/dummy/public/assets/ckeditor/_source/core/dom/window.js +0 -96
- data/test/dummy/public/assets/ckeditor/_source/core/dtd.js +0 -266
- data/test/dummy/public/assets/ckeditor/_source/core/editor.js +0 -1059
- data/test/dummy/public/assets/ckeditor/_source/core/editor_basic.js +0 -186
- data/test/dummy/public/assets/ckeditor/_source/core/env.js +0 -305
- data/test/dummy/public/assets/ckeditor/_source/core/event.js +0 -342
- data/test/dummy/public/assets/ckeditor/_source/core/eventInfo.js +0 -120
- data/test/dummy/public/assets/ckeditor/_source/core/focusmanager.js +0 -152
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser.js +0 -224
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/basicwriter.js +0 -145
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/cdata.js +0 -43
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/comment.js +0 -60
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/element.js +0 -308
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/filter.js +0 -288
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/fragment.js +0 -518
- data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/text.js +0 -53
- data/test/dummy/public/assets/ckeditor/_source/core/lang.js +0 -157
- data/test/dummy/public/assets/ckeditor/_source/core/loader.js +0 -240
- data/test/dummy/public/assets/ckeditor/_source/core/plugindefinition.js +0 -83
- data/test/dummy/public/assets/ckeditor/_source/core/plugins.js +0 -103
- data/test/dummy/public/assets/ckeditor/_source/core/resourcemanager.js +0 -238
- data/test/dummy/public/assets/ckeditor/_source/core/scriptloader.js +0 -180
- data/test/dummy/public/assets/ckeditor/_source/core/skins.js +0 -184
- data/test/dummy/public/assets/ckeditor/_source/core/themes.js +0 -19
- data/test/dummy/public/assets/ckeditor/_source/core/tools.js +0 -763
- data/test/dummy/public/assets/ckeditor/_source/core/ui.js +0 -128
- data/test/dummy/public/assets/ckeditor/_source/lang/_languages.js +0 -84
- data/test/dummy/public/assets/ckeditor/_source/lang/_translationstatus-58be1ae4db275d7eb31a7e5b4fdd9e2a.txt +0 -61
- data/test/dummy/public/assets/ckeditor/_source/lang/_translationstatus.txt +0 -61
- data/test/dummy/public/assets/ckeditor/_source/lang/af.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/ar.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/bg.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/bn.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/bs.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/ca.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/cs.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/cy.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/da.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/de.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/el.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/en-au.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/en-ca.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/en-gb.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/en.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/eo.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/es.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/et.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/eu.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/fa.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/fi.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/fo.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/fr-ca.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/fr.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/gl.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/gu.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/he.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/hi.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/hr.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/hu.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/is.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/it.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/ja.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/ka.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/km.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/ko.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/lt.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/lv.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/mn.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/ms.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/nb.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/nl.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/no.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/pl.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/pt-br.js +0 -814
- data/test/dummy/public/assets/ckeditor/_source/lang/pt.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/ro.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/ru.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/sk.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/sl.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/sr-latn.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/sr.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/sv.js +0 -814
- data/test/dummy/public/assets/ckeditor/_source/lang/th.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/tr.js +0 -814
- data/test/dummy/public/assets/ckeditor/_source/lang/uk.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/vi.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/zh-cn.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/lang/zh.js +0 -815
- data/test/dummy/public/assets/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +0 -222
- data/test/dummy/public/assets/ckeditor/_source/plugins/a11yhelp/lang/en.js +0 -108
- data/test/dummy/public/assets/ckeditor/_source/plugins/a11yhelp/lang/he.js +0 -216
- data/test/dummy/public/assets/ckeditor/_source/plugins/a11yhelp/plugin.js +0 -47
- data/test/dummy/public/assets/ckeditor/_source/plugins/about/dialogs/about.js +0 -76
- data/test/dummy/public/assets/ckeditor/_source/plugins/about/dialogs/logo_ckeditor-23d870d1ed71ce5e586ffae0400ff744.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 +0 -24
- data/test/dummy/public/assets/ckeditor/_source/plugins/adobeair/plugin.js +0 -228
- data/test/dummy/public/assets/ckeditor/_source/plugins/ajax/plugin.js +0 -152
- data/test/dummy/public/assets/ckeditor/_source/plugins/autogrow/plugin.js +0 -141
- data/test/dummy/public/assets/ckeditor/_source/plugins/basicstyles/plugin.js +0 -129
- data/test/dummy/public/assets/ckeditor/_source/plugins/bbcode/plugin.js +0 -931
- data/test/dummy/public/assets/ckeditor/_source/plugins/bidi/plugin.js +0 -334
- data/test/dummy/public/assets/ckeditor/_source/plugins/blockquote/plugin.js +0 -305
- data/test/dummy/public/assets/ckeditor/_source/plugins/button/plugin.js +0 -290
- data/test/dummy/public/assets/ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -223
- data/test/dummy/public/assets/ckeditor/_source/plugins/clipboard/plugin.js +0 -453
- data/test/dummy/public/assets/ckeditor/_source/plugins/colorbutton/plugin.js +0 -301
- data/test/dummy/public/assets/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +0 -340
- data/test/dummy/public/assets/ckeditor/_source/plugins/colordialog/plugin.js +0 -15
- data/test/dummy/public/assets/ckeditor/_source/plugins/contextmenu/plugin.js +0 -179
- data/test/dummy/public/assets/ckeditor/_source/plugins/devtools/lang/en.js +0 -16
- data/test/dummy/public/assets/ckeditor/_source/plugins/devtools/plugin.js +0 -173
- data/test/dummy/public/assets/ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -1166
- data/test/dummy/public/assets/ckeditor/_source/plugins/dialog/plugin.js +0 -3308
- data/test/dummy/public/assets/ckeditor/_source/plugins/dialogadvtab/plugin.js +0 -208
- data/test/dummy/public/assets/ckeditor/_source/plugins/dialogui/plugin.js +0 -1541
- data/test/dummy/public/assets/ckeditor/_source/plugins/div/dialogs/div.js +0 -535
- data/test/dummy/public/assets/ckeditor/_source/plugins/div/plugin.js +0 -121
- data/test/dummy/public/assets/ckeditor/_source/plugins/docprops/dialogs/docprops.js +0 -674
- data/test/dummy/public/assets/ckeditor/_source/plugins/docprops/plugin.js +0 -22
- data/test/dummy/public/assets/ckeditor/_source/plugins/domiterator/plugin.js +0 -361
- data/test/dummy/public/assets/ckeditor/_source/plugins/editingblock/plugin.js +0 -278
- data/test/dummy/public/assets/ckeditor/_source/plugins/elementspath/plugin.js +0 -218
- data/test/dummy/public/assets/ckeditor/_source/plugins/enterkey/plugin.js +0 -433
- data/test/dummy/public/assets/ckeditor/_source/plugins/entities/plugin.js +0 -250
- data/test/dummy/public/assets/ckeditor/_source/plugins/fakeobjects/plugin.js +0 -175
- data/test/dummy/public/assets/ckeditor/_source/plugins/filebrowser/plugin.js +0 -534
- data/test/dummy/public/assets/ckeditor/_source/plugins/find/dialogs/find.js +0 -915
- data/test/dummy/public/assets/ckeditor/_source/plugins/find/plugin.js +0 -47
- data/test/dummy/public/assets/ckeditor/_source/plugins/flash/dialogs/flash.js +0 -674
- data/test/dummy/public/assets/ckeditor/_source/plugins/flash/images/placeholder-2523aeb6efa394f0835cb7d9c1488c77.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 +0 -154
- data/test/dummy/public/assets/ckeditor/_source/plugins/floatpanel/plugin.js +0 -428
- data/test/dummy/public/assets/ckeditor/_source/plugins/font/plugin.js +0 -234
- data/test/dummy/public/assets/ckeditor/_source/plugins/format/plugin.js +0 -197
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/button.js +0 -118
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/checkbox.js +0 -153
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/form.js +0 -177
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +0 -100
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/radio.js +0 -135
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/select.js +0 -558
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/textarea.js +0 -135
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/textfield.js +0 -199
- data/test/dummy/public/assets/ckeditor/_source/plugins/forms/images/hiddenfield-936f3f266258d459fc0a9a6217a0b056.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 +0 -288
- data/test/dummy/public/assets/ckeditor/_source/plugins/horizontalrule/plugin.js +0 -48
- data/test/dummy/public/assets/ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -596
- data/test/dummy/public/assets/ckeditor/_source/plugins/htmlwriter/plugin.js +0 -319
- data/test/dummy/public/assets/ckeditor/_source/plugins/iframe/dialogs/iframe.js +0 -229
- data/test/dummy/public/assets/ckeditor/_source/plugins/iframe/images/placeholder-f55cfd987744bc8e0d297e75cd483923.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 +0 -87
- data/test/dummy/public/assets/ckeditor/_source/plugins/iframedialog/plugin.js +0 -188
- data/test/dummy/public/assets/ckeditor/_source/plugins/image/dialogs/image.js +0 -1407
- data/test/dummy/public/assets/ckeditor/_source/plugins/image/plugin.js +0 -81
- data/test/dummy/public/assets/ckeditor/_source/plugins/indent/plugin.js +0 -461
- data/test/dummy/public/assets/ckeditor/_source/plugins/justify/plugin.js +0 -253
- data/test/dummy/public/assets/ckeditor/_source/plugins/keystrokes/plugin.js +0 -225
- data/test/dummy/public/assets/ckeditor/_source/plugins/link/dialogs/anchor.js +0 -144
- data/test/dummy/public/assets/ckeditor/_source/plugins/link/dialogs/link.js +0 -1425
- data/test/dummy/public/assets/ckeditor/_source/plugins/link/images/anchor-fcffa3020aea6d54c634de5ba79c055e.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 +0 -374
- data/test/dummy/public/assets/ckeditor/_source/plugins/list/plugin.js +0 -774
- data/test/dummy/public/assets/ckeditor/_source/plugins/listblock/plugin.js +0 -266
- data/test/dummy/public/assets/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +0 -225
- data/test/dummy/public/assets/ckeditor/_source/plugins/liststyle/plugin.js +0 -66
- data/test/dummy/public/assets/ckeditor/_source/plugins/maximize/plugin.js +0 -353
- data/test/dummy/public/assets/ckeditor/_source/plugins/menu/plugin.js +0 -541
- data/test/dummy/public/assets/ckeditor/_source/plugins/menubutton/plugin.js +0 -98
- data/test/dummy/public/assets/ckeditor/_source/plugins/newpage/plugin.js +0 -55
- data/test/dummy/public/assets/ckeditor/_source/plugins/pagebreak/images/pagebreak-699e13d3b4786f15aee9ca768d58ea19.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 +0 -164
- data/test/dummy/public/assets/ckeditor/_source/plugins/panel/plugin.js +0 -400
- data/test/dummy/public/assets/ckeditor/_source/plugins/panelbutton/plugin.js +0 -144
- data/test/dummy/public/assets/ckeditor/_source/plugins/pastefromword/filter/default.js +0 -1367
- data/test/dummy/public/assets/ckeditor/_source/plugins/pastefromword/plugin.js +0 -141
- data/test/dummy/public/assets/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +0 -67
- data/test/dummy/public/assets/ckeditor/_source/plugins/pastetext/plugin.js +0 -98
- data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js +0 -71
- data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/lang/en.js +0 -16
- data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/lang/he.js +0 -16
- data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/placeholder-5faafb14ee25225246d64dff7bfffbf0.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 +0 -171
- data/test/dummy/public/assets/ckeditor/_source/plugins/popup/plugin.js +0 -64
- data/test/dummy/public/assets/ckeditor/_source/plugins/preview/plugin.js +0 -113
- data/test/dummy/public/assets/ckeditor/_source/plugins/print/plugin.js +0 -42
- data/test/dummy/public/assets/ckeditor/_source/plugins/removeformat/plugin.js +0 -185
- data/test/dummy/public/assets/ckeditor/_source/plugins/resize/plugin.js +0 -168
- data/test/dummy/public/assets/ckeditor/_source/plugins/richcombo/plugin.js +0 -381
- data/test/dummy/public/assets/ckeditor/_source/plugins/save/plugin.js +0 -56
- data/test/dummy/public/assets/ckeditor/_source/plugins/scayt/dialogs/options.js +0 -537
- data/test/dummy/public/assets/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +0 -71
- data/test/dummy/public/assets/ckeditor/_source/plugins/scayt/plugin.js +0 -973
- data/test/dummy/public/assets/ckeditor/_source/plugins/selection/plugin.js +0 -1729
- data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_address-dc40ba9312bb0710e218987606e3f7f0.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-1282e06e43bcabb0856f2124f7ce51f9.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-c27c81d18597c829de8e91c9ea39d134.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-50d65857bd34db2aa0d7b5f7dc6a4603.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-fc92d34b3a2dd29d6bf95ede204d13e3.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-ebf1718456117a9bea551f9a23dc74c7.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-a4b70caedfcd4f858f94b8c239e5cba5.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-2043019ffb4842cc76517fdd416ed19d.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-350470a92875f09e37ff10adfada6007.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-ec9d023fe50605028d4ab499eb0471a4.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-864ef82e5c5a85693af5a1cf6e319bf8.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 +0 -160
- data/test/dummy/public/assets/ckeditor/_source/plugins/showborders/plugin.js +0 -207
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/dialogs/smiley.js +0 -224
- data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/angel_smile-bef270ca78e6fa3b45063d39ec84bc0c.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-bab741f28e98bc6d917ddfec5c0a5ca8.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-2679345851234d3ac7c39a50db187708.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-74cf3920a3740aa276e208a38730732f.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-51647a8a04c77e041b26b761bb838010.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-033fd0723bf91acd7dafeb6c92dce25e.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-c8636d2a952d9b0ceeef311e9ec78a4e.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-a1bd4c87ea6901474fec9db4599ec7ee.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-07ef8afe14a00991c3d436b7e804c761.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-39a6ead1ca61839652498e2ff6643e66.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-fdd5a5b671bc3b3bd4dabfc9730bce74.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-c3eb09606761c3991e1de4d9d31a0e73.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-a94edeadc3bfc87a010e9ea79cbc8daa.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-c00123adfc80fb7d76f18daedfaf0ef3.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-69773406c7c9209f5829139f951498d2.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-688e966965311f30254197f1d062bc7f.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-9bddb23dd9680dfd66dd85271574c374.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-946b16fd78b6459336ec8ed64b8ee14f.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-2446b921c5b4d83fbd6cf8501da54b61.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-7deb36f7f73a655cfa8ee463f011b4fb.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-f4031efedd01f310c2e5e660252be2e9.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 +0 -94
- data/test/dummy/public/assets/ckeditor/_source/plugins/sourcearea/plugin.js +0 -209
- data/test/dummy/public/assets/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +0 -350
- data/test/dummy/public/assets/ckeditor/_source/plugins/specialchar/lang/en.js +0 -122
- data/test/dummy/public/assets/ckeditor/_source/plugins/specialchar/plugin.js +0 -70
- data/test/dummy/public/assets/ckeditor/_source/plugins/styles/plugin.js +0 -1700
- data/test/dummy/public/assets/ckeditor/_source/plugins/styles/styles/default.js +0 -88
- data/test/dummy/public/assets/ckeditor/_source/plugins/stylescombo/plugin.js +0 -218
- data/test/dummy/public/assets/ckeditor/_source/plugins/stylesheetparser/plugin.js +0 -148
- data/test/dummy/public/assets/ckeditor/_source/plugins/tab/plugin.js +0 -367
- data/test/dummy/public/assets/ckeditor/_source/plugins/table/dialogs/table.js +0 -623
- data/test/dummy/public/assets/ckeditor/_source/plugins/table/plugin.js +0 -78
- data/test/dummy/public/assets/ckeditor/_source/plugins/tableresize/plugin.js +0 -443
- data/test/dummy/public/assets/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -525
- data/test/dummy/public/assets/ckeditor/_source/plugins/tabletools/plugin.js +0 -1194
- data/test/dummy/public/assets/ckeditor/_source/plugins/templates/dialogs/templates.js +0 -234
- data/test/dummy/public/assets/ckeditor/_source/plugins/templates/plugin.js +0 -99
- data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/default.js +0 -94
- data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/images/template1-fc3a0467b794d4f6736584e0e59881ce.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-b1679d5593cbba03a06fb099d582fcfe.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-5cb326d589cb45a0a162dbb197739113.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 +0 -545
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +0 -205
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/lang/en.js +0 -15
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/lang/he.js +0 -15
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/plugin.js +0 -37
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/uicolor-fef7040d883249956c259d82fe466438.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-2a1476b227b192de64c910eb7c7d1959.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-1fcd818d192a2145b4889954916e6989.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-f94a3d8be4cbac6181070a091d00d08c.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-54fc5a034b6db450cd260c160b4aa1da.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 +0 -15
- data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/yui.js +0 -71
- data/test/dummy/public/assets/ckeditor/_source/plugins/undo/plugin.js +0 -578
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/ciframe-b2a46fc6f5f4795ef6bf5a381ed48e41.html +0 -49
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +0 -49
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset-f8fccfa58764e0f1247064bf8290484b.html +0 -52
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/wsc.css +0 -82
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/wsc.js +0 -192
- data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/plugin.js +0 -33
- data/test/dummy/public/assets/ckeditor/_source/plugins/wysiwygarea/plugin.js +0 -1347
- data/test/dummy/public/assets/ckeditor/_source/plugins/xml/plugin.js +0 -170
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/dialog.css +0 -989
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/editor.css +0 -25
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/elementspath.css +0 -73
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons-9d3eca06a539035ef6b1c3bd81df1aac.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons.css +0 -366
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons_rtl-aeb47940348bb794d0c51a8c752904b8.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-3e5878a759ac96ccc7a0120ede543239.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/dialog_sides-b2e0faad80156a5b6d1e3b2e154de599.gif +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-213ac5019db4e41512b98c35f7a48f2e.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-46560712c4ce68a8c7f4076d34cba20e.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-a2cc8fd2b37f368e469119ab83013612.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-2f4be37dfe20462d3879fa9e97be7c4b.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-0657a22bf8896c14fa3bab9aa8ce4625.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-d24bf760b3d2d019158605ec6c957426.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 +0 -206
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/menu.css +0 -232
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/panel.css +0 -217
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/presets.css +0 -49
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/reset.css +0 -85
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/richcombo.css +0 -287
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/skin.js +0 -236
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/templates.css +0 -88
- data/test/dummy/public/assets/ckeditor/_source/skins/kama/toolbar.css +0 -408
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/dialog.css +0 -891
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/editor.css +0 -25
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/elementspath.css +0 -74
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons-9d3eca06a539035ef6b1c3bd81df1aac.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons.css +0 -363
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons_rtl-aeb47940348bb794d0c51a8c752904b8.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-566f701a7fb1582bb8aa56aa23a08650.gif +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/dialog_sides-63b6dee922b8534a4dffc35b89ab1a55.png +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-8db16a93f455a72394cfc976eb4cadb4.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-46560712c4ce68a8c7f4076d34cba20e.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-a2cc8fd2b37f368e469119ab83013612.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-4c0eb4a3d1eaf4ed444aec605899d073.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-f4c92c03a74d3ca5ed75eab5d0efc218.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 +0 -153
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/menu.css +0 -229
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/panel.css +0 -212
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/presets.css +0 -49
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/reset.css +0 -85
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/richcombo.css +0 -309
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/skin.js +0 -74
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/templates.css +0 -87
- data/test/dummy/public/assets/ckeditor/_source/skins/office2003/toolbar.css +0 -522
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/dialog.css +0 -907
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/editor.css +0 -25
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/elementspath.css +0 -74
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons-9d3eca06a539035ef6b1c3bd81df1aac.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons.css +0 -363
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons_rtl-aeb47940348bb794d0c51a8c752904b8.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-3e5878a759ac96ccc7a0120ede543239.png +0 -0
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/dialog_sides-b2e0faad80156a5b6d1e3b2e154de599.gif +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-213ac5019db4e41512b98c35f7a48f2e.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-46560712c4ce68a8c7f4076d34cba20e.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-a2cc8fd2b37f368e469119ab83013612.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-c3f7ae056042da169ec1a81f18eb31e6.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-f87b6810a17d1fd9740f7e9eb27f351f.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-d24bf760b3d2d019158605ec6c957426.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 +0 -162
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/menu.css +0 -232
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/panel.css +0 -212
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/presets.css +0 -50
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/reset.css +0 -85
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/richcombo.css +0 -302
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/skin.js +0 -70
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/templates.css +0 -87
- data/test/dummy/public/assets/ckeditor/_source/skins/v2/toolbar.css +0 -465
- data/test/dummy/public/assets/ckeditor/_source/themes/default/theme.js +0 -407
- data/test/dummy/public/assets/ckeditor/adapters/jquery.js +0 -6
- data/test/dummy/public/assets/ckeditor/ckeditor-01580143bdb99b3d10c94daab6132e65.pack +0 -211
- data/test/dummy/public/assets/ckeditor/ckeditor-0da706dd63c19b18d10798aa7d0f6544.asp +0 -955
- data/test/dummy/public/assets/ckeditor/ckeditor-867e43aaf8a7a37a5159e5349cf52505.php +0 -29
- data/test/dummy/public/assets/ckeditor/ckeditor.asp +0 -955
- data/test/dummy/public/assets/ckeditor/ckeditor.js +0 -149
- data/test/dummy/public/assets/ckeditor/ckeditor.pack +0 -211
- data/test/dummy/public/assets/ckeditor/ckeditor.php +0 -29
- data/test/dummy/public/assets/ckeditor/ckeditor_basic.js +0 -8
- data/test/dummy/public/assets/ckeditor/ckeditor_basic_source.js +0 -20
- data/test/dummy/public/assets/ckeditor/ckeditor_php4-4d1266442675284992f7d9c37a861d8c.php +0 -566
- data/test/dummy/public/assets/ckeditor/ckeditor_php4.php +0 -566
- data/test/dummy/public/assets/ckeditor/ckeditor_php5-c10c3e7ae158ff33556d591d4b68b20a.php +0 -556
- data/test/dummy/public/assets/ckeditor/ckeditor_php5.php +0 -556
- data/test/dummy/public/assets/ckeditor/ckeditor_source.js +0 -35
- data/test/dummy/public/assets/ckeditor/config.js +0 -11
- data/test/dummy/public/assets/ckeditor/contents.css +0 -25
- data/test/dummy/public/assets/ckeditor/images/spacer-efb4fe7589bccc45af59714c77085d3c.gif +0 -0
- data/test/dummy/public/assets/ckeditor/images/spacer.gif +0 -0
- data/test/dummy/public/assets/ckeditor/lang/_languages.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/_translationstatus-58be1ae4db275d7eb31a7e5b4fdd9e2a.txt +0 -61
- data/test/dummy/public/assets/ckeditor/lang/_translationstatus.txt +0 -61
- data/test/dummy/public/assets/ckeditor/lang/af.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/ar.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/bg.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/bn.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/bs.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/ca.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/cs.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/cy.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/da.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/de.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/el.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/en-au.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/en-ca.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/en-gb.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/en.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/eo.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/es.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/et.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/eu.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/fa.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/fi.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/fo.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/fr-ca.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/fr.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/gl.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/gu.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/he.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/hi.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/hr.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/hu.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/is.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/it.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/ja.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/ka.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/km.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/ko.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/lt.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/lv.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/mn.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/ms.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/nb.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/nl.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/no.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/pl.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/pt-br.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/pt.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/ro.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/ru.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/sk.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/sl.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/sr-latn.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/sr.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/sv.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/th.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/tr.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/uk.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/vi.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/zh-cn.js +0 -6
- data/test/dummy/public/assets/ckeditor/lang/zh.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -7
- data/test/dummy/public/assets/ckeditor/plugins/a11yhelp/lang/en.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/a11yhelp/lang/he.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/about/dialogs/about.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/about/dialogs/logo_ckeditor-23d870d1ed71ce5e586ffae0400ff744.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 +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/ajax/plugin.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/autogrow/plugin.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/bbcode/plugin.js +0 -9
- data/test/dummy/public/assets/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
- data/test/dummy/public/assets/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -7
- data/test/dummy/public/assets/ckeditor/plugins/devtools/lang/en.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/devtools/plugin.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- data/test/dummy/public/assets/ckeditor/plugins/div/dialogs/div.js +0 -8
- data/test/dummy/public/assets/ckeditor/plugins/docprops/dialogs/docprops.js +0 -10
- data/test/dummy/public/assets/ckeditor/plugins/docprops/plugin.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/find/dialogs/find.js +0 -10
- data/test/dummy/public/assets/ckeditor/plugins/flash/dialogs/flash.js +0 -9
- data/test/dummy/public/assets/ckeditor/plugins/flash/images/placeholder-2523aeb6efa394f0835cb7d9c1488c77.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 +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/form.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/radio.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/select.js +0 -9
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/forms/images/hiddenfield-936f3f266258d459fc0a9a6217a0b056.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 +0 -7
- data/test/dummy/public/assets/ckeditor/plugins/iframe/images/placeholder-f55cfd987744bc8e0d297e75cd483923.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 +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/image/dialogs/image.js +0 -13
- data/test/dummy/public/assets/ckeditor/plugins/link/dialogs/anchor.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/link/dialogs/link.js +0 -12
- data/test/dummy/public/assets/ckeditor/plugins/link/images/anchor-fcffa3020aea6d54c634de5ba79c055e.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 +0 -7
- data/test/dummy/public/assets/ckeditor/plugins/pagebreak/images/pagebreak-699e13d3b4786f15aee9ca768d58ea19.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 +0 -11
- data/test/dummy/public/assets/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/placeholder/dialogs/placeholder.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/placeholder/lang/en.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/placeholder/lang/he.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/placeholder/placeholder-5faafb14ee25225246d64dff7bfffbf0.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 +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/scayt/dialogs/options.js +0 -8
- data/test/dummy/public/assets/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_address-dc40ba9312bb0710e218987606e3f7f0.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-1282e06e43bcabb0856f2124f7ce51f9.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-c27c81d18597c829de8e91c9ea39d134.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-50d65857bd34db2aa0d7b5f7dc6a4603.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-fc92d34b3a2dd29d6bf95ede204d13e3.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-ebf1718456117a9bea551f9a23dc74c7.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-a4b70caedfcd4f858f94b8c239e5cba5.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-2043019ffb4842cc76517fdd416ed19d.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-350470a92875f09e37ff10adfada6007.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-ec9d023fe50605028d4ab499eb0471a4.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-864ef82e5c5a85693af5a1cf6e319bf8.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 +0 -7
- data/test/dummy/public/assets/ckeditor/plugins/smiley/images/angel_smile-bef270ca78e6fa3b45063d39ec84bc0c.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-bab741f28e98bc6d917ddfec5c0a5ca8.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-2679345851234d3ac7c39a50db187708.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-74cf3920a3740aa276e208a38730732f.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-51647a8a04c77e041b26b761bb838010.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-033fd0723bf91acd7dafeb6c92dce25e.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-c8636d2a952d9b0ceeef311e9ec78a4e.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-a1bd4c87ea6901474fec9db4599ec7ee.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-07ef8afe14a00991c3d436b7e804c761.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-39a6ead1ca61839652498e2ff6643e66.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-fdd5a5b671bc3b3bd4dabfc9730bce74.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-c3eb09606761c3991e1de4d9d31a0e73.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-a94edeadc3bfc87a010e9ea79cbc8daa.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-c00123adfc80fb7d76f18daedfaf0ef3.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-69773406c7c9209f5829139f951498d2.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-688e966965311f30254197f1d062bc7f.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-9bddb23dd9680dfd66dd85271574c374.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-946b16fd78b6459336ec8ed64b8ee14f.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-2446b921c5b4d83fbd6cf8501da54b61.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-7deb36f7f73a655cfa8ee463f011b4fb.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-f4031efedd01f310c2e5e660252be2e9.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 +0 -7
- data/test/dummy/public/assets/ckeditor/plugins/specialchar/lang/en.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/styles/styles/default.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/stylesheetparser/plugin.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/table/dialogs/table.js +0 -9
- data/test/dummy/public/assets/ckeditor/plugins/tableresize/plugin.js +0 -7
- data/test/dummy/public/assets/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -8
- data/test/dummy/public/assets/ckeditor/plugins/templates/dialogs/templates.js +0 -7
- data/test/dummy/public/assets/ckeditor/plugins/templates/templates/default.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/templates/templates/images/template1-fc3a0467b794d4f6736584e0e59881ce.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-b1679d5593cbba03a06fb099d582fcfe.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-5cb326d589cb45a0a162dbb197739113.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 +0 -7
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/lang/en.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/lang/he.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/plugin.js +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/uicolor-fef7040d883249956c259d82fe466438.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-2a1476b227b192de64c910eb7c7d1959.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-1fcd818d192a2145b4889954916e6989.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-f94a3d8be4cbac6181070a091d00d08c.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-54fc5a034b6db450cd260c160b4aa1da.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 +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/yui.js +0 -76
- data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/ciframe-b2a46fc6f5f4795ef6bf5a381ed48e41.html +0 -49
- data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
- data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset-f8fccfa58764e0f1247064bf8290484b.html +0 -52
- data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
- data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
- data/test/dummy/public/assets/ckeditor/plugins/xml/plugin.js +0 -6
- data/test/dummy/public/assets/ckeditor/skins/kama/dialog.css +0 -10
- data/test/dummy/public/assets/ckeditor/skins/kama/editor.css +0 -13
- data/test/dummy/public/assets/ckeditor/skins/kama/icons-9d3eca06a539035ef6b1c3bd81df1aac.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-aeb47940348bb794d0c51a8c752904b8.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-3e5878a759ac96ccc7a0120ede543239.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/kama/images/dialog_sides-b2e0faad80156a5b6d1e3b2e154de599.gif +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-213ac5019db4e41512b98c35f7a48f2e.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-46560712c4ce68a8c7f4076d34cba20e.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-a2cc8fd2b37f368e469119ab83013612.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-2f4be37dfe20462d3879fa9e97be7c4b.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-0657a22bf8896c14fa3bab9aa8ce4625.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-d24bf760b3d2d019158605ec6c957426.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 +0 -7
- data/test/dummy/public/assets/ckeditor/skins/kama/templates.css +0 -6
- data/test/dummy/public/assets/ckeditor/skins/office2003/dialog.css +0 -9
- data/test/dummy/public/assets/ckeditor/skins/office2003/editor.css +0 -14
- data/test/dummy/public/assets/ckeditor/skins/office2003/icons-9d3eca06a539035ef6b1c3bd81df1aac.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-aeb47940348bb794d0c51a8c752904b8.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-566f701a7fb1582bb8aa56aa23a08650.gif +0 -0
- data/test/dummy/public/assets/ckeditor/skins/office2003/images/dialog_sides-63b6dee922b8534a4dffc35b89ab1a55.png +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-8db16a93f455a72394cfc976eb4cadb4.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-46560712c4ce68a8c7f4076d34cba20e.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-a2cc8fd2b37f368e469119ab83013612.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-4c0eb4a3d1eaf4ed444aec605899d073.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-f4c92c03a74d3ca5ed75eab5d0efc218.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 +0 -6
- data/test/dummy/public/assets/ckeditor/skins/office2003/templates.css +0 -6
- data/test/dummy/public/assets/ckeditor/skins/v2/dialog.css +0 -9
- data/test/dummy/public/assets/ckeditor/skins/v2/editor.css +0 -13
- data/test/dummy/public/assets/ckeditor/skins/v2/icons-9d3eca06a539035ef6b1c3bd81df1aac.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-aeb47940348bb794d0c51a8c752904b8.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-3e5878a759ac96ccc7a0120ede543239.png +0 -0
- data/test/dummy/public/assets/ckeditor/skins/v2/images/dialog_sides-b2e0faad80156a5b6d1e3b2e154de599.gif +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-213ac5019db4e41512b98c35f7a48f2e.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-46560712c4ce68a8c7f4076d34cba20e.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-a2cc8fd2b37f368e469119ab83013612.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-c3f7ae056042da169ec1a81f18eb31e6.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-f87b6810a17d1fd9740f7e9eb27f351f.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-d24bf760b3d2d019158605ec6c957426.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 +0 -6
- data/test/dummy/public/assets/ckeditor/skins/v2/templates.css +0 -6
- data/test/dummy/public/assets/ckeditor/themes/default/theme.js +0 -8
- data/test/dummy/public/assets/manifest.yml +0 -234
- data/test/dummy/public/assets/rich/application-408b1cef5ce535a25f501b1963eaadd9.js +0 -19
- data/test/dummy/public/assets/rich/application-408b1cef5ce535a25f501b1963eaadd9.js.gz +0 -0
- data/test/dummy/public/assets/rich/application-5707b8b085e9adf29512f54e5d1bb062.css +0 -1
- data/test/dummy/public/assets/rich/application-5707b8b085e9adf29512f54e5d1bb062.css.gz +0 -0
- data/test/dummy/public/assets/rich/application.css +0 -1
- data/test/dummy/public/assets/rich/application.css.gz +0 -0
- data/test/dummy/public/assets/rich/application.js +0 -19
- data/test/dummy/public/assets/rich/application.js.gz +0 -0
- data/test/dummy/public/assets/rich/base-4c97f18739b5160edb94f939a4d129ed.js +0 -11
- data/test/dummy/public/assets/rich/base-4c97f18739b5160edb94f939a4d129ed.js.gz +0 -0
- data/test/dummy/public/assets/rich/base.js +0 -11
- data/test/dummy/public/assets/rich/base.js.gz +0 -0
- data/test/dummy/public/assets/rich/images-be08c580ec923cabe1977cba7a5f3b4e.png +0 -0
- data/test/dummy/public/assets/rich/images.png +0 -0
- data/test/dummy/public/assets/rich/plus-dc3f927158bd63e9e504608f186c09c2.png +0 -0
- data/test/dummy/public/assets/rich/plus-red-13c9e0cc64bcf1fc3a5af70d5ed212ba.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-29997c7fff3174ed6dd2fbc50be3afac.png +0 -0
- data/test/dummy/public/assets/rich/x-red.png +0 -0
- data/test/dummy/public/system/test +0 -0
- data/test/dummy/tmp/cache/assets/C06/710/sprockets%2F8af9e25749241939f390509d20792815 +0 -0
- data/test/dummy/tmp/cache/assets/C32/0F0/sprockets%2F149ca330c1a5a00561c265b103246858 +0 -0
- data/test/dummy/tmp/cache/assets/C32/C40/sprockets%2Ff459d7671964c49e413971720514ba68 +0 -1251
- data/test/dummy/tmp/cache/assets/C40/B90/sprockets%2F569d683250884929c82ce815f1749e81 +0 -0
- data/test/dummy/tmp/cache/assets/C48/440/sprockets%2F32844d510659827480b8a1213e6a2af5 +0 -0
- data/test/dummy/tmp/cache/assets/C4E/680/sprockets%2F36f2033c1306b72059d82b49209687ec +0 -0
- data/test/dummy/tmp/cache/assets/C50/240/sprockets%2F1239ff9682734d0e51871373a51108cc +0 -0
- data/test/dummy/tmp/cache/assets/C59/EA0/sprockets%2F18d48e64651c574775b0503f68800e3e +0 -0
- data/test/dummy/tmp/cache/assets/C5C/640/sprockets%2F0fa11f77632ac7a8e096764720506999 +0 -0
- data/test/dummy/tmp/cache/assets/C6B/8F0/sprockets%2F319e8684d575a5826884b528b7d2d565 +0 -0
- data/test/dummy/tmp/cache/assets/C6E/C10/sprockets%2F22d04958b123a192d331199bd1473c0e +0 -0
- data/test/dummy/tmp/cache/assets/C73/290/sprockets%2F9090ba5b09d473240c301788406dd36a +0 -0
- data/test/dummy/tmp/cache/assets/C7E/3F0/sprockets%2F59dc60cc2216e8c008e3461059c50867 +0 -0
- data/test/dummy/tmp/cache/assets/C81/330/sprockets%2F230389fcdf278e2b64685401016451ff +0 -0
- data/test/dummy/tmp/cache/assets/C91/AF0/sprockets%2F80725049568a1c1b6765663796e9bebc +0 -0
- data/test/dummy/tmp/cache/assets/C99/430/sprockets%2F1027b261dc3bd6202585ad4d830263c6 +0 -0
- data/test/dummy/tmp/cache/assets/CA3/970/sprockets%2F9af3532100025f93c2604b739cd6b3a9 +0 -0
- data/test/dummy/tmp/cache/assets/CA5/BC0/sprockets%2F54140182f1546dc2a14ecc93562635de +0 -0
- data/test/dummy/tmp/cache/assets/CA7/5E0/sprockets%2F4c16aa314e932793c102c84062d397cf +0 -0
- data/test/dummy/tmp/cache/assets/CB2/C10/sprockets%2F03934299c89f790b6833b280fb4a01ad +0 -0
- data/test/dummy/tmp/cache/assets/CB5/EA0/sprockets%2F9a5a0f6a06d14e79336f787d1583a730 +0 -0
- data/test/dummy/tmp/cache/assets/CB6/470/sprockets%2F796e8921ac7b11e0178c46505c45d65e +0 -0
- data/test/dummy/tmp/cache/assets/CB6/ED0/sprockets%2F217e63b55023fa89f456fd47b358146b +0 -0
- data/test/dummy/tmp/cache/assets/CB8/7F0/sprockets%2F16f038d34c58a8ff1b39358f4d602384 +0 -0
- data/test/dummy/tmp/cache/assets/CB8/AE0/sprockets%2F163cb891a42a909f1e990f3fa7485371 +0 -0
- data/test/dummy/tmp/cache/assets/CBA/230/sprockets%2F9ef98cb0db8d4b36199942b170009257 +0 -0
- data/test/dummy/tmp/cache/assets/CBA/700/sprockets%2F0669df32d9ec0572379442d9c980d04a +0 -0
- data/test/dummy/tmp/cache/assets/CBB/670/sprockets%2Fd89670cda692273a59827741fe4aa632 +0 -0
- data/test/dummy/tmp/cache/assets/CBE/6C0/sprockets%2F16cba3296ff364558f306368790afe82 +0 -0
- data/test/dummy/tmp/cache/assets/CBF/5D0/sprockets%2F726aebb9c33c537776cb315888545c83 +0 -0
- data/test/dummy/tmp/cache/assets/CC0/3A0/sprockets%2F6045c04a3011d8320cd9a522dca2517f +0 -0
- data/test/dummy/tmp/cache/assets/CC1/8E0/sprockets%2Fa04eae552199d48918b393619b8785da +0 -0
- data/test/dummy/tmp/cache/assets/CC2/280/sprockets%2F09195cecf24b2272e4e780f9880d5676 +0 -0
- data/test/dummy/tmp/cache/assets/CC2/E60/sprockets%2F205e7507c5102dabfe49ad001362330f +0 -0
- data/test/dummy/tmp/cache/assets/CC4/BF0/sprockets%2F93d5b131135a09e48369e02ba5c01b0a +0 -0
- data/test/dummy/tmp/cache/assets/CC9/070/sprockets%2Fe764c27f405439d55fddce9490954628 +0 -0
- data/test/dummy/tmp/cache/assets/CCA/250/sprockets%2Face21e3e32abf4d0264e736331071546 +0 -0
- data/test/dummy/tmp/cache/assets/CD3/220/sprockets%2F73ab25970102f10b8d36297bb2d63fa6 +0 -0
- data/test/dummy/tmp/cache/assets/CD4/8A0/sprockets%2Fd265751b74957012ce4d11aaa5b47e72 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/9F0/sprockets%2Fa5d5213d6e2a682f081380bc88f6d303 +0 -0
- data/test/dummy/tmp/cache/assets/CD9/2C0/sprockets%2Fe935dd8ad5170521347cd108c986d0a0 +0 -0
- data/test/dummy/tmp/cache/assets/CD9/7D0/sprockets%2F4ff141721c37c8515d649b82614c0beb +0 -0
- data/test/dummy/tmp/cache/assets/CDB/640/sprockets%2F704ba1625d75d9ea91e432d157c5d074 +0 -0
- data/test/dummy/tmp/cache/assets/CDC/9E0/sprockets%2Fea79eb25849447bd373008bd9412da02 +0 -0
- data/test/dummy/tmp/cache/assets/CDC/EC0/sprockets%2Fe59936bc77fc0e28f016123f2b517a50 +0 -0
- data/test/dummy/tmp/cache/assets/CDD/460/sprockets%2F6ae479e6144212236cb4dceed7228732 +0 -0
- data/test/dummy/tmp/cache/assets/CDD/D50/sprockets%2Faee2002e4369cf20946112efcb776089 +0 -0
- data/test/dummy/tmp/cache/assets/CDE/6F0/sprockets%2F2d2ed3165588183d667f4ffd2b30c402 +0 -0
- data/test/dummy/tmp/cache/assets/CE1/C70/sprockets%2F75308c93d936373ce20bc91a590ac83e +0 -0
- data/test/dummy/tmp/cache/assets/CE2/E20/sprockets%2F19a5d182c23b8147bec26468bf179c54 +0 -0
- data/test/dummy/tmp/cache/assets/CE3/540/sprockets%2F33382b2435cefc4778be15e9af255821 +0 -0
- data/test/dummy/tmp/cache/assets/CE4/220/sprockets%2F290d98798b38e3a3da3b00d94a591c81 +0 -0
- data/test/dummy/tmp/cache/assets/CE4/3A0/sprockets%2F85a60ce826c5d8c60d929a0541166ee5 +0 -0
- data/test/dummy/tmp/cache/assets/CE6/040/sprockets%2F8977c272af2806e210f0dad260589fd7 +0 -0
- data/test/dummy/tmp/cache/assets/CE7/2B0/sprockets%2F478222c58734a43f98d38e7ccd51e31a +0 -0
- data/test/dummy/tmp/cache/assets/CE9/400/sprockets%2F90b1674ee45a286ef2e90b046f95c338 +0 -0
- data/test/dummy/tmp/cache/assets/CE9/A60/sprockets%2F033547d8f5288f4c8c2dc8f34064b4c5 +0 -0
- data/test/dummy/tmp/cache/assets/CEA/A60/sprockets%2Ff6eb622ea5a90a98b22c8362882d8763 +0 -0
- data/test/dummy/tmp/cache/assets/CEA/FC0/sprockets%2F0837e736b7e6e283486d257e4cb1ed50 +0 -0
- data/test/dummy/tmp/cache/assets/CEC/1D0/sprockets%2F08978fe24157ebf268edb04f8631c803 +0 -0
- data/test/dummy/tmp/cache/assets/CF0/1E0/sprockets%2F3e649e0720b6777659b5a48f5c1e6ff0 +0 -0
- data/test/dummy/tmp/cache/assets/CF2/230/sprockets%2F9c734786ea77e117018257bb88e3a9dd +0 -0
- data/test/dummy/tmp/cache/assets/CF2/6E0/sprockets%2Fa01bd80e884b1b1613a110b9c3b70a87 +0 -0
- data/test/dummy/tmp/cache/assets/CF5/740/sprockets%2Fc66aa3636599d278d95748fc1ab449e2 +0 -0
- data/test/dummy/tmp/cache/assets/CFE/7A0/sprockets%2Fb3dbbbec46248d53a8019a70911a2851 +0 -0
- data/test/dummy/tmp/cache/assets/D03/E80/sprockets%2Fff281eb023eda0447d50a1f4357075b9 +0 -0
- data/test/dummy/tmp/cache/assets/D05/0B0/sprockets%2F06287f63cccc09bda419f183056d03c2 +0 -0
- data/test/dummy/tmp/cache/assets/D05/620/sprockets%2F638f0e16105d34a5043dbca2b8e7576d +0 -0
- data/test/dummy/tmp/cache/assets/D06/700/sprockets%2Ff52eb7695cc074d718c511b10e5ab093 +0 -0
- data/test/dummy/tmp/cache/assets/D06/B10/sprockets%2F8862201c3f85801aec555fcb495cb01b +0 -0
- data/test/dummy/tmp/cache/assets/D06/F80/sprockets%2F94f789ef4aa996c1413e990889de09a7 +0 -0
- data/test/dummy/tmp/cache/assets/D07/880/sprockets%2Fb256aa4a87e9e3082a4ca2e55605e372 +0 -0
- data/test/dummy/tmp/cache/assets/D09/A60/sprockets%2F030cf35268aa600c41eec96265eda796 +0 -0
- data/test/dummy/tmp/cache/assets/D0A/990/sprockets%2F6965ab7a91a038a6749ffa42e208b2b0 +0 -0
- data/test/dummy/tmp/cache/assets/D0C/C40/sprockets%2F825b1ed28572d8bc73ece168f440c032 +0 -0
- data/test/dummy/tmp/cache/assets/D0D/460/sprockets%2F3f90fe60e1e63361088b4e006e74ea6c +0 -0
- data/test/dummy/tmp/cache/assets/D0E/D40/sprockets%2Fd5b221dc424f569ae31500d819fd86c7 +0 -0
- data/test/dummy/tmp/cache/assets/D10/C20/sprockets%2Fdfc15953d9d95008f1fa1f48540bb722 +0 -0
- data/test/dummy/tmp/cache/assets/D11/3C0/sprockets%2F181ff9e1b6d2db55b5088e3a82455c70 +0 -0
- data/test/dummy/tmp/cache/assets/D11/F80/sprockets%2Fc90be7050c93c9b718b66a19dc60843d +0 -0
- data/test/dummy/tmp/cache/assets/D12/C00/sprockets%2Fec315c7557a608edc1d8a4021698cf28 +0 -0
- data/test/dummy/tmp/cache/assets/D12/DE0/sprockets%2Fdc54c95ba6778542582c60a50d584dbb +0 -0
- data/test/dummy/tmp/cache/assets/D14/980/sprockets%2F85dc72862eb259cd954ab41369bc6a32 +0 -0
- data/test/dummy/tmp/cache/assets/D16/5F0/sprockets%2F6ec6330058d5e6c478dd5d0942b08db9 +0 -0
- data/test/dummy/tmp/cache/assets/D16/8A0/sprockets%2F6216fd797310aef197d571a9ba6c3a95 +0 -0
- data/test/dummy/tmp/cache/assets/D18/EE0/sprockets%2Fce414b3a58399306a47cbd0e9763c87e +0 -0
- data/test/dummy/tmp/cache/assets/D1B/290/sprockets%2F623d54ea15f8be55e60836e475fc970b +0 -0
- data/test/dummy/tmp/cache/assets/D1D/500/sprockets%2F71e1de34b5d39e4c637f0fb0619696f7 +0 -0
- data/test/dummy/tmp/cache/assets/D1E/C20/sprockets%2F7bf219b6812af739069def6b9a9e3243 +0 -0
- data/test/dummy/tmp/cache/assets/D1F/B30/sprockets%2F6351ed750b17ed0f99fa01c32ff98878 +0 -19
- data/test/dummy/tmp/cache/assets/D25/1E0/sprockets%2F795bf8a2f4749c75f6c30d96289d11ea +0 -0
- data/test/dummy/tmp/cache/assets/D25/780/sprockets%2Fc3e863d73c5fff6787112f5d5863d38a +0 -0
- data/test/dummy/tmp/cache/assets/D26/0C0/sprockets%2F980c09fe57519596fe06d29decd1358b +0 -0
- data/test/dummy/tmp/cache/assets/D27/5D0/sprockets%2F948c08b8335b2d8f47da7e9de92816a7 +0 -0
- data/test/dummy/tmp/cache/assets/D29/E60/sprockets%2F0142836e5efdbb150c76baa3c0e29602 +0 -0
- data/test/dummy/tmp/cache/assets/D2A/FA0/sprockets%2Fa5403e1fe15018cddc4435c3cac84910 +0 -310
- data/test/dummy/tmp/cache/assets/D2E/090/sprockets%2Fc54283e81ce52bf9d542ab12492a01ad +0 -9051
- data/test/dummy/tmp/cache/assets/D2E/B60/sprockets%2F65f405a2235cb3f3a5f0453dcf53d24c +0 -0
- data/test/dummy/tmp/cache/assets/D2E/CE0/sprockets%2F97b7b4e4a92383d63ff9ec849bb95474 +0 -0
- data/test/dummy/tmp/cache/assets/D2F/600/sprockets%2F729de477588a4da7bf88f0328dfb7738 +0 -0
- data/test/dummy/tmp/cache/assets/D30/E90/sprockets%2F3a19bbe0320337a6bf29177da71bf1e7 +0 -0
- data/test/dummy/tmp/cache/assets/D32/560/sprockets%2Fd2cc546d060a0a671d77435bc4872fba +0 -0
- data/test/dummy/tmp/cache/assets/D35/0C0/sprockets%2F09ddaa67f5cc50ac189111cdf4175831 +0 -0
- data/test/dummy/tmp/cache/assets/D35/3C0/sprockets%2F99538c5e674961bf963bd43bdbf9f579 +0 -0
- data/test/dummy/tmp/cache/assets/D35/B40/sprockets%2F3807e37d4ff8d7a967dd87b624de6796 +0 -0
- data/test/dummy/tmp/cache/assets/D37/9B0/sprockets%2F0de49dd3031c50c7cf2ef74d6c392530 +0 -0
- data/test/dummy/tmp/cache/assets/D38/050/sprockets%2Fdee81a599732afa9020af44cb9313a63 +0 -0
- data/test/dummy/tmp/cache/assets/D38/4D0/sprockets%2F3ebcf9a4b9332823b5524ec50bd84a27 +0 -0
- data/test/dummy/tmp/cache/assets/D3B/170/sprockets%2F410e05cbd8074abcc0e77a5c53198f78 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/4A0/sprockets%2Fa0b81b697c2cdeb085e1504ef95637d3 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/520/sprockets%2F14d8f437c24c870b33b529d1fae5da68 +0 -0
- data/test/dummy/tmp/cache/assets/D40/940/sprockets%2F1f5c0d00f1226f929e9af6da66f38c33 +0 -0
- data/test/dummy/tmp/cache/assets/D40/A40/sprockets%2Feb59c65dcb7136f1cd134dac36794822 +0 -0
- data/test/dummy/tmp/cache/assets/D41/9E0/sprockets%2F70f86aea3a218070f91bacec84a93868 +0 -0
- data/test/dummy/tmp/cache/assets/D45/9B0/sprockets%2Fd20678da12248dfe8595d2a7c2a3c69e +0 -0
- data/test/dummy/tmp/cache/assets/D46/530/sprockets%2Fa0e90ef622e886e659d04b9c72611cec +0 -0
- data/test/dummy/tmp/cache/assets/D47/2A0/sprockets%2F0920b56f0f94fde93f3e0678acb33e29 +0 -0
- data/test/dummy/tmp/cache/assets/D48/020/sprockets%2F0ab342cf69d6b697085f4e40a83fe3d8 +0 -0
- data/test/dummy/tmp/cache/assets/D48/8F0/sprockets%2F5d9ca11e57939d634318fc6fdbac5193 +0 -0
- data/test/dummy/tmp/cache/assets/D4B/2F0/sprockets%2F9dbd1e9042e4b87068e6f7c1c373ad68 +0 -0
- data/test/dummy/tmp/cache/assets/D4C/1D0/sprockets%2F5372d958b7cc5b25debb4ce5808f7841 +0 -0
- data/test/dummy/tmp/cache/assets/D4D/650/sprockets%2Ff51d1875ad5829c7bf3ff03e920497be +0 -0
- data/test/dummy/tmp/cache/assets/D4D/DD0/sprockets%2Fd59a8129bb57105764a9906fe84bdfeb +0 -0
- data/test/dummy/tmp/cache/assets/D52/AA0/sprockets%2F37f88f2e59f9d840733bdfca404be763 +0 -0
- data/test/dummy/tmp/cache/assets/D52/B50/sprockets%2F3d7e4e79bf948f47af601647bb66ba55 +0 -0
- data/test/dummy/tmp/cache/assets/D53/630/sprockets%2F56e8a8f9eed826ac2c68c9895d0510b4 +0 -0
- data/test/dummy/tmp/cache/assets/D54/390/sprockets%2Fc04d4105db620ec93f21b415c75fb1ca +0 -0
- data/test/dummy/tmp/cache/assets/D54/770/sprockets%2F5a5813a5e5fc78ca9c78a88666d3bd73 +0 -0
- data/test/dummy/tmp/cache/assets/D55/5C0/sprockets%2F97b52c1c0d1a002ac6fb9d702b7ab625 +0 -233
- data/test/dummy/tmp/cache/assets/D56/010/sprockets%2F14d6a58774f10d0bc3cb52b0b139cce0 +0 -0
- data/test/dummy/tmp/cache/assets/D58/E60/sprockets%2Fed50a16a7e75125b00224c8bc5ca6e5b +0 -0
- data/test/dummy/tmp/cache/assets/D59/DA0/sprockets%2F77edbecc4b395546f2e9e7743681a6e8 +0 -0
- data/test/dummy/tmp/cache/assets/D5C/6D0/sprockets%2Fee62cfd57b4e685deb79975dd6930544 +0 -0
- data/test/dummy/tmp/cache/assets/D5C/B90/sprockets%2F07bff51acb0e0e126845c8d8ed000f41 +0 -0
- data/test/dummy/tmp/cache/assets/D64/200/sprockets%2F4ad4ba22262ddb46a92c9ee58532b26c +0 -0
- data/test/dummy/tmp/cache/assets/D64/730/sprockets%2Fc423a6ae02b82d5cb4e89038ab8e1b65 +0 -0
- data/test/dummy/tmp/cache/assets/D68/930/sprockets%2F217a6ed4c70d42d314f6f84b2c8cc0c8 +0 -0
- data/test/dummy/tmp/cache/assets/D69/190/sprockets%2Fa527da4d54634cf7ebf419630a5c80ae +0 -0
- data/test/dummy/tmp/cache/assets/D6A/2A0/sprockets%2F25bdbe088ba6934d55a4a6d243e551ee +0 -0
- data/test/dummy/tmp/cache/assets/D6C/110/sprockets%2F7f62412196a7bc3fcc903d6eb681b5da +0 -0
- data/test/dummy/tmp/cache/assets/D6C/F90/sprockets%2Fcb34e531e41b981cf6ca2a5c7e70f890 +0 -0
- data/test/dummy/tmp/cache/assets/D6D/230/sprockets%2F8a973955dcfc806240daaae12f158df1 +0 -0
- data/test/dummy/tmp/cache/assets/D6E/8A0/sprockets%2F2decc65fc879b61e1d04ab5456627d1c +0 -0
- data/test/dummy/tmp/cache/assets/D6F/E80/sprockets%2Fdc3ba56909c52883ad614fdee332b6e3 +0 -0
- data/test/dummy/tmp/cache/assets/D71/1E0/sprockets%2F689da00db5abdc449993972ad2b2f4e2 +0 -0
- data/test/dummy/tmp/cache/assets/D71/7C0/sprockets%2Fa8b69c06e002dad3d56ffca26f985318 +0 -0
- data/test/dummy/tmp/cache/assets/D72/0F0/sprockets%2F40d4c24783b0d13d84dd998c6ae57dbb +0 -0
- data/test/dummy/tmp/cache/assets/D72/680/sprockets%2F06d8b71866cfed403dbfe4190185be6c +0 -0
- data/test/dummy/tmp/cache/assets/D73/990/sprockets%2F452d926974f4150c2a4beddda6f484cf +0 -0
- data/test/dummy/tmp/cache/assets/D73/ED0/sprockets%2Fbc2766ea216d835dd82846f9ddca136a +0 -0
- data/test/dummy/tmp/cache/assets/D77/4F0/sprockets%2F7d756119972486d9edc62bbbfeca611a +0 -0
- data/test/dummy/tmp/cache/assets/D78/020/sprockets%2F616f894b59b98a70bec544b81fa3fcc1 +0 -0
- data/test/dummy/tmp/cache/assets/D79/800/sprockets%2F5af3583d6bb600db8a78c7ac3a8958e7 +0 -0
- data/test/dummy/tmp/cache/assets/D7A/1C0/sprockets%2F8576949b66d8ed60c5c07b2e6a77abaa +0 -0
- data/test/dummy/tmp/cache/assets/D7C/140/sprockets%2F24effd11134b4c0251babb407332befc +0 -0
- data/test/dummy/tmp/cache/assets/D7E/A20/sprockets%2Fb4a8ff006b13352aeb33ac507b40db4c +0 -0
- data/test/dummy/tmp/cache/assets/D80/470/sprockets%2F4a379686edda03dfceb583239ec1859f +0 -0
- data/test/dummy/tmp/cache/assets/D86/3B0/sprockets%2F2532e928addecd30cb2b3a7321b5fb50 +0 -0
- data/test/dummy/tmp/cache/assets/D88/930/sprockets%2F73efa5ef3060beb7c4d13db3a4140e06 +0 -0
- data/test/dummy/tmp/cache/assets/D8A/FD0/sprockets%2Fab410fcaf88a64fafe1227ec0a442910 +0 -0
- data/test/dummy/tmp/cache/assets/D8D/900/sprockets%2F8265ab8aeffa6df12121571a2a6dd1c4 +0 -0
- data/test/dummy/tmp/cache/assets/D8E/AC0/sprockets%2Fe0363ce10843b8a1eddfa83de23d05b5 +0 -0
- data/test/dummy/tmp/cache/assets/D8F/420/sprockets%2Fd2d791dba2c61a762e7bcccbb7041149 +0 -0
- data/test/dummy/tmp/cache/assets/D90/220/sprockets%2F8b38adde221a05d077ada95d2a6fa228 +0 -0
- data/test/dummy/tmp/cache/assets/D93/010/sprockets%2Ffef599d66e124f9f34b89537d82cedc8 +0 -0
- data/test/dummy/tmp/cache/assets/D94/4C0/sprockets%2F02e7da68d3368b0c1edadff37c20193c +0 -0
- data/test/dummy/tmp/cache/assets/D96/E90/sprockets%2Ff43f31dd3e2d9f8eda108c01c42bd457 +0 -0
- data/test/dummy/tmp/cache/assets/D97/D40/sprockets%2Feb26ba6167e9c58eeb621a295ad6d1a0 +0 -0
- data/test/dummy/tmp/cache/assets/D98/BF0/sprockets%2F132c8dc4d7ba67c8faee429e5064a02c +0 -154
- data/test/dummy/tmp/cache/assets/D9A/BF0/sprockets%2F54ba2408b8fa027e98f62fac2ad922ce +0 -0
- data/test/dummy/tmp/cache/assets/D9B/AF0/sprockets%2Fd65eaa4a1156b572fd8f133fe64e08bd +0 -0
- data/test/dummy/tmp/cache/assets/D9C/620/sprockets%2F510748ae4edb09e7c31f53aa96ddc9a2 +0 -0
- data/test/dummy/tmp/cache/assets/D9D/EF0/sprockets%2F7d8a72d7b4ed84b6bdb0ff0436e231b8 +0 -0
- data/test/dummy/tmp/cache/assets/D9E/E50/sprockets%2Faac2752ed3d6a0fe0b2a8fef39565953 +0 -0
- data/test/dummy/tmp/cache/assets/D9E/E80/sprockets%2Fccde18986a7f5b20a1e38de1f1e28d51 +0 -0
- data/test/dummy/tmp/cache/assets/D9F/2C0/sprockets%2Ffd3cca19ffecf38630c2561d53f039a7 +0 -0
- data/test/dummy/tmp/cache/assets/D9F/640/sprockets%2Fe4c1ef66e594b1c083a9e81dddb8b124 +0 -0
- data/test/dummy/tmp/cache/assets/D9F/EF0/sprockets%2F5119bab51b3f7fb186e39b15f8e3ceb6 +0 -0
- data/test/dummy/tmp/cache/assets/DA0/200/sprockets%2F2abe9ef81b9d72f23be431456a07dfe5 +0 -0
- data/test/dummy/tmp/cache/assets/DA0/470/sprockets%2F660b00cd12b79bcf9799a44efc0a9d5c +0 -0
- data/test/dummy/tmp/cache/assets/DA1/2D0/sprockets%2Fc12c90ffc7f409650d0b6f8d4d659abb +0 -0
- data/test/dummy/tmp/cache/assets/DA1/9B0/sprockets%2F69400bcb146fefda82cec75703d7f26f +0 -0
- data/test/dummy/tmp/cache/assets/DA2/090/sprockets%2Faded77aff3b46dd56336f901b2d2f069 +0 -0
- data/test/dummy/tmp/cache/assets/DA5/D50/sprockets%2F4cd7af86f9a11f423ed05568ada2f97b +0 -0
- data/test/dummy/tmp/cache/assets/DA6/F20/sprockets%2F2c2a887ca54f707a7b9dc19ecd654fc2 +0 -0
- data/test/dummy/tmp/cache/assets/DA7/240/sprockets%2F7928fa4e4f203a8ef3a5907e6ae1c5fe +0 -0
- data/test/dummy/tmp/cache/assets/DA9/260/sprockets%2Fc1fcec56269feb7958b43758a30cd4ae +0 -0
- data/test/dummy/tmp/cache/assets/DA9/AC0/sprockets%2F2e99c05d2d4a6dd07ceecd1e36828e59 +0 -0
- data/test/dummy/tmp/cache/assets/DAA/DD0/sprockets%2F98df97d3b62502d96af3ef3f10ca9b8b +0 -0
- data/test/dummy/tmp/cache/assets/DAD/160/sprockets%2F779c8f22affde5dc2631981e53fcf13e +0 -0
- data/test/dummy/tmp/cache/assets/DAD/860/sprockets%2Ffb3e8a99d50d6d3be208e574e47afe73 +0 -0
- data/test/dummy/tmp/cache/assets/DB2/F20/sprockets%2Fcb07505f1faa065c7bfb2ab4a31f40a9 +0 -0
- data/test/dummy/tmp/cache/assets/DB3/6F0/sprockets%2F20fa86f45ee5f7453ece4819df6d65af +0 -0
- data/test/dummy/tmp/cache/assets/DB4/440/sprockets%2Fa64d973fe3bbdb73cc1e59699df67b81 +0 -0
- data/test/dummy/tmp/cache/assets/DB5/CA0/sprockets%2Ffa625eadca02a2714be1b332fa85e5a5 +0 -0
- data/test/dummy/tmp/cache/assets/DB8/FD0/sprockets%2Fe17c4077f7547f8a485b4deddf7c7ef4 +0 -0
- data/test/dummy/tmp/cache/assets/DB9/240/sprockets%2F689d916cf738bdb67e176fced176e3af +0 -0
- data/test/dummy/tmp/cache/assets/DBA/540/sprockets%2F3b28b072eeb23fd67aba01347a7dda2f +0 -0
- data/test/dummy/tmp/cache/assets/DBA/AB0/sprockets%2F8be4208fd77cb5ef9b6f77e5fcf18670 +0 -372
- data/test/dummy/tmp/cache/assets/DBE/F10/sprockets%2F4a23bf51d61d48d0be90508cd8d2bbcb +0 -387
- data/test/dummy/tmp/cache/assets/DBF/C50/sprockets%2Fdb013e77ca9c14c50c8dbc4a7ab4429c +0 -0
- data/test/dummy/tmp/cache/assets/DC3/590/sprockets%2Fdce8a48dd0703d22b7d6ab522df29be1 +0 -0
- data/test/dummy/tmp/cache/assets/DC7/B50/sprockets%2Fe607ccbbc942a27f068f22c57a3d3cec +0 -0
- data/test/dummy/tmp/cache/assets/DCD/E40/sprockets%2Fda95cabb662b0875d1de8b666aa06ce8 +0 -0
- data/test/dummy/tmp/cache/assets/DCE/820/sprockets%2Ffe5727ad047bfec93afaf014b2c07d89 +0 -0
- data/test/dummy/tmp/cache/assets/DCF/DD0/sprockets%2F93108cbffaba93b4296df4b45b736bcf +0 -0
- data/test/dummy/tmp/cache/assets/DD0/A90/sprockets%2Ffe24ca2c2ef212efc397e74cff6714f0 +0 -0
- data/test/dummy/tmp/cache/assets/DD3/D30/sprockets%2F28403b8ee0b6d2c19f8dd3c83fd6ec5c +0 -0
- data/test/dummy/tmp/cache/assets/DD7/050/sprockets%2Fcb0f2b238b9b9b79a599fb3d742eeaa7 +0 -0
- data/test/dummy/tmp/cache/assets/DD8/970/sprockets%2Feadb32ccdc26918d346e7bc8654ea8e8 +0 -0
- data/test/dummy/tmp/cache/assets/DD8/E60/sprockets%2F6f8c69a7360dab45ea41ac6fcf38d4e9 +0 -0
- data/test/dummy/tmp/cache/assets/DDF/330/sprockets%2Fd6daea6adb59ee6a8d7a16a94f365588 +0 -0
- data/test/dummy/tmp/cache/assets/DE2/D10/sprockets%2F71aed9ab8fc47abd7d9de446b5793c76 +0 -0
- data/test/dummy/tmp/cache/assets/DE4/040/sprockets%2Fd8efa9bd9f1e6159b9de162c44d7ad96 +0 -0
- data/test/dummy/tmp/cache/assets/DE4/A90/sprockets%2F3bb6bd56fa97b73c27d8fef42f71cf98 +0 -0
- data/test/dummy/tmp/cache/assets/DE4/BE0/sprockets%2Fa4dd939f8a29fe03643cfd84bffd79e1 +0 -0
- data/test/dummy/tmp/cache/assets/DF0/680/sprockets%2F5e8210564bdda6fcef1fa19aa04b5e6a +0 -11
- data/test/dummy/tmp/cache/assets/DF4/4E0/sprockets%2F4913905a34cde57a0edb343ce5daeeaf +0 -0
- data/test/dummy/tmp/cache/assets/DF6/CC0/sprockets%2Fec0298fa8b5ae8a2eb26af7c0b380dc4 +0 -0
- data/test/dummy/tmp/cache/assets/DF8/020/sprockets%2F708d52eabc7b58afd72c360eb8deb15a +0 -0
- data/test/dummy/tmp/cache/assets/DFB/0C0/sprockets%2Fd35f36529da4a7a4cf67cdbe0a3bf27e +0 -0
- data/test/dummy/tmp/cache/assets/DFE/AD0/sprockets%2Ff34f47e6d8bfa41dd87ab015c674ebca +0 -0
- data/test/dummy/tmp/cache/assets/DFF/B50/sprockets%2Ffbf86ba72b8abb6dd139cd582b4db681 +0 -0
- data/test/dummy/tmp/cache/assets/E03/4F0/sprockets%2Fe2fa5149cabd37ffed192d8b7ba6e077 +0 -0
- data/test/dummy/tmp/cache/assets/E03/960/sprockets%2F585c9bdd911f5caf61f5adebf3f640f2 +0 -0
- data/test/dummy/tmp/cache/assets/E09/680/sprockets%2Fff9edf3a74399a0818b02efcff3ad0f7 +0 -0
- data/test/dummy/tmp/cache/assets/E0B/8B0/sprockets%2F35f64adcaf8786c81c0def5dd2ff47d3 +0 -0
- data/test/dummy/tmp/cache/assets/E14/A50/sprockets%2F7970fc82e2877cf4bbb91f76ebfcfa6d +0 -0
- data/test/dummy/tmp/cache/assets/E1B/EB0/sprockets%2Fb32811ced5b78c4cdccad030b64fef1b +0 -0
- data/test/dummy/tmp/cache/assets/E1D/630/sprockets%2Fa321239deaf9ccb117f1ecffbdd1a056 +0 -0
- data/test/dummy/tmp/cache/assets/E25/AE0/sprockets%2F23f44ceee0a2bad4fc3a8fe74b0477cd +0 -0
- data/test/dummy/tmp/cache/assets/E27/290/sprockets%2Fbf0cd6d69fd60fa28cb76b0eb51b0f7b +0 -0
- data/test/dummy/tmp/cache/assets/E2D/6E0/sprockets%2Fe1e94cc795ddcaf7ef6ba13d4a509c1b +0 -0
- data/test/dummy/tmp/cache/assets/E2D/DB0/sprockets%2Fda16ffa3725b3fe51ae95abbad0ff887 +0 -0
- data/test/dummy/tmp/cache/assets/E44/7A0/sprockets%2F58a1a8e8ff2d672bf8ffd80dce8e70fd +0 -0
- data/test/dummy/tmp/cache/assets/E49/BA0/sprockets%2F24e821bf3cfada7cfddc318cd621d0aa +0 -0
- data/test/dummy/tmp/cache/assets/E60/C40/sprockets%2Ffa41e9dfffc6d34c402c80eff5dabf18 +0 -0
- data/test/dummy/tmp/cache/assets/E6D/4E0/sprockets%2F3edab8d9966c539f7bb9b8ead21cfbbf +0 -0
- data/test/dummy/tmp/cache/assets/E6E/B50/sprockets%2Fe983dcd4be2ffedb4723cd8bde58e29c +0 -0
- data/test/dummy/tmp/cache/assets/E88/F70/sprockets%2Fab54fcc2f3ee44ebc8fa4fdd3a50bf38 +0 -0
- data/test/dummy/tmp/cache/assets/EA3/550/sprockets%2F4e5efb3ae39d439faf3dda8d8e99bdfc +0 -0
- data/test/dummy/tmp/cache/assets/EE3/2F0/sprockets%2F8adda8a2ada1dfd4acf2ea79bba77be5 +0 -0
- data/test/dummy/tmp/cache/sass/4905b1148d31ac1351d8ccf185fbd2494a596795/application.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/668d79d9ad3dff702eb0949a7b481231ac342422/_base.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/668d79d9ad3dff702eb0949a7b481231ac342422/_forms.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/668d79d9ad3dff702eb0949a7b481231ac342422/_header.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/668d79d9ad3dff702eb0949a7b481231ac342422/_mixins.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/668d79d9ad3dff702eb0949a7b481231ac342422/_typography.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7191024ea191ad956b7cd6ecd0b114dfe0614963/_all.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7191024ea191ad956b7cd6ecd0b114dfe0614963/_buttons.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7191024ea191ad956b7cd6ecd0b114dfe0614963/_gradients.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7191024ea191ad956b7cd6ecd0b114dfe0614963/_icons.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7191024ea191ad956b7cd6ecd0b114dfe0614963/_reset.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7191024ea191ad956b7cd6ecd0b114dfe0614963/_rounded.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7191024ea191ad956b7cd6ecd0b114dfe0614963/_sections.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7191024ea191ad956b7cd6ecd0b114dfe0614963/_shadows.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7191024ea191ad956b7cd6ecd0b114dfe0614963/_utilities.scssc +0 -0
- data/test/dummy/tmp/cache/sass/7191024ea191ad956b7cd6ecd0b114dfe0614963/_variables.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/9b29130c260e464c0ad2c23c77a58da7c3f9eec7/active_admin.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/b0332679d3812b1ad14330d73aefb536f5842ba7/_comments.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/b0332679d3812b1ad14330d73aefb536f5842ba7/_date_picker.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/b0332679d3812b1ad14330d73aefb536f5842ba7/_flash_messages.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/b0332679d3812b1ad14330d73aefb536f5842ba7/_tables.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/ddba83cb438190ca32bf384b6eea0c3ef82ae9fa/reset.css.scssc +0 -0
@@ -1,26 +0,0 @@
|
|
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
|
-
* @class
|
8
|
-
*/
|
9
|
-
CKEDITOR.dom.nodeList = function( nativeList )
|
10
|
-
{
|
11
|
-
this.$ = nativeList;
|
12
|
-
};
|
13
|
-
|
14
|
-
CKEDITOR.dom.nodeList.prototype =
|
15
|
-
{
|
16
|
-
count : function()
|
17
|
-
{
|
18
|
-
return this.$.length;
|
19
|
-
},
|
20
|
-
|
21
|
-
getItem : function( index )
|
22
|
-
{
|
23
|
-
var $node = this.$[ index ];
|
24
|
-
return $node ? new CKEDITOR.dom.node( $node ) : null;
|
25
|
-
}
|
26
|
-
};
|
@@ -1,2054 +0,0 @@
|
|
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
|
-
* Creates a CKEDITOR.dom.range instance that can be used inside a specific
|
8
|
-
* DOM Document.
|
9
|
-
* @class Represents a delimited piece of content in a DOM Document.
|
10
|
-
* It is contiguous in the sense that it can be characterized as selecting all
|
11
|
-
* of the content between a pair of boundary-points.<br>
|
12
|
-
* <br>
|
13
|
-
* This class shares much of the W3C
|
14
|
-
* <a href="http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html">Document Object Model Range</a>
|
15
|
-
* ideas and features, adding several range manipulation tools to it, but it's
|
16
|
-
* not intended to be compatible with it.
|
17
|
-
* @param {CKEDITOR.dom.document} document The document into which the range
|
18
|
-
* features will be available.
|
19
|
-
* @example
|
20
|
-
* // Create a range for the entire contents of the editor document body.
|
21
|
-
* var range = new CKEDITOR.dom.range( editor.document );
|
22
|
-
* range.selectNodeContents( editor.document.getBody() );
|
23
|
-
* // Delete the contents.
|
24
|
-
* range.deleteContents();
|
25
|
-
*/
|
26
|
-
CKEDITOR.dom.range = function( document )
|
27
|
-
{
|
28
|
-
/**
|
29
|
-
* Node within which the range begins.
|
30
|
-
* @type {CKEDITOR.NODE_ELEMENT|CKEDITOR.NODE_TEXT}
|
31
|
-
* @example
|
32
|
-
* var range = new CKEDITOR.dom.range( editor.document );
|
33
|
-
* range.selectNodeContents( editor.document.getBody() );
|
34
|
-
* alert( range.startContainer.getName() ); // "body"
|
35
|
-
*/
|
36
|
-
this.startContainer = null;
|
37
|
-
|
38
|
-
/**
|
39
|
-
* Offset within the starting node of the range.
|
40
|
-
* @type {Number}
|
41
|
-
* @example
|
42
|
-
* var range = new CKEDITOR.dom.range( editor.document );
|
43
|
-
* range.selectNodeContents( editor.document.getBody() );
|
44
|
-
* alert( range.startOffset ); // "0"
|
45
|
-
*/
|
46
|
-
this.startOffset = null;
|
47
|
-
|
48
|
-
/**
|
49
|
-
* Node within which the range ends.
|
50
|
-
* @type {CKEDITOR.NODE_ELEMENT|CKEDITOR.NODE_TEXT}
|
51
|
-
* @example
|
52
|
-
* var range = new CKEDITOR.dom.range( editor.document );
|
53
|
-
* range.selectNodeContents( editor.document.getBody() );
|
54
|
-
* alert( range.endContainer.getName() ); // "body"
|
55
|
-
*/
|
56
|
-
this.endContainer = null;
|
57
|
-
|
58
|
-
/**
|
59
|
-
* Offset within the ending node of the range.
|
60
|
-
* @type {Number}
|
61
|
-
* @example
|
62
|
-
* var range = new CKEDITOR.dom.range( editor.document );
|
63
|
-
* range.selectNodeContents( editor.document.getBody() );
|
64
|
-
* alert( range.endOffset ); // == editor.document.getBody().getChildCount()
|
65
|
-
*/
|
66
|
-
this.endOffset = null;
|
67
|
-
|
68
|
-
/**
|
69
|
-
* Indicates that this is a collapsed range. A collapsed range has it's
|
70
|
-
* start and end boudaries at the very same point so nothing is contained
|
71
|
-
* in it.
|
72
|
-
* @example
|
73
|
-
* var range = new CKEDITOR.dom.range( editor.document );
|
74
|
-
* range.selectNodeContents( editor.document.getBody() );
|
75
|
-
* alert( range.collapsed ); // "false"
|
76
|
-
* range.collapse();
|
77
|
-
* alert( range.collapsed ); // "true"
|
78
|
-
*/
|
79
|
-
this.collapsed = true;
|
80
|
-
|
81
|
-
/**
|
82
|
-
* The document within which the range can be used.
|
83
|
-
* @type {CKEDITOR.dom.document}
|
84
|
-
* @example
|
85
|
-
* // Selects the body contents of the range document.
|
86
|
-
* range.selectNodeContents( range.document.getBody() );
|
87
|
-
*/
|
88
|
-
this.document = document;
|
89
|
-
};
|
90
|
-
|
91
|
-
(function()
|
92
|
-
{
|
93
|
-
// Updates the "collapsed" property for the given range object.
|
94
|
-
var updateCollapsed = function( range )
|
95
|
-
{
|
96
|
-
range.collapsed = (
|
97
|
-
range.startContainer &&
|
98
|
-
range.endContainer &&
|
99
|
-
range.startContainer.equals( range.endContainer ) &&
|
100
|
-
range.startOffset == range.endOffset );
|
101
|
-
};
|
102
|
-
|
103
|
-
// This is a shared function used to delete, extract and clone the range
|
104
|
-
// contents.
|
105
|
-
// V2
|
106
|
-
var execContentsAction = function( range, action, docFrag, mergeThen )
|
107
|
-
{
|
108
|
-
range.optimizeBookmark();
|
109
|
-
|
110
|
-
var startNode = range.startContainer;
|
111
|
-
var endNode = range.endContainer;
|
112
|
-
|
113
|
-
var startOffset = range.startOffset;
|
114
|
-
var endOffset = range.endOffset;
|
115
|
-
|
116
|
-
var removeStartNode;
|
117
|
-
var removeEndNode;
|
118
|
-
|
119
|
-
// For text containers, we must simply split the node and point to the
|
120
|
-
// second part. The removal will be handled by the rest of the code .
|
121
|
-
if ( endNode.type == CKEDITOR.NODE_TEXT )
|
122
|
-
endNode = endNode.split( endOffset );
|
123
|
-
else
|
124
|
-
{
|
125
|
-
// If the end container has children and the offset is pointing
|
126
|
-
// to a child, then we should start from it.
|
127
|
-
if ( endNode.getChildCount() > 0 )
|
128
|
-
{
|
129
|
-
// If the offset points after the last node.
|
130
|
-
if ( endOffset >= endNode.getChildCount() )
|
131
|
-
{
|
132
|
-
// Let's create a temporary node and mark it for removal.
|
133
|
-
endNode = endNode.append( range.document.createText( '' ) );
|
134
|
-
removeEndNode = true;
|
135
|
-
}
|
136
|
-
else
|
137
|
-
endNode = endNode.getChild( endOffset );
|
138
|
-
}
|
139
|
-
}
|
140
|
-
|
141
|
-
// For text containers, we must simply split the node. The removal will
|
142
|
-
// be handled by the rest of the code .
|
143
|
-
if ( startNode.type == CKEDITOR.NODE_TEXT )
|
144
|
-
{
|
145
|
-
startNode.split( startOffset );
|
146
|
-
|
147
|
-
// In cases the end node is the same as the start node, the above
|
148
|
-
// splitting will also split the end, so me must move the end to
|
149
|
-
// the second part of the split.
|
150
|
-
if ( startNode.equals( endNode ) )
|
151
|
-
endNode = startNode.getNext();
|
152
|
-
}
|
153
|
-
else
|
154
|
-
{
|
155
|
-
// If the start container has children and the offset is pointing
|
156
|
-
// to a child, then we should start from its previous sibling.
|
157
|
-
|
158
|
-
// If the offset points to the first node, we don't have a
|
159
|
-
// sibling, so let's use the first one, but mark it for removal.
|
160
|
-
if ( !startOffset )
|
161
|
-
{
|
162
|
-
// Let's create a temporary node and mark it for removal.
|
163
|
-
startNode = startNode.getFirst().insertBeforeMe( range.document.createText( '' ) );
|
164
|
-
removeStartNode = true;
|
165
|
-
}
|
166
|
-
else if ( startOffset >= startNode.getChildCount() )
|
167
|
-
{
|
168
|
-
// Let's create a temporary node and mark it for removal.
|
169
|
-
startNode = startNode.append( range.document.createText( '' ) );
|
170
|
-
removeStartNode = true;
|
171
|
-
}
|
172
|
-
else
|
173
|
-
startNode = startNode.getChild( startOffset ).getPrevious();
|
174
|
-
}
|
175
|
-
|
176
|
-
// Get the parent nodes tree for the start and end boundaries.
|
177
|
-
var startParents = startNode.getParents();
|
178
|
-
var endParents = endNode.getParents();
|
179
|
-
|
180
|
-
// Compare them, to find the top most siblings.
|
181
|
-
var i, topStart, topEnd;
|
182
|
-
|
183
|
-
for ( i = 0 ; i < startParents.length ; i++ )
|
184
|
-
{
|
185
|
-
topStart = startParents[ i ];
|
186
|
-
topEnd = endParents[ i ];
|
187
|
-
|
188
|
-
// The compared nodes will match until we find the top most
|
189
|
-
// siblings (different nodes that have the same parent).
|
190
|
-
// "i" will hold the index in the parents array for the top
|
191
|
-
// most element.
|
192
|
-
if ( !topStart.equals( topEnd ) )
|
193
|
-
break;
|
194
|
-
}
|
195
|
-
|
196
|
-
var clone = docFrag, levelStartNode, levelClone, currentNode, currentSibling;
|
197
|
-
|
198
|
-
// Remove all successive sibling nodes for every node in the
|
199
|
-
// startParents tree.
|
200
|
-
for ( var j = i ; j < startParents.length ; j++ )
|
201
|
-
{
|
202
|
-
levelStartNode = startParents[j];
|
203
|
-
|
204
|
-
// For Extract and Clone, we must clone this level.
|
205
|
-
if ( clone && !levelStartNode.equals( startNode ) ) // action = 0 = Delete
|
206
|
-
levelClone = clone.append( levelStartNode.clone() );
|
207
|
-
|
208
|
-
currentNode = levelStartNode.getNext();
|
209
|
-
|
210
|
-
while ( currentNode )
|
211
|
-
{
|
212
|
-
// Stop processing when the current node matches a node in the
|
213
|
-
// endParents tree or if it is the endNode.
|
214
|
-
if ( currentNode.equals( endParents[ j ] ) || currentNode.equals( endNode ) )
|
215
|
-
break;
|
216
|
-
|
217
|
-
// Cache the next sibling.
|
218
|
-
currentSibling = currentNode.getNext();
|
219
|
-
|
220
|
-
// If cloning, just clone it.
|
221
|
-
if ( action == 2 ) // 2 = Clone
|
222
|
-
clone.append( currentNode.clone( true ) );
|
223
|
-
else
|
224
|
-
{
|
225
|
-
// Both Delete and Extract will remove the node.
|
226
|
-
currentNode.remove();
|
227
|
-
|
228
|
-
// When Extracting, move the removed node to the docFrag.
|
229
|
-
if ( action == 1 ) // 1 = Extract
|
230
|
-
clone.append( currentNode );
|
231
|
-
}
|
232
|
-
|
233
|
-
currentNode = currentSibling;
|
234
|
-
}
|
235
|
-
|
236
|
-
if ( clone )
|
237
|
-
clone = levelClone;
|
238
|
-
}
|
239
|
-
|
240
|
-
clone = docFrag;
|
241
|
-
|
242
|
-
// Remove all previous sibling nodes for every node in the
|
243
|
-
// endParents tree.
|
244
|
-
for ( var k = i ; k < endParents.length ; k++ )
|
245
|
-
{
|
246
|
-
levelStartNode = endParents[ k ];
|
247
|
-
|
248
|
-
// For Extract and Clone, we must clone this level.
|
249
|
-
if ( action > 0 && !levelStartNode.equals( endNode ) ) // action = 0 = Delete
|
250
|
-
levelClone = clone.append( levelStartNode.clone() );
|
251
|
-
|
252
|
-
// The processing of siblings may have already been done by the parent.
|
253
|
-
if ( !startParents[ k ] || levelStartNode.$.parentNode != startParents[ k ].$.parentNode )
|
254
|
-
{
|
255
|
-
currentNode = levelStartNode.getPrevious();
|
256
|
-
|
257
|
-
while ( currentNode )
|
258
|
-
{
|
259
|
-
// Stop processing when the current node matches a node in the
|
260
|
-
// startParents tree or if it is the startNode.
|
261
|
-
if ( currentNode.equals( startParents[ k ] ) || currentNode.equals( startNode ) )
|
262
|
-
break;
|
263
|
-
|
264
|
-
// Cache the next sibling.
|
265
|
-
currentSibling = currentNode.getPrevious();
|
266
|
-
|
267
|
-
// If cloning, just clone it.
|
268
|
-
if ( action == 2 ) // 2 = Clone
|
269
|
-
clone.$.insertBefore( currentNode.$.cloneNode( true ), clone.$.firstChild ) ;
|
270
|
-
else
|
271
|
-
{
|
272
|
-
// Both Delete and Extract will remove the node.
|
273
|
-
currentNode.remove();
|
274
|
-
|
275
|
-
// When Extracting, mode the removed node to the docFrag.
|
276
|
-
if ( action == 1 ) // 1 = Extract
|
277
|
-
clone.$.insertBefore( currentNode.$, clone.$.firstChild );
|
278
|
-
}
|
279
|
-
|
280
|
-
currentNode = currentSibling;
|
281
|
-
}
|
282
|
-
}
|
283
|
-
|
284
|
-
if ( clone )
|
285
|
-
clone = levelClone;
|
286
|
-
}
|
287
|
-
|
288
|
-
if ( action == 2 ) // 2 = Clone.
|
289
|
-
{
|
290
|
-
// No changes in the DOM should be done, so fix the split text (if any).
|
291
|
-
|
292
|
-
var startTextNode = range.startContainer;
|
293
|
-
if ( startTextNode.type == CKEDITOR.NODE_TEXT )
|
294
|
-
{
|
295
|
-
startTextNode.$.data += startTextNode.$.nextSibling.data;
|
296
|
-
startTextNode.$.parentNode.removeChild( startTextNode.$.nextSibling );
|
297
|
-
}
|
298
|
-
|
299
|
-
var endTextNode = range.endContainer;
|
300
|
-
if ( endTextNode.type == CKEDITOR.NODE_TEXT && endTextNode.$.nextSibling )
|
301
|
-
{
|
302
|
-
endTextNode.$.data += endTextNode.$.nextSibling.data;
|
303
|
-
endTextNode.$.parentNode.removeChild( endTextNode.$.nextSibling );
|
304
|
-
}
|
305
|
-
}
|
306
|
-
else
|
307
|
-
{
|
308
|
-
// Collapse the range.
|
309
|
-
|
310
|
-
// If a node has been partially selected, collapse the range between
|
311
|
-
// topStart and topEnd. Otherwise, simply collapse it to the start. (W3C specs).
|
312
|
-
if ( topStart && topEnd && ( startNode.$.parentNode != topStart.$.parentNode || endNode.$.parentNode != topEnd.$.parentNode ) )
|
313
|
-
{
|
314
|
-
var endIndex = topEnd.getIndex();
|
315
|
-
|
316
|
-
// If the start node is to be removed, we must correct the
|
317
|
-
// index to reflect the removal.
|
318
|
-
if ( removeStartNode && topEnd.$.parentNode == startNode.$.parentNode )
|
319
|
-
endIndex--;
|
320
|
-
|
321
|
-
// Merge splitted parents.
|
322
|
-
if ( mergeThen && topStart.type == CKEDITOR.NODE_ELEMENT )
|
323
|
-
{
|
324
|
-
var span = CKEDITOR.dom.element.createFromHtml( '<span ' +
|
325
|
-
'data-cke-bookmark="1" style="display:none"> </span>', range.document );
|
326
|
-
span.insertAfter( topStart );
|
327
|
-
topStart.mergeSiblings( false );
|
328
|
-
range.moveToBookmark( { startNode : span } );
|
329
|
-
}
|
330
|
-
else
|
331
|
-
range.setStart( topEnd.getParent(), endIndex );
|
332
|
-
}
|
333
|
-
|
334
|
-
// Collapse it to the start.
|
335
|
-
range.collapse( true );
|
336
|
-
}
|
337
|
-
|
338
|
-
// Cleanup any marked node.
|
339
|
-
if ( removeStartNode )
|
340
|
-
startNode.remove();
|
341
|
-
|
342
|
-
if ( removeEndNode && endNode.$.parentNode )
|
343
|
-
endNode.remove();
|
344
|
-
};
|
345
|
-
|
346
|
-
var inlineChildReqElements = { abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,'var':1 };
|
347
|
-
|
348
|
-
// Creates the appropriate node evaluator for the dom walker used inside
|
349
|
-
// check(Start|End)OfBlock.
|
350
|
-
function getCheckStartEndBlockEvalFunction( isStart )
|
351
|
-
{
|
352
|
-
var hadBr = false, bookmarkEvaluator = CKEDITOR.dom.walker.bookmark( true );
|
353
|
-
return function( node )
|
354
|
-
{
|
355
|
-
// First ignore bookmark nodes.
|
356
|
-
if ( bookmarkEvaluator( node ) )
|
357
|
-
return true;
|
358
|
-
|
359
|
-
if ( node.type == CKEDITOR.NODE_TEXT )
|
360
|
-
{
|
361
|
-
// If there's any visible text, then we're not at the start.
|
362
|
-
if ( node.hasAscendant( 'pre' ) || CKEDITOR.tools.trim( node.getText() ).length )
|
363
|
-
return false;
|
364
|
-
}
|
365
|
-
else if ( node.type == CKEDITOR.NODE_ELEMENT )
|
366
|
-
{
|
367
|
-
// If there are non-empty inline elements (e.g. <img />), then we're not
|
368
|
-
// at the start.
|
369
|
-
if ( !inlineChildReqElements[ node.getName() ] )
|
370
|
-
{
|
371
|
-
// If we're working at the end-of-block, forgive the first <br /> in non-IE
|
372
|
-
// browsers.
|
373
|
-
if ( !isStart && !CKEDITOR.env.ie && node.getName() == 'br' && !hadBr )
|
374
|
-
hadBr = true;
|
375
|
-
else
|
376
|
-
return false;
|
377
|
-
}
|
378
|
-
}
|
379
|
-
return true;
|
380
|
-
};
|
381
|
-
}
|
382
|
-
|
383
|
-
// Evaluator for CKEDITOR.dom.element::checkBoundaryOfElement, reject any
|
384
|
-
// text node and non-empty elements unless it's being bookmark text.
|
385
|
-
function elementBoundaryEval( node )
|
386
|
-
{
|
387
|
-
// Reject any text node unless it's being bookmark
|
388
|
-
// OR it's spaces. (#3883)
|
389
|
-
return node.type != CKEDITOR.NODE_TEXT
|
390
|
-
&& node.getName() in CKEDITOR.dtd.$removeEmpty
|
391
|
-
|| !CKEDITOR.tools.trim( node.getText() )
|
392
|
-
|| !!node.getParent().data( 'cke-bookmark' );
|
393
|
-
}
|
394
|
-
|
395
|
-
var whitespaceEval = new CKEDITOR.dom.walker.whitespaces(),
|
396
|
-
bookmarkEval = new CKEDITOR.dom.walker.bookmark();
|
397
|
-
|
398
|
-
function nonWhitespaceOrBookmarkEval( node )
|
399
|
-
{
|
400
|
-
// Whitespaces and bookmark nodes are to be ignored.
|
401
|
-
return !whitespaceEval( node ) && !bookmarkEval( node );
|
402
|
-
}
|
403
|
-
|
404
|
-
CKEDITOR.dom.range.prototype =
|
405
|
-
{
|
406
|
-
clone : function()
|
407
|
-
{
|
408
|
-
var clone = new CKEDITOR.dom.range( this.document );
|
409
|
-
|
410
|
-
clone.startContainer = this.startContainer;
|
411
|
-
clone.startOffset = this.startOffset;
|
412
|
-
clone.endContainer = this.endContainer;
|
413
|
-
clone.endOffset = this.endOffset;
|
414
|
-
clone.collapsed = this.collapsed;
|
415
|
-
|
416
|
-
return clone;
|
417
|
-
},
|
418
|
-
|
419
|
-
collapse : function( toStart )
|
420
|
-
{
|
421
|
-
if ( toStart )
|
422
|
-
{
|
423
|
-
this.endContainer = this.startContainer;
|
424
|
-
this.endOffset = this.startOffset;
|
425
|
-
}
|
426
|
-
else
|
427
|
-
{
|
428
|
-
this.startContainer = this.endContainer;
|
429
|
-
this.startOffset = this.endOffset;
|
430
|
-
}
|
431
|
-
|
432
|
-
this.collapsed = true;
|
433
|
-
},
|
434
|
-
|
435
|
-
/**
|
436
|
-
* The content nodes of the range are cloned and added to a document fragment, which is returned.
|
437
|
-
* <strong> Note: </strong> Text selection may lost after invoking this method. (caused by text node splitting).
|
438
|
-
*/
|
439
|
-
cloneContents : function()
|
440
|
-
{
|
441
|
-
var docFrag = new CKEDITOR.dom.documentFragment( this.document );
|
442
|
-
|
443
|
-
if ( !this.collapsed )
|
444
|
-
execContentsAction( this, 2, docFrag );
|
445
|
-
|
446
|
-
return docFrag;
|
447
|
-
},
|
448
|
-
|
449
|
-
/**
|
450
|
-
* Deletes the content nodes of the range permanently from the DOM tree.
|
451
|
-
* @param {Boolean} [mergeThen] Merge any splitted elements result in DOM true due to partial selection.
|
452
|
-
*/
|
453
|
-
deleteContents : function( mergeThen )
|
454
|
-
{
|
455
|
-
if ( this.collapsed )
|
456
|
-
return;
|
457
|
-
|
458
|
-
execContentsAction( this, 0, null, mergeThen );
|
459
|
-
},
|
460
|
-
|
461
|
-
/**
|
462
|
-
* The content nodes of the range are cloned and added to a document fragment,
|
463
|
-
* meanwhile they're removed permanently from the DOM tree.
|
464
|
-
* @param {Boolean} [mergeThen] Merge any splitted elements result in DOM true due to partial selection.
|
465
|
-
*/
|
466
|
-
extractContents : function( mergeThen )
|
467
|
-
{
|
468
|
-
var docFrag = new CKEDITOR.dom.documentFragment( this.document );
|
469
|
-
|
470
|
-
if ( !this.collapsed )
|
471
|
-
execContentsAction( this, 1, docFrag, mergeThen );
|
472
|
-
|
473
|
-
return docFrag;
|
474
|
-
},
|
475
|
-
|
476
|
-
/**
|
477
|
-
* Creates a bookmark object, which can be later used to restore the
|
478
|
-
* range by using the moveToBookmark function.
|
479
|
-
* This is an "intrusive" way to create a bookmark. It includes <span> tags
|
480
|
-
* in the range boundaries. The advantage of it is that it is possible to
|
481
|
-
* handle DOM mutations when moving back to the bookmark.
|
482
|
-
* Attention: the inclusion of nodes in the DOM is a design choice and
|
483
|
-
* should not be changed as there are other points in the code that may be
|
484
|
-
* using those nodes to perform operations. See GetBookmarkNode.
|
485
|
-
* @param {Boolean} [serializable] Indicates that the bookmark nodes
|
486
|
-
* must contain ids, which can be used to restore the range even
|
487
|
-
* when these nodes suffer mutations (like a clonation or innerHTML
|
488
|
-
* change).
|
489
|
-
* @returns {Object} And object representing a bookmark.
|
490
|
-
*/
|
491
|
-
createBookmark : function( serializable )
|
492
|
-
{
|
493
|
-
var startNode, endNode;
|
494
|
-
var baseId;
|
495
|
-
var clone;
|
496
|
-
var collapsed = this.collapsed;
|
497
|
-
|
498
|
-
startNode = this.document.createElement( 'span' );
|
499
|
-
startNode.data( 'cke-bookmark', 1 );
|
500
|
-
startNode.setStyle( 'display', 'none' );
|
501
|
-
|
502
|
-
// For IE, it must have something inside, otherwise it may be
|
503
|
-
// removed during DOM operations.
|
504
|
-
startNode.setHtml( ' ' );
|
505
|
-
|
506
|
-
if ( serializable )
|
507
|
-
{
|
508
|
-
baseId = 'cke_bm_' + CKEDITOR.tools.getNextNumber();
|
509
|
-
startNode.setAttribute( 'id', baseId + 'S' );
|
510
|
-
}
|
511
|
-
|
512
|
-
// If collapsed, the endNode will not be created.
|
513
|
-
if ( !collapsed )
|
514
|
-
{
|
515
|
-
endNode = startNode.clone();
|
516
|
-
endNode.setHtml( ' ' );
|
517
|
-
|
518
|
-
if ( serializable )
|
519
|
-
endNode.setAttribute( 'id', baseId + 'E' );
|
520
|
-
|
521
|
-
clone = this.clone();
|
522
|
-
clone.collapse();
|
523
|
-
clone.insertNode( endNode );
|
524
|
-
}
|
525
|
-
|
526
|
-
clone = this.clone();
|
527
|
-
clone.collapse( true );
|
528
|
-
clone.insertNode( startNode );
|
529
|
-
|
530
|
-
// Update the range position.
|
531
|
-
if ( endNode )
|
532
|
-
{
|
533
|
-
this.setStartAfter( startNode );
|
534
|
-
this.setEndBefore( endNode );
|
535
|
-
}
|
536
|
-
else
|
537
|
-
this.moveToPosition( startNode, CKEDITOR.POSITION_AFTER_END );
|
538
|
-
|
539
|
-
return {
|
540
|
-
startNode : serializable ? baseId + 'S' : startNode,
|
541
|
-
endNode : serializable ? baseId + 'E' : endNode,
|
542
|
-
serializable : serializable,
|
543
|
-
collapsed : collapsed
|
544
|
-
};
|
545
|
-
},
|
546
|
-
|
547
|
-
/**
|
548
|
-
* Creates a "non intrusive" and "mutation sensible" bookmark. This
|
549
|
-
* kind of bookmark should be used only when the DOM is supposed to
|
550
|
-
* remain stable after its creation.
|
551
|
-
* @param {Boolean} [normalized] Indicates that the bookmark must
|
552
|
-
* normalized. When normalized, the successive text nodes are
|
553
|
-
* considered a single node. To sucessful load a normalized
|
554
|
-
* bookmark, the DOM tree must be also normalized before calling
|
555
|
-
* moveToBookmark.
|
556
|
-
* @returns {Object} An object representing the bookmark.
|
557
|
-
*/
|
558
|
-
createBookmark2 : function( normalized )
|
559
|
-
{
|
560
|
-
var startContainer = this.startContainer,
|
561
|
-
endContainer = this.endContainer;
|
562
|
-
|
563
|
-
var startOffset = this.startOffset,
|
564
|
-
endOffset = this.endOffset;
|
565
|
-
|
566
|
-
var collapsed = this.collapsed;
|
567
|
-
|
568
|
-
var child, previous;
|
569
|
-
|
570
|
-
// If there is no range then get out of here.
|
571
|
-
// It happens on initial load in Safari #962 and if the editor it's
|
572
|
-
// hidden also in Firefox
|
573
|
-
if ( !startContainer || !endContainer )
|
574
|
-
return { start : 0, end : 0 };
|
575
|
-
|
576
|
-
if ( normalized )
|
577
|
-
{
|
578
|
-
// Find out if the start is pointing to a text node that will
|
579
|
-
// be normalized.
|
580
|
-
if ( startContainer.type == CKEDITOR.NODE_ELEMENT )
|
581
|
-
{
|
582
|
-
child = startContainer.getChild( startOffset );
|
583
|
-
|
584
|
-
// In this case, move the start information to that text
|
585
|
-
// node.
|
586
|
-
if ( child && child.type == CKEDITOR.NODE_TEXT
|
587
|
-
&& startOffset > 0 && child.getPrevious().type == CKEDITOR.NODE_TEXT )
|
588
|
-
{
|
589
|
-
startContainer = child;
|
590
|
-
startOffset = 0;
|
591
|
-
}
|
592
|
-
|
593
|
-
// Get the normalized offset.
|
594
|
-
if ( child && child.type == CKEDITOR.NODE_ELEMENT )
|
595
|
-
startOffset = child.getIndex( 1 );
|
596
|
-
}
|
597
|
-
|
598
|
-
// Normalize the start.
|
599
|
-
while ( startContainer.type == CKEDITOR.NODE_TEXT
|
600
|
-
&& ( previous = startContainer.getPrevious() )
|
601
|
-
&& previous.type == CKEDITOR.NODE_TEXT )
|
602
|
-
{
|
603
|
-
startContainer = previous;
|
604
|
-
startOffset += previous.getLength();
|
605
|
-
}
|
606
|
-
|
607
|
-
// Process the end only if not normalized.
|
608
|
-
if ( !collapsed )
|
609
|
-
{
|
610
|
-
// Find out if the start is pointing to a text node that
|
611
|
-
// will be normalized.
|
612
|
-
if ( endContainer.type == CKEDITOR.NODE_ELEMENT )
|
613
|
-
{
|
614
|
-
child = endContainer.getChild( endOffset );
|
615
|
-
|
616
|
-
// In this case, move the start information to that
|
617
|
-
// text node.
|
618
|
-
if ( child && child.type == CKEDITOR.NODE_TEXT
|
619
|
-
&& endOffset > 0 && child.getPrevious().type == CKEDITOR.NODE_TEXT )
|
620
|
-
{
|
621
|
-
endContainer = child;
|
622
|
-
endOffset = 0;
|
623
|
-
}
|
624
|
-
|
625
|
-
// Get the normalized offset.
|
626
|
-
if ( child && child.type == CKEDITOR.NODE_ELEMENT )
|
627
|
-
endOffset = child.getIndex( 1 );
|
628
|
-
}
|
629
|
-
|
630
|
-
// Normalize the end.
|
631
|
-
while ( endContainer.type == CKEDITOR.NODE_TEXT
|
632
|
-
&& ( previous = endContainer.getPrevious() )
|
633
|
-
&& previous.type == CKEDITOR.NODE_TEXT )
|
634
|
-
{
|
635
|
-
endContainer = previous;
|
636
|
-
endOffset += previous.getLength();
|
637
|
-
}
|
638
|
-
}
|
639
|
-
}
|
640
|
-
|
641
|
-
return {
|
642
|
-
start : startContainer.getAddress( normalized ),
|
643
|
-
end : collapsed ? null : endContainer.getAddress( normalized ),
|
644
|
-
startOffset : startOffset,
|
645
|
-
endOffset : endOffset,
|
646
|
-
normalized : normalized,
|
647
|
-
collapsed : collapsed,
|
648
|
-
is2 : true // It's a createBookmark2 bookmark.
|
649
|
-
};
|
650
|
-
},
|
651
|
-
|
652
|
-
moveToBookmark : function( bookmark )
|
653
|
-
{
|
654
|
-
if ( bookmark.is2 ) // Created with createBookmark2().
|
655
|
-
{
|
656
|
-
// Get the start information.
|
657
|
-
var startContainer = this.document.getByAddress( bookmark.start, bookmark.normalized ),
|
658
|
-
startOffset = bookmark.startOffset;
|
659
|
-
|
660
|
-
// Get the end information.
|
661
|
-
var endContainer = bookmark.end && this.document.getByAddress( bookmark.end, bookmark.normalized ),
|
662
|
-
endOffset = bookmark.endOffset;
|
663
|
-
|
664
|
-
// Set the start boundary.
|
665
|
-
this.setStart( startContainer, startOffset );
|
666
|
-
|
667
|
-
// Set the end boundary. If not available, collapse it.
|
668
|
-
if ( endContainer )
|
669
|
-
this.setEnd( endContainer, endOffset );
|
670
|
-
else
|
671
|
-
this.collapse( true );
|
672
|
-
}
|
673
|
-
else // Created with createBookmark().
|
674
|
-
{
|
675
|
-
var serializable = bookmark.serializable,
|
676
|
-
startNode = serializable ? this.document.getById( bookmark.startNode ) : bookmark.startNode,
|
677
|
-
endNode = serializable ? this.document.getById( bookmark.endNode ) : bookmark.endNode;
|
678
|
-
|
679
|
-
// Set the range start at the bookmark start node position.
|
680
|
-
this.setStartBefore( startNode );
|
681
|
-
|
682
|
-
// Remove it, because it may interfere in the setEndBefore call.
|
683
|
-
startNode.remove();
|
684
|
-
|
685
|
-
// Set the range end at the bookmark end node position, or simply
|
686
|
-
// collapse it if it is not available.
|
687
|
-
if ( endNode )
|
688
|
-
{
|
689
|
-
this.setEndBefore( endNode );
|
690
|
-
endNode.remove();
|
691
|
-
}
|
692
|
-
else
|
693
|
-
this.collapse( true );
|
694
|
-
}
|
695
|
-
},
|
696
|
-
|
697
|
-
getBoundaryNodes : function()
|
698
|
-
{
|
699
|
-
var startNode = this.startContainer,
|
700
|
-
endNode = this.endContainer,
|
701
|
-
startOffset = this.startOffset,
|
702
|
-
endOffset = this.endOffset,
|
703
|
-
childCount;
|
704
|
-
|
705
|
-
if ( startNode.type == CKEDITOR.NODE_ELEMENT )
|
706
|
-
{
|
707
|
-
childCount = startNode.getChildCount();
|
708
|
-
if ( childCount > startOffset )
|
709
|
-
startNode = startNode.getChild( startOffset );
|
710
|
-
else if ( childCount < 1 )
|
711
|
-
startNode = startNode.getPreviousSourceNode();
|
712
|
-
else // startOffset > childCount but childCount is not 0
|
713
|
-
{
|
714
|
-
// Try to take the node just after the current position.
|
715
|
-
startNode = startNode.$;
|
716
|
-
while ( startNode.lastChild )
|
717
|
-
startNode = startNode.lastChild;
|
718
|
-
startNode = new CKEDITOR.dom.node( startNode );
|
719
|
-
|
720
|
-
// Normally we should take the next node in DFS order. But it
|
721
|
-
// is also possible that we've already reached the end of
|
722
|
-
// document.
|
723
|
-
startNode = startNode.getNextSourceNode() || startNode;
|
724
|
-
}
|
725
|
-
}
|
726
|
-
if ( endNode.type == CKEDITOR.NODE_ELEMENT )
|
727
|
-
{
|
728
|
-
childCount = endNode.getChildCount();
|
729
|
-
if ( childCount > endOffset )
|
730
|
-
endNode = endNode.getChild( endOffset ).getPreviousSourceNode( true );
|
731
|
-
else if ( childCount < 1 )
|
732
|
-
endNode = endNode.getPreviousSourceNode();
|
733
|
-
else // endOffset > childCount but childCount is not 0
|
734
|
-
{
|
735
|
-
// Try to take the node just before the current position.
|
736
|
-
endNode = endNode.$;
|
737
|
-
while ( endNode.lastChild )
|
738
|
-
endNode = endNode.lastChild;
|
739
|
-
endNode = new CKEDITOR.dom.node( endNode );
|
740
|
-
}
|
741
|
-
}
|
742
|
-
|
743
|
-
// Sometimes the endNode will come right before startNode for collapsed
|
744
|
-
// ranges. Fix it. (#3780)
|
745
|
-
if ( startNode.getPosition( endNode ) & CKEDITOR.POSITION_FOLLOWING )
|
746
|
-
startNode = endNode;
|
747
|
-
|
748
|
-
return { startNode : startNode, endNode : endNode };
|
749
|
-
},
|
750
|
-
|
751
|
-
/**
|
752
|
-
* Find the node which fully contains the range.
|
753
|
-
* @param includeSelf
|
754
|
-
* @param {Boolean} ignoreTextNode Whether ignore CKEDITOR.NODE_TEXT type.
|
755
|
-
*/
|
756
|
-
getCommonAncestor : function( includeSelf , ignoreTextNode )
|
757
|
-
{
|
758
|
-
var start = this.startContainer,
|
759
|
-
end = this.endContainer,
|
760
|
-
ancestor;
|
761
|
-
|
762
|
-
if ( start.equals( end ) )
|
763
|
-
{
|
764
|
-
if ( includeSelf
|
765
|
-
&& start.type == CKEDITOR.NODE_ELEMENT
|
766
|
-
&& this.startOffset == this.endOffset - 1 )
|
767
|
-
ancestor = start.getChild( this.startOffset );
|
768
|
-
else
|
769
|
-
ancestor = start;
|
770
|
-
}
|
771
|
-
else
|
772
|
-
ancestor = start.getCommonAncestor( end );
|
773
|
-
|
774
|
-
return ignoreTextNode && !ancestor.is ? ancestor.getParent() : ancestor;
|
775
|
-
},
|
776
|
-
|
777
|
-
/**
|
778
|
-
* Transforms the startContainer and endContainer properties from text
|
779
|
-
* nodes to element nodes, whenever possible. This is actually possible
|
780
|
-
* if either of the boundary containers point to a text node, and its
|
781
|
-
* offset is set to zero, or after the last char in the node.
|
782
|
-
*/
|
783
|
-
optimize : function()
|
784
|
-
{
|
785
|
-
var container = this.startContainer;
|
786
|
-
var offset = this.startOffset;
|
787
|
-
|
788
|
-
if ( container.type != CKEDITOR.NODE_ELEMENT )
|
789
|
-
{
|
790
|
-
if ( !offset )
|
791
|
-
this.setStartBefore( container );
|
792
|
-
else if ( offset >= container.getLength() )
|
793
|
-
this.setStartAfter( container );
|
794
|
-
}
|
795
|
-
|
796
|
-
container = this.endContainer;
|
797
|
-
offset = this.endOffset;
|
798
|
-
|
799
|
-
if ( container.type != CKEDITOR.NODE_ELEMENT )
|
800
|
-
{
|
801
|
-
if ( !offset )
|
802
|
-
this.setEndBefore( container );
|
803
|
-
else if ( offset >= container.getLength() )
|
804
|
-
this.setEndAfter( container );
|
805
|
-
}
|
806
|
-
},
|
807
|
-
|
808
|
-
/**
|
809
|
-
* Move the range out of bookmark nodes if they'd been the container.
|
810
|
-
*/
|
811
|
-
optimizeBookmark: function()
|
812
|
-
{
|
813
|
-
var startNode = this.startContainer,
|
814
|
-
endNode = this.endContainer;
|
815
|
-
|
816
|
-
if ( startNode.is && startNode.is( 'span' )
|
817
|
-
&& startNode.data( 'cke-bookmark' ) )
|
818
|
-
this.setStartAt( startNode, CKEDITOR.POSITION_BEFORE_START );
|
819
|
-
if ( endNode && endNode.is && endNode.is( 'span' )
|
820
|
-
&& endNode.data( 'cke-bookmark' ) )
|
821
|
-
this.setEndAt( endNode, CKEDITOR.POSITION_AFTER_END );
|
822
|
-
},
|
823
|
-
|
824
|
-
trim : function( ignoreStart, ignoreEnd )
|
825
|
-
{
|
826
|
-
var startContainer = this.startContainer,
|
827
|
-
startOffset = this.startOffset,
|
828
|
-
collapsed = this.collapsed;
|
829
|
-
if ( ( !ignoreStart || collapsed )
|
830
|
-
&& startContainer && startContainer.type == CKEDITOR.NODE_TEXT )
|
831
|
-
{
|
832
|
-
// If the offset is zero, we just insert the new node before
|
833
|
-
// the start.
|
834
|
-
if ( !startOffset )
|
835
|
-
{
|
836
|
-
startOffset = startContainer.getIndex();
|
837
|
-
startContainer = startContainer.getParent();
|
838
|
-
}
|
839
|
-
// If the offset is at the end, we'll insert it after the text
|
840
|
-
// node.
|
841
|
-
else if ( startOffset >= startContainer.getLength() )
|
842
|
-
{
|
843
|
-
startOffset = startContainer.getIndex() + 1;
|
844
|
-
startContainer = startContainer.getParent();
|
845
|
-
}
|
846
|
-
// In other case, we split the text node and insert the new
|
847
|
-
// node at the split point.
|
848
|
-
else
|
849
|
-
{
|
850
|
-
var nextText = startContainer.split( startOffset );
|
851
|
-
|
852
|
-
startOffset = startContainer.getIndex() + 1;
|
853
|
-
startContainer = startContainer.getParent();
|
854
|
-
|
855
|
-
// Check all necessity of updating the end boundary.
|
856
|
-
if ( this.startContainer.equals( this.endContainer ) )
|
857
|
-
this.setEnd( nextText, this.endOffset - this.startOffset );
|
858
|
-
else if ( startContainer.equals( this.endContainer ) )
|
859
|
-
this.endOffset += 1;
|
860
|
-
}
|
861
|
-
|
862
|
-
this.setStart( startContainer, startOffset );
|
863
|
-
|
864
|
-
if ( collapsed )
|
865
|
-
{
|
866
|
-
this.collapse( true );
|
867
|
-
return;
|
868
|
-
}
|
869
|
-
}
|
870
|
-
|
871
|
-
var endContainer = this.endContainer;
|
872
|
-
var endOffset = this.endOffset;
|
873
|
-
|
874
|
-
if ( !( ignoreEnd || collapsed )
|
875
|
-
&& endContainer && endContainer.type == CKEDITOR.NODE_TEXT )
|
876
|
-
{
|
877
|
-
// If the offset is zero, we just insert the new node before
|
878
|
-
// the start.
|
879
|
-
if ( !endOffset )
|
880
|
-
{
|
881
|
-
endOffset = endContainer.getIndex();
|
882
|
-
endContainer = endContainer.getParent();
|
883
|
-
}
|
884
|
-
// If the offset is at the end, we'll insert it after the text
|
885
|
-
// node.
|
886
|
-
else if ( endOffset >= endContainer.getLength() )
|
887
|
-
{
|
888
|
-
endOffset = endContainer.getIndex() + 1;
|
889
|
-
endContainer = endContainer.getParent();
|
890
|
-
}
|
891
|
-
// In other case, we split the text node and insert the new
|
892
|
-
// node at the split point.
|
893
|
-
else
|
894
|
-
{
|
895
|
-
endContainer.split( endOffset );
|
896
|
-
|
897
|
-
endOffset = endContainer.getIndex() + 1;
|
898
|
-
endContainer = endContainer.getParent();
|
899
|
-
}
|
900
|
-
|
901
|
-
this.setEnd( endContainer, endOffset );
|
902
|
-
}
|
903
|
-
},
|
904
|
-
|
905
|
-
/**
|
906
|
-
* Expands the range so that partial units are completely contained.
|
907
|
-
* @param unit {Number} The unit type to expand with.
|
908
|
-
* @param {Boolean} [excludeBrs=false] Whether include line-breaks when expanding.
|
909
|
-
*/
|
910
|
-
enlarge : function( unit, excludeBrs )
|
911
|
-
{
|
912
|
-
switch ( unit )
|
913
|
-
{
|
914
|
-
case CKEDITOR.ENLARGE_ELEMENT :
|
915
|
-
|
916
|
-
if ( this.collapsed )
|
917
|
-
return;
|
918
|
-
|
919
|
-
// Get the common ancestor.
|
920
|
-
var commonAncestor = this.getCommonAncestor();
|
921
|
-
|
922
|
-
var body = this.document.getBody();
|
923
|
-
|
924
|
-
// For each boundary
|
925
|
-
// a. Depending on its position, find out the first node to be checked (a sibling) or, if not available, to be enlarge.
|
926
|
-
// b. Go ahead checking siblings and enlarging the boundary as much as possible until the common ancestor is not reached. After reaching the common ancestor, just save the enlargeable node to be used later.
|
927
|
-
|
928
|
-
var startTop, endTop;
|
929
|
-
|
930
|
-
var enlargeable, sibling, commonReached;
|
931
|
-
|
932
|
-
// Indicates that the node can be added only if whitespace
|
933
|
-
// is available before it.
|
934
|
-
var needsWhiteSpace = false;
|
935
|
-
var isWhiteSpace;
|
936
|
-
var siblingText;
|
937
|
-
|
938
|
-
// Process the start boundary.
|
939
|
-
|
940
|
-
var container = this.startContainer;
|
941
|
-
var offset = this.startOffset;
|
942
|
-
|
943
|
-
if ( container.type == CKEDITOR.NODE_TEXT )
|
944
|
-
{
|
945
|
-
if ( offset )
|
946
|
-
{
|
947
|
-
// Check if there is any non-space text before the
|
948
|
-
// offset. Otherwise, container is null.
|
949
|
-
container = !CKEDITOR.tools.trim( container.substring( 0, offset ) ).length && container;
|
950
|
-
|
951
|
-
// If we found only whitespace in the node, it
|
952
|
-
// means that we'll need more whitespace to be able
|
953
|
-
// to expand. For example, <i> can be expanded in
|
954
|
-
// "A <i> [B]</i>", but not in "A<i> [B]</i>".
|
955
|
-
needsWhiteSpace = !!container;
|
956
|
-
}
|
957
|
-
|
958
|
-
if ( container )
|
959
|
-
{
|
960
|
-
if ( !( sibling = container.getPrevious() ) )
|
961
|
-
enlargeable = container.getParent();
|
962
|
-
}
|
963
|
-
}
|
964
|
-
else
|
965
|
-
{
|
966
|
-
// If we have offset, get the node preceeding it as the
|
967
|
-
// first sibling to be checked.
|
968
|
-
if ( offset )
|
969
|
-
sibling = container.getChild( offset - 1 ) || container.getLast();
|
970
|
-
|
971
|
-
// If there is no sibling, mark the container to be
|
972
|
-
// enlarged.
|
973
|
-
if ( !sibling )
|
974
|
-
enlargeable = container;
|
975
|
-
}
|
976
|
-
|
977
|
-
while ( enlargeable || sibling )
|
978
|
-
{
|
979
|
-
if ( enlargeable && !sibling )
|
980
|
-
{
|
981
|
-
// If we reached the common ancestor, mark the flag
|
982
|
-
// for it.
|
983
|
-
if ( !commonReached && enlargeable.equals( commonAncestor ) )
|
984
|
-
commonReached = true;
|
985
|
-
|
986
|
-
if ( !body.contains( enlargeable ) )
|
987
|
-
break;
|
988
|
-
|
989
|
-
// If we don't need space or this element breaks
|
990
|
-
// the line, then enlarge it.
|
991
|
-
if ( !needsWhiteSpace || enlargeable.getComputedStyle( 'display' ) != 'inline' )
|
992
|
-
{
|
993
|
-
needsWhiteSpace = false;
|
994
|
-
|
995
|
-
// If the common ancestor has been reached,
|
996
|
-
// we'll not enlarge it immediately, but just
|
997
|
-
// mark it to be enlarged later if the end
|
998
|
-
// boundary also enlarges it.
|
999
|
-
if ( commonReached )
|
1000
|
-
startTop = enlargeable;
|
1001
|
-
else
|
1002
|
-
this.setStartBefore( enlargeable );
|
1003
|
-
}
|
1004
|
-
|
1005
|
-
sibling = enlargeable.getPrevious();
|
1006
|
-
}
|
1007
|
-
|
1008
|
-
// Check all sibling nodes preceeding the enlargeable
|
1009
|
-
// node. The node wil lbe enlarged only if none of them
|
1010
|
-
// blocks it.
|
1011
|
-
while ( sibling )
|
1012
|
-
{
|
1013
|
-
// This flag indicates that this node has
|
1014
|
-
// whitespaces at the end.
|
1015
|
-
isWhiteSpace = false;
|
1016
|
-
|
1017
|
-
if ( sibling.type == CKEDITOR.NODE_TEXT )
|
1018
|
-
{
|
1019
|
-
siblingText = sibling.getText();
|
1020
|
-
|
1021
|
-
if ( /[^\s\ufeff]/.test( siblingText ) )
|
1022
|
-
sibling = null;
|
1023
|
-
|
1024
|
-
isWhiteSpace = /[\s\ufeff]$/.test( siblingText );
|
1025
|
-
}
|
1026
|
-
else
|
1027
|
-
{
|
1028
|
-
// If this is a visible element.
|
1029
|
-
// We need to check for the bookmark attribute because IE insists on
|
1030
|
-
// rendering the display:none nodes we use for bookmarks. (#3363)
|
1031
|
-
// Line-breaks (br) are rendered with zero width, which we don't want to include. (#7041)
|
1032
|
-
if ( ( sibling.$.offsetWidth > 0 || excludeBrs && sibling.is( 'br' ) ) && !sibling.data( 'cke-bookmark' ) )
|
1033
|
-
{
|
1034
|
-
// We'll accept it only if we need
|
1035
|
-
// whitespace, and this is an inline
|
1036
|
-
// element with whitespace only.
|
1037
|
-
if ( needsWhiteSpace && CKEDITOR.dtd.$removeEmpty[ sibling.getName() ] )
|
1038
|
-
{
|
1039
|
-
// It must contains spaces and inline elements only.
|
1040
|
-
|
1041
|
-
siblingText = sibling.getText();
|
1042
|
-
|
1043
|
-
if ( (/[^\s\ufeff]/).test( siblingText ) ) // Spaces + Zero Width No-Break Space (U+FEFF)
|
1044
|
-
sibling = null;
|
1045
|
-
else
|
1046
|
-
{
|
1047
|
-
var allChildren = sibling.$.all || sibling.$.getElementsByTagName( '*' );
|
1048
|
-
for ( var i = 0, child ; child = allChildren[ i++ ] ; )
|
1049
|
-
{
|
1050
|
-
if ( !CKEDITOR.dtd.$removeEmpty[ child.nodeName.toLowerCase() ] )
|
1051
|
-
{
|
1052
|
-
sibling = null;
|
1053
|
-
break;
|
1054
|
-
}
|
1055
|
-
}
|
1056
|
-
}
|
1057
|
-
|
1058
|
-
if ( sibling )
|
1059
|
-
isWhiteSpace = !!siblingText.length;
|
1060
|
-
}
|
1061
|
-
else
|
1062
|
-
sibling = null;
|
1063
|
-
}
|
1064
|
-
}
|
1065
|
-
|
1066
|
-
// A node with whitespaces has been found.
|
1067
|
-
if ( isWhiteSpace )
|
1068
|
-
{
|
1069
|
-
// Enlarge the last enlargeable node, if we
|
1070
|
-
// were waiting for spaces.
|
1071
|
-
if ( needsWhiteSpace )
|
1072
|
-
{
|
1073
|
-
if ( commonReached )
|
1074
|
-
startTop = enlargeable;
|
1075
|
-
else if ( enlargeable )
|
1076
|
-
this.setStartBefore( enlargeable );
|
1077
|
-
}
|
1078
|
-
else
|
1079
|
-
needsWhiteSpace = true;
|
1080
|
-
}
|
1081
|
-
|
1082
|
-
if ( sibling )
|
1083
|
-
{
|
1084
|
-
var next = sibling.getPrevious();
|
1085
|
-
|
1086
|
-
if ( !enlargeable && !next )
|
1087
|
-
{
|
1088
|
-
// Set the sibling as enlargeable, so it's
|
1089
|
-
// parent will be get later outside this while.
|
1090
|
-
enlargeable = sibling;
|
1091
|
-
sibling = null;
|
1092
|
-
break;
|
1093
|
-
}
|
1094
|
-
|
1095
|
-
sibling = next;
|
1096
|
-
}
|
1097
|
-
else
|
1098
|
-
{
|
1099
|
-
// If sibling has been set to null, then we
|
1100
|
-
// need to stop enlarging.
|
1101
|
-
enlargeable = null;
|
1102
|
-
}
|
1103
|
-
}
|
1104
|
-
|
1105
|
-
if ( enlargeable )
|
1106
|
-
enlargeable = enlargeable.getParent();
|
1107
|
-
}
|
1108
|
-
|
1109
|
-
// Process the end boundary. This is basically the same
|
1110
|
-
// code used for the start boundary, with small changes to
|
1111
|
-
// make it work in the oposite side (to the right). This
|
1112
|
-
// makes it difficult to reuse the code here. So, fixes to
|
1113
|
-
// the above code are likely to be replicated here.
|
1114
|
-
|
1115
|
-
container = this.endContainer;
|
1116
|
-
offset = this.endOffset;
|
1117
|
-
|
1118
|
-
// Reset the common variables.
|
1119
|
-
enlargeable = sibling = null;
|
1120
|
-
commonReached = needsWhiteSpace = false;
|
1121
|
-
|
1122
|
-
if ( container.type == CKEDITOR.NODE_TEXT )
|
1123
|
-
{
|
1124
|
-
// Check if there is any non-space text after the
|
1125
|
-
// offset. Otherwise, container is null.
|
1126
|
-
container = !CKEDITOR.tools.trim( container.substring( offset ) ).length && container;
|
1127
|
-
|
1128
|
-
// If we found only whitespace in the node, it
|
1129
|
-
// means that we'll need more whitespace to be able
|
1130
|
-
// to expand. For example, <i> can be expanded in
|
1131
|
-
// "A <i> [B]</i>", but not in "A<i> [B]</i>".
|
1132
|
-
needsWhiteSpace = !( container && container.getLength() );
|
1133
|
-
|
1134
|
-
if ( container )
|
1135
|
-
{
|
1136
|
-
if ( !( sibling = container.getNext() ) )
|
1137
|
-
enlargeable = container.getParent();
|
1138
|
-
}
|
1139
|
-
}
|
1140
|
-
else
|
1141
|
-
{
|
1142
|
-
// Get the node right after the boudary to be checked
|
1143
|
-
// first.
|
1144
|
-
sibling = container.getChild( offset );
|
1145
|
-
|
1146
|
-
if ( !sibling )
|
1147
|
-
enlargeable = container;
|
1148
|
-
}
|
1149
|
-
|
1150
|
-
while ( enlargeable || sibling )
|
1151
|
-
{
|
1152
|
-
if ( enlargeable && !sibling )
|
1153
|
-
{
|
1154
|
-
if ( !commonReached && enlargeable.equals( commonAncestor ) )
|
1155
|
-
commonReached = true;
|
1156
|
-
|
1157
|
-
if ( !body.contains( enlargeable ) )
|
1158
|
-
break;
|
1159
|
-
|
1160
|
-
if ( !needsWhiteSpace || enlargeable.getComputedStyle( 'display' ) != 'inline' )
|
1161
|
-
{
|
1162
|
-
needsWhiteSpace = false;
|
1163
|
-
|
1164
|
-
if ( commonReached )
|
1165
|
-
endTop = enlargeable;
|
1166
|
-
else if ( enlargeable )
|
1167
|
-
this.setEndAfter( enlargeable );
|
1168
|
-
}
|
1169
|
-
|
1170
|
-
sibling = enlargeable.getNext();
|
1171
|
-
}
|
1172
|
-
|
1173
|
-
while ( sibling )
|
1174
|
-
{
|
1175
|
-
isWhiteSpace = false;
|
1176
|
-
|
1177
|
-
if ( sibling.type == CKEDITOR.NODE_TEXT )
|
1178
|
-
{
|
1179
|
-
siblingText = sibling.getText();
|
1180
|
-
|
1181
|
-
if ( /[^\s\ufeff]/.test( siblingText ) )
|
1182
|
-
sibling = null;
|
1183
|
-
|
1184
|
-
isWhiteSpace = /^[\s\ufeff]/.test( siblingText );
|
1185
|
-
}
|
1186
|
-
else
|
1187
|
-
{
|
1188
|
-
// If this is a visible element.
|
1189
|
-
// We need to check for the bookmark attribute because IE insists on
|
1190
|
-
// rendering the display:none nodes we use for bookmarks. (#3363)
|
1191
|
-
// Line-breaks (br) are rendered with zero width, which we don't want to include. (#7041)
|
1192
|
-
if ( ( sibling.$.offsetWidth > 0 || excludeBrs && sibling.is( 'br' ) ) && !sibling.data( 'cke-bookmark' ) )
|
1193
|
-
{
|
1194
|
-
// We'll accept it only if we need
|
1195
|
-
// whitespace, and this is an inline
|
1196
|
-
// element with whitespace only.
|
1197
|
-
if ( needsWhiteSpace && CKEDITOR.dtd.$removeEmpty[ sibling.getName() ] )
|
1198
|
-
{
|
1199
|
-
// It must contains spaces and inline elements only.
|
1200
|
-
|
1201
|
-
siblingText = sibling.getText();
|
1202
|
-
|
1203
|
-
if ( (/[^\s\ufeff]/).test( siblingText ) )
|
1204
|
-
sibling = null;
|
1205
|
-
else
|
1206
|
-
{
|
1207
|
-
allChildren = sibling.$.all || sibling.$.getElementsByTagName( '*' );
|
1208
|
-
for ( i = 0 ; child = allChildren[ i++ ] ; )
|
1209
|
-
{
|
1210
|
-
if ( !CKEDITOR.dtd.$removeEmpty[ child.nodeName.toLowerCase() ] )
|
1211
|
-
{
|
1212
|
-
sibling = null;
|
1213
|
-
break;
|
1214
|
-
}
|
1215
|
-
}
|
1216
|
-
}
|
1217
|
-
|
1218
|
-
if ( sibling )
|
1219
|
-
isWhiteSpace = !!siblingText.length;
|
1220
|
-
}
|
1221
|
-
else
|
1222
|
-
sibling = null;
|
1223
|
-
}
|
1224
|
-
}
|
1225
|
-
|
1226
|
-
if ( isWhiteSpace )
|
1227
|
-
{
|
1228
|
-
if ( needsWhiteSpace )
|
1229
|
-
{
|
1230
|
-
if ( commonReached )
|
1231
|
-
endTop = enlargeable;
|
1232
|
-
else
|
1233
|
-
this.setEndAfter( enlargeable );
|
1234
|
-
}
|
1235
|
-
}
|
1236
|
-
|
1237
|
-
if ( sibling )
|
1238
|
-
{
|
1239
|
-
next = sibling.getNext();
|
1240
|
-
|
1241
|
-
if ( !enlargeable && !next )
|
1242
|
-
{
|
1243
|
-
enlargeable = sibling;
|
1244
|
-
sibling = null;
|
1245
|
-
break;
|
1246
|
-
}
|
1247
|
-
|
1248
|
-
sibling = next;
|
1249
|
-
}
|
1250
|
-
else
|
1251
|
-
{
|
1252
|
-
// If sibling has been set to null, then we
|
1253
|
-
// need to stop enlarging.
|
1254
|
-
enlargeable = null;
|
1255
|
-
}
|
1256
|
-
}
|
1257
|
-
|
1258
|
-
if ( enlargeable )
|
1259
|
-
enlargeable = enlargeable.getParent();
|
1260
|
-
}
|
1261
|
-
|
1262
|
-
// If the common ancestor can be enlarged by both boundaries, then include it also.
|
1263
|
-
if ( startTop && endTop )
|
1264
|
-
{
|
1265
|
-
commonAncestor = startTop.contains( endTop ) ? endTop : startTop;
|
1266
|
-
|
1267
|
-
this.setStartBefore( commonAncestor );
|
1268
|
-
this.setEndAfter( commonAncestor );
|
1269
|
-
}
|
1270
|
-
break;
|
1271
|
-
|
1272
|
-
case CKEDITOR.ENLARGE_BLOCK_CONTENTS:
|
1273
|
-
case CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:
|
1274
|
-
|
1275
|
-
// Enlarging the start boundary.
|
1276
|
-
var walkerRange = new CKEDITOR.dom.range( this.document );
|
1277
|
-
|
1278
|
-
body = this.document.getBody();
|
1279
|
-
|
1280
|
-
walkerRange.setStartAt( body, CKEDITOR.POSITION_AFTER_START );
|
1281
|
-
walkerRange.setEnd( this.startContainer, this.startOffset );
|
1282
|
-
|
1283
|
-
var walker = new CKEDITOR.dom.walker( walkerRange ),
|
1284
|
-
blockBoundary, // The node on which the enlarging should stop.
|
1285
|
-
tailBr, // In case BR as block boundary.
|
1286
|
-
notBlockBoundary = CKEDITOR.dom.walker.blockBoundary(
|
1287
|
-
( unit == CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS ) ? { br : 1 } : null ),
|
1288
|
-
// Record the encountered 'blockBoundary' for later use.
|
1289
|
-
boundaryGuard = function( node )
|
1290
|
-
{
|
1291
|
-
var retval = notBlockBoundary( node );
|
1292
|
-
if ( !retval )
|
1293
|
-
blockBoundary = node;
|
1294
|
-
return retval;
|
1295
|
-
},
|
1296
|
-
// Record the encounted 'tailBr' for later use.
|
1297
|
-
tailBrGuard = function( node )
|
1298
|
-
{
|
1299
|
-
var retval = boundaryGuard( node );
|
1300
|
-
if ( !retval && node.is && node.is( 'br' ) )
|
1301
|
-
tailBr = node;
|
1302
|
-
return retval;
|
1303
|
-
};
|
1304
|
-
|
1305
|
-
walker.guard = boundaryGuard;
|
1306
|
-
|
1307
|
-
enlargeable = walker.lastBackward();
|
1308
|
-
|
1309
|
-
// It's the body which stop the enlarging if no block boundary found.
|
1310
|
-
blockBoundary = blockBoundary || body;
|
1311
|
-
|
1312
|
-
// Start the range either after the end of found block (<p>...</p>[text)
|
1313
|
-
// or at the start of block (<p>[text...), by comparing the document position
|
1314
|
-
// with 'enlargeable' node.
|
1315
|
-
this.setStartAt(
|
1316
|
-
blockBoundary,
|
1317
|
-
!blockBoundary.is( 'br' ) &&
|
1318
|
-
( !enlargeable && this.checkStartOfBlock()
|
1319
|
-
|| enlargeable && blockBoundary.contains( enlargeable ) ) ?
|
1320
|
-
CKEDITOR.POSITION_AFTER_START :
|
1321
|
-
CKEDITOR.POSITION_AFTER_END );
|
1322
|
-
|
1323
|
-
// Avoid enlarging the range further when end boundary spans right after the BR. (#7490)
|
1324
|
-
if ( unit == CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS )
|
1325
|
-
{
|
1326
|
-
var theRange = this.clone();
|
1327
|
-
walker = new CKEDITOR.dom.walker( theRange );
|
1328
|
-
|
1329
|
-
var whitespaces = CKEDITOR.dom.walker.whitespaces(),
|
1330
|
-
bookmark = CKEDITOR.dom.walker.bookmark();
|
1331
|
-
|
1332
|
-
walker.evaluator = function( node ) { return !whitespaces( node ) && !bookmark( node ); };
|
1333
|
-
var previous = walker.previous();
|
1334
|
-
if ( previous && previous.type == CKEDITOR.NODE_ELEMENT && previous.is( 'br' ) )
|
1335
|
-
return;
|
1336
|
-
}
|
1337
|
-
|
1338
|
-
|
1339
|
-
// Enlarging the end boundary.
|
1340
|
-
walkerRange = this.clone();
|
1341
|
-
walkerRange.collapse();
|
1342
|
-
walkerRange.setEndAt( body, CKEDITOR.POSITION_BEFORE_END );
|
1343
|
-
walker = new CKEDITOR.dom.walker( walkerRange );
|
1344
|
-
|
1345
|
-
// tailBrGuard only used for on range end.
|
1346
|
-
walker.guard = ( unit == CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS ) ?
|
1347
|
-
tailBrGuard : boundaryGuard;
|
1348
|
-
blockBoundary = null;
|
1349
|
-
// End the range right before the block boundary node.
|
1350
|
-
|
1351
|
-
enlargeable = walker.lastForward();
|
1352
|
-
|
1353
|
-
// It's the body which stop the enlarging if no block boundary found.
|
1354
|
-
blockBoundary = blockBoundary || body;
|
1355
|
-
|
1356
|
-
// Close the range either before the found block start (text]<p>...</p>) or at the block end (...text]</p>)
|
1357
|
-
// by comparing the document position with 'enlargeable' node.
|
1358
|
-
this.setEndAt(
|
1359
|
-
blockBoundary,
|
1360
|
-
( !enlargeable && this.checkEndOfBlock()
|
1361
|
-
|| enlargeable && blockBoundary.contains( enlargeable ) ) ?
|
1362
|
-
CKEDITOR.POSITION_BEFORE_END :
|
1363
|
-
CKEDITOR.POSITION_BEFORE_START );
|
1364
|
-
// We must include the <br> at the end of range if there's
|
1365
|
-
// one and we're expanding list item contents
|
1366
|
-
if ( tailBr )
|
1367
|
-
this.setEndAfter( tailBr );
|
1368
|
-
}
|
1369
|
-
},
|
1370
|
-
|
1371
|
-
/**
|
1372
|
-
* Descrease the range to make sure that boundaries
|
1373
|
-
* always anchor beside text nodes or innermost element.
|
1374
|
-
* @param {Number} mode ( CKEDITOR.SHRINK_ELEMENT | CKEDITOR.SHRINK_TEXT ) The shrinking mode.
|
1375
|
-
* <dl>
|
1376
|
-
* <dt>CKEDITOR.SHRINK_ELEMENT</dt>
|
1377
|
-
* <dd>Shrink the range boundaries to the edge of the innermost element.</dd>
|
1378
|
-
* <dt>CKEDITOR.SHRINK_TEXT</dt>
|
1379
|
-
* <dd>Shrink the range boudaries to anchor by the side of enclosed text node, range remains if there's no text nodes on boundaries at all.</dd>
|
1380
|
-
* </dl>
|
1381
|
-
* @param {Boolean} selectContents Whether result range anchors at the inner OR outer boundary of the node.
|
1382
|
-
*/
|
1383
|
-
shrink : function( mode, selectContents )
|
1384
|
-
{
|
1385
|
-
// Unable to shrink a collapsed range.
|
1386
|
-
if ( !this.collapsed )
|
1387
|
-
{
|
1388
|
-
mode = mode || CKEDITOR.SHRINK_TEXT;
|
1389
|
-
|
1390
|
-
var walkerRange = this.clone();
|
1391
|
-
|
1392
|
-
var startContainer = this.startContainer,
|
1393
|
-
endContainer = this.endContainer,
|
1394
|
-
startOffset = this.startOffset,
|
1395
|
-
endOffset = this.endOffset,
|
1396
|
-
collapsed = this.collapsed;
|
1397
|
-
|
1398
|
-
// Whether the start/end boundary is moveable.
|
1399
|
-
var moveStart = 1,
|
1400
|
-
moveEnd = 1;
|
1401
|
-
|
1402
|
-
if ( startContainer && startContainer.type == CKEDITOR.NODE_TEXT )
|
1403
|
-
{
|
1404
|
-
if ( !startOffset )
|
1405
|
-
walkerRange.setStartBefore( startContainer );
|
1406
|
-
else if ( startOffset >= startContainer.getLength( ) )
|
1407
|
-
walkerRange.setStartAfter( startContainer );
|
1408
|
-
else
|
1409
|
-
{
|
1410
|
-
// Enlarge the range properly to avoid walker making
|
1411
|
-
// DOM changes caused by triming the text nodes later.
|
1412
|
-
walkerRange.setStartBefore( startContainer );
|
1413
|
-
moveStart = 0;
|
1414
|
-
}
|
1415
|
-
}
|
1416
|
-
|
1417
|
-
if ( endContainer && endContainer.type == CKEDITOR.NODE_TEXT )
|
1418
|
-
{
|
1419
|
-
if ( !endOffset )
|
1420
|
-
walkerRange.setEndBefore( endContainer );
|
1421
|
-
else if ( endOffset >= endContainer.getLength( ) )
|
1422
|
-
walkerRange.setEndAfter( endContainer );
|
1423
|
-
else
|
1424
|
-
{
|
1425
|
-
walkerRange.setEndAfter( endContainer );
|
1426
|
-
moveEnd = 0;
|
1427
|
-
}
|
1428
|
-
}
|
1429
|
-
|
1430
|
-
var walker = new CKEDITOR.dom.walker( walkerRange ),
|
1431
|
-
isBookmark = CKEDITOR.dom.walker.bookmark();
|
1432
|
-
|
1433
|
-
walker.evaluator = function( node )
|
1434
|
-
{
|
1435
|
-
return node.type == ( mode == CKEDITOR.SHRINK_ELEMENT ?
|
1436
|
-
CKEDITOR.NODE_ELEMENT : CKEDITOR.NODE_TEXT );
|
1437
|
-
};
|
1438
|
-
|
1439
|
-
var currentElement;
|
1440
|
-
walker.guard = function( node, movingOut )
|
1441
|
-
{
|
1442
|
-
if ( isBookmark( node ) )
|
1443
|
-
return true;
|
1444
|
-
|
1445
|
-
// Stop when we're shrink in element mode while encountering a text node.
|
1446
|
-
if ( mode == CKEDITOR.SHRINK_ELEMENT && node.type == CKEDITOR.NODE_TEXT )
|
1447
|
-
return false;
|
1448
|
-
|
1449
|
-
// Stop when we've already walked "through" an element.
|
1450
|
-
if ( movingOut && node.equals( currentElement ) )
|
1451
|
-
return false;
|
1452
|
-
|
1453
|
-
if ( !movingOut && node.type == CKEDITOR.NODE_ELEMENT )
|
1454
|
-
currentElement = node;
|
1455
|
-
|
1456
|
-
return true;
|
1457
|
-
};
|
1458
|
-
|
1459
|
-
if ( moveStart )
|
1460
|
-
{
|
1461
|
-
var textStart = walker[ mode == CKEDITOR.SHRINK_ELEMENT ? 'lastForward' : 'next']();
|
1462
|
-
textStart && this.setStartAt( textStart, selectContents ? CKEDITOR.POSITION_AFTER_START : CKEDITOR.POSITION_BEFORE_START );
|
1463
|
-
}
|
1464
|
-
|
1465
|
-
if ( moveEnd )
|
1466
|
-
{
|
1467
|
-
walker.reset();
|
1468
|
-
var textEnd = walker[ mode == CKEDITOR.SHRINK_ELEMENT ? 'lastBackward' : 'previous']();
|
1469
|
-
textEnd && this.setEndAt( textEnd, selectContents ? CKEDITOR.POSITION_BEFORE_END : CKEDITOR.POSITION_AFTER_END );
|
1470
|
-
}
|
1471
|
-
|
1472
|
-
return !!( moveStart || moveEnd );
|
1473
|
-
}
|
1474
|
-
},
|
1475
|
-
|
1476
|
-
/**
|
1477
|
-
* Inserts a node at the start of the range. The range will be expanded
|
1478
|
-
* the contain the node.
|
1479
|
-
*/
|
1480
|
-
insertNode : function( node )
|
1481
|
-
{
|
1482
|
-
this.optimizeBookmark();
|
1483
|
-
this.trim( false, true );
|
1484
|
-
|
1485
|
-
var startContainer = this.startContainer;
|
1486
|
-
var startOffset = this.startOffset;
|
1487
|
-
|
1488
|
-
var nextNode = startContainer.getChild( startOffset );
|
1489
|
-
|
1490
|
-
if ( nextNode )
|
1491
|
-
node.insertBefore( nextNode );
|
1492
|
-
else
|
1493
|
-
startContainer.append( node );
|
1494
|
-
|
1495
|
-
// Check if we need to update the end boundary.
|
1496
|
-
if ( node.getParent().equals( this.endContainer ) )
|
1497
|
-
this.endOffset++;
|
1498
|
-
|
1499
|
-
// Expand the range to embrace the new node.
|
1500
|
-
this.setStartBefore( node );
|
1501
|
-
},
|
1502
|
-
|
1503
|
-
moveToPosition : function( node, position )
|
1504
|
-
{
|
1505
|
-
this.setStartAt( node, position );
|
1506
|
-
this.collapse( true );
|
1507
|
-
},
|
1508
|
-
|
1509
|
-
selectNodeContents : function( node )
|
1510
|
-
{
|
1511
|
-
this.setStart( node, 0 );
|
1512
|
-
this.setEnd( node, node.type == CKEDITOR.NODE_TEXT ? node.getLength() : node.getChildCount() );
|
1513
|
-
},
|
1514
|
-
|
1515
|
-
/**
|
1516
|
-
* Sets the start position of a Range.
|
1517
|
-
* @param {CKEDITOR.dom.node} startNode The node to start the range.
|
1518
|
-
* @param {Number} startOffset An integer greater than or equal to zero
|
1519
|
-
* representing the offset for the start of the range from the start
|
1520
|
-
* of startNode.
|
1521
|
-
*/
|
1522
|
-
setStart : function( startNode, startOffset )
|
1523
|
-
{
|
1524
|
-
// W3C requires a check for the new position. If it is after the end
|
1525
|
-
// boundary, the range should be collapsed to the new start. It seams
|
1526
|
-
// we will not need this check for our use of this class so we can
|
1527
|
-
// ignore it for now.
|
1528
|
-
|
1529
|
-
// Fixing invalid range start inside dtd empty elements.
|
1530
|
-
if( startNode.type == CKEDITOR.NODE_ELEMENT
|
1531
|
-
&& CKEDITOR.dtd.$empty[ startNode.getName() ] )
|
1532
|
-
startOffset = startNode.getIndex(), startNode = startNode.getParent();
|
1533
|
-
|
1534
|
-
this.startContainer = startNode;
|
1535
|
-
this.startOffset = startOffset;
|
1536
|
-
|
1537
|
-
if ( !this.endContainer )
|
1538
|
-
{
|
1539
|
-
this.endContainer = startNode;
|
1540
|
-
this.endOffset = startOffset;
|
1541
|
-
}
|
1542
|
-
|
1543
|
-
updateCollapsed( this );
|
1544
|
-
},
|
1545
|
-
|
1546
|
-
/**
|
1547
|
-
* Sets the end position of a Range.
|
1548
|
-
* @param {CKEDITOR.dom.node} endNode The node to end the range.
|
1549
|
-
* @param {Number} endOffset An integer greater than or equal to zero
|
1550
|
-
* representing the offset for the end of the range from the start
|
1551
|
-
* of endNode.
|
1552
|
-
*/
|
1553
|
-
setEnd : function( endNode, endOffset )
|
1554
|
-
{
|
1555
|
-
// W3C requires a check for the new position. If it is before the start
|
1556
|
-
// boundary, the range should be collapsed to the new end. It seams we
|
1557
|
-
// will not need this check for our use of this class so we can ignore
|
1558
|
-
// it for now.
|
1559
|
-
|
1560
|
-
// Fixing invalid range end inside dtd empty elements.
|
1561
|
-
if( endNode.type == CKEDITOR.NODE_ELEMENT
|
1562
|
-
&& CKEDITOR.dtd.$empty[ endNode.getName() ] )
|
1563
|
-
endOffset = endNode.getIndex() + 1, endNode = endNode.getParent();
|
1564
|
-
|
1565
|
-
this.endContainer = endNode;
|
1566
|
-
this.endOffset = endOffset;
|
1567
|
-
|
1568
|
-
if ( !this.startContainer )
|
1569
|
-
{
|
1570
|
-
this.startContainer = endNode;
|
1571
|
-
this.startOffset = endOffset;
|
1572
|
-
}
|
1573
|
-
|
1574
|
-
updateCollapsed( this );
|
1575
|
-
},
|
1576
|
-
|
1577
|
-
setStartAfter : function( node )
|
1578
|
-
{
|
1579
|
-
this.setStart( node.getParent(), node.getIndex() + 1 );
|
1580
|
-
},
|
1581
|
-
|
1582
|
-
setStartBefore : function( node )
|
1583
|
-
{
|
1584
|
-
this.setStart( node.getParent(), node.getIndex() );
|
1585
|
-
},
|
1586
|
-
|
1587
|
-
setEndAfter : function( node )
|
1588
|
-
{
|
1589
|
-
this.setEnd( node.getParent(), node.getIndex() + 1 );
|
1590
|
-
},
|
1591
|
-
|
1592
|
-
setEndBefore : function( node )
|
1593
|
-
{
|
1594
|
-
this.setEnd( node.getParent(), node.getIndex() );
|
1595
|
-
},
|
1596
|
-
|
1597
|
-
setStartAt : function( node, position )
|
1598
|
-
{
|
1599
|
-
switch( position )
|
1600
|
-
{
|
1601
|
-
case CKEDITOR.POSITION_AFTER_START :
|
1602
|
-
this.setStart( node, 0 );
|
1603
|
-
break;
|
1604
|
-
|
1605
|
-
case CKEDITOR.POSITION_BEFORE_END :
|
1606
|
-
if ( node.type == CKEDITOR.NODE_TEXT )
|
1607
|
-
this.setStart( node, node.getLength() );
|
1608
|
-
else
|
1609
|
-
this.setStart( node, node.getChildCount() );
|
1610
|
-
break;
|
1611
|
-
|
1612
|
-
case CKEDITOR.POSITION_BEFORE_START :
|
1613
|
-
this.setStartBefore( node );
|
1614
|
-
break;
|
1615
|
-
|
1616
|
-
case CKEDITOR.POSITION_AFTER_END :
|
1617
|
-
this.setStartAfter( node );
|
1618
|
-
}
|
1619
|
-
|
1620
|
-
updateCollapsed( this );
|
1621
|
-
},
|
1622
|
-
|
1623
|
-
setEndAt : function( node, position )
|
1624
|
-
{
|
1625
|
-
switch( position )
|
1626
|
-
{
|
1627
|
-
case CKEDITOR.POSITION_AFTER_START :
|
1628
|
-
this.setEnd( node, 0 );
|
1629
|
-
break;
|
1630
|
-
|
1631
|
-
case CKEDITOR.POSITION_BEFORE_END :
|
1632
|
-
if ( node.type == CKEDITOR.NODE_TEXT )
|
1633
|
-
this.setEnd( node, node.getLength() );
|
1634
|
-
else
|
1635
|
-
this.setEnd( node, node.getChildCount() );
|
1636
|
-
break;
|
1637
|
-
|
1638
|
-
case CKEDITOR.POSITION_BEFORE_START :
|
1639
|
-
this.setEndBefore( node );
|
1640
|
-
break;
|
1641
|
-
|
1642
|
-
case CKEDITOR.POSITION_AFTER_END :
|
1643
|
-
this.setEndAfter( node );
|
1644
|
-
}
|
1645
|
-
|
1646
|
-
updateCollapsed( this );
|
1647
|
-
},
|
1648
|
-
|
1649
|
-
fixBlock : function( isStart, blockTag )
|
1650
|
-
{
|
1651
|
-
var bookmark = this.createBookmark(),
|
1652
|
-
fixedBlock = this.document.createElement( blockTag );
|
1653
|
-
|
1654
|
-
this.collapse( isStart );
|
1655
|
-
|
1656
|
-
this.enlarge( CKEDITOR.ENLARGE_BLOCK_CONTENTS );
|
1657
|
-
|
1658
|
-
this.extractContents().appendTo( fixedBlock );
|
1659
|
-
fixedBlock.trim();
|
1660
|
-
|
1661
|
-
if ( !CKEDITOR.env.ie )
|
1662
|
-
fixedBlock.appendBogus();
|
1663
|
-
|
1664
|
-
this.insertNode( fixedBlock );
|
1665
|
-
|
1666
|
-
this.moveToBookmark( bookmark );
|
1667
|
-
|
1668
|
-
return fixedBlock;
|
1669
|
-
},
|
1670
|
-
|
1671
|
-
splitBlock : function( blockTag )
|
1672
|
-
{
|
1673
|
-
var startPath = new CKEDITOR.dom.elementPath( this.startContainer ),
|
1674
|
-
endPath = new CKEDITOR.dom.elementPath( this.endContainer );
|
1675
|
-
|
1676
|
-
var startBlockLimit = startPath.blockLimit,
|
1677
|
-
endBlockLimit = endPath.blockLimit;
|
1678
|
-
|
1679
|
-
var startBlock = startPath.block,
|
1680
|
-
endBlock = endPath.block;
|
1681
|
-
|
1682
|
-
var elementPath = null;
|
1683
|
-
// Do nothing if the boundaries are in different block limits.
|
1684
|
-
if ( !startBlockLimit.equals( endBlockLimit ) )
|
1685
|
-
return null;
|
1686
|
-
|
1687
|
-
// Get or fix current blocks.
|
1688
|
-
if ( blockTag != 'br' )
|
1689
|
-
{
|
1690
|
-
if ( !startBlock )
|
1691
|
-
{
|
1692
|
-
startBlock = this.fixBlock( true, blockTag );
|
1693
|
-
endBlock = new CKEDITOR.dom.elementPath( this.endContainer ).block;
|
1694
|
-
}
|
1695
|
-
|
1696
|
-
if ( !endBlock )
|
1697
|
-
endBlock = this.fixBlock( false, blockTag );
|
1698
|
-
}
|
1699
|
-
|
1700
|
-
// Get the range position.
|
1701
|
-
var isStartOfBlock = startBlock && this.checkStartOfBlock(),
|
1702
|
-
isEndOfBlock = endBlock && this.checkEndOfBlock();
|
1703
|
-
|
1704
|
-
// Delete the current contents.
|
1705
|
-
// TODO: Why is 2.x doing CheckIsEmpty()?
|
1706
|
-
this.deleteContents();
|
1707
|
-
|
1708
|
-
if ( startBlock && startBlock.equals( endBlock ) )
|
1709
|
-
{
|
1710
|
-
if ( isEndOfBlock )
|
1711
|
-
{
|
1712
|
-
elementPath = new CKEDITOR.dom.elementPath( this.startContainer );
|
1713
|
-
this.moveToPosition( endBlock, CKEDITOR.POSITION_AFTER_END );
|
1714
|
-
endBlock = null;
|
1715
|
-
}
|
1716
|
-
else if ( isStartOfBlock )
|
1717
|
-
{
|
1718
|
-
elementPath = new CKEDITOR.dom.elementPath( this.startContainer );
|
1719
|
-
this.moveToPosition( startBlock, CKEDITOR.POSITION_BEFORE_START );
|
1720
|
-
startBlock = null;
|
1721
|
-
}
|
1722
|
-
else
|
1723
|
-
{
|
1724
|
-
endBlock = this.splitElement( startBlock );
|
1725
|
-
|
1726
|
-
// In Gecko, the last child node must be a bogus <br>.
|
1727
|
-
// Note: bogus <br> added under <ul> or <ol> would cause
|
1728
|
-
// lists to be incorrectly rendered.
|
1729
|
-
if ( !CKEDITOR.env.ie && !startBlock.is( 'ul', 'ol') )
|
1730
|
-
startBlock.appendBogus() ;
|
1731
|
-
}
|
1732
|
-
}
|
1733
|
-
|
1734
|
-
return {
|
1735
|
-
previousBlock : startBlock,
|
1736
|
-
nextBlock : endBlock,
|
1737
|
-
wasStartOfBlock : isStartOfBlock,
|
1738
|
-
wasEndOfBlock : isEndOfBlock,
|
1739
|
-
elementPath : elementPath
|
1740
|
-
};
|
1741
|
-
},
|
1742
|
-
|
1743
|
-
/**
|
1744
|
-
* Branch the specified element from the collapsed range position and
|
1745
|
-
* place the caret between the two result branches.
|
1746
|
-
* Note: The range must be collapsed and been enclosed by this element.
|
1747
|
-
* @param {CKEDITOR.dom.element} element
|
1748
|
-
* @return {CKEDITOR.dom.element} Root element of the new branch after the split.
|
1749
|
-
*/
|
1750
|
-
splitElement : function( toSplit )
|
1751
|
-
{
|
1752
|
-
if ( !this.collapsed )
|
1753
|
-
return null;
|
1754
|
-
|
1755
|
-
// Extract the contents of the block from the selection point to the end
|
1756
|
-
// of its contents.
|
1757
|
-
this.setEndAt( toSplit, CKEDITOR.POSITION_BEFORE_END );
|
1758
|
-
var documentFragment = this.extractContents();
|
1759
|
-
|
1760
|
-
// Duplicate the element after it.
|
1761
|
-
var clone = toSplit.clone( false );
|
1762
|
-
|
1763
|
-
// Place the extracted contents into the duplicated element.
|
1764
|
-
documentFragment.appendTo( clone );
|
1765
|
-
clone.insertAfter( toSplit );
|
1766
|
-
this.moveToPosition( toSplit, CKEDITOR.POSITION_AFTER_END );
|
1767
|
-
return clone;
|
1768
|
-
},
|
1769
|
-
|
1770
|
-
/**
|
1771
|
-
* Check whether a range boundary is at the inner boundary of a given
|
1772
|
-
* element.
|
1773
|
-
* @param {CKEDITOR.dom.element} element The target element to check.
|
1774
|
-
* @param {Number} checkType The boundary to check for both the range
|
1775
|
-
* and the element. It can be CKEDITOR.START or CKEDITOR.END.
|
1776
|
-
* @returns {Boolean} "true" if the range boundary is at the inner
|
1777
|
-
* boundary of the element.
|
1778
|
-
*/
|
1779
|
-
checkBoundaryOfElement : function( element, checkType )
|
1780
|
-
{
|
1781
|
-
var checkStart = ( checkType == CKEDITOR.START );
|
1782
|
-
|
1783
|
-
// Create a copy of this range, so we can manipulate it for our checks.
|
1784
|
-
var walkerRange = this.clone();
|
1785
|
-
|
1786
|
-
// Collapse the range at the proper size.
|
1787
|
-
walkerRange.collapse( checkStart );
|
1788
|
-
|
1789
|
-
// Expand the range to element boundary.
|
1790
|
-
walkerRange[ checkStart ? 'setStartAt' : 'setEndAt' ]
|
1791
|
-
( element, checkStart ? CKEDITOR.POSITION_AFTER_START : CKEDITOR.POSITION_BEFORE_END );
|
1792
|
-
|
1793
|
-
// Create the walker, which will check if we have anything useful
|
1794
|
-
// in the range.
|
1795
|
-
var walker = new CKEDITOR.dom.walker( walkerRange );
|
1796
|
-
walker.evaluator = elementBoundaryEval;
|
1797
|
-
|
1798
|
-
return walker[ checkStart ? 'checkBackward' : 'checkForward' ]();
|
1799
|
-
},
|
1800
|
-
|
1801
|
-
// Calls to this function may produce changes to the DOM. The range may
|
1802
|
-
// be updated to reflect such changes.
|
1803
|
-
checkStartOfBlock : function()
|
1804
|
-
{
|
1805
|
-
var startContainer = this.startContainer,
|
1806
|
-
startOffset = this.startOffset;
|
1807
|
-
|
1808
|
-
// If the starting node is a text node, and non-empty before the offset,
|
1809
|
-
// then we're surely not at the start of block.
|
1810
|
-
if ( startOffset && startContainer.type == CKEDITOR.NODE_TEXT )
|
1811
|
-
{
|
1812
|
-
var textBefore = CKEDITOR.tools.ltrim( startContainer.substring( 0, startOffset ) );
|
1813
|
-
if ( textBefore.length )
|
1814
|
-
return false;
|
1815
|
-
}
|
1816
|
-
|
1817
|
-
// Antecipate the trim() call here, so the walker will not make
|
1818
|
-
// changes to the DOM, which would not get reflected into this
|
1819
|
-
// range otherwise.
|
1820
|
-
this.trim();
|
1821
|
-
|
1822
|
-
// We need to grab the block element holding the start boundary, so
|
1823
|
-
// let's use an element path for it.
|
1824
|
-
var path = new CKEDITOR.dom.elementPath( this.startContainer );
|
1825
|
-
|
1826
|
-
// Creates a range starting at the block start until the range start.
|
1827
|
-
var walkerRange = this.clone();
|
1828
|
-
walkerRange.collapse( true );
|
1829
|
-
walkerRange.setStartAt( path.block || path.blockLimit, CKEDITOR.POSITION_AFTER_START );
|
1830
|
-
|
1831
|
-
var walker = new CKEDITOR.dom.walker( walkerRange );
|
1832
|
-
walker.evaluator = getCheckStartEndBlockEvalFunction( true );
|
1833
|
-
|
1834
|
-
return walker.checkBackward();
|
1835
|
-
},
|
1836
|
-
|
1837
|
-
checkEndOfBlock : function()
|
1838
|
-
{
|
1839
|
-
var endContainer = this.endContainer,
|
1840
|
-
endOffset = this.endOffset;
|
1841
|
-
|
1842
|
-
// If the ending node is a text node, and non-empty after the offset,
|
1843
|
-
// then we're surely not at the end of block.
|
1844
|
-
if ( endContainer.type == CKEDITOR.NODE_TEXT )
|
1845
|
-
{
|
1846
|
-
var textAfter = CKEDITOR.tools.rtrim( endContainer.substring( endOffset ) );
|
1847
|
-
if ( textAfter.length )
|
1848
|
-
return false;
|
1849
|
-
}
|
1850
|
-
|
1851
|
-
// Antecipate the trim() call here, so the walker will not make
|
1852
|
-
// changes to the DOM, which would not get reflected into this
|
1853
|
-
// range otherwise.
|
1854
|
-
this.trim();
|
1855
|
-
|
1856
|
-
// We need to grab the block element holding the start boundary, so
|
1857
|
-
// let's use an element path for it.
|
1858
|
-
var path = new CKEDITOR.dom.elementPath( this.endContainer );
|
1859
|
-
|
1860
|
-
// Creates a range starting at the block start until the range start.
|
1861
|
-
var walkerRange = this.clone();
|
1862
|
-
walkerRange.collapse( false );
|
1863
|
-
walkerRange.setEndAt( path.block || path.blockLimit, CKEDITOR.POSITION_BEFORE_END );
|
1864
|
-
|
1865
|
-
var walker = new CKEDITOR.dom.walker( walkerRange );
|
1866
|
-
walker.evaluator = getCheckStartEndBlockEvalFunction( false );
|
1867
|
-
|
1868
|
-
return walker.checkForward();
|
1869
|
-
},
|
1870
|
-
|
1871
|
-
/**
|
1872
|
-
* Check if elements at which the range boundaries anchor are read-only,
|
1873
|
-
* with respect to "contenteditable" attribute.
|
1874
|
-
*/
|
1875
|
-
checkReadOnly : ( function()
|
1876
|
-
{
|
1877
|
-
function checkNodesEditable( node, anotherEnd )
|
1878
|
-
{
|
1879
|
-
while( node )
|
1880
|
-
{
|
1881
|
-
if ( node.type == CKEDITOR.NODE_ELEMENT )
|
1882
|
-
{
|
1883
|
-
if ( node.getAttribute( 'contentEditable' ) == 'false'
|
1884
|
-
&& !node.data( 'cke-editable' ) )
|
1885
|
-
{
|
1886
|
-
return 0;
|
1887
|
-
}
|
1888
|
-
// Range enclosed entirely in an editable element.
|
1889
|
-
else if ( node.is( 'html' )
|
1890
|
-
|| node.getAttribute( 'contentEditable' ) == 'true'
|
1891
|
-
&& ( node.contains( anotherEnd ) || node.equals( anotherEnd ) ) )
|
1892
|
-
{
|
1893
|
-
break;
|
1894
|
-
}
|
1895
|
-
}
|
1896
|
-
node = node.getParent();
|
1897
|
-
}
|
1898
|
-
|
1899
|
-
return 1;
|
1900
|
-
}
|
1901
|
-
|
1902
|
-
return function()
|
1903
|
-
{
|
1904
|
-
var startNode = this.startContainer,
|
1905
|
-
endNode = this.endContainer;
|
1906
|
-
|
1907
|
-
// Check if elements path at both boundaries are editable.
|
1908
|
-
return !( checkNodesEditable( startNode, endNode ) && checkNodesEditable( endNode, startNode ) );
|
1909
|
-
};
|
1910
|
-
})(),
|
1911
|
-
|
1912
|
-
/**
|
1913
|
-
* Moves the range boundaries to the first/end editing point inside an
|
1914
|
-
* element. For example, in an element tree like
|
1915
|
-
* "<p><b><i></i></b> Text</p>", the start editing point is
|
1916
|
-
* "<p><b><i>^</i></b> Text</p>" (inside <i>).
|
1917
|
-
* @param {CKEDITOR.dom.element} el The element into which look for the
|
1918
|
-
* editing spot.
|
1919
|
-
* @param {Boolean} isMoveToEnd Whether move to the end editable position.
|
1920
|
-
*/
|
1921
|
-
moveToElementEditablePosition : function( el, isMoveToEnd )
|
1922
|
-
{
|
1923
|
-
function nextDFS( node, childOnly )
|
1924
|
-
{
|
1925
|
-
var next;
|
1926
|
-
|
1927
|
-
if ( node.type == CKEDITOR.NODE_ELEMENT
|
1928
|
-
&& node.isEditable( false )
|
1929
|
-
&& !CKEDITOR.dtd.$nonEditable[ node.getName() ] )
|
1930
|
-
{
|
1931
|
-
next = node[ isMoveToEnd ? 'getLast' : 'getFirst' ]( nonWhitespaceOrBookmarkEval );
|
1932
|
-
}
|
1933
|
-
|
1934
|
-
if ( !childOnly && !next )
|
1935
|
-
next = node[ isMoveToEnd ? 'getPrevious' : 'getNext' ]( nonWhitespaceOrBookmarkEval );
|
1936
|
-
|
1937
|
-
return next;
|
1938
|
-
}
|
1939
|
-
|
1940
|
-
var found = 0;
|
1941
|
-
|
1942
|
-
while ( el )
|
1943
|
-
{
|
1944
|
-
// Stop immediately if we've found a text node.
|
1945
|
-
if ( el.type == CKEDITOR.NODE_TEXT )
|
1946
|
-
{
|
1947
|
-
this.moveToPosition( el, isMoveToEnd ?
|
1948
|
-
CKEDITOR.POSITION_AFTER_END :
|
1949
|
-
CKEDITOR.POSITION_BEFORE_START );
|
1950
|
-
found = 1;
|
1951
|
-
break;
|
1952
|
-
}
|
1953
|
-
|
1954
|
-
// If an editable element is found, move inside it, but not stop the searching.
|
1955
|
-
if ( el.type == CKEDITOR.NODE_ELEMENT )
|
1956
|
-
{
|
1957
|
-
if ( el.isEditable() )
|
1958
|
-
{
|
1959
|
-
this.moveToPosition( el, isMoveToEnd ?
|
1960
|
-
CKEDITOR.POSITION_BEFORE_END :
|
1961
|
-
CKEDITOR.POSITION_AFTER_START );
|
1962
|
-
found = 1;
|
1963
|
-
}
|
1964
|
-
}
|
1965
|
-
|
1966
|
-
el = nextDFS( el, found );
|
1967
|
-
}
|
1968
|
-
|
1969
|
-
return !!found;
|
1970
|
-
},
|
1971
|
-
|
1972
|
-
/**
|
1973
|
-
*@see {CKEDITOR.dom.range.moveToElementEditablePosition}
|
1974
|
-
*/
|
1975
|
-
moveToElementEditStart : function( target )
|
1976
|
-
{
|
1977
|
-
return this.moveToElementEditablePosition( target );
|
1978
|
-
},
|
1979
|
-
|
1980
|
-
/**
|
1981
|
-
*@see {CKEDITOR.dom.range.moveToElementEditablePosition}
|
1982
|
-
*/
|
1983
|
-
moveToElementEditEnd : function( target )
|
1984
|
-
{
|
1985
|
-
return this.moveToElementEditablePosition( target, true );
|
1986
|
-
},
|
1987
|
-
|
1988
|
-
/**
|
1989
|
-
* Get the single node enclosed within the range if there's one.
|
1990
|
-
*/
|
1991
|
-
getEnclosedNode : function()
|
1992
|
-
{
|
1993
|
-
var walkerRange = this.clone();
|
1994
|
-
|
1995
|
-
// Optimize and analyze the range to avoid DOM destructive nature of walker. (#5780)
|
1996
|
-
walkerRange.optimize();
|
1997
|
-
if ( walkerRange.startContainer.type != CKEDITOR.NODE_ELEMENT
|
1998
|
-
|| walkerRange.endContainer.type != CKEDITOR.NODE_ELEMENT )
|
1999
|
-
return null;
|
2000
|
-
|
2001
|
-
var walker = new CKEDITOR.dom.walker( walkerRange ),
|
2002
|
-
isNotBookmarks = CKEDITOR.dom.walker.bookmark( true ),
|
2003
|
-
isNotWhitespaces = CKEDITOR.dom.walker.whitespaces( true ),
|
2004
|
-
evaluator = function( node )
|
2005
|
-
{
|
2006
|
-
return isNotWhitespaces( node ) && isNotBookmarks( node );
|
2007
|
-
};
|
2008
|
-
walkerRange.evaluator = evaluator;
|
2009
|
-
var node = walker.next();
|
2010
|
-
walker.reset();
|
2011
|
-
return node && node.equals( walker.previous() ) ? node : null;
|
2012
|
-
},
|
2013
|
-
|
2014
|
-
getTouchedStartNode : function()
|
2015
|
-
{
|
2016
|
-
var container = this.startContainer ;
|
2017
|
-
|
2018
|
-
if ( this.collapsed || container.type != CKEDITOR.NODE_ELEMENT )
|
2019
|
-
return container ;
|
2020
|
-
|
2021
|
-
return container.getChild( this.startOffset ) || container ;
|
2022
|
-
},
|
2023
|
-
|
2024
|
-
getTouchedEndNode : function()
|
2025
|
-
{
|
2026
|
-
var container = this.endContainer ;
|
2027
|
-
|
2028
|
-
if ( this.collapsed || container.type != CKEDITOR.NODE_ELEMENT )
|
2029
|
-
return container ;
|
2030
|
-
|
2031
|
-
return container.getChild( this.endOffset - 1 ) || container ;
|
2032
|
-
}
|
2033
|
-
};
|
2034
|
-
})();
|
2035
|
-
|
2036
|
-
CKEDITOR.POSITION_AFTER_START = 1; // <element>^contents</element> "^text"
|
2037
|
-
CKEDITOR.POSITION_BEFORE_END = 2; // <element>contents^</element> "text^"
|
2038
|
-
CKEDITOR.POSITION_BEFORE_START = 3; // ^<element>contents</element> ^"text"
|
2039
|
-
CKEDITOR.POSITION_AFTER_END = 4; // <element>contents</element>^ "text"
|
2040
|
-
|
2041
|
-
CKEDITOR.ENLARGE_ELEMENT = 1;
|
2042
|
-
CKEDITOR.ENLARGE_BLOCK_CONTENTS = 2;
|
2043
|
-
CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS = 3;
|
2044
|
-
|
2045
|
-
// Check boundary types.
|
2046
|
-
// @see CKEDITOR.dom.range.prototype.checkBoundaryOfElement
|
2047
|
-
CKEDITOR.START = 1;
|
2048
|
-
CKEDITOR.END = 2;
|
2049
|
-
CKEDITOR.STARTEND = 3;
|
2050
|
-
|
2051
|
-
// Shrink range types.
|
2052
|
-
// @see CKEDITOR.dom.range.prototype.shrink
|
2053
|
-
CKEDITOR.SHRINK_ELEMENT = 1;
|
2054
|
-
CKEDITOR.SHRINK_TEXT = 2;
|