ckeditor 4.2.3 → 4.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/app/assets/javascripts/ckeditor/config.js +1 -1
  4. data/app/assets/stylesheets/ckeditor/filebrowser/uploader.scss +42 -2
  5. data/app/controllers/ckeditor/attachment_files_controller.rb +1 -1
  6. data/app/controllers/ckeditor/pictures_controller.rb +1 -1
  7. data/app/helpers/ckeditor/application_helper.rb +1 -10
  8. data/app/views/ckeditor/attachment_files/index.html.erb +1 -1
  9. data/app/views/ckeditor/pictures/index.html.erb +1 -1
  10. data/app/views/layouts/ckeditor/application.html.erb +1 -1
  11. data/lib/ckeditor.rb +15 -9
  12. data/lib/ckeditor/asset_response.rb +2 -1
  13. data/lib/ckeditor/backend/dragonfly.rb +2 -2
  14. data/lib/ckeditor/backend/paperclip.rb +2 -9
  15. data/lib/ckeditor/backend/refile.rb +1 -1
  16. data/lib/ckeditor/helpers/controllers.rb +1 -1
  17. data/lib/ckeditor/orm/base.rb +1 -1
  18. data/lib/ckeditor/utils.rb +13 -11
  19. data/lib/ckeditor/version.rb +2 -2
  20. data/lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb +1 -1
  21. data/test/dummy/public/ckeditor_assets/attachments/1/rails.tar.gz +0 -0
  22. data/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png +0 -0
  23. data/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png +0 -0
  24. data/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png +0 -0
  25. data/test/dummy/public/uploads/ckeditor/attachments/1/rails.tar.gz +0 -0
  26. data/test/dummy/public/uploads/ckeditor/pictures/1/content_rails.png +0 -0
  27. data/test/dummy/public/uploads/ckeditor/pictures/1/rails.png +0 -0
  28. data/test/dummy/public/uploads/ckeditor/pictures/1/thumb_rails.png +0 -0
  29. data/test/models/attachment_file_test.rb +2 -7
  30. data/test/tmp/app/models/ckeditor/asset.rb +5 -0
  31. data/test/tmp/app/models/ckeditor/attachment_file.rb +13 -0
  32. data/test/tmp/app/models/ckeditor/picture.rb +14 -0
  33. data/test/tmp/config/initializers/ckeditor.rb +58 -0
  34. data/test/tmp/config/routes.rb +5 -0
  35. data/vendor/assets/javascripts/ckeditor/CHANGES.md +86 -1
  36. data/vendor/assets/javascripts/ckeditor/ckeditor.js +619 -570
  37. data/vendor/assets/javascripts/ckeditor/lang/af.js +1 -1
  38. data/vendor/assets/javascripts/ckeditor/lang/ar.js +1 -1
  39. data/vendor/assets/javascripts/ckeditor/lang/az.js +1 -1
  40. data/vendor/assets/javascripts/ckeditor/lang/bg.js +1 -1
  41. data/vendor/assets/javascripts/ckeditor/lang/bn.js +1 -1
  42. data/vendor/assets/javascripts/ckeditor/lang/bs.js +1 -1
  43. data/vendor/assets/javascripts/ckeditor/lang/ca.js +1 -1
  44. data/vendor/assets/javascripts/ckeditor/lang/cs.js +1 -1
  45. data/vendor/assets/javascripts/ckeditor/lang/cy.js +1 -1
  46. data/vendor/assets/javascripts/ckeditor/lang/da.js +1 -1
  47. data/vendor/assets/javascripts/ckeditor/lang/de-ch.js +1 -1
  48. data/vendor/assets/javascripts/ckeditor/lang/de.js +1 -1
  49. data/vendor/assets/javascripts/ckeditor/lang/el.js +1 -1
  50. data/vendor/assets/javascripts/ckeditor/lang/en-au.js +1 -1
  51. data/vendor/assets/javascripts/ckeditor/lang/en-ca.js +1 -1
  52. data/vendor/assets/javascripts/ckeditor/lang/en-gb.js +1 -1
  53. data/vendor/assets/javascripts/ckeditor/lang/en.js +1 -1
  54. data/vendor/assets/javascripts/ckeditor/lang/eo.js +1 -1
  55. data/vendor/assets/javascripts/ckeditor/lang/es-mx.js +5 -0
  56. data/vendor/assets/javascripts/ckeditor/lang/es.js +1 -1
  57. data/vendor/assets/javascripts/ckeditor/lang/et.js +1 -1
  58. data/vendor/assets/javascripts/ckeditor/lang/eu.js +1 -1
  59. data/vendor/assets/javascripts/ckeditor/lang/fa.js +1 -1
  60. data/vendor/assets/javascripts/ckeditor/lang/fi.js +1 -1
  61. data/vendor/assets/javascripts/ckeditor/lang/fo.js +1 -1
  62. data/vendor/assets/javascripts/ckeditor/lang/fr-ca.js +1 -1
  63. data/vendor/assets/javascripts/ckeditor/lang/fr.js +1 -1
  64. data/vendor/assets/javascripts/ckeditor/lang/gl.js +1 -1
  65. data/vendor/assets/javascripts/ckeditor/lang/gu.js +1 -1
  66. data/vendor/assets/javascripts/ckeditor/lang/he.js +1 -1
  67. data/vendor/assets/javascripts/ckeditor/lang/hi.js +1 -1
  68. data/vendor/assets/javascripts/ckeditor/lang/hr.js +1 -1
  69. data/vendor/assets/javascripts/ckeditor/lang/hu.js +1 -1
  70. data/vendor/assets/javascripts/ckeditor/lang/id.js +1 -1
  71. data/vendor/assets/javascripts/ckeditor/lang/is.js +1 -1
  72. data/vendor/assets/javascripts/ckeditor/lang/it.js +1 -1
  73. data/vendor/assets/javascripts/ckeditor/lang/ja.js +1 -1
  74. data/vendor/assets/javascripts/ckeditor/lang/ka.js +1 -1
  75. data/vendor/assets/javascripts/ckeditor/lang/km.js +1 -1
  76. data/vendor/assets/javascripts/ckeditor/lang/ko.js +1 -1
  77. data/vendor/assets/javascripts/ckeditor/lang/ku.js +1 -1
  78. data/vendor/assets/javascripts/ckeditor/lang/lt.js +1 -1
  79. data/vendor/assets/javascripts/ckeditor/lang/lv.js +1 -1
  80. data/vendor/assets/javascripts/ckeditor/lang/mk.js +1 -1
  81. data/vendor/assets/javascripts/ckeditor/lang/mn.js +1 -1
  82. data/vendor/assets/javascripts/ckeditor/lang/ms.js +1 -1
  83. data/vendor/assets/javascripts/ckeditor/lang/nb.js +1 -1
  84. data/vendor/assets/javascripts/ckeditor/lang/nl.js +1 -1
  85. data/vendor/assets/javascripts/ckeditor/lang/no.js +1 -1
  86. data/vendor/assets/javascripts/ckeditor/lang/oc.js +1 -1
  87. data/vendor/assets/javascripts/ckeditor/lang/pl.js +1 -1
  88. data/vendor/assets/javascripts/ckeditor/lang/pt-br.js +1 -1
  89. data/vendor/assets/javascripts/ckeditor/lang/pt.js +1 -1
  90. data/vendor/assets/javascripts/ckeditor/lang/ro.js +1 -1
  91. data/vendor/assets/javascripts/ckeditor/lang/ru.js +1 -1
  92. data/vendor/assets/javascripts/ckeditor/lang/si.js +1 -1
  93. data/vendor/assets/javascripts/ckeditor/lang/sk.js +1 -1
  94. data/vendor/assets/javascripts/ckeditor/lang/sl.js +1 -1
  95. data/vendor/assets/javascripts/ckeditor/lang/sq.js +1 -1
  96. data/vendor/assets/javascripts/ckeditor/lang/sr-latn.js +1 -1
  97. data/vendor/assets/javascripts/ckeditor/lang/sr.js +1 -1
  98. data/vendor/assets/javascripts/ckeditor/lang/sv.js +1 -1
  99. data/vendor/assets/javascripts/ckeditor/lang/th.js +1 -1
  100. data/vendor/assets/javascripts/ckeditor/lang/tr.js +1 -1
  101. data/vendor/assets/javascripts/ckeditor/lang/tt.js +1 -1
  102. data/vendor/assets/javascripts/ckeditor/lang/ug.js +1 -1
  103. data/vendor/assets/javascripts/ckeditor/lang/uk.js +1 -1
  104. data/vendor/assets/javascripts/ckeditor/lang/vi.js +1 -1
  105. data/vendor/assets/javascripts/ckeditor/lang/zh-cn.js +1 -1
  106. data/vendor/assets/javascripts/ckeditor/lang/zh.js +1 -1
  107. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +5 -5
  108. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +3 -3
  109. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +3 -2
  110. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +3 -3
  111. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +3 -2
  112. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +4 -3
  113. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +4 -4
  114. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +3 -3
  115. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +3 -3
  116. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +4 -3
  117. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +4 -3
  118. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +4 -3
  119. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +3 -2
  120. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +3 -2
  121. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +3 -3
  122. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +13 -0
  123. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +4 -4
  124. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +3 -2
  125. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +3 -3
  126. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +3 -3
  127. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +3 -3
  128. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +3 -2
  129. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +3 -3
  130. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +3 -3
  131. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +7 -6
  132. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +3 -2
  133. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +3 -2
  134. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +3 -2
  135. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +5 -5
  136. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +5 -4
  137. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +3 -3
  138. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +4 -4
  139. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +3 -3
  140. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +3 -2
  141. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +3 -3
  142. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +3 -3
  143. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +3 -2
  144. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +3 -2
  145. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +3 -3
  146. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +3 -2
  147. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +4 -3
  148. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +3 -3
  149. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +3 -3
  150. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +3 -3
  151. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +5 -5
  152. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +4 -3
  153. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +4 -4
  154. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +3 -3
  155. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +3 -3
  156. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +3 -3
  157. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +3 -3
  158. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +3 -3
  159. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +3 -3
  160. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +3 -2
  161. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +3 -2
  162. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +3 -3
  163. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +3 -2
  164. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +3 -3
  165. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +3 -3
  166. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +4 -3
  167. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +3 -3
  168. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +3 -3
  169. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +3 -3
  170. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +3 -3
  171. data/vendor/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +2 -2
  172. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +2 -2
  173. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +2 -2
  174. data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +4 -3
  175. data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +23 -23
  176. data/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +48 -39
  177. data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/dialog.css +23 -0
  178. data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +32 -19
  179. data/vendor/assets/javascripts/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +6 -1
  180. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +1 -1
  181. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/da.js +1 -1
  182. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +13 -0
  183. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +13 -0
  184. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +1 -1
  185. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +13 -0
  186. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +9 -9
  187. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ko.js +6 -6
  188. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +1 -1
  189. data/vendor/assets/javascripts/ckeditor/plugins/tableselection/styles/tableselection.css +32 -0
  190. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +80 -80
  191. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor.css +1 -1
  192. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor_gecko.css +1 -1
  193. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie.css +1 -1
  194. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie8.css +1 -1
  195. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor_iequirks.css +1 -1
  196. data/vendor/assets/javascripts/ckeditor/styles.js +1 -1
  197. metadata +36 -4
  198. data/vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -12
@@ -126,7 +126,7 @@ CKEDITOR.stylesSet.add( 'default', [
126
126
  { name: '1080p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-1080p' }, group: 'size' },
127
127
 
128
128
  // Adding space after the style name is an intended workaround. For now, there
129
- // is no option to create two styles with the same name for different widget types. See #16664.
129
+ // is no option to create two styles with the same name for different widget types. See http://dev.ckeditor.com/ticket/16664.
130
130
  { name: '240p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-240p' }, group: 'size' },
131
131
  { name: '360p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-360p' }, group: 'size' },
132
132
  { name: '480p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-480p' }, group: 'size' },
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ckeditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.3
4
+ version: 4.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Galeta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-02 00:00:00.000000000 Z
11
+ date: 2017-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocaine
@@ -216,7 +216,15 @@ files:
216
216
  - test/dummy/public/404.html
217
217
  - test/dummy/public/422.html
218
218
  - test/dummy/public/500.html
219
+ - test/dummy/public/ckeditor_assets/attachments/1/rails.tar.gz
220
+ - test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
221
+ - test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
222
+ - test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
219
223
  - test/dummy/public/favicon.ico
224
+ - test/dummy/public/uploads/ckeditor/attachments/1/rails.tar.gz
225
+ - test/dummy/public/uploads/ckeditor/pictures/1/content_rails.png
226
+ - test/dummy/public/uploads/ckeditor/pictures/1/rails.png
227
+ - test/dummy/public/uploads/ckeditor/pictures/1/thumb_rails.png
220
228
  - test/dummy/script/rails
221
229
  - test/dummy/test/fixtures/files/rails.png
222
230
  - test/dummy/test/fixtures/files/rails.tar.gz
@@ -234,6 +242,11 @@ files:
234
242
  - test/support/raw_post.rb
235
243
  - test/support/routes.txt
236
244
  - test/test_helper.rb
245
+ - test/tmp/app/models/ckeditor/asset.rb
246
+ - test/tmp/app/models/ckeditor/attachment_file.rb
247
+ - test/tmp/app/models/ckeditor/picture.rb
248
+ - test/tmp/config/initializers/ckeditor.rb
249
+ - test/tmp/config/routes.rb
237
250
  - vendor/assets/javascripts/ckeditor/CHANGES.md
238
251
  - vendor/assets/javascripts/ckeditor/LICENSE.md
239
252
  - vendor/assets/javascripts/ckeditor/README.md
@@ -259,6 +272,7 @@ files:
259
272
  - vendor/assets/javascripts/ckeditor/lang/en-gb.js
260
273
  - vendor/assets/javascripts/ckeditor/lang/en.js
261
274
  - vendor/assets/javascripts/ckeditor/lang/eo.js
275
+ - vendor/assets/javascripts/ckeditor/lang/es-mx.js
262
276
  - vendor/assets/javascripts/ckeditor/lang/es.js
263
277
  - vendor/assets/javascripts/ckeditor/lang/et.js
264
278
  - vendor/assets/javascripts/ckeditor/lang/eu.js
@@ -326,6 +340,7 @@ files:
326
340
  - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js
327
341
  - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js
328
342
  - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js
343
+ - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js
329
344
  - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js
330
345
  - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js
331
346
  - vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js
@@ -377,7 +392,6 @@ files:
377
392
  - vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js
378
393
  - vendor/assets/javascripts/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png
379
394
  - vendor/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png
380
- - vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js
381
395
  - vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.css
382
396
  - vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js
383
397
  - vendor/assets/javascripts/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg
@@ -418,6 +432,7 @@ files:
418
432
  - vendor/assets/javascripts/ckeditor/plugins/scayt/CHANGELOG.md
419
433
  - vendor/assets/javascripts/ckeditor/plugins/scayt/LICENSE.md
420
434
  - vendor/assets/javascripts/ckeditor/plugins/scayt/README.md
435
+ - vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/dialog.css
421
436
  - vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js
422
437
  - vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css
423
438
  - vendor/assets/javascripts/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css
@@ -489,9 +504,12 @@ files:
489
504
  - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js
490
505
  - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js
491
506
  - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js
507
+ - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-au.js
508
+ - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js
492
509
  - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js
493
510
  - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js
494
511
  - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js
512
+ - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js
495
513
  - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js
496
514
  - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js
497
515
  - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eu.js
@@ -534,6 +552,7 @@ files:
534
552
  - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js
535
553
  - vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js
536
554
  - vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js
555
+ - vendor/assets/javascripts/ckeditor/plugins/tableselection/styles/tableselection.css
537
556
  - vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js
538
557
  - vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css
539
558
  - vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js
@@ -592,7 +611,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
592
611
  version: '0'
593
612
  requirements: []
594
613
  rubyforge_project: ckeditor
595
- rubygems_version: 2.5.1
614
+ rubygems_version: 2.6.12
596
615
  signing_key:
597
616
  specification_version: 4
598
617
  summary: Rails gem for easy integration ckeditor in your application
@@ -638,7 +657,15 @@ test_files:
638
657
  - test/dummy/public/404.html
639
658
  - test/dummy/public/422.html
640
659
  - test/dummy/public/500.html
660
+ - test/dummy/public/ckeditor_assets/attachments/1/rails.tar.gz
661
+ - test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
662
+ - test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
663
+ - test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
641
664
  - test/dummy/public/favicon.ico
665
+ - test/dummy/public/uploads/ckeditor/attachments/1/rails.tar.gz
666
+ - test/dummy/public/uploads/ckeditor/pictures/1/content_rails.png
667
+ - test/dummy/public/uploads/ckeditor/pictures/1/rails.png
668
+ - test/dummy/public/uploads/ckeditor/pictures/1/thumb_rails.png
642
669
  - test/dummy/Rakefile
643
670
  - test/dummy/script/rails
644
671
  - test/dummy/test/fixtures/files/rails.png
@@ -657,3 +684,8 @@ test_files:
657
684
  - test/support/raw_post.rb
658
685
  - test/support/routes.txt
659
686
  - test/test_helper.rb
687
+ - test/tmp/app/models/ckeditor/asset.rb
688
+ - test/tmp/app/models/ckeditor/attachment_file.rb
689
+ - test/tmp/app/models/ckeditor/picture.rb
690
+ - test/tmp/config/initializers/ckeditor.rb
691
+ - test/tmp/config/routes.rb
@@ -1,12 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.md or http://ckeditor.com/license
4
- */
5
- CKEDITOR.dialog.add("paste",function(c){function k(a){var b=new CKEDITOR.dom.document(a.document),g=b.getBody(),d=b.getById("cke_actscrpt");d&&d.remove();g.setAttribute("contenteditable",!0);g.on(e.mainPasteEvent,function(a){a=e.initPasteDataTransfer(a);f?a!=f&&(f=e.initPasteDataTransfer()):f=a});if(CKEDITOR.env.ie&&8>CKEDITOR.env.version)b.getWindow().on("blur",function(){b.$.selection.empty()});b.on("keydown",function(a){a=a.data;var b;switch(a.getKeystroke()){case 27:this.hide();b=1;break;case 9:case CKEDITOR.SHIFT+
6
- 9:this.changeFocus(1),b=1}b&&a.preventDefault()},this);c.fire("ariaWidget",new CKEDITOR.dom.element(a.frameElement));b.getWindow().getFrame().removeCustomData("pendingFocus")&&g.focus()}var h=c.lang.clipboard,e=CKEDITOR.plugins.clipboard,f;c.on("pasteDialogCommit",function(a){a.data&&c.fire("paste",{type:"auto",dataValue:a.data.dataValue,method:"paste",dataTransfer:a.data.dataTransfer||e.initPasteDataTransfer()})},null,null,1E3);return{title:h.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?370:
7
- 350,minHeight:CKEDITOR.env.quirks?250:245,onShow:function(){this.parts.dialog.$.offsetHeight;this.setupContent();this.parts.title.setHtml(this.customTitle||h.title);this.customTitle=null},onLoad:function(){(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&&"rtl"==c.lang.dir&&this.parts.contents.setStyle("overflow","hidden")},onOk:function(){this.commitContent()},contents:[{id:"general",label:c.lang.common.generalTab,elements:[{type:"html",id:"securityMsg",html:'\x3cdiv style\x3d"white-space:normal;width:340px"\x3e'+
8
- h.securityMsg+"\x3c/div\x3e"},{type:"html",id:"pasteMsg",html:'\x3cdiv style\x3d"white-space:normal;width:340px"\x3e'+h.pasteMsg+"\x3c/div\x3e"},{type:"html",id:"editing_area",style:"width:100%;height:100%",html:"",focus:function(){var a=this.getInputElement(),b=a.getFrameDocument().getBody();!b||b.isReadOnly()?a.setCustomData("pendingFocus",1):b.focus()},setup:function(){var a=this.getDialog(),b='\x3chtml dir\x3d"'+c.config.contentsLangDirection+'" lang\x3d"'+(c.config.contentsLanguage||c.langCode)+
9
- '"\x3e\x3chead\x3e\x3cstyle\x3ebody{margin:3px;height:95%;word-break:break-all;}\x3c/style\x3e\x3c/head\x3e\x3cbody\x3e\x3cscript id\x3d"cke_actscrpt" type\x3d"text/javascript"\x3ewindow.parent.CKEDITOR.tools.callFunction('+CKEDITOR.tools.addFunction(k,a)+",this);\x3c/script\x3e\x3c/body\x3e\x3c/html\x3e",g=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie&&!CKEDITOR.env.edge?"javascript:void((function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+
10
- '})())"':"",d=CKEDITOR.dom.element.createFromHtml('\x3ciframe class\x3d"cke_pasteframe" frameborder\x3d"0" allowTransparency\x3d"true" src\x3d"'+g+'" aria-label\x3d"'+h.pasteArea+'" aria-describedby\x3d"'+a.getContentElement("general","pasteMsg").domId+'"\x3e\x3c/iframe\x3e');f=null;d.on("load",function(a){a.removeListener();a=d.getFrameDocument();a.write(b);c.focusManager.add(a.getBody());CKEDITOR.env.air&&k.call(this,a.getWindow().$)},a);d.setCustomData("dialog",a);a=this.getElement();a.setHtml("");
11
- a.append(d);if(CKEDITOR.env.ie&&!CKEDITOR.env.edge){var e=CKEDITOR.dom.element.createFromHtml('\x3cspan tabindex\x3d"-1" style\x3d"position:absolute" role\x3d"presentation"\x3e\x3c/span\x3e');e.on("focus",function(){setTimeout(function(){d.$.contentWindow.focus()})});a.append(e);this.focus=function(){e.focus();this.fire("focus")}}this.getInputElement=function(){return d};CKEDITOR.env.ie&&(a.setStyle("display","block"),a.setStyle("height",d.$.offsetHeight+2+"px"))},commit:function(){var a=this.getDialog().getParentEditor(),
12
- b=this.getInputElement().getFrameDocument().getBody(),c=b.getBogus(),d;c&&c.remove();d=b.getHtml();setTimeout(function(){a.fire("pasteDialogCommit",{dataValue:d,dataTransfer:f||e.initPasteDataTransfer()})},0)}}]}]}});