drg_default_html_editor 0.5.50.3 → 0.6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (428) hide show
  1. checksums.yaml +5 -5
  2. data/app/assets/javascripts/ckeditor/CHANGES.md +1370 -414
  3. data/app/assets/javascripts/ckeditor/LICENSE.md +160 -4
  4. data/app/assets/javascripts/ckeditor/README.md +2 -2
  5. data/app/assets/javascripts/ckeditor/adapters/jquery.js +8 -8
  6. data/app/assets/javascripts/ckeditor/build-config.js +63 -60
  7. data/app/assets/javascripts/ckeditor/ckeditor.js +1241 -971
  8. data/app/assets/javascripts/ckeditor/config.js +33 -5
  9. data/app/assets/javascripts/ckeditor/contents.css +83 -9
  10. data/app/assets/javascripts/ckeditor/lang/af.js +4 -4
  11. data/app/assets/javascripts/ckeditor/lang/ar.js +4 -4
  12. data/app/assets/javascripts/ckeditor/lang/az.js +5 -0
  13. data/app/assets/javascripts/ckeditor/lang/bg.js +4 -4
  14. data/app/assets/javascripts/ckeditor/lang/bn.js +4 -4
  15. data/app/assets/javascripts/ckeditor/lang/bs.js +4 -4
  16. data/app/assets/javascripts/ckeditor/lang/ca.js +4 -4
  17. data/app/assets/javascripts/ckeditor/lang/cs.js +4 -4
  18. data/app/assets/javascripts/ckeditor/lang/cy.js +4 -4
  19. data/app/assets/javascripts/ckeditor/lang/da.js +4 -4
  20. data/app/assets/javascripts/ckeditor/lang/de-ch.js +5 -0
  21. data/app/assets/javascripts/ckeditor/lang/de.js +4 -4
  22. data/app/assets/javascripts/ckeditor/lang/el.js +4 -4
  23. data/app/assets/javascripts/ckeditor/lang/en-au.js +4 -4
  24. data/app/assets/javascripts/ckeditor/lang/en-ca.js +4 -4
  25. data/app/assets/javascripts/ckeditor/lang/en-gb.js +4 -4
  26. data/app/assets/javascripts/ckeditor/lang/en.js +4 -4
  27. data/app/assets/javascripts/ckeditor/lang/eo.js +4 -4
  28. data/app/assets/javascripts/ckeditor/lang/es-mx.js +5 -0
  29. data/app/assets/javascripts/ckeditor/lang/es.js +4 -4
  30. data/app/assets/javascripts/ckeditor/lang/et.js +4 -4
  31. data/app/assets/javascripts/ckeditor/lang/eu.js +4 -4
  32. data/app/assets/javascripts/ckeditor/lang/fa.js +4 -4
  33. data/app/assets/javascripts/ckeditor/lang/fi.js +4 -4
  34. data/app/assets/javascripts/ckeditor/lang/fo.js +4 -4
  35. data/app/assets/javascripts/ckeditor/lang/fr-ca.js +4 -4
  36. data/app/assets/javascripts/ckeditor/lang/fr.js +4 -4
  37. data/app/assets/javascripts/ckeditor/lang/gl.js +4 -4
  38. data/app/assets/javascripts/ckeditor/lang/gu.js +4 -4
  39. data/app/assets/javascripts/ckeditor/lang/he.js +4 -4
  40. data/app/assets/javascripts/ckeditor/lang/hi.js +4 -4
  41. data/app/assets/javascripts/ckeditor/lang/hr.js +4 -4
  42. data/app/assets/javascripts/ckeditor/lang/hu.js +4 -4
  43. data/app/assets/javascripts/ckeditor/lang/id.js +4 -4
  44. data/app/assets/javascripts/ckeditor/lang/is.js +4 -4
  45. data/app/assets/javascripts/ckeditor/lang/it.js +4 -4
  46. data/app/assets/javascripts/ckeditor/lang/ja.js +4 -4
  47. data/app/assets/javascripts/ckeditor/lang/ka.js +4 -4
  48. data/app/assets/javascripts/ckeditor/lang/km.js +4 -4
  49. data/app/assets/javascripts/ckeditor/lang/ko.js +4 -4
  50. data/app/assets/javascripts/ckeditor/lang/ku.js +4 -4
  51. data/app/assets/javascripts/ckeditor/lang/lt.js +4 -4
  52. data/app/assets/javascripts/ckeditor/lang/lv.js +4 -4
  53. data/app/assets/javascripts/ckeditor/lang/mk.js +4 -4
  54. data/app/assets/javascripts/ckeditor/lang/mn.js +4 -4
  55. data/app/assets/javascripts/ckeditor/lang/ms.js +4 -4
  56. data/app/assets/javascripts/ckeditor/lang/nb.js +4 -4
  57. data/app/assets/javascripts/ckeditor/lang/nl.js +4 -4
  58. data/app/assets/javascripts/ckeditor/lang/no.js +4 -4
  59. data/app/assets/javascripts/ckeditor/lang/oc.js +5 -0
  60. data/app/assets/javascripts/ckeditor/lang/pl.js +4 -4
  61. data/app/assets/javascripts/ckeditor/lang/pt-br.js +4 -4
  62. data/app/assets/javascripts/ckeditor/lang/pt.js +4 -4
  63. data/app/assets/javascripts/ckeditor/lang/ro.js +4 -4
  64. data/app/assets/javascripts/ckeditor/lang/ru.js +4 -4
  65. data/app/assets/javascripts/ckeditor/lang/si.js +4 -4
  66. data/app/assets/javascripts/ckeditor/lang/sk.js +4 -4
  67. data/app/assets/javascripts/ckeditor/lang/sl.js +4 -4
  68. data/app/assets/javascripts/ckeditor/lang/sq.js +4 -4
  69. data/app/assets/javascripts/ckeditor/lang/sr-latn.js +4 -4
  70. data/app/assets/javascripts/ckeditor/lang/sr.js +4 -4
  71. data/app/assets/javascripts/ckeditor/lang/sv.js +4 -4
  72. data/app/assets/javascripts/ckeditor/lang/th.js +4 -4
  73. data/app/assets/javascripts/ckeditor/lang/tr.js +4 -4
  74. data/app/assets/javascripts/ckeditor/lang/tt.js +4 -4
  75. data/app/assets/javascripts/ckeditor/lang/ug.js +4 -4
  76. data/app/assets/javascripts/ckeditor/lang/uk.js +4 -4
  77. data/app/assets/javascripts/ckeditor/lang/vi.js +4 -4
  78. data/app/assets/javascripts/ckeditor/lang/zh-cn.js +4 -4
  79. data/app/assets/javascripts/ckeditor/lang/zh.js +4 -4
  80. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -7
  81. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +2 -2
  82. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +11 -0
  83. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +6 -6
  84. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +11 -0
  85. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -9
  86. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +10 -10
  87. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -11
  88. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +7 -7
  89. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -9
  90. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +12 -0
  91. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +11 -10
  92. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +7 -7
  93. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +11 -0
  94. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +6 -6
  95. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +6 -6
  96. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +7 -7
  97. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +13 -0
  98. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +9 -8
  99. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +7 -7
  100. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +12 -0
  101. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +7 -7
  102. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +7 -8
  103. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +11 -0
  104. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +8 -9
  105. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +11 -11
  106. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +8 -8
  107. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +6 -6
  108. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +7 -7
  109. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +6 -6
  110. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -9
  111. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +6 -7
  112. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +9 -9
  113. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +7 -7
  114. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +5 -5
  115. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +6 -6
  116. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +8 -8
  117. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +8 -9
  118. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +6 -6
  119. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +6 -7
  120. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -9
  121. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +6 -6
  122. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -9
  123. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +6 -6
  124. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +7 -7
  125. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +12 -0
  126. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +10 -10
  127. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -8
  128. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +10 -10
  129. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +10 -10
  130. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +7 -7
  131. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +8 -8
  132. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +8 -9
  133. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +8 -9
  134. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +9 -9
  135. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +6 -6
  136. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +6 -6
  137. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +9 -10
  138. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +6 -6
  139. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +8 -8
  140. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +9 -9
  141. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +8 -7
  142. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +6 -6
  143. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +7 -7
  144. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -7
  145. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +7 -8
  146. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -5
  147. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  148. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  149. data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +9 -9
  150. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.css +20 -0
  151. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +12 -11
  152. data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +2 -2
  153. data/app/assets/javascripts/ckeditor/plugins/dialogadvtab/plugin.js +196 -0
  154. data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +8 -8
  155. data/app/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  156. data/app/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
  157. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +42 -41
  158. data/app/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
  159. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -5
  160. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +26 -24
  161. data/app/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
  162. data/app/assets/javascripts/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  163. data/app/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
  164. data/app/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  165. data/app/assets/javascripts/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
  166. data/app/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
  167. data/app/assets/javascripts/ckeditor/plugins/pastecode/CHANGES.md +8 -0
  168. data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/LICENSE.md +1242 -0
  169. data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/README.md +23 -0
  170. data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/tests/pastefromexcel.js +6 -0
  171. data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +53 -29
  172. data/app/assets/javascripts/ckeditor/plugins/scayt/CHANGELOG.md +20 -0
  173. data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/dialog.css +23 -0
  174. data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +32 -17
  175. data/app/assets/javascripts/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +25 -0
  176. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +2 -2
  177. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/af.js +13 -0
  178. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +3 -3
  179. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/az.js +10 -0
  180. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +4 -4
  181. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +2 -2
  182. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +3 -3
  183. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +2 -2
  184. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/da.js +11 -0
  185. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +13 -0
  186. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +11 -11
  187. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +5 -5
  188. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +13 -0
  189. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +13 -0
  190. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +3 -3
  191. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +3 -3
  192. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +2 -2
  193. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +13 -0
  194. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +2 -2
  195. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +3 -3
  196. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eu.js +13 -0
  197. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +2 -2
  198. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +3 -3
  199. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +2 -2
  200. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +10 -9
  201. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +2 -2
  202. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +2 -2
  203. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +11 -11
  204. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +2 -2
  205. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +3 -3
  206. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +3 -3
  207. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +2 -2
  208. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +3 -3
  209. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ko.js +10 -0
  210. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +2 -2
  211. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lt.js +13 -0
  212. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +2 -2
  213. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +2 -2
  214. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +2 -2
  215. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +2 -2
  216. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/oc.js +12 -0
  217. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +3 -3
  218. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +2 -2
  219. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +11 -11
  220. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ro.js +13 -0
  221. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +2 -2
  222. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +3 -3
  223. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +2 -2
  224. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +10 -10
  225. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +5 -5
  226. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +2 -2
  227. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +3 -3
  228. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +2 -2
  229. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tt.js +6 -6
  230. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +3 -3
  231. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +2 -2
  232. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +2 -2
  233. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +3 -3
  234. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js +7 -10
  235. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +11 -11
  236. data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +19 -19
  237. data/app/assets/javascripts/ckeditor/plugins/tableselection/styles/tableselection.css +26 -0
  238. data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +16 -15
  239. data/app/assets/javascripts/ckeditor/plugins/widget/images/handle.png +0 -0
  240. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +1 -1
  241. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +1 -1
  242. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +1 -1
  243. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +88 -71
  244. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +7 -7
  245. data/app/assets/javascripts/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +43 -0
  246. data/app/assets/javascripts/ckeditor/samples/css/samples.css +1637 -0
  247. data/app/assets/javascripts/ckeditor/samples/img/github-top.png +0 -0
  248. data/app/assets/javascripts/ckeditor/samples/img/header-bg.png +0 -0
  249. data/app/assets/javascripts/ckeditor/samples/img/header-separator.png +0 -0
  250. data/app/assets/javascripts/ckeditor/samples/img/logo.png +0 -0
  251. data/app/assets/javascripts/ckeditor/samples/img/logo.svg +13 -0
  252. data/app/assets/javascripts/ckeditor/samples/img/navigation-tip.png +0 -0
  253. data/app/assets/javascripts/ckeditor/samples/index.html +112 -112
  254. data/app/assets/javascripts/ckeditor/samples/js/sample.js +53 -0
  255. data/app/assets/javascripts/ckeditor/samples/js/sf.js +17 -0
  256. data/app/assets/javascripts/ckeditor/samples/{ajax.html → old/ajax.html} +8 -5
  257. data/app/assets/javascripts/ckeditor/samples/{api.html → old/api.html} +17 -14
  258. data/app/assets/javascripts/ckeditor/samples/{appendto.html → old/appendto.html} +10 -7
  259. data/app/assets/javascripts/ckeditor/samples/old/assets/inlineall/logo.png +0 -0
  260. data/app/assets/javascripts/ckeditor/samples/{assets → old/assets}/outputxhtml/outputxhtml.css +2 -2
  261. data/app/assets/javascripts/ckeditor/samples/{assets → old/assets}/posteddata.php +4 -4
  262. data/app/assets/javascripts/ckeditor/samples/old/assets/sample.jpg +0 -0
  263. data/app/assets/javascripts/ckeditor/samples/old/assets/uilanguages/languages.js +7 -0
  264. data/app/assets/javascripts/ckeditor/samples/{datafiltering.html → old/datafiltering.html} +120 -13
  265. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/dialog/assets/my_dialog.js +3 -3
  266. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/dialog/dialog.html +12 -9
  267. data/app/assets/javascripts/ckeditor/samples/{divreplace.html → old/divreplace.html} +8 -5
  268. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/enterkey/enterkey.html +12 -9
  269. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
  270. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
  271. data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/swfobject.js +19 -0
  272. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/htmlwriter/outputforflash.html +11 -8
  273. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/htmlwriter/outputhtml.html +12 -9
  274. data/app/assets/javascripts/ckeditor/samples/old/index.html +131 -0
  275. data/app/assets/javascripts/ckeditor/samples/{inlineall.html → old/inlineall.html} +13 -10
  276. data/app/assets/javascripts/ckeditor/samples/{inlinebycode.html → old/inlinebycode.html} +9 -6
  277. data/app/assets/javascripts/ckeditor/samples/{inlinetextarea.html → old/inlinetextarea.html} +10 -7
  278. data/app/assets/javascripts/ckeditor/samples/{jquery.html → old/jquery.html} +11 -8
  279. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/magicline/magicline.html +9 -6
  280. data/app/assets/javascripts/ckeditor/samples/{readonly.html → old/readonly.html} +11 -8
  281. data/app/assets/javascripts/ckeditor/samples/{replacebyclass.html → old/replacebyclass.html} +8 -5
  282. data/app/assets/javascripts/ckeditor/samples/{replacebycode.html → old/replacebycode.html} +8 -5
  283. data/app/assets/javascripts/ckeditor/samples/{sample.css → old/sample.css} +6 -14
  284. data/app/assets/javascripts/ckeditor/samples/{sample.js → old/sample.js} +2 -2
  285. data/app/assets/javascripts/ckeditor/samples/{sample_posteddata.php → old/sample_posteddata.php} +2 -2
  286. data/app/assets/javascripts/ckeditor/samples/{tabindex.html → old/tabindex.html} +8 -5
  287. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/toolbar/toolbar.html +13 -10
  288. data/app/assets/javascripts/ckeditor/samples/{uicolor.html → old/uicolor.html} +9 -6
  289. data/app/assets/javascripts/ckeditor/samples/{uilanguages.html → old/uilanguages.html} +11 -8
  290. data/app/assets/javascripts/ckeditor/samples/old/wysiwygarea/fullpage.html +80 -0
  291. data/app/assets/javascripts/ckeditor/samples/{xhtmlstyle.html → old/xhtmlstyle.html} +10 -7
  292. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/css/fontello.css +55 -0
  293. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt +10 -0
  294. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/config.json +28 -0
  295. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.eot +0 -0
  296. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.svg +14 -0
  297. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.ttf +0 -0
  298. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.woff +0 -0
  299. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/index.html +446 -0
  300. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js +13 -0
  301. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +9 -0
  302. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js +33 -0
  303. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js +14 -0
  304. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE +19 -0
  305. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css +325 -0
  306. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js +288 -0
  307. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js +25 -0
  308. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css +36 -0
  309. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css +38 -0
  310. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js +16 -0
  311. data/app/assets/javascripts/ckeditor/skins/moono/dialog.css +3 -3
  312. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +3 -3
  313. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +3 -3
  314. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +3 -3
  315. data/app/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +3 -3
  316. data/app/assets/javascripts/ckeditor/skins/moono/editor.css +3 -3
  317. data/app/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +3 -3
  318. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie.css +3 -3
  319. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +3 -3
  320. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +3 -3
  321. data/app/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +3 -3
  322. data/app/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
  323. data/app/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
  324. data/app/assets/javascripts/ckeditor/skins/moono/images/anchor.png +0 -0
  325. data/app/assets/javascripts/ckeditor/skins/moono/images/arrow.png +0 -0
  326. data/app/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
  327. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/anchor.png +0 -0
  328. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  329. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  330. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  331. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  332. data/app/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
  333. data/app/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
  334. data/app/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
  335. data/app/assets/javascripts/ckeditor/skins/moono/images/spinner.gif +0 -0
  336. data/app/assets/javascripts/ckeditor/skins/moono/readme.md +5 -7
  337. data/app/assets/javascripts/ckeditor/styles.js +43 -17
  338. data/app/controllers/dc_elfinder_controller.rb +5 -1
  339. data/app/models/drgcms_form_fields/ckeditor.rb +60 -0
  340. data/{lib/patches/drgcms_form_field.rb → app/models/drgcms_form_fields/elfinder.rb} +1 -34
  341. data/lib/drg_default_html_editor.rb +1 -2
  342. data/lib/drg_default_html_editor/version.rb +1 -1
  343. data/lib/patches/patch_for_elfinder.rb +0 -1
  344. metadata +118 -127
  345. data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -24
  346. data/app/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -24
  347. data/app/assets/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  348. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -8
  349. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -8
  350. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -8
  351. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -8
  352. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -8
  353. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -20
  354. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -8
  355. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -10
  356. data/app/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  357. data/app/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +0 -10
  358. data/app/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  359. data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -10
  360. data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  361. data/app/assets/javascripts/ckeditor/plugins/preview/preview.html +0 -13
  362. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  363. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  364. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  365. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  366. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  367. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  368. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  369. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  370. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  371. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  372. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  373. data/app/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -10
  374. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  375. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
  376. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  377. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
  378. data/app/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  379. data/app/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
  380. data/app/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  381. data/app/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
  382. data/app/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  383. data/app/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
  384. data/app/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  385. data/app/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
  386. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  387. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  388. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
  389. data/app/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  390. data/app/assets/javascripts/ckeditor/plugins/smiley/images/envelope.png +0 -0
  391. data/app/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  392. data/app/assets/javascripts/ckeditor/plugins/smiley/images/heart.png +0 -0
  393. data/app/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  394. data/app/assets/javascripts/ckeditor/plugins/smiley/images/kiss.png +0 -0
  395. data/app/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  396. data/app/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
  397. data/app/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  398. data/app/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
  399. data/app/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  400. data/app/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
  401. data/app/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  402. data/app/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
  403. data/app/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  404. data/app/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
  405. data/app/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  406. data/app/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
  407. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  408. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
  409. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  410. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
  411. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  412. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
  413. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  414. data/app/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  415. data/app/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
  416. data/app/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  417. data/app/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
  418. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +0 -84
  419. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -10
  420. data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
  421. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  422. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  423. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  424. data/app/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
  425. data/app/assets/javascripts/ckeditor/samples/assets/sample.jpg +0 -0
  426. data/app/assets/javascripts/ckeditor/samples/assets/uilanguages/languages.js +0 -7
  427. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +0 -18
  428. data/app/assets/javascripts/ckeditor/samples/plugins/wysiwygarea/fullpage.html +0 -77
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="443px" height="129px" viewBox="0 0 443 129" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 48.2 (47327) - http://www.bohemiancoding.com/sketch -->
4
+ <title>Group</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="products-icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
+ <g id="Group">
9
+ <path d="M192.234,50.622 C191.867998,48.9546583 191.268171,47.4601733 190.4345,46.1385 C189.600829,44.8168267 188.584173,43.7086711 187.3845,42.814 C186.184827,41.9193289 184.863174,41.238169 183.4195,40.7705 C181.975826,40.302831 180.461008,40.069 178.875,40.069 C175.987652,40.069 173.50701,40.6179945 171.433,41.716 C169.35899,42.8140055 167.661173,44.2678243 166.3395,46.0775 C165.017827,47.8871757 164.041836,49.9306553 163.4115,52.208 C162.781164,54.4853447 162.466,56.8236547 162.466,59.223 C162.466,61.5816785 162.781164,63.9098218 163.4115,66.2075 C164.041836,68.5051782 165.017827,70.5588243 166.3395,72.3685 C167.661173,74.1781757 169.35899,75.6319945 171.433,76.73 C173.50701,77.8280055 175.987652,78.377 178.875,78.377 C180.908344,78.377 182.738325,78.0110037 184.365,77.279 C185.991675,76.5469963 187.394661,75.550673 188.574,74.29 C189.753339,73.029327 190.708996,71.5551751 191.441,69.8675 C192.173004,68.1798249 192.640666,66.3600098 192.844,64.408 L196.992,64.408 C196.707332,67.0920134 196.077005,69.5116559 195.101,71.667 C194.124995,73.8223441 192.864341,75.6523258 191.319,77.157 C189.773659,78.6616742 187.953844,79.8206626 185.8595,80.634 C183.765156,81.4473374 181.437013,81.854 178.875,81.854 C175.458983,81.854 172.459846,81.2338395 169.8775,79.9935 C167.295154,78.7531605 165.150009,77.0960104 163.442,75.022 C161.733991,72.9479896 160.453004,70.5486803 159.599,67.824 C158.744996,65.0993197 158.318,62.2323484 158.318,59.223 C158.318,56.2136516 158.744996,53.3466803 159.599,50.622 C160.453004,47.8973197 161.733991,45.4878438 163.442,43.3935 C165.150009,41.2991562 167.295154,39.6318395 169.8775,38.3915 C172.459846,37.1511605 175.458983,36.531 178.875,36.531 C180.94901,36.531 182.972157,36.8359969 184.9445,37.446 C186.916843,38.0560031 188.706159,38.9608273 190.3125,40.1605 C191.918841,41.3601727 193.260828,42.8343246 194.3385,44.583 C195.416172,46.3316754 196.097332,48.3446553 196.382,50.622 L192.234,50.622 Z M203.516,37.446 L207.664,37.446 L207.664,60.87 L232.979,37.446 L238.591,37.446 L219.132,55.441 L239.506,81 L234.138,81 L216.021,58.308 L207.664,66.055 L207.664,81 L203.516,81 L203.516,37.446 Z M243.224,37.446 L273.297,37.446 L273.297,40.984 L247.372,40.984 L247.372,56.722 L271.65,56.722 L271.65,60.26 L247.372,60.26 L247.372,77.462 L273.602,77.462 L273.602,81 L243.224,81 L243.224,37.446 Z M306.539,81 L303.001,81 L303.001,75.022 L302.879,75.022 C302.472331,76.0386717 301.872504,76.9739957 301.0795,77.828 C300.286496,78.6820043 299.381672,79.4038304 298.365,79.9935 C297.348328,80.5831696 296.260506,81.040665 295.1015,81.366 C293.942494,81.691335 292.793672,81.854 291.655,81.854 C289.255655,81.854 287.171509,81.4168377 285.4025,80.5425 C283.633491,79.6681623 282.159339,78.4685076 280.98,76.9435 C279.800661,75.4184924 278.926336,73.6495101 278.357,71.6365 C277.787664,69.6234899 277.503,67.4986779 277.503,65.262 C277.503,63.0253221 277.787664,60.9005101 278.357,58.8875 C278.926336,56.8744899 279.800661,55.1055076 280.98,53.5805 C282.159339,52.0554924 283.633491,50.8456711 285.4025,49.951 C287.171509,49.0563289 289.255655,48.609 291.655,48.609 C292.834339,48.609 293.983161,48.7513319 295.1015,49.036 C296.219839,49.3206681 297.266995,49.7578304 298.243,50.3475 C299.219005,50.9371696 300.083163,51.6589957 300.8355,52.513 C301.587837,53.3670043 302.167331,54.3633276 302.574,55.502 L302.696,55.502 L302.696,37.446 L306.539,37.446 L306.539,81 Z M281.346,65.262 C281.346,66.8886748 281.539165,68.5051586 281.9255,70.1115 C282.311835,71.7178414 282.921829,73.151327 283.7555,74.412 C284.589171,75.672673 285.65666,76.699496 286.958,77.4925 C288.25934,78.285504 289.824991,78.682 291.655,78.682 C293.688344,78.682 295.406493,78.285504 296.8095,77.4925 C298.212507,76.699496 299.351162,75.672673 300.2255,74.412 C301.099838,73.151327 301.730165,71.7178414 302.1165,70.1115 C302.502835,68.5051586 302.696,66.8886748 302.696,65.262 C302.696,63.6353252 302.502835,62.0188414 302.1165,60.4125 C301.730165,58.8061586 301.099838,57.372673 300.2255,56.112 C299.351162,54.851327 298.212507,53.824504 296.8095,53.0315 C295.406493,52.238496 293.688344,51.842 291.655,51.842 C289.824991,51.842 288.25934,52.238496 286.958,53.0315 C285.65666,53.824504 284.589171,54.851327 283.7555,56.112 C282.921829,57.372673 282.311835,58.8061586 281.9255,60.4125 C281.539165,62.0188414 281.346,63.6353252 281.346,65.262 Z M314.1,37.446 L317.943,37.446 L317.943,43.607 L314.1,43.607 L314.1,37.446 Z M314.1,49.524 L317.943,49.524 L317.943,81 L314.1,81 L314.1,49.524 Z M331.604,49.524 L338.009,49.524 L338.009,52.757 L331.604,52.757 L331.604,73.985 C331.604,75.245673 331.776832,76.2318298 332.1225,76.9435 C332.468168,77.6551702 333.332326,78.0516663 334.715,78.133 C335.813006,78.133 336.910995,78.0720006 338.009,77.95 L338.009,81.183 C337.439664,81.183 336.870336,81.2033331 336.301,81.244 C335.731664,81.2846669 335.162336,81.305 334.593,81.305 C332.030987,81.305 330.241672,80.8068383 329.225,79.8105 C328.208328,78.8141617 327.720333,76.9740134 327.761,74.29 L327.761,52.757 L322.271,52.757 L322.271,49.524 L327.761,49.524 L327.761,40.069 L331.604,40.069 L331.604,49.524 Z M357.038,51.842 C355.207991,51.842 353.601674,52.2283295 352.219,53.001 C350.836326,53.7736705 349.687505,54.790327 348.7725,56.051 C347.857495,57.311673 347.166169,58.7451586 346.6985,60.3515 C346.230831,61.9578414 345.997,63.5946583 345.997,65.262 C345.997,66.9293417 346.230831,68.5661586 346.6985,70.1725 C347.166169,71.7788414 347.857495,73.212327 348.7725,74.473 C349.687505,75.733673 350.836326,76.7503295 352.219,77.523 C353.601674,78.2956705 355.207991,78.682 357.038,78.682 C358.868009,78.682 360.474326,78.2956705 361.857,77.523 C363.239674,76.7503295 364.388495,75.733673 365.3035,74.473 C366.218505,73.212327 366.909831,71.7788414 367.3775,70.1725 C367.845169,68.5661586 368.079,66.9293417 368.079,65.262 C368.079,63.5946583 367.845169,61.9578414 367.3775,60.3515 C366.909831,58.7451586 366.218505,57.311673 365.3035,56.051 C364.388495,54.790327 363.239674,53.7736705 361.857,53.001 C360.474326,52.2283295 358.868009,51.842 357.038,51.842 Z M357.038,48.609 C359.437345,48.609 361.562157,49.0563289 363.4125,49.951 C365.262843,50.8456711 366.818327,52.0453258 368.079,53.55 C369.339673,55.0546742 370.29533,56.8134899 370.946,58.8265 C371.59667,60.8395101 371.922,62.9846553 371.922,65.262 C371.922,67.5393447 371.59667,69.6844899 370.946,71.6975 C370.29533,73.7105101 369.339673,75.4693258 368.079,76.974 C366.818327,78.4786742 365.262843,79.6681623 363.4125,80.5425 C361.562157,81.4168377 359.437345,81.854 357.038,81.854 C354.638655,81.854 352.513843,81.4168377 350.6635,80.5425 C348.813157,79.6681623 347.257673,78.4786742 345.997,76.974 C344.736327,75.4693258 343.78067,73.7105101 343.13,71.6975 C342.47933,69.6844899 342.154,67.5393447 342.154,65.262 C342.154,62.9846553 342.47933,60.8395101 343.13,58.8265 C343.78067,56.8134899 344.736327,55.0546742 345.997,53.55 C347.257673,52.0453258 348.813157,50.8456711 350.6635,49.951 C352.513843,49.0563289 354.638655,48.609 357.038,48.609 Z M377.836,49.524 L381.374,49.524 L381.374,56.905 L381.496,56.905 C382.472005,54.3429872 383.986823,52.3706736 386.0405,50.988 C388.094177,49.6053264 390.544319,48.9749994 393.391,49.097 L393.391,52.94 C391.642325,52.8586663 390.056341,53.0924973 388.633,53.6415 C387.20966,54.1905027 385.979505,54.9733283 384.9425,55.99 C383.905495,57.0066718 383.102336,58.216493 382.533,59.6195 C381.963664,61.022507 381.679,62.5576583 381.679,64.225 L381.679,81 L377.836,81 L377.836,49.524 Z M432.242,67.153 L432.242,43.912 L432.12,43.912 L416.016,67.153 L432.242,67.153 Z M412.539,66.665 L432.303,38.3 L435.78,38.3 L435.78,67.153 L442.185,67.153 L442.185,70.386 L435.78,70.386 L435.78,81 L432.242,81 L432.242,70.386 L412.539,70.386 L412.539,66.665 Z" id="ckeditor-4-txt" fill="#32373C"></path>
10
+ <path d="M91.3990305,18.4275908 C89.708134,21.8370406 88.7575758,25.6787251 88.7575758,29.7424242 C88.7575758,43.8256854 100.174315,55.2424242 114.257576,55.2424242 C114.439555,55.2424242 114.62109,55.240518 114.80216,55.2367244 L114.80216,90.9505846 C114.80216,95.2377717 112.514973,99.199296 108.80216,101.342889 L63.6969697,127.384383 C59.9841568,129.527977 55.4097826,129.527977 51.6969697,127.384383 L6.59177944,101.342889 C2.87896651,99.199296 0.591779435,95.2377717 0.591779435,90.9505846 L0.591779435,38.8675972 C0.591779435,34.5804101 2.87896651,30.6188859 6.59177944,28.4752923 L51.6969697,2.43379858 C55.4097826,0.290205045 59.9841568,0.290205045 63.6969697,2.43379858 L91.3990305,18.4275908 Z M32.8787879,42.2424242 C31.2219336,42.2424242 29.8787879,43.58557 29.8787879,45.2424242 L29.8787879,46.6741182 C29.8787879,48.3309725 31.2219336,49.6741182 32.8787879,49.6741182 L83.5454545,49.6741182 C85.2023088,49.6741182 86.5454545,48.3309725 86.5454545,46.6741182 L86.5454545,45.2424242 C86.5454545,43.58557 85.2023088,42.2424242 83.5454545,42.2424242 L32.8787879,42.2424242 Z M32.8787879,60.7203179 C31.2219336,60.7203179 29.8787879,62.0634637 29.8787879,63.7203179 L29.8787879,65.1520119 C29.8787879,66.8088662 31.2219336,68.1520119 32.8787879,68.1520119 L69.6110283,68.1520119 C71.2678826,68.1520119 72.6110283,66.8088662 72.6110283,65.1520119 L72.6110283,63.7203179 C72.6110283,62.0634637 71.2678826,60.7203179 69.6110283,60.7203179 L32.8787879,60.7203179 Z M32.8787879,79.1982116 C31.2219336,79.1982116 29.8787879,80.5413574 29.8787879,82.1982116 L29.8787879,83.6299056 C29.8787879,85.2867599 31.2219336,86.6299056 32.8787879,86.6299056 L83.5454545,86.6299056 C85.2023088,86.6299056 86.5454545,85.2867599 86.5454545,83.6299056 L86.5454545,82.1982116 C86.5454545,80.5413574 85.2023088,79.1982116 83.5454545,79.1982116 L32.8787879,79.1982116 Z M114.757576,50.2424242 C103.159596,50.2424242 93.7575758,40.840404 93.7575758,29.2424242 C93.7575758,17.6444445 103.159596,8.24242424 114.757576,8.24242424 C126.355556,8.24242424 135.757576,17.6444445 135.757576,29.2424242 C135.757576,40.840404 126.355556,50.2424242 114.757576,50.2424242 Z M118.332146,34.5716487 L120.545455,34.5716487 L120.545455,31.2467386 L118.309328,31.2467386 L118.309328,20.6363636 L113.722988,20.6363636 L107.151515,31.1244992 L107.151515,34.5716487 L114.749781,34.5716487 L114.749781,37.9454545 L118.332146,37.9454545 L118.332146,34.5716487 Z M114.772598,24.841397 L114.772598,31.2467386 L110.870786,31.2467386 L114.704145,24.841397 L114.772598,24.841397 Z" id="ckeditor-4" fill="#0287D0"></path>
11
+ </g>
12
+ </g>
13
+ </svg>
@@ -1,128 +1,128 @@
1
1
  <!DOCTYPE html>
2
2
  <!--
3
- Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.md or http://ckeditor.com/license
3
+ Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
4
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
5
5
  -->
6
6
  <html>
7
7
  <head>
8
8
  <meta charset="utf-8">
9
- <title>CKEditor Samples</title>
10
- <link rel="stylesheet" href="sample.css">
9
+ <title>CKEditor Sample</title>
10
+ <script src="../ckeditor.js"></script>
11
+ <script src="js/sample.js"></script>
12
+ <link rel="stylesheet" href="css/samples.css">
13
+ <link rel="stylesheet" href="toolbarconfigurator/lib/codemirror/neo.css">
11
14
  </head>
12
- <body>
13
- <h1 class="samples">
14
- CKEditor Samples
15
- </h1>
16
- <div class="twoColumns">
17
- <div class="twoColumnsLeft">
18
- <h2 class="samples">
19
- Basic Samples
20
- </h2>
21
- <dl class="samples">
22
- <dt><a class="samples" href="replacebyclass.html">Replace textarea elements by class name</a></dt>
23
- <dd>Automatic replacement of all textarea elements of a given class with a CKEditor instance.</dd>
24
-
25
- <dt><a class="samples" href="replacebycode.html">Replace textarea elements by code</a></dt>
26
- <dd>Replacement of textarea elements with CKEditor instances by using a JavaScript call.</dd>
27
-
28
- <dt><a class="samples" href="jquery.html">Create editors with jQuery</a></dt>
29
- <dd>Creating standard and inline CKEditor instances with jQuery adapter.</dd>
30
- </dl>
31
-
32
- <h2 class="samples">
33
- Basic Customization
34
- </h2>
35
- <dl class="samples">
36
- <dt><a class="samples" href="uicolor.html">User Interface color</a></dt>
37
- <dd>Changing CKEditor User Interface color and adding a toolbar button that lets the user set the UI color.</dd>
38
-
39
- <dt><a class="samples" href="uilanguages.html">User Interface languages</a></dt>
40
- <dd>Changing CKEditor User Interface language and adding a drop-down list that lets the user choose the UI language.</dd>
41
- </dl>
42
-
43
-
44
- <h2 class="samples">Plugins</h2>
45
- <dl class="samples">
46
- <dt><a class="samples" href="plugins/magicline/magicline.html">Magicline plugin</a></dt>
47
- <dd>Using the Magicline plugin to access difficult focus spaces.</dd>
48
-
49
- <dt><a class="samples" href="plugins/wysiwygarea/fullpage.html">Full page support</a></dt>
50
- <dd>CKEditor inserted with a JavaScript call and used to edit the whole page from &lt;html&gt; to &lt;/html&gt;.</dd>
51
- </dl>
15
+ <body id="main">
16
+
17
+ <nav class="navigation-a">
18
+ <div class="grid-container">
19
+ <ul class="navigation-a-left grid-width-70">
20
+ <li><a href="https://ckeditor.com/ckeditor-4/">Project Homepage</a></li>
21
+ <li><a href="https://github.com/ckeditor/ckeditor-dev/issues">I found a bug</a></li>
22
+ <li><a href="http://github.com/ckeditor/ckeditor-dev" class="icon-pos-right icon-navigation-a-github">Fork CKEditor on GitHub</a></li>
23
+ </ul>
24
+ <ul class="navigation-a-right grid-width-30">
25
+ <li><a href="https://ckeditor.com/blog/">CKEditor Blog</a></li>
26
+ </ul>
27
+ </div>
28
+ </nav>
29
+
30
+ <header class="header-a">
31
+ <div class="grid-container">
32
+ <h1 class="header-a-logo grid-width-30">
33
+ <a href="index.html"><img src="img/logo.svg" onerror="this.src='img/logo.png'; this.onerror=null;" alt="CKEditor Sample"></a>
34
+ </h1>
35
+
36
+ <nav class="navigation-b grid-width-70">
37
+ <ul>
38
+ <li><a href="index.html" class="button-a button-a-background">Start</a></li>
39
+ <li><a href="toolbarconfigurator/index.html" class="button-a">Toolbar configurator <span class="balloon-a balloon-a-nw">Edit your toolbar now!</span></a></li>
40
+ </ul>
41
+ </nav>
42
+ </div>
43
+ </header>
44
+
45
+ <main>
46
+ <div class="adjoined-top">
47
+ <div class="grid-container">
48
+ <div class="content grid-width-100">
49
+ <h1>Congratulations!</h1>
50
+ <p>
51
+ If you can see CKEditor below, it means that the installation succeeded.
52
+ You can now try out your new editor version, see its features, and when you are ready to move on, check some of the <a href="#sample-customize">most useful resources</a> recommended below.
53
+ </p>
54
+ </div>
52
55
  </div>
53
- <div class="twoColumnsRight">
54
- <h2 class="samples">
55
- Inline Editing
56
- </h2>
57
- <dl class="samples">
58
- <dt><a class="samples" href="inlineall.html">Massive inline editor creation</a></dt>
59
- <dd>Turn all elements with <code>contentEditable = true</code> attribute into inline editors.</dd>
60
-
61
- <dt><a class="samples" href="inlinebycode.html">Convert element into an inline editor by code</a></dt>
62
- <dd>Conversion of DOM elements into inline CKEditor instances by using a JavaScript call.</dd>
63
-
64
- <dt><a class="samples" href="inlinetextarea.html">Replace textarea with inline editor</a> <span class="new">New!</span></dt>
65
- <dd>A form with a textarea that is replaced by an inline editor at runtime.</dd>
66
-
67
-
68
- </dl>
69
-
70
- <h2 class="samples">
71
- Advanced Samples
72
- </h2>
73
- <dl class="samples">
74
- <dt><a class="samples" href="datafiltering.html">Data filtering and features activation</a> <span class="new">New!</span></dt>
75
- <dd>Data filtering and automatic features activation basing on configuration.</dd>
76
-
77
- <dt><a class="samples" href="divreplace.html">Replace DIV elements on the fly</a></dt>
78
- <dd>Transforming a <code>div</code> element into an instance of CKEditor with a mouse click.</dd>
79
-
80
- <dt><a class="samples" href="appendto.html">Append editor instances</a></dt>
81
- <dd>Appending editor instances to existing DOM elements.</dd>
82
-
83
- <dt><a class="samples" href="ajax.html">Create and destroy editor instances for Ajax applications</a></dt>
84
- <dd>Creating and destroying CKEditor instances on the fly and saving the contents entered into the editor window.</dd>
85
-
86
- <dt><a class="samples" href="api.html">Basic usage of the API</a></dt>
87
- <dd>Using the CKEditor JavaScript API to interact with the editor at runtime.</dd>
88
-
89
- <dt><a class="samples" href="xhtmlstyle.html">XHTML-compliant style</a></dt>
90
- <dd>Configuring CKEditor to produce XHTML 1.1 compliant attributes and styles.</dd>
91
-
92
- <dt><a class="samples" href="readonly.html">Read-only mode</a></dt>
93
- <dd>Using the readOnly API to block introducing changes to the editor contents.</dd>
94
-
95
- <dt><a class="samples" href="tabindex.html">"Tab" key-based navigation</a></dt>
96
- <dd>Navigating among editor instances with tab key.</dd>
97
-
98
-
99
-
100
- <dt><a class="samples" href="plugins/dialog/dialog.html">Using the JavaScript API to customize dialog windows</a></dt>
101
- <dd>Using the dialog windows API to customize dialog windows without changing the original editor code.</dd>
102
-
103
- <dt><a class="samples" href="plugins/enterkey/enterkey.html">Using the &quot;Enter&quot; key in CKEditor</a></dt>
104
- <dd>Configuring the behavior of <em>Enter</em> and <em>Shift+Enter</em> keys.</dd>
105
-
106
- <dt><a class="samples" href="plugins/htmlwriter/outputforflash.html">Output for Flash</a></dt>
107
- <dd>Configuring CKEditor to produce HTML code that can be used with Adobe Flash.</dd>
108
-
109
- <dt><a class="samples" href="plugins/htmlwriter/outputhtml.html">Output HTML</a></dt>
110
- <dd>Configuring CKEditor to produce legacy HTML 4 code.</dd>
111
-
112
- <dt><a class="samples" href="plugins/toolbar/toolbar.html">Toolbar Configurations</a></dt>
113
- <dd>Configuring CKEditor to display full or custom toolbar layout.</dd>
56
+ </div>
57
+ <div class="adjoined-bottom">
58
+ <div class="grid-container">
59
+ <div class="grid-width-100">
60
+ <div id="editor">
61
+ <h1>Hello world!</h1>
62
+ <p>I'm an instance of <a href="https://ckeditor.com">CKEditor</a>.</p>
63
+ </div>
64
+ </div>
65
+ </div>
66
+ </div>
114
67
 
115
- </dl>
68
+ <div class="grid-container">
69
+ <div class="content grid-width-100">
70
+ <section id="sample-customize">
71
+ <h2>Customize Your Editor</h2>
72
+ <p>Modular build and <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_configuration">numerous configuration options</a> give you nearly endless possibilities to customize CKEditor. Replace the content of your <code><a href="../config.js">config.js</a></code> file with the following code and refresh this page (<strong>remember to clear the browser cache</strong>.html)!</p>
73
+ <pre class="cm-s-neo CodeMirror"><code><span style="padding-right: 0.1px;"><span class="cm-variable">CKEDITOR</span>.<span class="cm-property">editorConfig</span> <span class="cm-operator">=</span> <span class="cm-keyword">function</span>( <span class="cm-def">config</span> ) {</span>
74
+ <span style="padding-right: 0.1px;"><span class="cm-tab"> </span><span class="cm-variable-2">config</span>.<span class="cm-property">language</span> <span class="cm-operator">=</span> <span class="cm-string">'es'</span>;</span>
75
+ <span style="padding-right: 0.1px;"><span class="cm-tab"> </span><span class="cm-variable-2">config</span>.<span class="cm-property">uiColor</span> <span class="cm-operator">=</span> <span class="cm-string">'#F7B42C'</span>;</span>
76
+ <span style="padding-right: 0.1px;"><span class="cm-tab"> </span><span class="cm-variable-2">config</span>.<span class="cm-property">height</span> <span class="cm-operator">=</span> <span class="cm-number">300</span>;</span>
77
+ <span style="padding-right: 0.1px;"><span class="cm-tab"> </span><span class="cm-variable-2">config</span>.<span class="cm-property">toolbarCanCollapse</span> <span class="cm-operator">=</span> <span class="cm-atom">true</span>;</span>
78
+ <span style="padding-right: 0.1px;">};</span></code></pre>
79
+ </section>
80
+
81
+ <section>
82
+ <h2>Toolbar Configuration</h2>
83
+ <p>If you want to reorder toolbar buttons or remove some of them, check <a href="toolbarconfigurator/index.html">this handy tool</a>!</p>
84
+ </section>
85
+
86
+ <section>
87
+ <h2>More Samples!</h2>
88
+ <p>Visit the <a href="https://sdk.ckeditor.com">CKEditor SDK</a> for a huge collection of samples showcasing editor features, with source code readily available to copy and use in your own implementation.</p>
89
+ </section>
90
+
91
+ <section>
92
+ <h2>Developer's Guide</h2>
93
+ <p>The most important resource for all developers working with CKEditor, integrating it with their websites and applications, and customizing to their needs. You can start from here:</p>
94
+ <ul>
95
+ <li><a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_installation.html">Getting Started</a> &ndash; Explains most crucial editor concepts and practices as well as the installation process and integration with your website.</li>
96
+ <li><a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_installation">Advanced Installation Concepts</a> &ndash; Describes how to upgrade, install additional components (plugins, skins.html), or create a custom build.</li>
97
+ </ul>
98
+ <p>When you have the basics sorted out, feel free to browse some more advanced sections like:</p>
99
+ <ul>
100
+ <li><a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_features.html">Functionality Overview</a> &ndash; Descriptions and samples of various editor features.</li>
101
+ <li><a href="https://ckeditor.com/docs/ckeditor4/latest/guide/plugin_sdk_intro.html">Plugin SDK</a>, <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/widget_sdk_intro.html">Widget SDK</a>, and <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/skin_sdk_intro.html">Skin SDK</a> &ndash; Useful when you want to create your own editor components.</li>
102
+ </ul>
103
+ </section>
104
+
105
+ <section>
106
+ <h2>CKEditor JavaScript API</h2>
107
+ <p>CKEditor boasts a rich <a href="https://ckeditor.com/docs/ckeditor4/latest/api/index.html">JavaScript API</a> that you can use to adjust the editor to your needs and integrate it with your website or application.</p>
108
+ </section>
116
109
  </div>
117
110
  </div>
118
- <div id="footer">
119
- <hr>
120
- <p>
121
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
111
+ </main>
112
+
113
+ <footer class="footer-a grid-container">
114
+ <div class="grid-container">
115
+ <p class="grid-width-100">
116
+ CKEditor &ndash; The text editor for the Internet &ndash; <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
122
117
  </p>
123
- <p id="copy">
124
- Copyright &copy; 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
118
+ <p class="grid-width-100" id="copy">
119
+ Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> &ndash; Frederico Knabben. All rights reserved.
125
120
  </p>
126
121
  </div>
122
+ </footer>
123
+ <script>
124
+ initSample();
125
+ </script>
126
+
127
127
  </body>
128
128
  </html>
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ /* exported initSample */
7
+
8
+ if ( CKEDITOR.env.ie && CKEDITOR.env.version < 9 )
9
+ CKEDITOR.tools.enableHtml5Elements( document );
10
+
11
+ // The trick to keep the editor in the sample quite small
12
+ // unless user specified own height.
13
+ CKEDITOR.config.height = 150;
14
+ CKEDITOR.config.width = 'auto';
15
+
16
+ var initSample = ( function() {
17
+ var wysiwygareaAvailable = isWysiwygareaAvailable(),
18
+ isBBCodeBuiltIn = !!CKEDITOR.plugins.get( 'bbcode' );
19
+
20
+ return function() {
21
+ var editorElement = CKEDITOR.document.getById( 'editor' );
22
+
23
+ // :(((
24
+ if ( isBBCodeBuiltIn ) {
25
+ editorElement.setHtml(
26
+ 'Hello world!\n\n' +
27
+ 'I\'m an instance of [url=https://ckeditor.com]CKEditor[/url].'
28
+ );
29
+ }
30
+
31
+ // Depending on the wysiwygarea plugin availability initialize classic or inline editor.
32
+ if ( wysiwygareaAvailable ) {
33
+ CKEDITOR.replace( 'editor' );
34
+ } else {
35
+ editorElement.setAttribute( 'contenteditable', 'true' );
36
+ CKEDITOR.inline( 'editor' );
37
+
38
+ // TODO we can consider displaying some info box that
39
+ // without wysiwygarea the classic editor may not work.
40
+ }
41
+ };
42
+
43
+ function isWysiwygareaAvailable() {
44
+ // If in development mode, then the wysiwygarea must be available.
45
+ // Split REV into two strings so builder does not replace it :D.
46
+ if ( CKEDITOR.revision == ( '%RE' + 'V%' ) ) {
47
+ return true;
48
+ }
49
+
50
+ return !!CKEDITOR.plugins.get( 'wysiwygarea' );
51
+ }
52
+ } )();
53
+
@@ -0,0 +1,17 @@
1
+ /*
2
+ Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ var SF=function(){function d(a){return(a=a.attributes?a.attributes.getNamedItem("class"):null)?a.value.split(" "):[]}function c(a){var e=document.createAttribute("class");e.value=a.join(" ");return e}var b={attachListener:function(a,e,b){if(a.addEventListener)a.addEventListener(e,b,!1);else if(a.attachEvent)a.attachEvent("on"+e,function(){b.apply(a,arguments)});else throw Error("Could not attach event.");}};b.indexOf=function(){var a=Array.prototype.indexOf;return"function"===a?function(e,b){return a.call(e,
6
+ b)}:function(a,b){for(var c=a.length,d=0;d<c;d++)if(a[d]===b)return d;return-1}}();b.accept=function(a,e){var c;a.children?(c=a.children,e(a)):"number"===typeof a.length&&(c=a);for(var d=c?c.length||0:0;d--;)b.accept(c[d],e)};b.getByClass=function(){var a=document.getElementsByClassName;return"function"===typeof a?function(e,b){"string"===typeof e&&(b=e,e=document);return a.call(e,b)}:function(a,c){"string"===typeof a&&(c=a,a=document.getElementsByTagName("html")[0]);var d=[];b.accept(a,function(a){b.classList.contains(a,
7
+ c)&&d.push(a)});return d}}();b.classList={};b.classList.add=function(a,b){var f=d(a);f.push(b);a.attributes.setNamedItem(c(f))};b.classList.remove=function(a,e){var f=d(a,e),n=b.indexOf(f,e);-1!==n&&(f.splice(n,1),a.attributes.setNamedItem(c(f)))};b.classList.contains=function(a,c){return-1!==b.indexOf(d(a),c)};b.classList.toggle=function(a,b){this.contains(a,b)?this.remove(a,b):this.add(a,b)};return b}();"use strict";
8
+ (function(){function d(c){for(var b in c)delete c[b]}SF.modal=function(c){function b(a){27==a.keyCode&&f.close()}c.modalClass="modal content";c.closeClass="modal-close";c.modalStyles=d;c.closeStyles=d;var a=c.afterCreate,e=c.afterClose;c.afterCreate=function(c){a&&a(c);window.addEventListener("keydown",b)};c.afterClose=function(a){e&&e(a);window.removeEventListener("keydown",b)};var f=(new picoModal(c)).afterCreate(c.afterCreate).afterClose(c.afterClose);return f}})();"use strict";
9
+ (function(){for(var d=SF.getByClass("toggler"),c=d.length;c--;)SF.attachListener(d[c],"click",function(){var b=SF.classList.contains(this,"icon-toggler-expanded")||SF.classList.contains(this,"icon-toggler-collapsed"),a=document.getElementById(this.getAttribute("data-for"));SF.classList.toggle(this,"collapsed");SF.classList.contains(this,"collapsed")?(SF.classList.add(a,"collapsed"),b&&(SF.classList.remove(this,"icon-toggler-expanded"),SF.classList.add(this,"icon-toggler-collapsed"))):(SF.classList.remove(a,
10
+ "collapsed"),b&&(SF.classList.remove(this,"icon-toggler-collapsed"),SF.classList.add(this,"icon-toggler-expanded")))})})();"use strict";(function(){for(var d=SF.getByClass("tree-a"),c=d.length;c--;)SF.attachListener(d[c],"click",function(b){b=b.target||b.srcElement;"H2"!==b.nodeName||SF.classList.contains(b,"tree-a-no-sub")||SF.classList.toggle(b,"tree-a-active")})})();
11
+ (function(d,c){function b(a){return"object"===typeof Node?a instanceof Node:a&&"object"===typeof a&&"number"===typeof a.nodeType}function a(){var a=[];return{watch:a.push.bind(a),trigger:function(b){for(var c=!0,d={preventDefault:function(){c=!1}},e=0;e<a.length;e++)a[e](b,d);return c}}}function e(a){this.elem=a}function f(a,b){return e.div().clazz("pico-overlay").clazz(a("overlayClass","")).stylize({display:"block",position:"fixed",top:"0px",left:"0px",height:"100%",width:"100%",zIndex:1E4}).stylize(a("overlayStyles",
12
+ {opacity:.5,background:"#000"})).onClick(function(){a("overlayClose",!0)&&b()})}function n(a,b){var c=a("width","auto");"number"===typeof c&&(c=""+c+"px");return e.div().clazz("pico-content").clazz(a("modalClass","")).stylize({display:"block",position:"fixed",zIndex:10001,left:"50%",top:"50px",width:c,"-ms-transform":"translateX(-50%)","-moz-transform":"translateX(-50%)","-webkit-transform":"translateX(-50%)","-o-transform":"translateX(-50%)",transform:"translateX(-50%)"}).stylize(a("modalStyles",
13
+ {backgroundColor:"white",padding:"20px",borderRadius:"5px"})).html(a("content")).attr("role","dialog").onClick(function(a){(new e(a.target)).anyAncestor(function(a){return/\bpico-close\b/.test(a.elem.className)})&&b()})}function p(a){return function(){return a().elem}}function k(c){function e(a,b){var d=c[a];"function"===typeof d&&(d=d(b));return void 0===d?b:d}function k(){l().hide();m().hide();v.trigger(h)}function q(){w.trigger(h)&&k()}function g(a){return function(){a.apply(this,arguments);return h}}
14
+ function r(a){if(!t){var c=n(e,q),b=f(e,q),d;d=e("closeButton",!0)?c.child().html(e("closeHtml","\x26#xD7;")).clazz("pico-close").clazz(e("closeClass")).stylize(e("closeStyles",{borderRadius:"2px",cursor:"pointer",height:"15px",width:"15px",position:"absolute",top:"5px",right:"5px",fontSize:"16px",textAlign:"center",lineHeight:"15px",background:"#CCC"})):void 0;t={modal:c,overlay:b,close:d};x.trigger(h)}return t[a]}if("string"===typeof c||b(c))c={content:c};var x=a(),y=a(),z=a(),w=a(),v=a(),t,m=r.bind(d,
15
+ "modal"),l=r.bind(d,"overlay"),u=r.bind(d,"close"),h={modalElem:p(m),closeElem:p(u),overlayElem:p(l),show:function(){y.trigger(h)&&(l().show(),u(),m().show(),z.trigger(h));return this},close:g(q),forceClose:g(k),destroy:function(){m=m().destroy();l=l().destroy();u=void 0},options:function(a){c=a},afterCreate:g(x.watch),beforeShow:g(y.watch),afterShow:g(z.watch),beforeClose:g(w.watch),afterClose:g(v.watch)};return h}e.div=function(a){var b=c.createElement("div");(a||c.body).appendChild(b);return new e(b)};
16
+ e.prototype={child:function(){return e.div(this.elem)},stylize:function(a){a=a||{};"undefined"!==typeof a.opacity&&(a.filter="alpha(opacity\x3d"+100*a.opacity+")");for(var b in a)a.hasOwnProperty(b)&&(this.elem.style[b]=a[b]);return this},clazz:function(a){this.elem.className+=" "+a;return this},html:function(a){b(a)?this.elem.appendChild(a):this.elem.innerHTML=a;return this},onClick:function(a){this.elem.addEventListener("click",a);return this},destroy:function(){c.body.removeChild(this.elem)},hide:function(){this.elem.style.display=
17
+ "none"},show:function(){this.elem.style.display="block"},attr:function(a,b){this.elem.setAttribute(a,b);return this},anyAncestor:function(a){for(var b=this.elem;b;){if(a(new e(b)))return!0;b=b.parentNode}return!1}};"function"===typeof d.define&&d.define.amd?d.define(function(){return k}):d.picoModal=k})(window,document);
@@ -1,13 +1,13 @@
1
1
  <!DOCTYPE html>
2
2
  <!--
3
- Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.md or http://ckeditor.com/license
3
+ Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
4
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
5
5
  -->
6
6
  <html>
7
7
  <head>
8
8
  <meta charset="utf-8">
9
9
  <title>Ajax &mdash; CKEditor Sample</title>
10
- <script src="../ckeditor.js"></script>
10
+ <script src="../../ckeditor.js"></script>
11
11
  <link rel="stylesheet" href="sample.css">
12
12
  <script>
13
13
 
@@ -42,6 +42,9 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
42
42
  <h1 class="samples">
43
43
  <a href="index.html">CKEditor Samples</a> &raquo; Create and Destroy Editor Instances for Ajax Applications
44
44
  </h1>
45
+ <div class="warning deprecated">
46
+ This sample is not maintained anymore. Check out its <a href="https://sdk.ckeditor.com/samples/saveajax.html">brand new version in CKEditor SDK</a>.
47
+ </div>
45
48
  <div class="description">
46
49
  <p>
47
50
  This sample shows how to create and destroy CKEditor instances on the fly. After the removal of CKEditor the content created inside the editing
@@ -71,10 +74,10 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
71
74
  <div id="footer">
72
75
  <hr>
73
76
  <p>
74
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
77
+ CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
75
78
  </p>
76
79
  <p id="copy">
77
- Copyright &copy; 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
80
+ Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
78
81
  Knabben. All rights reserved.
79
82
  </p>
80
83
  </div>
@@ -1,13 +1,13 @@
1
1
  <!DOCTYPE html>
2
2
  <!--
3
- Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.md or http://ckeditor.com/license
3
+ Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
4
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
5
5
  -->
6
6
  <html>
7
7
  <head>
8
8
  <meta charset="utf-8">
9
9
  <title>API Usage &mdash; CKEditor Sample</title>
10
- <script src="../ckeditor.js"></script>
10
+ <script src="../../ckeditor.js"></script>
11
11
  <link href="sample.css" rel="stylesheet">
12
12
  <script>
13
13
 
@@ -30,7 +30,7 @@ function InsertHTML() {
30
30
  if ( editor.mode == 'wysiwyg' )
31
31
  {
32
32
  // Insert HTML code.
33
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertHtml
33
+ // https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-insertHtml
34
34
  editor.insertHtml( value );
35
35
  }
36
36
  else
@@ -46,7 +46,7 @@ function InsertText() {
46
46
  if ( editor.mode == 'wysiwyg' )
47
47
  {
48
48
  // Insert as plain text.
49
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertText
49
+ // https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-insertText
50
50
  editor.insertText( value );
51
51
  }
52
52
  else
@@ -59,7 +59,7 @@ function SetContents() {
59
59
  var value = document.getElementById( 'htmlArea' ).value;
60
60
 
61
61
  // Set editor contents (replace current contents).
62
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setData
62
+ // https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-setData
63
63
  editor.setData( value );
64
64
  }
65
65
 
@@ -68,7 +68,7 @@ function GetContents() {
68
68
  var editor = CKEDITOR.instances.editor1;
69
69
 
70
70
  // Get editor contents
71
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-getData
71
+ // https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getData
72
72
  alert( editor.getData() );
73
73
  }
74
74
 
@@ -80,7 +80,7 @@ function ExecuteCommand( commandName ) {
80
80
  if ( editor.mode == 'wysiwyg' )
81
81
  {
82
82
  // Execute the command.
83
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-execCommand
83
+ // https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-execCommand
84
84
  editor.execCommand( commandName );
85
85
  }
86
86
  else
@@ -92,7 +92,7 @@ function CheckDirty() {
92
92
  var editor = CKEDITOR.instances.editor1;
93
93
  // Checks whether the current editor contents present changes when compared
94
94
  // to the contents loaded into the editor at startup
95
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-checkDirty
95
+ // https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-checkDirty
96
96
  alert( editor.checkDirty() );
97
97
  }
98
98
 
@@ -100,7 +100,7 @@ function ResetDirty() {
100
100
  // Get the editor instance that we want to interact with.
101
101
  var editor = CKEDITOR.instances.editor1;
102
102
  // Resets the "dirty state" of the editor (see CheckDirty())
103
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-resetDirty
103
+ // https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-resetDirty
104
104
  editor.resetDirty();
105
105
  alert( 'The "IsDirty" status has been reset' );
106
106
  }
@@ -124,10 +124,13 @@ function onBlur() {
124
124
  <h1 class="samples">
125
125
  <a href="index.html">CKEditor Samples</a> &raquo; Using CKEditor JavaScript API
126
126
  </h1>
127
+ <div class="warning deprecated">
128
+ This sample is not maintained anymore. Check out its <a href="https://sdk.ckeditor.com/samples/api.html">brand new version in CKEditor SDK</a>.
129
+ </div>
127
130
  <div class="description">
128
131
  <p>
129
132
  This sample shows how to use the
130
- <a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.editor">CKEditor JavaScript API</a>
133
+ <a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html">CKEditor JavaScript API</a>
131
134
  to interact with the editor at runtime.
132
135
  </p>
133
136
  <p>
@@ -146,7 +149,7 @@ function onBlur() {
146
149
  </noscript>
147
150
  </div>
148
151
  <form action="../../../samples/sample_posteddata.php" method="post">
149
- <textarea cols="100" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
152
+ <textarea cols="100" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="https://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
150
153
 
151
154
  <script>
152
155
  // Replace the <textarea id="editor1"> with an CKEditor instance.
@@ -196,10 +199,10 @@ Second line of text preceded by two line breaks.</textarea>
196
199
  <div id="footer">
197
200
  <hr>
198
201
  <p>
199
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
202
+ CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
200
203
  </p>
201
204
  <p id="copy">
202
- Copyright &copy; 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
205
+ Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
203
206
  Knabben. All rights reserved.
204
207
  </p>
205
208
  </div>