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
@@ -1,23 +1,26 @@
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>Append To Page Element Using JavaScript Code &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
  </head>
13
13
  <body>
14
14
  <h1 class="samples">
15
15
  <a href="index.html">CKEditor Samples</a> &raquo; Append To Page Element Using JavaScript Code
16
16
  </h1>
17
+ <div class="warning deprecated">
18
+ This sample is not maintained anymore. Check out the <a href="https://sdk.ckeditor.com/">brand new samples in CKEditor SDK</a>.
19
+ </div>
17
20
  <div id="section1">
18
21
  <div class="description">
19
22
  <p>
20
- The <code><a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR-method-appendTo">CKEDITOR.appendTo()</a></code> method serves to to place editors inside existing DOM elements. Unlike <code><a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR-method-replace">CKEDITOR.replace()</a></code>,
23
+ The <code><a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-appendTo">CKEDITOR.appendTo()</a></code> method serves to to place editors inside existing DOM elements. Unlike <code><a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-replace">CKEDITOR.replace()</a></code>,
21
24
  a target container to be replaced is no longer necessary. A new editor
22
25
  instance is inserted directly wherever it is desired.
23
26
  </p>
@@ -36,7 +39,7 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
36
39
  // provided content to the <div> element of ID "section1".
37
40
  CKEDITOR.appendTo( 'section1',
38
41
  null,
39
- '<p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p>'
42
+ '<p>This is some <strong>sample text</strong>. You are using <a href="https://ckeditor.com/">CKEditor</a>.</p>'
40
43
  );
41
44
 
42
45
  </script>
@@ -45,10 +48,10 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
45
48
  <div id="footer">
46
49
  <hr>
47
50
  <p>
48
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
51
+ CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
49
52
  </p>
50
53
  <p id="copy">
51
- Copyright &copy; 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
54
+ Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
52
55
  Knabben. All rights reserved.
53
56
  </p>
54
57
  </div>
@@ -1,6 +1,6 @@
1
1
  /*
2
- * Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
3
- * For licensing, see LICENSE.md or http://ckeditor.com/license
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
4
  *
5
5
  * Styles used by the XHTML 1.1 sample page (xhtml.html).
6
6
  */
@@ -1,8 +1,8 @@
1
1
  <!DOCTYPE html>
2
2
  <?php
3
3
  /*
4
- Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
5
- For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
5
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
6
6
  */
7
7
  ?>
8
8
  <html>
@@ -49,10 +49,10 @@ if (!empty($_POST))
49
49
  <div id="footer">
50
50
  <hr>
51
51
  <p>
52
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
52
+ CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
53
53
  </p>
54
54
  <p id="copy">
55
- Copyright &copy; 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
55
+ Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
56
56
  </p>
57
57
  </div>
58
58
  </body>
@@ -0,0 +1,7 @@
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 CKEDITOR_LANGS=function(){var c={af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",bg:"Bulgarian",bn:"Bengali/Bangla",bs:"Bosnian",ca:"Catalan",cs:"Czech",cy:"Welsh",da:"Danish",de:"German","de-ch":"German (Switzerland)",el:"Greek",en:"English","en-au":"English (Australia)","en-ca":"English (Canadian)","en-gb":"English (United Kingdom)",eo:"Esperanto",es:"Spanish","es-mx":"Spanish (Mexico)",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fo:"Faroese",fr:"French","fr-ca":"French (Canada)",gl:"Galician",
6
+ gu:"Gujarati",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",km:"Khmer",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mk:"Macedonian",mn:"Mongolian",ms:"Malay",nb:"Norwegian Bokmal",nl:"Dutch",no:"Norwegian",oc:"Occitan",pl:"Polish",pt:"Portuguese (Portugal)","pt-br":"Portuguese (Brazil)",ro:"Romanian",ru:"Russian",si:"Sinhala",sk:"Slovak",sq:"Albanian",sl:"Slovenian",sr:"Serbian (Cyrillic)","sr-latn":"Serbian (Latin)",
7
+ sv:"Swedish",th:"Thai",tr:"Turkish",tt:"Tatar",ug:"Uighur",uk:"Ukrainian",vi:"Vietnamese",zh:"Chinese Traditional","zh-cn":"Chinese Simplified"},b=[],a;for(a in CKEDITOR.lang.languages)b.push({code:a,name:c[a]||a});b.sort(function(a,b){return a.name<b.name?-1:1});return b}();
@@ -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>Data Filtering &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
  // Remove advanced tabs for all editors.
@@ -18,6 +18,9 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
18
18
  <h1 class="samples">
19
19
  <a href="index.html">CKEditor Samples</a> &raquo; Data Filtering and Features Activation
20
20
  </h1>
21
+ <div class="warning deprecated">
22
+ This sample is not maintained anymore. Check out its <a href="https://sdk.ckeditor.com/samples/acf.html">brand new version in CKEditor SDK</a>.
23
+ </div>
21
24
  <div class="description">
22
25
  <p>
23
26
  This sample page demonstrates the idea of Advanced Content Filter
@@ -55,7 +58,7 @@ editor.setData( '&lt;p&gt;Hello world!&lt;/p&gt;' );
55
58
  it provides a set of easy rules that allow adjusting filtering rules
56
59
  and disabling the entire feature when necessary. The config property
57
60
  responsible for this feature is <code><a class="samples"
58
- href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent">config.allowedContent</a></code>.
61
+ href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent">config.allowedContent</a></code>.
59
62
  </p>
60
63
  <p>
61
64
  By "automatic mode" is meant that loaded plugins decide which kind
@@ -64,7 +67,7 @@ editor.setData( '&lt;p&gt;Hello world!&lt;/p&gt;' );
64
67
  automatically allowed. Each plugin is given a set
65
68
  of predefined <abbr title="Advanced Content Filter">ACF</abbr> rules
66
69
  that control the editor until <code><a class="samples"
67
- href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent">
70
+ href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent">
68
71
  config.allowedContent</a></code>
69
72
  is defined manually.
70
73
  </p>
@@ -73,7 +76,7 @@ editor.setData( '&lt;p&gt;Hello world!&lt;/p&gt;' );
73
76
  only: no attributes, no styles, no other tags</strong>.
74
77
  With <abbr title="Advanced Content Filter">ACF</abbr>
75
78
  this is very simple. Basically set <code><a class="samples"
76
- href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent">
79
+ href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent">
77
80
  config.allowedContent</a></code> to <code>'p'</code>:
78
81
  </p>
79
82
  <pre class="samples">
@@ -101,13 +104,13 @@ alert( editor.getData() );
101
104
  <p>
102
105
  This is just a small sample of what <abbr title="Advanced Content Filter">ACF</abbr>
103
106
  can do. To know more, please refer to the sample section below and
104
- <a href="http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter">the official Advanced Content Filter guide</a>.
107
+ <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html">the official Advanced Content Filter guide</a>.
105
108
  </p>
106
109
  <p>
107
110
  You may, of course, want CKEditor to avoid filtering of any kind.
108
111
  To get rid of <abbr title="Advanced Content Filter">ACF</abbr>,
109
112
  basically set <code><a class="samples"
110
- href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent">
113
+ href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent">
111
114
  config.allowedContent</a></code> to <code>true</code> like this:
112
115
  </p>
113
116
  <pre class="samples">
@@ -143,7 +146,7 @@ CKEDITOR.replace( <em>textarea_id</em>, {
143
146
  <p>
144
147
  There are several editor instances below that present different
145
148
  <abbr title="Advanced Content Filter">ACF</abbr> setups. <strong>All of them,
146
- except the last inline instance, share the same HTML content</strong> to visualize
149
+ except the inline instance, share the same HTML content</strong> to visualize
147
150
  how different filtering rules affect the same input data.
148
151
  </p>
149
152
  </div>
@@ -156,7 +159,7 @@ CKEDITOR.replace( <em>textarea_id</em>, {
156
159
  <p>
157
160
  This editor is using default configuration ("automatic mode"). It means that
158
161
  <code><a class="samples"
159
- href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent">
162
+ href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent">
160
163
  config.allowedContent</a></code> is defined by loaded plugins.
161
164
  Each plugin extends filtering rules to make it's own associated content
162
165
  available for the user.
@@ -241,7 +244,7 @@ CKEDITOR.replace( 'editor2', {
241
244
  The same thing happened to subscript/superscript, strike, underline
242
245
  (<code>&lt;u&gt;</code>, <code>&lt;sub&gt;</code>, <code>&lt;sup&gt;</code>
243
246
  are disallowed by <code><a class="samples"
244
- href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent">
247
+ href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent">
245
248
  config.allowedContent</a></code>) and many other buttons.
246
249
  </p>
247
250
  </div>
@@ -387,13 +390,117 @@ CKEDITOR.replace( 'editor4', {
387
390
  </h1>
388
391
  </div>
389
392
 
393
+ <br>
394
+
395
+ <div>
396
+ <label for="editor3">
397
+ Editor 6:
398
+ </label>
399
+ <div class="description">
400
+ <p>
401
+ This editor is using a custom configuration for <abbr title="Advanced Content Filter">ACF</abbr>.
402
+ It's using the <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_disallowed_content.html" rel="noopener noreferrer" target="_blank">
403
+ Disallowed Content</a> property of the filter to eliminate all <code>title</code> attributes.
404
+ </p>
405
+
406
+ <pre class="samples">
407
+ CKEDITOR.replace( 'editor6', {
408
+ allowedContent: {
409
+ 'b i ul ol big small': true,
410
+ 'h1 h2 h3 p blockquote li': {
411
+ styles: 'text-align'
412
+ },
413
+ a: {attributes: '!href,target'},
414
+ img: {
415
+ attributes: '!src,alt',
416
+ styles: 'width,height',
417
+ classes: 'left,right'
418
+ }
419
+ },
420
+ disallowedContent: '*{title*}'
421
+ } );
422
+ </pre>
423
+ </div>
424
+ <textarea cols="80" id="editor6" name="editor6" rows="10">
425
+ &lt;h1&gt;&lt;img alt=&quot;Saturn V carrying Apollo 11&quot; class=&quot;right&quot; src=&quot;assets/sample.jpg&quot;/&gt; Apollo 11&lt;/h1&gt; &lt;p&gt;&lt;b&gt;Apollo 11&lt;/b&gt; was the spaceflight that landed the first humans, Americans &lt;a href=&quot;http://en.wikipedia.org/wiki/Neil_Armstrong&quot; title=&quot;Neil Armstrong&quot;&gt;Neil Armstrong&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/Buzz_Aldrin&quot; title=&quot;Buzz Aldrin&quot;&gt;Buzz Aldrin&lt;/a&gt;, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.&lt;/p&gt; &lt;p&gt;Armstrong spent about &lt;s&gt;three and a half&lt;/s&gt; two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&amp;nbsp;kg) of lunar material for return to Earth. A third member of the mission, &lt;a href=&quot;http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)&quot; title=&quot;Michael Collins (astronaut)&quot;&gt;Michael Collins&lt;/a&gt;, piloted the &lt;a href=&quot;http://en.wikipedia.org/wiki/Apollo_Command/Service_Module&quot; title=&quot;Apollo Command/Service Module&quot;&gt;command&lt;/a&gt; spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.&lt;/p&gt; &lt;h2&gt;Broadcasting and &lt;em&gt;quotes&lt;/em&gt; &lt;a id=&quot;quotes&quot; name=&quot;quotes&quot;&gt;&lt;/a&gt;&lt;/h2&gt; &lt;p&gt;Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;One small step for [a] man, one giant leap for mankind.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Apollo 11 effectively ended the &lt;a href=&quot;http://en.wikipedia.org/wiki/Space_Race&quot; title=&quot;Space Race&quot;&gt;Space Race&lt;/a&gt; and fulfilled a national goal proposed in 1961 by the late U.S. President &lt;a href=&quot;http://en.wikipedia.org/wiki/John_F._Kennedy&quot; title=&quot;John F. Kennedy&quot;&gt;John F. Kennedy&lt;/a&gt; in a speech before the United States Congress:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.&lt;/p&gt;&lt;/blockquote&gt; &lt;h2&gt;Technical details &lt;a id=&quot;tech-details&quot; name=&quot;tech-details&quot;&gt;&lt;/a&gt;&lt;/h2&gt; &lt;table align=&quot;right&quot; border=&quot;1&quot; bordercolor=&quot;#ccc&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse:collapse;margin:10px 0 10px 15px;&quot;&gt; &lt;caption&gt;&lt;strong&gt;Mission crew&lt;/strong&gt;&lt;/caption&gt; &lt;thead&gt; &lt;tr&gt; &lt;th scope=&quot;col&quot;&gt;Position&lt;/th&gt; &lt;th scope=&quot;col&quot;&gt;Astronaut&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;Commander&lt;/td&gt; &lt;td&gt;Neil A. Armstrong&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Command Module Pilot&lt;/td&gt; &lt;td&gt;Michael Collins&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Lunar Module Pilot&lt;/td&gt; &lt;td&gt;Edwin &amp;quot;Buzz&amp;quot; E. Aldrin, Jr.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;p&gt;Launched by a &lt;strong&gt;Saturn V&lt;/strong&gt; rocket from &lt;a href=&quot;http://en.wikipedia.org/wiki/Kennedy_Space_Center&quot; title=&quot;Kennedy Space Center&quot;&gt;Kennedy Space Center&lt;/a&gt; in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of &lt;a href=&quot;http://en.wikipedia.org/wiki/NASA&quot; title=&quot;NASA&quot;&gt;NASA&lt;/a&gt;&amp;#39;s Apollo program. The Apollo spacecraft had three parts:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Command Module&lt;/strong&gt; with a cabin for the three astronauts which was the only part which landed back on Earth&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Service Module&lt;/strong&gt; which supported the Command Module with propulsion, electrical power, oxygen and water&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Lunar Module&lt;/strong&gt; for landing on the Moon.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;After being sent to the Moon by the Saturn V&amp;#39;s upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the &lt;a href=&quot;http://en.wikipedia.org/wiki/Mare_Tranquillitatis&quot; title=&quot;Mare Tranquillitatis&quot;&gt;Sea of Tranquility&lt;/a&gt;. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the &lt;a href=&quot;http://en.wikipedia.org/wiki/Pacific_Ocean&quot; title=&quot;Pacific Ocean&quot;&gt;Pacific Ocean&lt;/a&gt; on July 24.&lt;/p&gt; &lt;hr/&gt; &lt;p style=&quot;text-align: right;&quot;&gt;&lt;small&gt;Source: &lt;a href=&quot;http://en.wikipedia.org/wiki/Apollo_11&quot;&gt;Wikipedia.org&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
426
+ </textarea>
427
+ <script>
428
+
429
+ CKEDITOR.replace( 'editor6', {
430
+ allowedContent: {
431
+ 'b i ul ol big small': true,
432
+ 'h1 h2 h3 p blockquote li': {
433
+ styles: 'text-align'
434
+ },
435
+ a: {attributes: '!href,target'},
436
+ img: {
437
+ attributes: '!src,alt',
438
+ styles: 'width,height',
439
+ classes: 'left,right'
440
+ }
441
+ },
442
+ disallowedContent: '*{title*}'
443
+ } );
444
+
445
+ </script>
446
+ </div>
447
+
448
+ <br>
449
+
450
+ <div>
451
+ <label for="editor7">
452
+ Editor 7:
453
+ </label>
454
+ <div class="description">
455
+ <p>
456
+ This editor is using a custom configuration for <abbr title="Advanced Content Filter">ACF</abbr>.
457
+ It's using the <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_disallowed_content.html" rel="noopener noreferrer" target="_blank">
458
+ Disallowed Content</a> property of the filter to eliminate all <code>a</code> and <code>img</code> tags,
459
+ while allowing all other tags.
460
+ </p>
461
+ <pre class="samples">
462
+ CKEDITOR.replace( 'editor7', {
463
+ allowedContent: {
464
+ // Allow all content.
465
+ $1: {
466
+ elements: CKEDITOR.dtd,
467
+ attributes: true,
468
+ styles: true,
469
+ classes: true
470
+ }
471
+ },
472
+ disallowedContent: 'img a'
473
+ } );
474
+ </pre>
475
+ </div>
476
+ <textarea cols="80" id="editor7" name="editor7" rows="10">
477
+ &lt;h1&gt;&lt;img alt=&quot;Saturn V carrying Apollo 11&quot; class=&quot;right&quot; src=&quot;assets/sample.jpg&quot;/&gt; Apollo 11&lt;/h1&gt; &lt;p&gt;&lt;b&gt;Apollo 11&lt;/b&gt; was the spaceflight that landed the first humans, Americans &lt;a href=&quot;http://en.wikipedia.org/wiki/Neil_Armstrong&quot; title=&quot;Neil Armstrong&quot;&gt;Neil Armstrong&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/Buzz_Aldrin&quot; title=&quot;Buzz Aldrin&quot;&gt;Buzz Aldrin&lt;/a&gt;, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.&lt;/p&gt; &lt;p&gt;Armstrong spent about &lt;s&gt;three and a half&lt;/s&gt; two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&amp;nbsp;kg) of lunar material for return to Earth. A third member of the mission, &lt;a href=&quot;http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)&quot; title=&quot;Michael Collins (astronaut)&quot;&gt;Michael Collins&lt;/a&gt;, piloted the &lt;a href=&quot;http://en.wikipedia.org/wiki/Apollo_Command/Service_Module&quot; title=&quot;Apollo Command/Service Module&quot;&gt;command&lt;/a&gt; spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.&lt;/p&gt; &lt;h2&gt;Broadcasting and &lt;em&gt;quotes&lt;/em&gt; &lt;a id=&quot;quotes&quot; name=&quot;quotes&quot;&gt;&lt;/a&gt;&lt;/h2&gt; &lt;p&gt;Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;One small step for [a] man, one giant leap for mankind.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Apollo 11 effectively ended the &lt;a href=&quot;http://en.wikipedia.org/wiki/Space_Race&quot; title=&quot;Space Race&quot;&gt;Space Race&lt;/a&gt; and fulfilled a national goal proposed in 1961 by the late U.S. President &lt;a href=&quot;http://en.wikipedia.org/wiki/John_F._Kennedy&quot; title=&quot;John F. Kennedy&quot;&gt;John F. Kennedy&lt;/a&gt; in a speech before the United States Congress:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.&lt;/p&gt;&lt;/blockquote&gt; &lt;h2&gt;Technical details &lt;a id=&quot;tech-details&quot; name=&quot;tech-details&quot;&gt;&lt;/a&gt;&lt;/h2&gt; &lt;table align=&quot;right&quot; border=&quot;1&quot; bordercolor=&quot;#ccc&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse:collapse;margin:10px 0 10px 15px;&quot;&gt; &lt;caption&gt;&lt;strong&gt;Mission crew&lt;/strong&gt;&lt;/caption&gt; &lt;thead&gt; &lt;tr&gt; &lt;th scope=&quot;col&quot;&gt;Position&lt;/th&gt; &lt;th scope=&quot;col&quot;&gt;Astronaut&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;Commander&lt;/td&gt; &lt;td&gt;Neil A. Armstrong&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Command Module Pilot&lt;/td&gt; &lt;td&gt;Michael Collins&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Lunar Module Pilot&lt;/td&gt; &lt;td&gt;Edwin &amp;quot;Buzz&amp;quot; E. Aldrin, Jr.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;p&gt;Launched by a &lt;strong&gt;Saturn V&lt;/strong&gt; rocket from &lt;a href=&quot;http://en.wikipedia.org/wiki/Kennedy_Space_Center&quot; title=&quot;Kennedy Space Center&quot;&gt;Kennedy Space Center&lt;/a&gt; in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of &lt;a href=&quot;http://en.wikipedia.org/wiki/NASA&quot; title=&quot;NASA&quot;&gt;NASA&lt;/a&gt;&amp;#39;s Apollo program. The Apollo spacecraft had three parts:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Command Module&lt;/strong&gt; with a cabin for the three astronauts which was the only part which landed back on Earth&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Service Module&lt;/strong&gt; which supported the Command Module with propulsion, electrical power, oxygen and water&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Lunar Module&lt;/strong&gt; for landing on the Moon.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;After being sent to the Moon by the Saturn V&amp;#39;s upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the &lt;a href=&quot;http://en.wikipedia.org/wiki/Mare_Tranquillitatis&quot; title=&quot;Mare Tranquillitatis&quot;&gt;Sea of Tranquility&lt;/a&gt;. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the &lt;a href=&quot;http://en.wikipedia.org/wiki/Pacific_Ocean&quot; title=&quot;Pacific Ocean&quot;&gt;Pacific Ocean&lt;/a&gt; on July 24.&lt;/p&gt; &lt;hr/&gt; &lt;p style=&quot;text-align: right;&quot;&gt;&lt;small&gt;Source: &lt;a href=&quot;http://en.wikipedia.org/wiki/Apollo_11&quot;&gt;Wikipedia.org&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
478
+ </textarea>
479
+ <script>
480
+
481
+ CKEDITOR.replace( 'editor7', {
482
+ allowedContent: {
483
+ // allow all content
484
+ $1: {
485
+ elements: CKEDITOR.dtd,
486
+ attributes: true,
487
+ styles: true,
488
+ classes: true
489
+ }
490
+ },
491
+ disallowedContent: 'img a'
492
+ } );
493
+
494
+ </script>
495
+ </div>
496
+
390
497
  <div id="footer">
391
498
  <hr>
392
499
  <p>
393
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
500
+ CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
394
501
  </p>
395
502
  <p id="copy">
396
- Copyright &copy; 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
503
+ Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
397
504
  Knabben. All rights reserved.
398
505
  </p>
399
506
  </div>
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
3
- * For licensing, see LICENSE.md or http://ckeditor.com/license
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
4
  */
5
5
 
6
- CKEDITOR.dialog.add( 'myDialog', function( editor ) {
6
+ CKEDITOR.dialog.add( 'myDialog', function() {
7
7
  return {
8
8
  title: 'My Dialog',
9
9
  minWidth: 400,
@@ -1,14 +1,14 @@
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>Using API to Customize Dialog Windows &mdash; CKEditor Sample</title>
10
10
  <script src="../../../ckeditor.js"></script>
11
- <link rel="stylesheet" href="../../../samples/sample.css">
11
+ <link rel="stylesheet" href="../../../samples/old/sample.css">
12
12
  <meta name="ckeditor-sample-name" content="Using the JavaScript API to customize dialog windows">
13
13
  <meta name="ckeditor-sample-group" content="Advanced Samples">
14
14
  <meta name="ckeditor-sample-description" content="Using the dialog windows API to customize dialog windows without changing the original editor code.">
@@ -134,12 +134,15 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
134
134
  </head>
135
135
  <body>
136
136
  <h1 class="samples">
137
- <a href="../../../samples/index.html">CKEditor Samples</a> &raquo; Using CKEditor Dialog API
137
+ <a href="../../../samples/old/index.html">CKEditor Samples</a> &raquo; Using CKEditor Dialog API
138
138
  </h1>
139
+ <div class="warning deprecated">
140
+ This sample is not maintained anymore. Check out the <a href="https://sdk.ckeditor.com/">brand new samples in CKEditor SDK</a>.
141
+ </div>
139
142
  <div class="description">
140
143
  <p>
141
144
  This sample shows how to use the
142
- <a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.dialog">CKEditor Dialog API</a>
145
+ <a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog.html">CKEditor Dialog API</a>
143
146
  to customize CKEditor dialog windows without changing the original editor code.
144
147
  The following customizations are being done in the example below:
145
148
  </p>
@@ -152,7 +155,7 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
152
155
  <li><strong>Creating a custom dialog window</strong> &ndash; "My Dialog" dialog window opened with the "My Dialog" toolbar button.</li>
153
156
  <li><strong>Creating a custom button</strong> &ndash; Add button to open the dialog with "My Dialog" toolbar button.</li>
154
157
  </ol>
155
- <textarea cols="80" 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>
158
+ <textarea cols="80" 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>
156
159
  <script>
157
160
  // Replace the <textarea id="editor1"> with an CKEditor instance.
158
161
  CKEDITOR.replace( 'editor1', config );
@@ -166,7 +169,7 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
166
169
  <li><strong>Setting default values for dialog window fields</strong> &ndash; Set default value of "Text Field" text field. </li>
167
170
  <li><strong>Setup initial focus for dialog window</strong> &ndash; Put initial focus on "My Custom Field" text field. </li>
168
171
  </ol>
169
- <textarea cols="80" id="editor2" name="editor2" 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>
172
+ <textarea cols="80" id="editor2" name="editor2" 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>
170
173
  <script>
171
174
 
172
175
  // Replace the <textarea id="editor1"> with an CKEditor instance.
@@ -176,10 +179,10 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
176
179
  <div id="footer">
177
180
  <hr>
178
181
  <p>
179
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
182
+ CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
180
183
  </p>
181
184
  <p id="copy">
182
- Copyright &copy; 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
185
+ Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
183
186
  Knabben. All rights reserved.
184
187
  </p>
185
188
  </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>Replace DIV &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
  <style>
13
13
 
@@ -71,6 +71,9 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
71
71
  <h1 class="samples">
72
72
  <a href="index.html">CKEditor Samples</a> &raquo; Replace DIV with CKEditor on the Fly
73
73
  </h1>
74
+ <div class="warning deprecated">
75
+ This sample is not maintained anymore. Check out the <a href="https://sdk.ckeditor.com/">brand new samples in CKEditor SDK</a>.
76
+ </div>
74
77
  <div class="description">
75
78
  <p>
76
79
  This sample shows how to automatically replace <code>&lt;div&gt;</code> elements
@@ -130,10 +133,10 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
130
133
  <div id="footer">
131
134
  <hr>
132
135
  <p>
133
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
136
+ CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
134
137
  </p>
135
138
  <p id="copy">
136
- Copyright &copy; 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
139
+ Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
137
140
  Knabben. All rights reserved.
138
141
  </p>
139
142
  </div>
@@ -1,14 +1,14 @@
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>ENTER Key Configuration &mdash; CKEditor Sample</title>
10
10
  <script src="../../../ckeditor.js"></script>
11
- <link href="../../../samples/sample.css" rel="stylesheet">
11
+ <link href="../../../samples/old/sample.css" rel="stylesheet">
12
12
  <meta name="ckeditor-sample-name" content="Using the &quot;Enter&quot; key in CKEditor">
13
13
  <meta name="ckeditor-sample-group" content="Advanced Samples">
14
14
  <meta name="ckeditor-sample-description" content="Configuring the behavior of &lt;em&gt;Enter&lt;/em&gt; and &lt;em&gt;Shift+Enter&lt;/em&gt; keys.">
@@ -35,14 +35,17 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
35
35
  </head>
36
36
  <body>
37
37
  <h1 class="samples">
38
- <a href="../../../samples/index.html">CKEditor Samples</a> &raquo; ENTER Key Configuration
38
+ <a href="../../../samples/old/index.html">CKEditor Samples</a> &raquo; ENTER Key Configuration
39
39
  </h1>
40
+ <div class="warning deprecated">
41
+ This sample is not maintained anymore. Check out its <a href="https://sdk.ckeditor.com/samples/enterkey.html">brand new version in CKEditor SDK</a>.
42
+ </div>
40
43
  <div class="description">
41
44
  <p>
42
45
  This sample shows how to configure the <em>Enter</em> and <em>Shift+Enter</em> keys
43
46
  to perform actions specified in the
44
- <a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-enterMode"><code>enterMode</code></a>
45
- and <a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-shiftEnterMode"><code>shiftEnterMode</code></a>
47
+ <a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-enterMode"><code>enterMode</code></a>
48
+ and <a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-shiftEnterMode"><code>shiftEnterMode</code></a>
46
49
  parameters, respectively.
47
50
  You can choose from the following options:
48
51
  </p>
@@ -83,7 +86,7 @@ CKEDITOR.replace( '<em>textarea_id</em>', {
83
86
  <form action="../../../samples/sample_posteddata.php" method="post">
84
87
  <p>
85
88
  <br>
86
- <textarea cols="80" id="editor1" name="editor1" rows="10">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;.</textarea>
89
+ <textarea cols="80" id="editor1" name="editor1" rows="10">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;.</textarea>
87
90
  </p>
88
91
  <p>
89
92
  <input type="submit" value="Submit">
@@ -92,10 +95,10 @@ CKEDITOR.replace( '<em>textarea_id</em>', {
92
95
  <div id="footer">
93
96
  <hr>
94
97
  <p>
95
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
98
+ CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
96
99
  </p>
97
100
  <p id="copy">
98
- Copyright &copy; 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
101
+ Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
99
102
  Knabben. All rights reserved.
100
103
  </p>
101
104
  </div>