drg_default_html_editor 0.6.0.0 → 0.7.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (453) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/close.png +0 -0
  3. data/app/assets/images/lock-open.png +0 -0
  4. data/app/assets/images/lock.png +0 -0
  5. data/app/assets/images/refresh.png +0 -0
  6. data/app/assets/javascripts/ckeditor/CHANGES.md +832 -163
  7. data/app/assets/javascripts/ckeditor/LICENSE.md +23 -7
  8. data/app/assets/javascripts/ckeditor/README.md +5 -5
  9. data/app/assets/javascripts/ckeditor/SECURITY.md +10 -0
  10. data/app/assets/javascripts/ckeditor/adapters/jquery.js +6 -6
  11. data/app/assets/javascripts/ckeditor/bender-runner.config.json +16 -0
  12. data/app/assets/javascripts/ckeditor/build-config.js +30 -12
  13. data/app/assets/javascripts/ckeditor/ckeditor.js +1216 -1040
  14. data/app/assets/javascripts/ckeditor/config.js +9 -32
  15. data/app/assets/javascripts/ckeditor/contents.css +1 -1
  16. data/app/assets/javascripts/ckeditor/lang/af.js +3 -3
  17. data/app/assets/javascripts/ckeditor/lang/ar.js +3 -3
  18. data/app/assets/javascripts/ckeditor/lang/az.js +3 -3
  19. data/app/assets/javascripts/ckeditor/lang/bg.js +3 -3
  20. data/app/assets/javascripts/ckeditor/lang/bn.js +3 -3
  21. data/app/assets/javascripts/ckeditor/lang/bs.js +3 -3
  22. data/app/assets/javascripts/ckeditor/lang/ca.js +3 -3
  23. data/app/assets/javascripts/ckeditor/lang/cs.js +3 -3
  24. data/app/assets/javascripts/ckeditor/lang/cy.js +3 -3
  25. data/app/assets/javascripts/ckeditor/lang/da.js +3 -3
  26. data/app/assets/javascripts/ckeditor/lang/de-ch.js +3 -3
  27. data/app/assets/javascripts/ckeditor/lang/de.js +3 -3
  28. data/app/assets/javascripts/ckeditor/lang/el.js +3 -3
  29. data/app/assets/javascripts/ckeditor/lang/en-au.js +3 -3
  30. data/app/assets/javascripts/ckeditor/lang/en-ca.js +3 -3
  31. data/app/assets/javascripts/ckeditor/lang/en-gb.js +3 -3
  32. data/app/assets/javascripts/ckeditor/lang/en.js +3 -3
  33. data/app/assets/javascripts/ckeditor/lang/eo.js +3 -3
  34. data/app/assets/javascripts/ckeditor/lang/es-mx.js +3 -3
  35. data/app/assets/javascripts/ckeditor/lang/es.js +3 -3
  36. data/app/assets/javascripts/ckeditor/lang/et.js +3 -3
  37. data/app/assets/javascripts/ckeditor/lang/eu.js +3 -3
  38. data/app/assets/javascripts/ckeditor/lang/fa.js +3 -3
  39. data/app/assets/javascripts/ckeditor/lang/fi.js +3 -3
  40. data/app/assets/javascripts/ckeditor/lang/fo.js +3 -3
  41. data/app/assets/javascripts/ckeditor/lang/fr-ca.js +3 -3
  42. data/app/assets/javascripts/ckeditor/lang/fr.js +3 -3
  43. data/app/assets/javascripts/ckeditor/lang/gl.js +3 -3
  44. data/app/assets/javascripts/ckeditor/lang/gu.js +3 -3
  45. data/app/assets/javascripts/ckeditor/lang/he.js +3 -3
  46. data/app/assets/javascripts/ckeditor/lang/hi.js +3 -3
  47. data/app/assets/javascripts/ckeditor/lang/hr.js +3 -3
  48. data/app/assets/javascripts/ckeditor/lang/hu.js +3 -3
  49. data/app/assets/javascripts/ckeditor/lang/id.js +3 -3
  50. data/app/assets/javascripts/ckeditor/lang/is.js +3 -3
  51. data/app/assets/javascripts/ckeditor/lang/it.js +3 -3
  52. data/app/assets/javascripts/ckeditor/lang/ja.js +3 -3
  53. data/app/assets/javascripts/ckeditor/lang/ka.js +3 -3
  54. data/app/assets/javascripts/ckeditor/lang/km.js +3 -3
  55. data/app/assets/javascripts/ckeditor/lang/ko.js +3 -3
  56. data/app/assets/javascripts/ckeditor/lang/ku.js +3 -3
  57. data/app/assets/javascripts/ckeditor/lang/lt.js +3 -3
  58. data/app/assets/javascripts/ckeditor/lang/lv.js +3 -3
  59. data/app/assets/javascripts/ckeditor/lang/mk.js +3 -3
  60. data/app/assets/javascripts/ckeditor/lang/mn.js +3 -3
  61. data/app/assets/javascripts/ckeditor/lang/ms.js +3 -3
  62. data/app/assets/javascripts/ckeditor/lang/nb.js +3 -3
  63. data/app/assets/javascripts/ckeditor/lang/nl.js +3 -3
  64. data/app/assets/javascripts/ckeditor/lang/no.js +3 -3
  65. data/app/assets/javascripts/ckeditor/lang/oc.js +3 -3
  66. data/app/assets/javascripts/ckeditor/lang/pl.js +3 -3
  67. data/app/assets/javascripts/ckeditor/lang/pt-br.js +3 -3
  68. data/app/assets/javascripts/ckeditor/lang/pt.js +3 -3
  69. data/app/assets/javascripts/ckeditor/lang/ro.js +3 -3
  70. data/app/assets/javascripts/ckeditor/lang/ru.js +3 -3
  71. data/app/assets/javascripts/ckeditor/lang/si.js +3 -3
  72. data/app/assets/javascripts/ckeditor/lang/sk.js +3 -3
  73. data/app/assets/javascripts/ckeditor/lang/sl.js +3 -3
  74. data/app/assets/javascripts/ckeditor/lang/sq.js +3 -3
  75. data/app/assets/javascripts/ckeditor/lang/sr-latn.js +3 -3
  76. data/app/assets/javascripts/ckeditor/lang/sr.js +3 -3
  77. data/app/assets/javascripts/ckeditor/lang/sv.js +3 -3
  78. data/app/assets/javascripts/ckeditor/lang/th.js +3 -3
  79. data/app/assets/javascripts/ckeditor/lang/tr.js +3 -3
  80. data/app/assets/javascripts/ckeditor/lang/tt.js +3 -3
  81. data/app/assets/javascripts/ckeditor/lang/ug.js +3 -3
  82. data/app/assets/javascripts/ckeditor/lang/uk.js +3 -3
  83. data/app/assets/javascripts/ckeditor/lang/vi.js +3 -3
  84. data/app/assets/javascripts/ckeditor/lang/zh-cn.js +3 -3
  85. data/app/assets/javascripts/ckeditor/lang/zh.js +3 -3
  86. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +6 -6
  87. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +1 -1
  88. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +2 -2
  89. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +8 -7
  90. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +2 -2
  91. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -8
  92. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +1 -1
  93. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +3 -3
  94. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +2 -2
  95. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +6 -6
  96. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +10 -9
  97. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +1 -1
  98. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +1 -1
  99. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +8 -8
  100. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +3 -2
  101. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +3 -2
  102. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +1 -1
  103. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +1 -1
  104. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +1 -1
  105. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +8 -8
  106. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +1 -1
  107. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +3 -3
  108. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +3 -2
  109. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +3 -2
  110. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +3 -2
  111. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +1 -1
  112. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +1 -1
  113. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +3 -2
  114. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +2 -2
  115. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +3 -2
  116. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +1 -1
  117. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +2 -2
  118. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +1 -1
  119. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +2 -2
  120. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +2 -2
  121. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +3 -2
  122. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +1 -1
  123. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +1 -1
  124. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +3 -2
  125. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +4 -3
  126. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -8
  127. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +3 -2
  128. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +1 -1
  129. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +2 -2
  130. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +8 -7
  131. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +1 -1
  132. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +1 -1
  133. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +1 -1
  134. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +2 -2
  135. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +1 -1
  136. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +1 -1
  137. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +2 -2
  138. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +2 -2
  139. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +4 -3
  140. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +8 -7
  141. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +9 -8
  142. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +9 -8
  143. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +1 -1
  144. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +3 -2
  145. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +1 -1
  146. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +3 -2
  147. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +1 -1
  148. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +4 -4
  149. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +2 -2
  150. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +1 -1
  151. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +6 -6
  152. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +2 -2
  153. data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +2 -2
  154. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.css +1 -1
  155. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +11 -11
  156. data/app/assets/javascripts/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg +25 -0
  157. data/app/assets/javascripts/ckeditor/plugins/copyformatting/cursors/cursor.svg +14 -0
  158. data/app/assets/javascripts/ckeditor/plugins/copyformatting/styles/copyformatting.css +45 -0
  159. data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
  160. data/app/assets/javascripts/ckeditor/plugins/dialog/styles/dialog.css +18 -0
  161. data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -8
  162. data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +26 -0
  163. data/app/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  164. data/app/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
  165. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image-org.js +44 -0
  166. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +1286 -44
  167. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +5 -5
  168. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +26 -24
  169. data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
  170. data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  171. data/app/assets/javascripts/ckeditor/plugins/pastefromgdocs/filter/default.js +8 -0
  172. data/app/assets/javascripts/ckeditor/plugins/pastefromlibreoffice/filter/default.js +11 -0
  173. data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +39 -52
  174. data/app/assets/javascripts/ckeditor/plugins/pastetools/filter/common.js +24 -0
  175. data/app/assets/javascripts/ckeditor/plugins/pastetools/filter/image.js +12 -0
  176. data/app/assets/javascripts/ckeditor/plugins/preview/images/pagebreak.gif +0 -0
  177. data/app/assets/javascripts/ckeditor/plugins/preview/preview.html +13 -0
  178. data/app/assets/javascripts/ckeditor/plugins/preview/styles/screen.css +10 -0
  179. data/app/assets/javascripts/ckeditor/plugins/scayt/CHANGELOG.md +1 -17
  180. data/app/assets/javascripts/ckeditor/plugins/scayt/README.md +63 -7
  181. data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +32 -32
  182. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  183. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  184. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  185. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  186. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  187. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  188. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  189. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  190. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  191. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  192. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  193. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +1 -1
  194. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/af.js +1 -1
  195. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +1 -1
  196. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/az.js +1 -1
  197. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +1 -1
  198. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +1 -1
  199. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +1 -1
  200. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +1 -1
  201. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/da.js +3 -3
  202. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +6 -6
  203. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +1 -1
  204. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +1 -1
  205. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +1 -1
  206. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +1 -1
  207. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +1 -1
  208. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +1 -1
  209. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +1 -1
  210. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +1 -1
  211. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +1 -1
  212. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +8 -10
  213. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eu.js +1 -1
  214. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +1 -1
  215. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +1 -1
  216. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +1 -1
  217. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +1 -1
  218. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +1 -1
  219. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +1 -1
  220. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +1 -1
  221. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +1 -1
  222. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +10 -10
  223. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +1 -1
  224. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +1 -1
  225. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +1 -1
  226. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ko.js +1 -1
  227. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +1 -1
  228. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lt.js +1 -1
  229. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +1 -1
  230. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +1 -1
  231. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +1 -1
  232. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +1 -1
  233. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/oc.js +1 -1
  234. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +1 -1
  235. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +1 -1
  236. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +1 -1
  237. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ro.js +1 -1
  238. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +1 -1
  239. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +1 -1
  240. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +1 -1
  241. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +1 -1
  242. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +1 -1
  243. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js +13 -0
  244. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sr.js +13 -0
  245. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +1 -1
  246. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +1 -1
  247. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +1 -1
  248. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tt.js +1 -1
  249. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +1 -1
  250. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +1 -1
  251. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +1 -1
  252. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +1 -1
  253. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js +1 -1
  254. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +11 -11
  255. data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +19 -18
  256. data/app/assets/javascripts/ckeditor/plugins/tableselection/styles/tableselection.css +10 -0
  257. data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +15 -15
  258. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +84 -0
  259. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +11 -0
  260. data/app/assets/javascripts/ckeditor/plugins/templates/templatedefinition.js +4 -0
  261. data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +7 -0
  262. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  263. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  264. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  265. data/app/assets/javascripts/ckeditor/samples/css/samples.css +1 -1
  266. data/app/assets/javascripts/ckeditor/samples/index.html +11 -9
  267. data/app/assets/javascripts/ckeditor/samples/js/sample.js +1 -1
  268. data/app/assets/javascripts/ckeditor/samples/js/sf.js +1 -1
  269. data/app/assets/javascripts/ckeditor/samples/old/ajax.html +5 -5
  270. data/app/assets/javascripts/ckeditor/samples/old/api.html +5 -5
  271. data/app/assets/javascripts/ckeditor/samples/old/appendto.html +5 -5
  272. data/app/assets/javascripts/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css +1 -1
  273. data/app/assets/javascripts/ckeditor/samples/old/assets/posteddata.php +4 -3
  274. data/app/assets/javascripts/ckeditor/samples/old/assets/uilanguages/languages.js +1 -1
  275. data/app/assets/javascripts/ckeditor/samples/old/datafiltering.html +8 -8
  276. data/app/assets/javascripts/ckeditor/samples/old/dialog/assets/my_dialog.js +1 -1
  277. data/app/assets/javascripts/ckeditor/samples/old/dialog/dialog.html +5 -5
  278. data/app/assets/javascripts/ckeditor/samples/old/divreplace.html +5 -5
  279. data/app/assets/javascripts/ckeditor/samples/old/enterkey/enterkey.html +5 -5
  280. data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/outputhtml.html +5 -5
  281. data/app/assets/javascripts/ckeditor/samples/old/index.html +11 -13
  282. data/app/assets/javascripts/ckeditor/samples/old/inlineall.html +6 -6
  283. data/app/assets/javascripts/ckeditor/samples/old/inlinebycode.html +5 -5
  284. data/app/assets/javascripts/ckeditor/samples/old/inlinetextarea.html +5 -5
  285. data/app/assets/javascripts/ckeditor/samples/old/jquery.html +5 -5
  286. data/app/assets/javascripts/ckeditor/samples/old/magicline/magicline.html +5 -5
  287. data/app/assets/javascripts/ckeditor/samples/old/readonly.html +5 -5
  288. data/app/assets/javascripts/ckeditor/samples/old/replacebyclass.html +5 -5
  289. data/app/assets/javascripts/ckeditor/samples/old/replacebycode.html +5 -5
  290. data/app/assets/javascripts/ckeditor/samples/old/sample.css +1 -1
  291. data/app/assets/javascripts/ckeditor/samples/old/sample.js +1 -1
  292. data/app/assets/javascripts/ckeditor/samples/old/sample_posteddata.php +1 -1
  293. data/app/assets/javascripts/ckeditor/samples/old/tabindex.html +5 -5
  294. data/app/assets/javascripts/ckeditor/samples/old/toolbar/toolbar.html +4 -4
  295. data/app/assets/javascripts/ckeditor/samples/old/uicolor.html +5 -5
  296. data/app/assets/javascripts/ckeditor/samples/old/uilanguages.html +5 -5
  297. data/app/assets/javascripts/ckeditor/samples/old/wysiwygarea/fullpage.html +5 -5
  298. data/app/assets/javascripts/ckeditor/samples/old/xhtmlstyle.html +5 -5
  299. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/index.html +7 -6
  300. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +4 -4
  301. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog.css +5 -0
  302. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie.css +5 -0
  303. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie8.css +5 -0
  304. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_iequirks.css +5 -0
  305. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor.css +5 -0
  306. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_gecko.css +5 -0
  307. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie.css +5 -0
  308. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie8.css +5 -0
  309. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_iequirks.css +5 -0
  310. data/app/assets/javascripts/ckeditor/skins/moono-lisa/icons.png +0 -0
  311. data/app/assets/javascripts/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
  312. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/arrow.png +0 -0
  313. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/close.png +0 -0
  314. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/close.png +0 -0
  315. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
  316. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock.png +0 -0
  317. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/refresh.png +0 -0
  318. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/lock-open.png +0 -0
  319. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/lock.png +0 -0
  320. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/refresh.png +0 -0
  321. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/spinner.gif +0 -0
  322. data/app/assets/javascripts/ckeditor/skins/{moono → moono-lisa}/readme.md +9 -12
  323. data/app/assets/javascripts/ckeditor/styles.js +1 -1
  324. data/app/assets/javascripts/ckeditor/vendor/promise.js +13 -0
  325. data/app/assets/javascripts/drg_default_html_editor_cms.js +1 -4
  326. data/app/assets/stylesheets/drg_default_html_editor_cms.css +3 -3
  327. data/app/models/drgcms_form_fields/ckeditor.rb +12 -13
  328. data/lib/drg_default_html_editor/version.rb +1 -1
  329. data/lib/drg_default_html_editor.rb +2 -2
  330. data/lib/tasks/drg_default_html_editor_tasks.rake +16 -4
  331. metadata +95 -166
  332. data/app/assets/javascripts/ckeditor/plugins/dialogadvtab/plugin.js +0 -196
  333. data/app/assets/javascripts/ckeditor/plugins/pastecode/CHANGES.md +0 -8
  334. data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/LICENSE.md +0 -1242
  335. data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/README.md +0 -23
  336. data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/tests/pastefromexcel.js +0 -6
  337. data/app/assets/javascripts/ckeditor/plugins/wsc/LICENSE.md +0 -28
  338. data/app/assets/javascripts/ckeditor/plugins/wsc/README.md +0 -25
  339. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -66
  340. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  341. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
  342. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -91
  343. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +0 -11
  344. data/app/assets/javascripts/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +0 -43
  345. data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
  346. data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
  347. data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/swfobject.js +0 -19
  348. data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/outputforflash.html +0 -283
  349. data/app/assets/javascripts/ckeditor/skins/moono/dialog.css +0 -5
  350. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +0 -5
  351. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +0 -5
  352. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +0 -5
  353. data/app/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +0 -5
  354. data/app/assets/javascripts/ckeditor/skins/moono/editor.css +0 -5
  355. data/app/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +0 -5
  356. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie.css +0 -5
  357. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +0 -5
  358. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +0 -5
  359. data/app/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +0 -5
  360. data/app/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
  361. data/app/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
  362. data/app/assets/javascripts/ckeditor/skins/moono/images/anchor.png +0 -0
  363. data/app/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
  364. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/anchor.png +0 -0
  365. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  366. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  367. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  368. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  369. data/app/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
  370. data/app/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
  371. data/app/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
  372. data/app/assets/javascripts/elfinder/Changelog +0 -494
  373. data/app/assets/javascripts/elfinder/LICENSE.md +0 -15
  374. data/app/assets/javascripts/elfinder/README.md +0 -209
  375. data/app/assets/javascripts/elfinder/bower.json +0 -28
  376. data/app/assets/javascripts/elfinder/composer.json +0 -39
  377. data/app/assets/javascripts/elfinder/css/elfinder.full.css +0 -3034
  378. data/app/assets/javascripts/elfinder/css/elfinder.min.css +0 -9
  379. data/app/assets/javascripts/elfinder/css/theme.css +0 -68
  380. data/app/assets/javascripts/elfinder/elfinder.html +0 -61
  381. data/app/assets/javascripts/elfinder/img/arrows-active.png +0 -0
  382. data/app/assets/javascripts/elfinder/img/arrows-normal.png +0 -0
  383. data/app/assets/javascripts/elfinder/img/crop.gif +0 -0
  384. data/app/assets/javascripts/elfinder/img/dialogs.png +0 -0
  385. data/app/assets/javascripts/elfinder/img/icons-big.png +0 -0
  386. data/app/assets/javascripts/elfinder/img/icons-small.png +0 -0
  387. data/app/assets/javascripts/elfinder/img/logo.png +0 -0
  388. data/app/assets/javascripts/elfinder/img/progress.gif +0 -0
  389. data/app/assets/javascripts/elfinder/img/quicklook-bg.png +0 -0
  390. data/app/assets/javascripts/elfinder/img/quicklook-icons.png +0 -0
  391. data/app/assets/javascripts/elfinder/img/resize.png +0 -0
  392. data/app/assets/javascripts/elfinder/img/spinner-mini.gif +0 -0
  393. data/app/assets/javascripts/elfinder/img/toolbar.png +0 -0
  394. data/app/assets/javascripts/elfinder/img/volume_icon_box.png +0 -0
  395. data/app/assets/javascripts/elfinder/img/volume_icon_dropbox.png +0 -0
  396. data/app/assets/javascripts/elfinder/img/volume_icon_ftp.png +0 -0
  397. data/app/assets/javascripts/elfinder/img/volume_icon_googledrive.png +0 -0
  398. data/app/assets/javascripts/elfinder/img/volume_icon_local.png +0 -0
  399. data/app/assets/javascripts/elfinder/img/volume_icon_onedrive.png +0 -0
  400. data/app/assets/javascripts/elfinder/img/volume_icon_sql.png +0 -0
  401. data/app/assets/javascripts/elfinder/js/elfinder.full.js +0 -23025
  402. data/app/assets/javascripts/elfinder/js/elfinder.min.js +0 -20
  403. data/app/assets/javascripts/elfinder/js/extras/encoding-japanese.min.js +0 -35
  404. data/app/assets/javascripts/elfinder/js/extras/quicklook.googledocs.js +0 -69
  405. data/app/assets/javascripts/elfinder/js/i18n/elfinder.LANG.js +0 -479
  406. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ar.js +0 -375
  407. data/app/assets/javascripts/elfinder/js/i18n/elfinder.bg.js +0 -412
  408. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ca.js +0 -375
  409. data/app/assets/javascripts/elfinder/js/i18n/elfinder.cs.js +0 -469
  410. data/app/assets/javascripts/elfinder/js/i18n/elfinder.da.js +0 -374
  411. data/app/assets/javascripts/elfinder/js/i18n/elfinder.de.js +0 -457
  412. data/app/assets/javascripts/elfinder/js/i18n/elfinder.el.js +0 -374
  413. data/app/assets/javascripts/elfinder/js/i18n/elfinder.es.js +0 -433
  414. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fa.js +0 -374
  415. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fallback.js +0 -11
  416. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fo.js +0 -419
  417. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fr.js +0 -419
  418. data/app/assets/javascripts/elfinder/js/i18n/elfinder.he.js +0 -375
  419. data/app/assets/javascripts/elfinder/js/i18n/elfinder.hr.js +0 -434
  420. data/app/assets/javascripts/elfinder/js/i18n/elfinder.hu.js +0 -447
  421. data/app/assets/javascripts/elfinder/js/i18n/elfinder.id.js +0 -373
  422. data/app/assets/javascripts/elfinder/js/i18n/elfinder.it.js +0 -448
  423. data/app/assets/javascripts/elfinder/js/i18n/elfinder.jp.js +0 -474
  424. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ko.js +0 -374
  425. data/app/assets/javascripts/elfinder/js/i18n/elfinder.nl.js +0 -419
  426. data/app/assets/javascripts/elfinder/js/i18n/elfinder.no.js +0 -374
  427. data/app/assets/javascripts/elfinder/js/i18n/elfinder.pl.js +0 -455
  428. data/app/assets/javascripts/elfinder/js/i18n/elfinder.pt_BR.js +0 -438
  429. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ro.js +0 -417
  430. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ru.js +0 -440
  431. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sk.js +0 -469
  432. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sl.js +0 -374
  433. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sr.js +0 -374
  434. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sv.js +0 -375
  435. data/app/assets/javascripts/elfinder/js/i18n/elfinder.tr.js +0 -468
  436. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ug_CN.js +0 -374
  437. data/app/assets/javascripts/elfinder/js/i18n/elfinder.uk.js +0 -391
  438. data/app/assets/javascripts/elfinder/js/i18n/elfinder.vi.js +0 -374
  439. data/app/assets/javascripts/elfinder/js/i18n/elfinder.zh_CN.js +0 -467
  440. data/app/assets/javascripts/elfinder/js/i18n/elfinder.zh_TW.js +0 -472
  441. data/app/assets/javascripts/elfinder/js/proxy/elFinderSupportVer1.js +0 -420
  442. data/app/assets/javascripts/elfinder/main.default.js +0 -94
  443. data/app/assets/javascripts/elfinder/package.json +0 -13
  444. data/app/assets/javascripts/elfinder/sounds/rm.wav +0 -0
  445. data/app/controllers/dc_elfinder_controller.rb +0 -62
  446. data/app/models/drgcms_form_fields/elfinder.rb +0 -88
  447. data/config/initializers/load_patches.rb +0 -30
  448. data/config/routes.rb +0 -2
  449. data/lib/drg_default_html_editor.rb~ +0 -6
  450. data/lib/patches/patch_for_elfinder.rb +0 -114
  451. data/lib/tasks/drg_default_html_editor_copy_assets.rake +0 -18
  452. /data/app/assets/{javascripts/ckeditor/skins/moono/images → images}/arrow.png +0 -0
  453. /data/app/assets/{javascripts/ckeditor/skins/moono/images → images}/spinner.gif +0 -0
@@ -1,196 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- ( function() {
7
-
8
- function setupAdvParams( element ) {
9
- var attrName = this.att;
10
-
11
- var value = element && element.hasAttribute( attrName ) && element.getAttribute( attrName ) || '';
12
-
13
- if ( value !== undefined )
14
- this.setValue( value );
15
- }
16
-
17
- function commitAdvParams() {
18
- // Dialogs may use different parameters in the commit list, so, by
19
- // definition, we take the first CKEDITOR.dom.element available.
20
- var element;
21
-
22
- for ( var i = 0; i < arguments.length; i++ ) {
23
- if ( arguments[ i ] instanceof CKEDITOR.dom.element ) {
24
- element = arguments[ i ];
25
- break;
26
- }
27
- }
28
-
29
- if ( element ) {
30
- var attrName = this.att,
31
- value = this.getValue();
32
-
33
- if ( value )
34
- element.setAttribute( attrName, value );
35
- else
36
- element.removeAttribute( attrName, value );
37
- }
38
- }
39
-
40
- var defaultTabConfig = { id: 1, dir: 1, classes: 1, styles: 1 };
41
-
42
- CKEDITOR.plugins.add( 'dialogadvtab', {
43
- requires: 'dialog',
44
-
45
- // Returns allowed content rule for the content created by this plugin.
46
- allowedContent: function( tabConfig ) {
47
- if ( !tabConfig )
48
- tabConfig = defaultTabConfig;
49
-
50
- var allowedAttrs = [];
51
- if ( tabConfig.id )
52
- allowedAttrs.push( 'id' );
53
- if ( tabConfig.dir )
54
- allowedAttrs.push( 'dir' );
55
-
56
- var allowed = '';
57
-
58
- if ( allowedAttrs.length )
59
- allowed += '[' + allowedAttrs.join( ',' ) + ']';
60
-
61
- if ( tabConfig.classes )
62
- allowed += '(*)';
63
- if ( tabConfig.styles )
64
- allowed += '{*}';
65
-
66
- return allowed;
67
- },
68
-
69
- // @param tabConfig
70
- // id, dir, classes, styles
71
- createAdvancedTab: function( editor, tabConfig, element ) {
72
- if ( !tabConfig )
73
- tabConfig = defaultTabConfig;
74
-
75
- var lang = editor.lang.common;
76
-
77
- var result = {
78
- id: 'advanced',
79
- label: lang.advancedTab,
80
- title: lang.advancedTab,
81
- elements: [ {
82
- type: 'vbox',
83
- padding: 1,
84
- children: []
85
- } ]
86
- };
87
-
88
- var contents = [];
89
-
90
- if ( tabConfig.id || tabConfig.dir ) {
91
- if ( tabConfig.id ) {
92
- contents.push( {
93
- id: 'advId',
94
- att: 'id',
95
- type: 'text',
96
- requiredContent: element ? element + '[id]' : null,
97
- label: lang.id,
98
- setup: setupAdvParams,
99
- commit: commitAdvParams
100
- } );
101
- }
102
-
103
- if ( tabConfig.dir ) {
104
- contents.push( {
105
- id: 'advLangDir',
106
- att: 'dir',
107
- type: 'select',
108
- requiredContent: element ? element + '[dir]' : null,
109
- label: lang.langDir,
110
- 'default': '',
111
- style: 'width:100%',
112
- items: [
113
- [ lang.notSet, '' ],
114
- [ lang.langDirLTR, 'ltr' ],
115
- [ lang.langDirRTL, 'rtl' ]
116
- ],
117
- setup: setupAdvParams,
118
- commit: commitAdvParams
119
- } );
120
- }
121
-
122
- result.elements[ 0 ].children.push( {
123
- type: 'hbox',
124
- widths: [ '50%', '50%' ],
125
- children: [].concat( contents )
126
- } );
127
- }
128
-
129
- if ( tabConfig.styles || tabConfig.classes ) {
130
- contents = [];
131
-
132
- if ( tabConfig.styles ) {
133
- contents.push( {
134
- id: 'advStyles',
135
- att: 'style',
136
- type: 'text',
137
- requiredContent: element ? element + '{cke-xyz}' : null,
138
- label: lang.styles,
139
- 'default': '',
140
-
141
- validate: CKEDITOR.dialog.validate.inlineStyle( lang.invalidInlineStyle ),
142
- onChange: function() {},
143
-
144
- getStyle: function( name, defaultValue ) {
145
- var match = this.getValue().match( new RegExp( '(?:^|;)\\s*' + name + '\\s*:\\s*([^;]*)', 'i' ) );
146
- return match ? match[ 1 ] : defaultValue;
147
- },
148
-
149
- updateStyle: function( name, value ) {
150
- var styles = this.getValue();
151
-
152
- var tmp = editor.document.createElement( 'span' );
153
- tmp.setAttribute( 'style', styles );
154
- tmp.setStyle( name, value );
155
- styles = CKEDITOR.tools.normalizeCssText( tmp.getAttribute( 'style' ) );
156
-
157
- this.setValue( styles, 1 );
158
- },
159
-
160
- setup: setupAdvParams,
161
-
162
- commit: commitAdvParams
163
-
164
- } );
165
- }
166
-
167
- if ( tabConfig.classes ) {
168
- contents.push( {
169
- type: 'hbox',
170
- widths: [ '45%', '55%' ],
171
- children: [ {
172
- id: 'advCSSClasses',
173
- att: 'class',
174
- type: 'text',
175
- requiredContent: element ? element + '(cke-xyz)' : null,
176
- label: lang.cssClasses,
177
- 'default': '',
178
- setup: setupAdvParams,
179
- commit: commitAdvParams
180
-
181
- } ]
182
- } );
183
- }
184
-
185
- result.elements[ 0 ].children.push( {
186
- type: 'hbox',
187
- widths: [ '50%', '50%' ],
188
- children: [].concat( contents )
189
- } );
190
- }
191
-
192
- return result;
193
- }
194
- } );
195
-
196
- } )();
@@ -1,8 +0,0 @@
1
- Paste code plugin for CKEditor Changelog
2
- ====================
3
-
4
- ## CKEditor 0.1
5
-
6
- The first stable release of the Paste code plugin for CKEditor.
7
-
8
- See demo here: [Link](http://ollea.ch/media/pastecode/demo.html)