drg_default_html_editor 0.5.50.3 → 0.7.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (543) hide show
  1. checksums.yaml +5 -5
  2. data/app/assets/images/arrow.png +0 -0
  3. data/app/assets/images/close.png +0 -0
  4. data/app/assets/images/lock-open.png +0 -0
  5. data/app/assets/images/lock.png +0 -0
  6. data/app/assets/images/refresh.png +0 -0
  7. data/app/assets/images/spinner.gif +0 -0
  8. data/app/assets/javascripts/ckeditor/CHANGES.md +2040 -415
  9. data/app/assets/javascripts/ckeditor/LICENSE.md +180 -8
  10. data/app/assets/javascripts/ckeditor/README.md +5 -5
  11. data/app/assets/javascripts/ckeditor/SECURITY.md +10 -0
  12. data/app/assets/javascripts/ckeditor/adapters/jquery.js +8 -8
  13. data/app/assets/javascripts/ckeditor/bender-runner.config.json +16 -0
  14. data/app/assets/javascripts/ckeditor/build-config.js +68 -47
  15. data/app/assets/javascripts/ckeditor/ckeditor.js +1420 -974
  16. data/app/assets/javascripts/ckeditor/config.js +7 -2
  17. data/app/assets/javascripts/ckeditor/contents.css +83 -9
  18. data/app/assets/javascripts/ckeditor/lang/af.js +4 -4
  19. data/app/assets/javascripts/ckeditor/lang/ar.js +4 -4
  20. data/app/assets/javascripts/ckeditor/lang/az.js +5 -0
  21. data/app/assets/javascripts/ckeditor/lang/bg.js +4 -4
  22. data/app/assets/javascripts/ckeditor/lang/bn.js +4 -4
  23. data/app/assets/javascripts/ckeditor/lang/bs.js +4 -4
  24. data/app/assets/javascripts/ckeditor/lang/ca.js +4 -4
  25. data/app/assets/javascripts/ckeditor/lang/cs.js +4 -4
  26. data/app/assets/javascripts/ckeditor/lang/cy.js +4 -4
  27. data/app/assets/javascripts/ckeditor/lang/da.js +4 -4
  28. data/app/assets/javascripts/ckeditor/lang/de-ch.js +5 -0
  29. data/app/assets/javascripts/ckeditor/lang/de.js +4 -4
  30. data/app/assets/javascripts/ckeditor/lang/el.js +4 -4
  31. data/app/assets/javascripts/ckeditor/lang/en-au.js +4 -4
  32. data/app/assets/javascripts/ckeditor/lang/en-ca.js +4 -4
  33. data/app/assets/javascripts/ckeditor/lang/en-gb.js +4 -4
  34. data/app/assets/javascripts/ckeditor/lang/en.js +4 -4
  35. data/app/assets/javascripts/ckeditor/lang/eo.js +4 -4
  36. data/app/assets/javascripts/ckeditor/lang/es-mx.js +5 -0
  37. data/app/assets/javascripts/ckeditor/lang/es.js +4 -4
  38. data/app/assets/javascripts/ckeditor/lang/et.js +4 -4
  39. data/app/assets/javascripts/ckeditor/lang/eu.js +4 -4
  40. data/app/assets/javascripts/ckeditor/lang/fa.js +4 -4
  41. data/app/assets/javascripts/ckeditor/lang/fi.js +4 -4
  42. data/app/assets/javascripts/ckeditor/lang/fo.js +4 -4
  43. data/app/assets/javascripts/ckeditor/lang/fr-ca.js +4 -4
  44. data/app/assets/javascripts/ckeditor/lang/fr.js +4 -4
  45. data/app/assets/javascripts/ckeditor/lang/gl.js +4 -4
  46. data/app/assets/javascripts/ckeditor/lang/gu.js +4 -4
  47. data/app/assets/javascripts/ckeditor/lang/he.js +4 -4
  48. data/app/assets/javascripts/ckeditor/lang/hi.js +4 -4
  49. data/app/assets/javascripts/ckeditor/lang/hr.js +4 -4
  50. data/app/assets/javascripts/ckeditor/lang/hu.js +4 -4
  51. data/app/assets/javascripts/ckeditor/lang/id.js +4 -4
  52. data/app/assets/javascripts/ckeditor/lang/is.js +4 -4
  53. data/app/assets/javascripts/ckeditor/lang/it.js +4 -4
  54. data/app/assets/javascripts/ckeditor/lang/ja.js +4 -4
  55. data/app/assets/javascripts/ckeditor/lang/ka.js +4 -4
  56. data/app/assets/javascripts/ckeditor/lang/km.js +4 -4
  57. data/app/assets/javascripts/ckeditor/lang/ko.js +4 -4
  58. data/app/assets/javascripts/ckeditor/lang/ku.js +4 -4
  59. data/app/assets/javascripts/ckeditor/lang/lt.js +4 -4
  60. data/app/assets/javascripts/ckeditor/lang/lv.js +4 -4
  61. data/app/assets/javascripts/ckeditor/lang/mk.js +4 -4
  62. data/app/assets/javascripts/ckeditor/lang/mn.js +4 -4
  63. data/app/assets/javascripts/ckeditor/lang/ms.js +4 -4
  64. data/app/assets/javascripts/ckeditor/lang/nb.js +4 -4
  65. data/app/assets/javascripts/ckeditor/lang/nl.js +4 -4
  66. data/app/assets/javascripts/ckeditor/lang/no.js +4 -4
  67. data/app/assets/javascripts/ckeditor/lang/oc.js +5 -0
  68. data/app/assets/javascripts/ckeditor/lang/pl.js +4 -4
  69. data/app/assets/javascripts/ckeditor/lang/pt-br.js +4 -4
  70. data/app/assets/javascripts/ckeditor/lang/pt.js +4 -4
  71. data/app/assets/javascripts/ckeditor/lang/ro.js +4 -4
  72. data/app/assets/javascripts/ckeditor/lang/ru.js +4 -4
  73. data/app/assets/javascripts/ckeditor/lang/si.js +4 -4
  74. data/app/assets/javascripts/ckeditor/lang/sk.js +4 -4
  75. data/app/assets/javascripts/ckeditor/lang/sl.js +4 -4
  76. data/app/assets/javascripts/ckeditor/lang/sq.js +4 -4
  77. data/app/assets/javascripts/ckeditor/lang/sr-latn.js +4 -4
  78. data/app/assets/javascripts/ckeditor/lang/sr.js +4 -4
  79. data/app/assets/javascripts/ckeditor/lang/sv.js +4 -4
  80. data/app/assets/javascripts/ckeditor/lang/th.js +4 -4
  81. data/app/assets/javascripts/ckeditor/lang/tr.js +4 -4
  82. data/app/assets/javascripts/ckeditor/lang/tt.js +4 -4
  83. data/app/assets/javascripts/ckeditor/lang/ug.js +4 -4
  84. data/app/assets/javascripts/ckeditor/lang/uk.js +4 -4
  85. data/app/assets/javascripts/ckeditor/lang/vi.js +4 -4
  86. data/app/assets/javascripts/ckeditor/lang/zh-cn.js +4 -4
  87. data/app/assets/javascripts/ckeditor/lang/zh.js +4 -4
  88. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -7
  89. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +2 -2
  90. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +11 -0
  91. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +10 -9
  92. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +11 -0
  93. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +8 -7
  94. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +10 -10
  95. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -11
  96. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +7 -7
  97. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -9
  98. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +13 -0
  99. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +11 -10
  100. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +7 -7
  101. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +11 -0
  102. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +7 -6
  103. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +7 -6
  104. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +7 -7
  105. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +13 -0
  106. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +9 -8
  107. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +9 -9
  108. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +12 -0
  109. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +7 -7
  110. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +8 -8
  111. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +12 -0
  112. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +8 -8
  113. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +11 -11
  114. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +8 -8
  115. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +7 -6
  116. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +7 -7
  117. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +7 -6
  118. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -9
  119. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +6 -7
  120. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +9 -9
  121. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +7 -7
  122. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +5 -5
  123. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +7 -6
  124. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +8 -8
  125. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +8 -9
  126. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +7 -6
  127. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +7 -7
  128. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +10 -9
  129. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +7 -6
  130. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -9
  131. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +6 -6
  132. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +10 -9
  133. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +12 -0
  134. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +10 -10
  135. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -8
  136. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +10 -10
  137. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +10 -10
  138. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +7 -7
  139. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +8 -8
  140. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +8 -9
  141. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +9 -9
  142. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +10 -9
  143. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +10 -9
  144. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +10 -9
  145. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +9 -10
  146. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +7 -6
  147. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +8 -8
  148. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +10 -9
  149. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +8 -7
  150. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +8 -8
  151. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +7 -7
  152. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -7
  153. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +7 -8
  154. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -5
  155. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  156. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  157. data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +9 -9
  158. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.css +20 -0
  159. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +12 -11
  160. data/app/assets/javascripts/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg +25 -0
  161. data/app/assets/javascripts/ckeditor/plugins/copyformatting/cursors/cursor.svg +14 -0
  162. data/app/assets/javascripts/ckeditor/plugins/copyformatting/styles/copyformatting.css +45 -0
  163. data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +2 -2
  164. data/app/assets/javascripts/ckeditor/plugins/dialog/styles/dialog.css +18 -0
  165. data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -8
  166. data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +24 -22
  167. data/app/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  168. data/app/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
  169. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image-org.js +44 -0
  170. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +1286 -43
  171. data/app/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
  172. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -5
  173. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +28 -24
  174. data/app/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
  175. data/app/assets/javascripts/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  176. data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +8 -8
  177. data/app/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
  178. data/app/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  179. data/app/assets/javascripts/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
  180. data/app/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
  181. data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  182. data/app/assets/javascripts/ckeditor/plugins/pastefromgdocs/filter/default.js +8 -0
  183. data/app/assets/javascripts/ckeditor/plugins/pastefromlibreoffice/filter/default.js +11 -0
  184. data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +40 -29
  185. data/app/assets/javascripts/ckeditor/plugins/pastetools/filter/common.js +24 -0
  186. data/app/assets/javascripts/ckeditor/plugins/pastetools/filter/image.js +12 -0
  187. data/app/assets/javascripts/ckeditor/plugins/preview/images/pagebreak.gif +0 -0
  188. data/app/assets/javascripts/ckeditor/plugins/preview/styles/screen.css +10 -0
  189. data/app/assets/javascripts/ckeditor/plugins/scayt/CHANGELOG.md +4 -0
  190. data/app/assets/javascripts/ckeditor/plugins/scayt/README.md +63 -7
  191. data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/dialog.css +23 -0
  192. data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +32 -17
  193. data/app/assets/javascripts/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +25 -0
  194. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  195. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  196. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  197. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  198. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  199. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  200. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  201. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  202. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  203. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  204. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  205. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +2 -2
  206. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/af.js +13 -0
  207. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +3 -3
  208. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/az.js +10 -0
  209. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +4 -4
  210. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +2 -2
  211. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +3 -3
  212. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +2 -2
  213. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/da.js +11 -0
  214. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +13 -0
  215. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +11 -11
  216. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +5 -5
  217. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +13 -0
  218. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +13 -0
  219. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +3 -3
  220. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +3 -3
  221. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +2 -2
  222. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +13 -0
  223. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +2 -2
  224. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +9 -11
  225. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eu.js +13 -0
  226. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +2 -2
  227. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +3 -3
  228. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +2 -2
  229. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +10 -9
  230. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +2 -2
  231. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +2 -2
  232. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +11 -11
  233. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +2 -2
  234. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +11 -11
  235. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +3 -3
  236. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +2 -2
  237. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +3 -3
  238. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ko.js +10 -0
  239. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +2 -2
  240. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lt.js +13 -0
  241. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +2 -2
  242. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +2 -2
  243. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +2 -2
  244. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +2 -2
  245. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/oc.js +12 -0
  246. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +3 -3
  247. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +2 -2
  248. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +11 -11
  249. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ro.js +13 -0
  250. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +2 -2
  251. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +3 -3
  252. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +2 -2
  253. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +10 -10
  254. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +5 -5
  255. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js +13 -0
  256. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sr.js +13 -0
  257. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +2 -2
  258. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +3 -3
  259. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +2 -2
  260. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tt.js +6 -6
  261. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +3 -3
  262. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +2 -2
  263. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +2 -2
  264. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +3 -3
  265. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js +7 -10
  266. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +12 -12
  267. data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +20 -19
  268. data/app/assets/javascripts/ckeditor/plugins/tableselection/styles/tableselection.css +36 -0
  269. data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +16 -15
  270. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +2 -2
  271. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +9 -8
  272. data/app/assets/javascripts/ckeditor/plugins/templates/templatedefinition.js +4 -0
  273. data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +5 -4
  274. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  275. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  276. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  277. data/app/assets/javascripts/ckeditor/plugins/widget/images/handle.png +0 -0
  278. data/app/assets/javascripts/ckeditor/samples/css/samples.css +1637 -0
  279. data/app/assets/javascripts/ckeditor/samples/img/github-top.png +0 -0
  280. data/app/assets/javascripts/ckeditor/samples/img/header-bg.png +0 -0
  281. data/app/assets/javascripts/ckeditor/samples/img/header-separator.png +0 -0
  282. data/app/assets/javascripts/ckeditor/samples/img/logo.png +0 -0
  283. data/app/assets/javascripts/ckeditor/samples/img/logo.svg +13 -0
  284. data/app/assets/javascripts/ckeditor/samples/img/navigation-tip.png +0 -0
  285. data/app/assets/javascripts/ckeditor/samples/index.html +115 -113
  286. data/app/assets/javascripts/ckeditor/samples/js/sample.js +53 -0
  287. data/app/assets/javascripts/ckeditor/samples/js/sf.js +17 -0
  288. data/app/assets/javascripts/ckeditor/samples/{ajax.html → old/ajax.html} +10 -7
  289. data/app/assets/javascripts/ckeditor/samples/{api.html → old/api.html} +19 -16
  290. data/app/assets/javascripts/ckeditor/samples/{appendto.html → old/appendto.html} +12 -9
  291. data/app/assets/javascripts/ckeditor/samples/old/assets/inlineall/logo.png +0 -0
  292. data/app/assets/javascripts/ckeditor/samples/{assets → old/assets}/outputxhtml/outputxhtml.css +2 -2
  293. data/app/assets/javascripts/ckeditor/samples/{assets → old/assets}/posteddata.php +6 -5
  294. data/app/assets/javascripts/ckeditor/samples/old/assets/sample.jpg +0 -0
  295. data/app/assets/javascripts/ckeditor/samples/old/assets/uilanguages/languages.js +7 -0
  296. data/app/assets/javascripts/ckeditor/samples/{datafiltering.html → old/datafiltering.html} +125 -18
  297. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/dialog/assets/my_dialog.js +3 -3
  298. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/dialog/dialog.html +14 -11
  299. data/app/assets/javascripts/ckeditor/samples/{divreplace.html → old/divreplace.html} +10 -7
  300. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/enterkey/enterkey.html +14 -11
  301. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/htmlwriter/outputhtml.html +14 -11
  302. data/app/assets/javascripts/ckeditor/samples/old/index.html +129 -0
  303. data/app/assets/javascripts/ckeditor/samples/{inlineall.html → old/inlineall.html} +16 -13
  304. data/app/assets/javascripts/ckeditor/samples/{inlinebycode.html → old/inlinebycode.html} +11 -8
  305. data/app/assets/javascripts/ckeditor/samples/{inlinetextarea.html → old/inlinetextarea.html} +12 -9
  306. data/app/assets/javascripts/ckeditor/samples/{jquery.html → old/jquery.html} +13 -10
  307. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/magicline/magicline.html +11 -8
  308. data/app/assets/javascripts/ckeditor/samples/{readonly.html → old/readonly.html} +13 -10
  309. data/app/assets/javascripts/ckeditor/samples/{replacebyclass.html → old/replacebyclass.html} +10 -7
  310. data/app/assets/javascripts/ckeditor/samples/{replacebycode.html → old/replacebycode.html} +10 -7
  311. data/app/assets/javascripts/ckeditor/samples/{sample.css → old/sample.css} +6 -14
  312. data/app/assets/javascripts/ckeditor/samples/{sample.js → old/sample.js} +2 -2
  313. data/app/assets/javascripts/ckeditor/samples/{sample_posteddata.php → old/sample_posteddata.php} +2 -2
  314. data/app/assets/javascripts/ckeditor/samples/{tabindex.html → old/tabindex.html} +10 -7
  315. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/toolbar/toolbar.html +15 -12
  316. data/app/assets/javascripts/ckeditor/samples/{uicolor.html → old/uicolor.html} +11 -8
  317. data/app/assets/javascripts/ckeditor/samples/{uilanguages.html → old/uilanguages.html} +13 -10
  318. data/app/assets/javascripts/ckeditor/samples/old/wysiwygarea/fullpage.html +80 -0
  319. data/app/assets/javascripts/ckeditor/samples/{xhtmlstyle.html → old/xhtmlstyle.html} +12 -9
  320. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/css/fontello.css +55 -0
  321. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt +10 -0
  322. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/config.json +28 -0
  323. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.eot +0 -0
  324. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.svg +14 -0
  325. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.ttf +0 -0
  326. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.woff +0 -0
  327. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/index.html +447 -0
  328. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js +13 -0
  329. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +9 -0
  330. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js +33 -0
  331. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js +14 -0
  332. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE +19 -0
  333. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css +325 -0
  334. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js +288 -0
  335. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js +25 -0
  336. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css +36 -0
  337. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css +38 -0
  338. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js +16 -0
  339. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog.css +5 -0
  340. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie.css +5 -0
  341. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie8.css +5 -0
  342. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_iequirks.css +5 -0
  343. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor.css +5 -0
  344. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_gecko.css +5 -0
  345. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie.css +5 -0
  346. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie8.css +5 -0
  347. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_iequirks.css +5 -0
  348. data/app/assets/javascripts/ckeditor/skins/moono-lisa/icons.png +0 -0
  349. data/app/assets/javascripts/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
  350. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/arrow.png +0 -0
  351. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/close.png +0 -0
  352. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/close.png +0 -0
  353. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
  354. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock.png +0 -0
  355. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/refresh.png +0 -0
  356. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/lock-open.png +0 -0
  357. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/lock.png +0 -0
  358. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/refresh.png +0 -0
  359. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/spinner.gif +0 -0
  360. data/app/assets/javascripts/ckeditor/skins/{moono → moono-lisa}/readme.md +11 -16
  361. data/app/assets/javascripts/ckeditor/styles.js +43 -17
  362. data/app/assets/javascripts/ckeditor/vendor/promise.js +13 -0
  363. data/app/assets/javascripts/drg_default_html_editor_cms.js +1 -4
  364. data/app/assets/stylesheets/drg_default_html_editor_cms.css +3 -3
  365. data/app/{controllers/dc_elfinder_controller.rb → models/drgcms_form_fields/ckeditor.rb} +33 -32
  366. data/lib/drg_default_html_editor/version.rb +1 -1
  367. data/lib/drg_default_html_editor.rb +2 -3
  368. data/lib/tasks/drg_default_html_editor_tasks.rake +16 -4
  369. metadata +169 -249
  370. data/app/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -24
  371. data/app/assets/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  372. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -8
  373. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -8
  374. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -8
  375. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -8
  376. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -8
  377. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -20
  378. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -8
  379. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -10
  380. data/app/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  381. data/app/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +0 -10
  382. data/app/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  383. data/app/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -10
  384. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  385. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
  386. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  387. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
  388. data/app/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  389. data/app/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
  390. data/app/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  391. data/app/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
  392. data/app/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  393. data/app/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
  394. data/app/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  395. data/app/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
  396. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  397. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  398. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
  399. data/app/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  400. data/app/assets/javascripts/ckeditor/plugins/smiley/images/envelope.png +0 -0
  401. data/app/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  402. data/app/assets/javascripts/ckeditor/plugins/smiley/images/heart.png +0 -0
  403. data/app/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  404. data/app/assets/javascripts/ckeditor/plugins/smiley/images/kiss.png +0 -0
  405. data/app/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  406. data/app/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
  407. data/app/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  408. data/app/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
  409. data/app/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  410. data/app/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
  411. data/app/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  412. data/app/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
  413. data/app/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  414. data/app/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
  415. data/app/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  416. data/app/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
  417. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  418. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
  419. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  420. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
  421. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  422. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
  423. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  424. data/app/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  425. data/app/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
  426. data/app/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  427. data/app/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
  428. data/app/assets/javascripts/ckeditor/plugins/wsc/LICENSE.md +0 -28
  429. data/app/assets/javascripts/ckeditor/plugins/wsc/README.md +0 -25
  430. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -66
  431. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  432. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
  433. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -74
  434. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +0 -11
  435. data/app/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
  436. data/app/assets/javascripts/ckeditor/samples/assets/sample.jpg +0 -0
  437. data/app/assets/javascripts/ckeditor/samples/assets/uilanguages/languages.js +0 -7
  438. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
  439. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
  440. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +0 -18
  441. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputforflash.html +0 -280
  442. data/app/assets/javascripts/ckeditor/samples/plugins/wysiwygarea/fullpage.html +0 -77
  443. data/app/assets/javascripts/ckeditor/skins/moono/dialog.css +0 -5
  444. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +0 -5
  445. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +0 -5
  446. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +0 -5
  447. data/app/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +0 -5
  448. data/app/assets/javascripts/ckeditor/skins/moono/editor.css +0 -5
  449. data/app/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +0 -5
  450. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie.css +0 -5
  451. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +0 -5
  452. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +0 -5
  453. data/app/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +0 -5
  454. data/app/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
  455. data/app/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
  456. data/app/assets/javascripts/ckeditor/skins/moono/images/arrow.png +0 -0
  457. data/app/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
  458. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  459. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  460. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  461. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  462. data/app/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
  463. data/app/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
  464. data/app/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
  465. data/app/assets/javascripts/elfinder/Changelog +0 -494
  466. data/app/assets/javascripts/elfinder/LICENSE.md +0 -15
  467. data/app/assets/javascripts/elfinder/README.md +0 -209
  468. data/app/assets/javascripts/elfinder/bower.json +0 -28
  469. data/app/assets/javascripts/elfinder/composer.json +0 -39
  470. data/app/assets/javascripts/elfinder/css/elfinder.full.css +0 -3034
  471. data/app/assets/javascripts/elfinder/css/elfinder.min.css +0 -9
  472. data/app/assets/javascripts/elfinder/css/theme.css +0 -68
  473. data/app/assets/javascripts/elfinder/elfinder.html +0 -61
  474. data/app/assets/javascripts/elfinder/img/arrows-active.png +0 -0
  475. data/app/assets/javascripts/elfinder/img/arrows-normal.png +0 -0
  476. data/app/assets/javascripts/elfinder/img/crop.gif +0 -0
  477. data/app/assets/javascripts/elfinder/img/dialogs.png +0 -0
  478. data/app/assets/javascripts/elfinder/img/icons-big.png +0 -0
  479. data/app/assets/javascripts/elfinder/img/icons-small.png +0 -0
  480. data/app/assets/javascripts/elfinder/img/logo.png +0 -0
  481. data/app/assets/javascripts/elfinder/img/progress.gif +0 -0
  482. data/app/assets/javascripts/elfinder/img/quicklook-bg.png +0 -0
  483. data/app/assets/javascripts/elfinder/img/quicklook-icons.png +0 -0
  484. data/app/assets/javascripts/elfinder/img/resize.png +0 -0
  485. data/app/assets/javascripts/elfinder/img/spinner-mini.gif +0 -0
  486. data/app/assets/javascripts/elfinder/img/toolbar.png +0 -0
  487. data/app/assets/javascripts/elfinder/img/volume_icon_box.png +0 -0
  488. data/app/assets/javascripts/elfinder/img/volume_icon_dropbox.png +0 -0
  489. data/app/assets/javascripts/elfinder/img/volume_icon_ftp.png +0 -0
  490. data/app/assets/javascripts/elfinder/img/volume_icon_googledrive.png +0 -0
  491. data/app/assets/javascripts/elfinder/img/volume_icon_local.png +0 -0
  492. data/app/assets/javascripts/elfinder/img/volume_icon_onedrive.png +0 -0
  493. data/app/assets/javascripts/elfinder/img/volume_icon_sql.png +0 -0
  494. data/app/assets/javascripts/elfinder/js/elfinder.full.js +0 -23025
  495. data/app/assets/javascripts/elfinder/js/elfinder.min.js +0 -20
  496. data/app/assets/javascripts/elfinder/js/extras/encoding-japanese.min.js +0 -35
  497. data/app/assets/javascripts/elfinder/js/extras/quicklook.googledocs.js +0 -69
  498. data/app/assets/javascripts/elfinder/js/i18n/elfinder.LANG.js +0 -479
  499. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ar.js +0 -375
  500. data/app/assets/javascripts/elfinder/js/i18n/elfinder.bg.js +0 -412
  501. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ca.js +0 -375
  502. data/app/assets/javascripts/elfinder/js/i18n/elfinder.cs.js +0 -469
  503. data/app/assets/javascripts/elfinder/js/i18n/elfinder.da.js +0 -374
  504. data/app/assets/javascripts/elfinder/js/i18n/elfinder.de.js +0 -457
  505. data/app/assets/javascripts/elfinder/js/i18n/elfinder.el.js +0 -374
  506. data/app/assets/javascripts/elfinder/js/i18n/elfinder.es.js +0 -433
  507. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fa.js +0 -374
  508. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fallback.js +0 -11
  509. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fo.js +0 -419
  510. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fr.js +0 -419
  511. data/app/assets/javascripts/elfinder/js/i18n/elfinder.he.js +0 -375
  512. data/app/assets/javascripts/elfinder/js/i18n/elfinder.hr.js +0 -434
  513. data/app/assets/javascripts/elfinder/js/i18n/elfinder.hu.js +0 -447
  514. data/app/assets/javascripts/elfinder/js/i18n/elfinder.id.js +0 -373
  515. data/app/assets/javascripts/elfinder/js/i18n/elfinder.it.js +0 -448
  516. data/app/assets/javascripts/elfinder/js/i18n/elfinder.jp.js +0 -474
  517. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ko.js +0 -374
  518. data/app/assets/javascripts/elfinder/js/i18n/elfinder.nl.js +0 -419
  519. data/app/assets/javascripts/elfinder/js/i18n/elfinder.no.js +0 -374
  520. data/app/assets/javascripts/elfinder/js/i18n/elfinder.pl.js +0 -455
  521. data/app/assets/javascripts/elfinder/js/i18n/elfinder.pt_BR.js +0 -438
  522. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ro.js +0 -417
  523. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ru.js +0 -440
  524. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sk.js +0 -469
  525. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sl.js +0 -374
  526. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sr.js +0 -374
  527. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sv.js +0 -375
  528. data/app/assets/javascripts/elfinder/js/i18n/elfinder.tr.js +0 -468
  529. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ug_CN.js +0 -374
  530. data/app/assets/javascripts/elfinder/js/i18n/elfinder.uk.js +0 -391
  531. data/app/assets/javascripts/elfinder/js/i18n/elfinder.vi.js +0 -374
  532. data/app/assets/javascripts/elfinder/js/i18n/elfinder.zh_CN.js +0 -467
  533. data/app/assets/javascripts/elfinder/js/i18n/elfinder.zh_TW.js +0 -472
  534. data/app/assets/javascripts/elfinder/js/proxy/elFinderSupportVer1.js +0 -420
  535. data/app/assets/javascripts/elfinder/main.default.js +0 -94
  536. data/app/assets/javascripts/elfinder/package.json +0 -13
  537. data/app/assets/javascripts/elfinder/sounds/rm.wav +0 -0
  538. data/config/initializers/load_patches.rb +0 -30
  539. data/config/routes.rb +0 -2
  540. data/lib/drg_default_html_editor.rb~ +0 -6
  541. data/lib/patches/drgcms_form_field.rb +0 -121
  542. data/lib/patches/patch_for_elfinder.rb +0 -115
  543. data/lib/tasks/drg_default_html_editor_copy_assets.rake +0 -18
@@ -0,0 +1,44 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ (function(){var u=function(d,k){function u(){var a=arguments,b=this.getContentElement("advanced","txtdlgGenStyle");b&&b.commit.apply(b,a);this.foreach(function(b){b.commit&&"txtdlgGenStyle"!=b.id&&b.commit.apply(b,a)})}function g(a){if(!v){v=1;var b=this.getDialog(),c=b.imageElement;if(c){this.commit(1,c);a=[].concat(a);for(var d=a.length,h,e=0;e<d;e++)(h=b.getContentElement.apply(b,a[e].split(":")))&&h.setup(1,c)}v=0}}var l=/^\s*(\d+)((px)|\%)?\s*$/i,y=/(^\s*(\d+)((px)|\%)?\s*$)|^$/i,q=/^\d+px$/,
6
+ z=function(){var a=this.getValue(),b=this.getDialog(),c=a.match(l);c&&("%"==c[2]&&m(b,!1),a=c[1]);b.lockRatio&&(c=b.originalElement,"true"==c.getCustomData("isReady")&&("txtHeight"==this.id?(a&&"0"!=a&&(a=Math.round(a/c.$.height*c.$.width)),isNaN(a)||b.setValueOf("info","txtWidth",a)):(a&&"0"!=a&&(a=Math.round(a/c.$.width*c.$.height)),isNaN(a)||b.setValueOf("info","txtHeight",a))));e(b)},e=function(a){if(!a.originalElement||!a.preview)return 1;a.commitContent(4,a.preview);return 0},v,m=function(a,
7
+ b){if(!a.getContentElement("info","ratioLock"))return null;var c=a.originalElement;if(!c)return null;if("check"==b){if(!a.userlockRatio&&"true"==c.getCustomData("isReady")){var d=a.getValueOf("info","txtWidth"),h=a.getValueOf("info","txtHeight"),c=c.$.width/c.$.height,e=d/h;a.lockRatio=!1;d||h?1==Math.round(c/e*100)/100&&(a.lockRatio=!0):a.lockRatio=!0}}else void 0!==b?a.lockRatio=b:(a.userlockRatio=1,a.lockRatio=!a.lockRatio);d=CKEDITOR.document.getById(r);a.lockRatio?d.removeClass("cke_btn_unlocked"):
8
+ d.addClass("cke_btn_unlocked");d.setAttribute("aria-checked",a.lockRatio);CKEDITOR.env.hc&&d.getChild(0).setHtml(a.lockRatio?CKEDITOR.env.ie?"■":"▣":CKEDITOR.env.ie?"□":"▢");return a.lockRatio},A=function(a,b){var c=a.originalElement;if("true"==c.getCustomData("isReady")){var d=a.getContentElement("info","txtWidth"),h=a.getContentElement("info","txtHeight"),f;b?c=f=0:(f=c.$.width,c=c.$.height);d&&d.setValue(f);h&&h.setValue(c)}e(a)},B=function(a,b){function c(a,b){var c=a.match(l);return c?("%"==
9
+ c[2]&&(c[1]+="%",m(d,!1)),c[1]):b}if(1==a){var d=this.getDialog(),e="",f="txtWidth"==this.id?"width":"height",g=b.getAttribute(f);g&&(e=c(g,e));e=c(b.getStyle(f),e);this.setValue(e)}},w,t=function(){var a=this.originalElement,b=CKEDITOR.document.getById(n);a.setCustomData("isReady","true");a.removeListener("load",t);a.removeListener("error",f);a.removeListener("abort",f);b&&b.setStyle("display","none");this.dontResetSize||A(this,!1===d.config.image_prefillDimensions);this.firstLoad&&CKEDITOR.tools.setTimeout(function(){m(this,
10
+ "check")},0,this);this.dontResetSize=this.firstLoad=!1;e(this)},f=function(){var a=this.originalElement,b=CKEDITOR.document.getById(n);a.removeListener("load",t);a.removeListener("error",f);a.removeListener("abort",f);a=CKEDITOR.getUrl(CKEDITOR.plugins.get("image").path+"images/noimage.png");this.preview&&this.preview.setAttribute("src",a);b&&b.setStyle("display","none");m(this,!1)},p=function(a){return CKEDITOR.tools.getNextId()+"_"+a},r=p("btnLockSizes"),x=p("btnResetSize"),n=p("ImagePreviewLoader"),
11
+ D=p("previewLink"),C=p("previewImage");return{title:d.lang.image["image"==k?"title":"titleButton"],minWidth:"moono-lisa"==(CKEDITOR.skinName||d.config.skin)?500:420,minHeight:360,getModel:function(a){var b=(a=a.getSelection().getSelectedElement())&&"img"===a.getName(),c=a&&"input"===a.getName()&&"image"===a.getAttribute("type");return b||c?a:null},onShow:function(){this.linkEditMode=this.imageEditMode=this.linkElement=this.imageElement=!1;this.lockRatio=!0;this.userlockRatio=0;this.dontResetSize=
12
+ !1;this.firstLoad=!0;this.addLink=!1;var a=this.getParentEditor(),b=a.getSelection(),c=(b=b&&b.getSelectedElement())&&a.elementPath(b).contains("a",1),d=CKEDITOR.document.getById(n);d&&d.setStyle("display","none");w=new CKEDITOR.dom.element("img",a.document);this.preview=CKEDITOR.document.getById(C);this.originalElement=a.document.createElement("img");this.originalElement.setAttribute("alt","");this.originalElement.setCustomData("isReady","false");c&&(this.linkElement=c,this.addLink=this.linkEditMode=
13
+ !0,a=c.getChildren(),1==a.count()&&(d=a.getItem(0),d.type==CKEDITOR.NODE_ELEMENT&&(d.is("img")||d.is("input"))&&(this.imageElement=a.getItem(0),this.imageElement.is("img")?this.imageEditMode="img":this.imageElement.is("input")&&(this.imageEditMode="input"))),"image"==k&&this.setupContent(2,c));if(this.customImageElement)this.imageEditMode="img",this.imageElement=this.customImageElement,delete this.customImageElement;else if(b&&"img"==b.getName()&&!b.data("cke-realelement")||b&&"input"==b.getName()&&
14
+ "image"==b.getAttribute("type"))this.imageEditMode=b.getName(),this.imageElement=b;this.imageEditMode&&(this.cleanImageElement=this.imageElement,this.imageElement=this.cleanImageElement.clone(!0,!0),this.setupContent(1,this.imageElement));m(this,!0);CKEDITOR.tools.trim(this.getValueOf("info","txtUrl"))||(this.preview.removeAttribute("src"),this.preview.setStyle("display","none"))},onOk:function(){if(this.imageEditMode){var a=this.imageEditMode;"image"==k&&"input"==a&&confirm(d.lang.image.button2Img)?
15
+ (this.imageElement=d.document.createElement("img"),this.imageElement.setAttribute("alt",""),d.insertElement(this.imageElement)):"image"!=k&&"img"==a&&confirm(d.lang.image.img2Button)?(this.imageElement=d.document.createElement("input"),this.imageElement.setAttributes({type:"image",alt:""}),d.insertElement(this.imageElement)):(this.imageElement=this.cleanImageElement,delete this.cleanImageElement)}else"image"==k?this.imageElement=d.document.createElement("img"):(this.imageElement=d.document.createElement("input"),
16
+ this.imageElement.setAttribute("type","image")),this.imageElement.setAttribute("alt","");this.linkEditMode||(this.linkElement=d.document.createElement("a"));this.commitContent(1,this.imageElement);this.commitContent(2,this.linkElement);this.imageElement.getAttribute("style")||this.imageElement.removeAttribute("style");this.imageEditMode?!this.linkEditMode&&this.addLink?(d.insertElement(this.linkElement),this.imageElement.appendTo(this.linkElement)):this.linkEditMode&&!this.addLink&&(d.getSelection().selectElement(this.linkElement),
17
+ d.insertElement(this.imageElement)):this.addLink?this.linkEditMode?this.linkElement.equals(d.getSelection().getSelectedElement())?(this.linkElement.setHtml(""),this.linkElement.append(this.imageElement,!1)):d.insertElement(this.imageElement):(d.insertElement(this.linkElement),this.linkElement.append(this.imageElement,!1)):d.insertElement(this.imageElement)},onLoad:function(){"image"!=k&&this.hidePage("Link");var a=this._.element.getDocument();this.getContentElement("info","ratioLock")&&(this.addFocusable(a.getById(x),
18
+ 5),this.addFocusable(a.getById(r),5));this.commitContent=u},onHide:function(){this.preview&&this.commitContent(8,this.preview);this.originalElement&&(this.originalElement.removeListener("load",t),this.originalElement.removeListener("error",f),this.originalElement.removeListener("abort",f),this.originalElement.remove(),this.originalElement=!1);delete this.imageElement},contents:[{id:"info",label:d.lang.image.infoTab,accessKey:"I",elements:[{type:"vbox",padding:0,children:[{type:"hbox",widths:["280px",
19
+ "110px"],align:"right",className:"cke_dialog_image_url",children:[{id:"txtUrl",type:"text",label:d.lang.common.url,required:!0,onChange:function(){var a=this.getDialog(),b=this.getValue();if(0<b.length){var a=this.getDialog(),c=a.originalElement;a.preview&&a.preview.removeStyle("display");c.setCustomData("isReady","false");var d=CKEDITOR.document.getById(n);d&&d.setStyle("display","");c.on("load",t,a);c.on("error",f,a);c.on("abort",f,a);c.setAttribute("src",b);a.preview&&(w.setAttribute("src",b),
20
+ a.preview.setAttribute("src",w.$.src),e(a))}else a.preview&&(a.preview.removeAttribute("src"),a.preview.setStyle("display","none"))},setup:function(a,b){if(1==a){var c=b.data("cke-saved-src")||b.getAttribute("src");this.getDialog().dontResetSize=!0;this.setValue(c);this.setInitValue()}},commit:function(a,b){1==a&&(this.getValue()||this.isChanged())?(b.data("cke-saved-src",this.getValue()),b.setAttribute("src",this.getValue())):8==a&&(b.setAttribute("src",""),b.removeAttribute("src"))},validate:CKEDITOR.dialog.validate.notEmpty(d.lang.image.urlMissing)},
21
+ {type:"button",id:"browse",style:"display:inline-block;margin-top:14px;",align:"center",label:d.lang.common.browseServer,hidden:!0,filebrowser:"info:txtUrl"}]}]},{id:"txtAlt",type:"text",label:d.lang.image.alt,accessKey:"T","default":"",onChange:function(){e(this.getDialog())},setup:function(a,b){1==a&&this.setValue(b.getAttribute("alt"))},commit:function(a,b){1==a?(this.getValue()||this.isChanged())&&b.setAttribute("alt",this.getValue()):4==a?b.setAttribute("alt",this.getValue()):8==a&&b.removeAttribute("alt")}},
22
+ {type:"hbox",children:[{id:"basic",type:"vbox",children:[{type:"hbox",requiredContent:"img{width,height}",widths:["50%","50%"],children:[{type:"vbox",padding:1,children:[{type:"text",width:"45px",id:"txtWidth",label:d.lang.common.width,onKeyUp:z,onChange:function(){g.call(this,"advanced:txtdlgGenStyle")},validate:function(){var a=this.getValue().match(y);(a=!(!a||0===parseInt(a[1],10)))||alert(d.lang.common.invalidLength.replace("%1",d.lang.common.width).replace("%2","px, %"));return a},setup:B,commit:function(a,
23
+ b){var c=this.getValue();1==a?(c&&d.activeFilter.check("img{width,height}")?b.setStyle("width",CKEDITOR.tools.cssLength(c)):b.removeStyle("width"),b.removeAttribute("width")):4==a?c.match(l)?b.setStyle("width",CKEDITOR.tools.cssLength(c)):(c=this.getDialog().originalElement,"true"==c.getCustomData("isReady")&&b.setStyle("width",c.$.width+"px")):8==a&&(b.removeAttribute("width"),b.removeStyle("width"))}},{type:"text",id:"txtHeight",width:"45px",label:d.lang.common.height,onKeyUp:z,onChange:function(){g.call(this,
24
+ "advanced:txtdlgGenStyle")},validate:function(){var a=this.getValue().match(y);(a=!(!a||0===parseInt(a[1],10)))||alert(d.lang.common.invalidLength.replace("%1",d.lang.common.height).replace("%2","px, %"));return a},setup:B,commit:function(a,b){var c=this.getValue();1==a?(c&&d.activeFilter.check("img{width,height}")?b.setStyle("height",CKEDITOR.tools.cssLength(c)):b.removeStyle("height"),b.removeAttribute("height")):4==a?c.match(l)?b.setStyle("height",CKEDITOR.tools.cssLength(c)):(c=this.getDialog().originalElement,
25
+ "true"==c.getCustomData("isReady")&&b.setStyle("height",c.$.height+"px")):8==a&&(b.removeAttribute("height"),b.removeStyle("height"))}}]},{id:"ratioLock",type:"html",className:"cke_dialog_image_ratiolock",style:"margin-top:30px;width:40px;height:40px;",onLoad:function(){var a=CKEDITOR.document.getById(x),b=CKEDITOR.document.getById(r);a&&(a.on("click",function(a){A(this);a.data&&a.data.preventDefault()},this.getDialog()),a.on("mouseover",function(){this.addClass("cke_btn_over")},a),a.on("mouseout",
26
+ function(){this.removeClass("cke_btn_over")},a));b&&(b.on("click",function(a){m(this);var b=this.originalElement,d=this.getValueOf("info","txtWidth");"true"==b.getCustomData("isReady")&&d&&(b=b.$.height/b.$.width*d,isNaN(b)||(this.setValueOf("info","txtHeight",Math.round(b)),e(this)));a.data&&a.data.preventDefault()},this.getDialog()),b.on("mouseover",function(){this.addClass("cke_btn_over")},b),b.on("mouseout",function(){this.removeClass("cke_btn_over")},b))},html:'\x3cdiv\x3e\x3ca href\x3d"javascript:void(0)" tabindex\x3d"-1" title\x3d"'+
27
+ d.lang.image.lockRatio+'" class\x3d"cke_btn_locked" id\x3d"'+r+'" role\x3d"checkbox"\x3e\x3cspan class\x3d"cke_icon"\x3e\x3c/span\x3e\x3cspan class\x3d"cke_label"\x3e'+d.lang.image.lockRatio+'\x3c/span\x3e\x3c/a\x3e\x3ca href\x3d"javascript:void(0)" tabindex\x3d"-1" title\x3d"'+d.lang.image.resetSize+'" class\x3d"cke_btn_reset" id\x3d"'+x+'" role\x3d"button"\x3e\x3cspan class\x3d"cke_label"\x3e'+d.lang.image.resetSize+"\x3c/span\x3e\x3c/a\x3e\x3c/div\x3e"}]},{type:"vbox",padding:1,children:[{type:"text",
28
+ id:"txtBorder",requiredContent:"img{border-width}",width:"60px",label:d.lang.image.border,"default":"",onKeyUp:function(){e(this.getDialog())},onChange:function(){g.call(this,"advanced:txtdlgGenStyle")},validate:CKEDITOR.dialog.validate.integer(d.lang.image.validateBorder),setup:function(a,b){if(1==a){var c;c=(c=(c=b.getStyle("border-width"))&&c.match(/^(\d+px)(?: \1 \1 \1)?$/))&&parseInt(c[1],10);isNaN(parseInt(c,10))&&(c=b.getAttribute("border"));this.setValue(c)}},commit:function(a,b){var c=parseInt(this.getValue(),
29
+ 10);1==a||4==a?(isNaN(c)?!c&&this.isChanged()&&b.removeStyle("border"):(b.setStyle("border-width",CKEDITOR.tools.cssLength(c)),b.setStyle("border-style","solid")),1==a&&b.removeAttribute("border")):8==a&&(b.removeAttribute("border"),b.removeStyle("border-width"),b.removeStyle("border-style"),b.removeStyle("border-color"))}},{type:"text",id:"txtHSpace",requiredContent:"img{margin-left,margin-right}",width:"60px",label:d.lang.image.hSpace,"default":"",onKeyUp:function(){e(this.getDialog())},onChange:function(){g.call(this,
30
+ "advanced:txtdlgGenStyle")},validate:CKEDITOR.dialog.validate.integer(d.lang.image.validateHSpace),setup:function(a,b){if(1==a){var c,d;c=b.getStyle("margin-left");d=b.getStyle("margin-right");c=c&&c.match(q);d=d&&d.match(q);c=parseInt(c,10);d=parseInt(d,10);c=c==d&&c;isNaN(parseInt(c,10))&&(c=b.getAttribute("hspace"));this.setValue(c)}},commit:function(a,b){var c=parseInt(this.getValue(),10);1==a||4==a?(isNaN(c)?!c&&this.isChanged()&&(b.removeStyle("margin-left"),b.removeStyle("margin-right")):(b.setStyle("margin-left",
31
+ CKEDITOR.tools.cssLength(c)),b.setStyle("margin-right",CKEDITOR.tools.cssLength(c))),1==a&&b.removeAttribute("hspace")):8==a&&(b.removeAttribute("hspace"),b.removeStyle("margin-left"),b.removeStyle("margin-right"))}},{type:"text",id:"txtVSpace",requiredContent:"img{margin-top,margin-bottom}",width:"60px",label:d.lang.image.vSpace,"default":"",onKeyUp:function(){e(this.getDialog())},onChange:function(){g.call(this,"advanced:txtdlgGenStyle")},validate:CKEDITOR.dialog.validate.integer(d.lang.image.validateVSpace),
32
+ setup:function(a,b){if(1==a){var c,d;c=b.getStyle("margin-top");d=b.getStyle("margin-bottom");c=c&&c.match(q);d=d&&d.match(q);c=parseInt(c,10);d=parseInt(d,10);c=c==d&&c;isNaN(parseInt(c,10))&&(c=b.getAttribute("vspace"));this.setValue(c)}},commit:function(a,b){var c=parseInt(this.getValue(),10);1==a||4==a?(isNaN(c)?!c&&this.isChanged()&&(b.removeStyle("margin-top"),b.removeStyle("margin-bottom")):(b.setStyle("margin-top",CKEDITOR.tools.cssLength(c)),b.setStyle("margin-bottom",CKEDITOR.tools.cssLength(c))),
33
+ 1==a&&b.removeAttribute("vspace")):8==a&&(b.removeAttribute("vspace"),b.removeStyle("margin-top"),b.removeStyle("margin-bottom"))}},{id:"cmbAlign",requiredContent:"img{float}",type:"select",widths:["35%","65%"],style:"width:90px",label:d.lang.common.align,"default":"",items:[[d.lang.common.notSet,""],[d.lang.common.left,"left"],[d.lang.common.right,"right"]],onChange:function(){e(this.getDialog());g.call(this,"advanced:txtdlgGenStyle")},setup:function(a,b){if(1==a){var c=b.getStyle("float");switch(c){case "inherit":case "none":c=
34
+ ""}!c&&(c=(b.getAttribute("align")||"").toLowerCase());this.setValue(c)}},commit:function(a,b){var c=this.getValue();if(1==a||4==a){if(c?b.setStyle("float",c):b.removeStyle("float"),1==a)switch(c=(b.getAttribute("align")||"").toLowerCase(),c){case "left":case "right":b.removeAttribute("align")}}else 8==a&&b.removeStyle("float")}}]}]},{type:"vbox",height:"250px",children:[{type:"html",id:"htmlPreview",style:"width:95%;",html:"\x3cdiv\x3e"+CKEDITOR.tools.htmlEncode(d.lang.common.preview)+'\x3cbr\x3e\x3cdiv id\x3d"'+
35
+ n+'" class\x3d"ImagePreviewLoader" style\x3d"display:none"\x3e\x3cdiv class\x3d"loading"\x3e\x26nbsp;\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"ImagePreviewBox"\x3e\x3ctable\x3e\x3ctr\x3e\x3ctd\x3e\x3ca href\x3d"javascript:void(0)" target\x3d"_blank" onclick\x3d"return false;" id\x3d"'+D+'"\x3e\x3cimg id\x3d"'+C+'" alt\x3d"" /\x3e\x3c/a\x3e'+(d.config.image_previewText||"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus a, commodo non, facilisis vitae, nulla. Aenean dictum lacinia tortor. Nunc iaculis, nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed velit. Nulla pretium mi et risus. Fusce mi pede, tempor id, cursus ac, ullamcorper nec, enim. Sed tortor. Curabitur molestie. Duis velit augue, condimentum at, ultrices a, luctus ut, orci. Donec pellentesque egestas eros. Integer cursus, augue in cursus faucibus, eros pede bibendum sem, in tempus tellus justo quis ligula. Etiam eget tortor. Vestibulum rutrum, est ut placerat elementum, lectus nisl aliquam velit, tempor aliquam eros nunc nonummy metus. In eros metus, gravida a, gravida sed, lobortis id, turpis. Ut ultrices, ipsum at venenatis fringilla, sem nulla lacinia tellus, eget aliquet turpis mauris non enim. Nam turpis. Suspendisse lacinia. Curabitur ac tortor ut ipsum egestas elementum. Nunc imperdiet gravida mauris.")+
36
+ "\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3c/div\x3e\x3c/div\x3e"}]}]}]},{id:"Link",requiredContent:"a[href]",label:d.lang.image.linkTab,padding:0,elements:[{id:"txtUrl",type:"text",label:d.lang.common.url,style:"width: 100%","default":"",setup:function(a,b){if(2==a){var c=b.data("cke-saved-href");c||(c=b.getAttribute("href"));this.setValue(c)}},commit:function(a,b){if(2==a&&(this.getValue()||this.isChanged())){var c=this.getValue();b.data("cke-saved-href",c);b.setAttribute("href",c);this.getValue()||
37
+ !d.config.image_removeLinkByEmptyURL?this.getDialog().addLink=!0:this.getDialog().addLink=!1}}},{type:"button",id:"browse",className:"cke_dialog_image_browse",filebrowser:{action:"Browse",target:"Link:txtUrl",url:d.config.filebrowserImageBrowseLinkUrl},style:"float:right",hidden:!0,label:d.lang.common.browseServer},{id:"cmbTarget",type:"select",requiredContent:"a[target]",label:d.lang.common.target,"default":"",items:[[d.lang.common.notSet,""],[d.lang.common.targetNew,"_blank"],[d.lang.common.targetTop,
38
+ "_top"],[d.lang.common.targetSelf,"_self"],[d.lang.common.targetParent,"_parent"]],setup:function(a,b){2==a&&this.setValue(b.getAttribute("target")||"")},commit:function(a,b){2==a&&(this.getValue()||this.isChanged())&&b.setAttribute("target",this.getValue())}}]},{id:"Upload",hidden:!0,filebrowser:"uploadButton",label:d.lang.image.upload,elements:[{type:"file",id:"upload",label:d.lang.image.btnUpload,style:"height:40px",size:38},{type:"fileButton",id:"uploadButton",filebrowser:"info:txtUrl",label:d.lang.image.btnUpload,
39
+ "for":["Upload","upload"]}]},{id:"advanced",label:d.lang.common.advancedTab,elements:[{type:"hbox",widths:["50%","25%","25%"],children:[{type:"text",id:"linkId",requiredContent:"img[id]",label:d.lang.common.id,setup:function(a,b){1==a&&this.setValue(b.getAttribute("id"))},commit:function(a,b){1==a&&(this.getValue()||this.isChanged())&&b.setAttribute("id",this.getValue())}},{id:"cmbLangDir",type:"select",requiredContent:"img[dir]",style:"width : 100px;",label:d.lang.common.langDir,"default":"",items:[[d.lang.common.notSet,
40
+ ""],[d.lang.common.langDirLtr,"ltr"],[d.lang.common.langDirRtl,"rtl"]],setup:function(a,b){1==a&&this.setValue(b.getAttribute("dir"))},commit:function(a,b){1==a&&(this.getValue()||this.isChanged())&&b.setAttribute("dir",this.getValue())}},{type:"text",id:"txtLangCode",requiredContent:"img[lang]",label:d.lang.common.langCode,"default":"",setup:function(a,b){1==a&&this.setValue(b.getAttribute("lang"))},commit:function(a,b){1==a&&(this.getValue()||this.isChanged())&&b.setAttribute("lang",this.getValue())}}]},
41
+ {type:"text",id:"txtGenLongDescr",requiredContent:"img[longdesc]",label:d.lang.common.longDescr,setup:function(a,b){1==a&&this.setValue(b.getAttribute("longDesc"))},commit:function(a,b){1==a&&(this.getValue()||this.isChanged())&&b.setAttribute("longDesc",this.getValue())}},{type:"hbox",widths:["50%","50%"],children:[{type:"text",id:"txtGenClass",requiredContent:"img(cke-xyz)",label:d.lang.common.cssClass,"default":"",setup:function(a,b){1==a&&this.setValue(b.getAttribute("class"))},commit:function(a,
42
+ b){1==a&&(this.getValue()||this.isChanged())&&b.setAttribute("class",this.getValue())}},{type:"text",id:"txtGenTitle",requiredContent:"img[title]",label:d.lang.common.advisoryTitle,"default":"",onChange:function(){e(this.getDialog())},setup:function(a,b){1==a&&this.setValue(b.getAttribute("title"))},commit:function(a,b){1==a?(this.getValue()||this.isChanged())&&b.setAttribute("title",this.getValue()):4==a?b.setAttribute("title",this.getValue()):8==a&&b.removeAttribute("title")}}]},{type:"text",id:"txtdlgGenStyle",
43
+ requiredContent:"img{cke-xyz}",label:d.lang.common.cssStyle,validate:CKEDITOR.dialog.validate.inlineStyle(d.lang.common.invalidInlineStyle),"default":"",setup:function(a,b){if(1==a){var c=b.getAttribute("style");!c&&b.$.style.cssText&&(c=b.$.style.cssText);this.setValue(c);var d=b.$.style.height,c=b.$.style.width,d=(d?d:"").match(l),c=(c?c:"").match(l);this.attributesInStyle={height:!!d,width:!!c}}},onChange:function(){g.call(this,"info:cmbFloat info:cmbAlign info:txtVSpace info:txtHSpace info:txtBorder info:txtWidth info:txtHeight".split(" "));
44
+ e(this)},commit:function(a,b){1==a&&(this.getValue()||this.isChanged())&&b.setAttribute("style",this.getValue())}}]}]}};CKEDITOR.dialog.add("image",function(d){return u(d,"image")});CKEDITOR.dialog.add("imagebutton",function(d){return u(d,"imagebutton")})})();