glebtv-ckeditor 4.7.3.1 → 4.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. checksums.yaml +5 -5
  2. data/Rakefile +0 -9
  3. data/app/assets/javascripts/ckeditor/config.js.erb +3 -3
  4. data/app/assets/javascripts/ckeditor/filebrowser/javascripts/fileuploader.js +317 -313
  5. data/config/locales/bg.ckeditor.yml +9 -0
  6. data/config/locales/cs.ckeditor.yml +9 -0
  7. data/config/locales/de.ckeditor.yml +9 -0
  8. data/config/locales/el-GR.cdkeditor.yml +9 -0
  9. data/config/locales/es.ckeditor.yml +9 -0
  10. data/config/locales/fr.ckeditor.yml +9 -0
  11. data/config/locales/hu.ckeditor.yml +9 -0
  12. data/config/locales/it.ckeditor.yml +9 -0
  13. data/config/locales/ja.ckeditor.yml +9 -0
  14. data/config/locales/nb.ckeditor.yml +9 -0
  15. data/config/locales/nl.ckeditor.yml +9 -0
  16. data/config/locales/pl.ckeditor.yml +9 -0
  17. data/config/locales/pt-BR.ckeditor.yml +9 -0
  18. data/config/locales/pt-PT.ckeditor.yml +9 -0
  19. data/config/locales/pt.ckeditor.yml +9 -0
  20. data/config/locales/sq.ckeditor.yml +9 -0
  21. data/config/locales/sv-SE.ckeditor.yml +9 -0
  22. data/config/locales/tr.ckeditor.yml +9 -0
  23. data/config/locales/uk.ckeditor.yml +9 -0
  24. data/config/locales/zh-CN.ckeditor.yml +9 -0
  25. data/config/locales/zh-TW.ckeditor.yml +9 -0
  26. data/lib/ckeditor/asset_response.rb +6 -2
  27. data/lib/ckeditor/http.rb +5 -7
  28. data/lib/ckeditor/utils/content_type_detector.rb +3 -3
  29. data/lib/ckeditor/version.rb +2 -2
  30. data/vendor/assets/javascripts/ckeditor/CHANGES.md +1128 -849
  31. data/vendor/assets/javascripts/ckeditor/LICENSE.md +3 -3
  32. data/vendor/assets/javascripts/ckeditor/README.md +6 -6
  33. data/vendor/assets/javascripts/ckeditor/adapters/jquery.js +2 -2
  34. data/vendor/assets/javascripts/ckeditor/build-config.js +11 -6
  35. data/vendor/assets/javascripts/ckeditor/ckeditor.js +825 -688
  36. data/vendor/assets/javascripts/ckeditor/config.js +2 -2
  37. data/vendor/assets/javascripts/ckeditor/contents.css +7 -7
  38. data/vendor/assets/javascripts/ckeditor/lang/af.js +5 -0
  39. data/vendor/assets/javascripts/ckeditor/lang/ar.js +5 -0
  40. data/vendor/assets/javascripts/ckeditor/lang/az.js +5 -0
  41. data/vendor/assets/javascripts/ckeditor/lang/bg.js +5 -0
  42. data/vendor/assets/javascripts/ckeditor/lang/bn.js +5 -0
  43. data/vendor/assets/javascripts/ckeditor/lang/bs.js +5 -0
  44. data/vendor/assets/javascripts/ckeditor/lang/ca.js +5 -0
  45. data/vendor/assets/javascripts/ckeditor/lang/cs.js +5 -0
  46. data/vendor/assets/javascripts/ckeditor/lang/cy.js +5 -0
  47. data/vendor/assets/javascripts/ckeditor/lang/da.js +5 -0
  48. data/vendor/assets/javascripts/ckeditor/lang/de-ch.js +5 -0
  49. data/vendor/assets/javascripts/ckeditor/lang/de.js +5 -0
  50. data/vendor/assets/javascripts/ckeditor/lang/el.js +5 -0
  51. data/vendor/assets/javascripts/ckeditor/lang/en-au.js +5 -0
  52. data/vendor/assets/javascripts/ckeditor/lang/en-ca.js +5 -0
  53. data/vendor/assets/javascripts/ckeditor/lang/en-gb.js +5 -0
  54. data/vendor/assets/javascripts/ckeditor/lang/en.js +3 -3
  55. data/vendor/assets/javascripts/ckeditor/lang/eo.js +5 -0
  56. data/vendor/assets/javascripts/ckeditor/lang/es-mx.js +5 -0
  57. data/vendor/assets/javascripts/ckeditor/lang/es.js +5 -0
  58. data/vendor/assets/javascripts/ckeditor/lang/et.js +5 -0
  59. data/vendor/assets/javascripts/ckeditor/lang/eu.js +5 -0
  60. data/vendor/assets/javascripts/ckeditor/lang/fa.js +5 -0
  61. data/vendor/assets/javascripts/ckeditor/lang/fi.js +5 -0
  62. data/vendor/assets/javascripts/ckeditor/lang/fo.js +5 -0
  63. data/vendor/assets/javascripts/ckeditor/lang/fr-ca.js +5 -0
  64. data/vendor/assets/javascripts/ckeditor/lang/fr.js +5 -0
  65. data/vendor/assets/javascripts/ckeditor/lang/gl.js +5 -0
  66. data/vendor/assets/javascripts/ckeditor/lang/gu.js +5 -0
  67. data/vendor/assets/javascripts/ckeditor/lang/he.js +5 -0
  68. data/vendor/assets/javascripts/ckeditor/lang/hi.js +5 -0
  69. data/vendor/assets/javascripts/ckeditor/lang/hr.js +5 -0
  70. data/vendor/assets/javascripts/ckeditor/lang/hu.js +5 -0
  71. data/vendor/assets/javascripts/ckeditor/lang/id.js +5 -0
  72. data/vendor/assets/javascripts/ckeditor/lang/is.js +5 -0
  73. data/vendor/assets/javascripts/ckeditor/lang/it.js +5 -0
  74. data/vendor/assets/javascripts/ckeditor/lang/ja.js +5 -0
  75. data/vendor/assets/javascripts/ckeditor/lang/ka.js +5 -0
  76. data/vendor/assets/javascripts/ckeditor/lang/km.js +5 -0
  77. data/vendor/assets/javascripts/ckeditor/lang/ko.js +5 -0
  78. data/vendor/assets/javascripts/ckeditor/lang/ku.js +5 -0
  79. data/vendor/assets/javascripts/ckeditor/lang/lt.js +5 -0
  80. data/vendor/assets/javascripts/ckeditor/lang/lv.js +5 -0
  81. data/vendor/assets/javascripts/ckeditor/lang/mk.js +5 -0
  82. data/vendor/assets/javascripts/ckeditor/lang/mn.js +5 -0
  83. data/vendor/assets/javascripts/ckeditor/lang/ms.js +5 -0
  84. data/vendor/assets/javascripts/ckeditor/lang/nb.js +5 -0
  85. data/vendor/assets/javascripts/ckeditor/lang/nl.js +5 -0
  86. data/vendor/assets/javascripts/ckeditor/lang/no.js +5 -0
  87. data/vendor/assets/javascripts/ckeditor/lang/oc.js +5 -0
  88. data/vendor/assets/javascripts/ckeditor/lang/pl.js +5 -0
  89. data/vendor/assets/javascripts/ckeditor/lang/pt-br.js +5 -0
  90. data/vendor/assets/javascripts/ckeditor/lang/pt.js +5 -0
  91. data/vendor/assets/javascripts/ckeditor/lang/ro.js +5 -0
  92. data/vendor/assets/javascripts/ckeditor/lang/ru.js +3 -3
  93. data/vendor/assets/javascripts/ckeditor/lang/si.js +5 -0
  94. data/vendor/assets/javascripts/ckeditor/lang/sk.js +5 -0
  95. data/vendor/assets/javascripts/ckeditor/lang/sl.js +5 -0
  96. data/vendor/assets/javascripts/ckeditor/lang/sq.js +5 -0
  97. data/vendor/assets/javascripts/ckeditor/lang/sr-latn.js +5 -0
  98. data/vendor/assets/javascripts/ckeditor/lang/sr.js +5 -0
  99. data/vendor/assets/javascripts/ckeditor/lang/sv.js +5 -0
  100. data/vendor/assets/javascripts/ckeditor/lang/th.js +5 -0
  101. data/vendor/assets/javascripts/ckeditor/lang/tr.js +5 -0
  102. data/vendor/assets/javascripts/ckeditor/lang/tt.js +5 -0
  103. data/vendor/assets/javascripts/ckeditor/lang/ug.js +5 -0
  104. data/vendor/assets/javascripts/ckeditor/lang/uk.js +5 -0
  105. data/vendor/assets/javascripts/ckeditor/lang/vi.js +5 -0
  106. data/vendor/assets/javascripts/ckeditor/lang/zh-cn.js +5 -0
  107. data/vendor/assets/javascripts/ckeditor/lang/zh.js +5 -0
  108. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -7
  109. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +2 -2
  110. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +3 -3
  111. data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +5 -5
  112. data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  113. data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  114. data/vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
  115. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.min.css +1 -1
  116. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/autoformat.png +0 -0
  117. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/searchcode.png +0 -0
  118. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/uncommentselectedrange.png +0 -0
  119. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/images/autocomplete.png +0 -0
  120. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/images/autoformat.png +0 -0
  121. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/images/commentselectedrange.png +0 -0
  122. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/images/searchcode.png +0 -0
  123. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/images/uncommentselectedrange.png +0 -0
  124. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/beautify.min.js +2 -2
  125. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.min.js +2 -2
  126. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.search.min.js +1 -1
  127. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.min.js +1 -6
  128. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.bbcodemixed.min.js +1 -1
  129. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.handlebars.min.js +1 -0
  130. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.htmlmixed.min.js +2 -2
  131. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.javascript.min.js +1 -1
  132. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.php.min.js +3 -3
  133. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.twig.min.js +1 -1
  134. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/plugin.js +231 -217
  135. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/darcula.css +46 -0
  136. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/gruvbox-dark.css +34 -0
  137. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/idea.css +42 -0
  138. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/lesser-dark.css +1 -1
  139. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/lucario.css +37 -0
  140. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/monokai.css +5 -0
  141. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/oceanic-next.css +44 -0
  142. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/shadowfox.css +52 -0
  143. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/solarized.css +0 -1
  144. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/ssms.css +16 -0
  145. data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.css +2 -2
  146. data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +11 -11
  147. data/vendor/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +2 -2
  148. data/vendor/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +23 -23
  149. data/vendor/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +5 -5
  150. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +2 -2
  151. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +3 -3
  152. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +2 -2
  153. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +2 -2
  154. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +7 -7
  155. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +4 -3
  156. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +3 -3
  157. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +3 -3
  158. data/vendor/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  159. data/vendor/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
  160. data/vendor/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +3 -3
  161. data/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +1259 -44
  162. data/vendor/assets/javascripts/ckeditor/plugins/image/icons/hidpi/image.png +0 -0
  163. data/vendor/assets/javascripts/ckeditor/plugins/image/icons/image.png +0 -0
  164. data/vendor/assets/javascripts/ckeditor/plugins/image/lang/en.js +25 -0
  165. data/vendor/assets/javascripts/ckeditor/plugins/image/lang/ru.js +25 -0
  166. data/vendor/assets/javascripts/ckeditor/plugins/image/plugin.js +184 -0
  167. data/vendor/assets/javascripts/ckeditor/plugins/image2/dev/assets/image1.jpg +0 -0
  168. data/vendor/assets/javascripts/ckeditor/plugins/image2/dev/assets/image2.jpg +0 -0
  169. data/vendor/assets/javascripts/ckeditor/plugins/image2/dev/contents.css +35 -0
  170. data/vendor/assets/javascripts/ckeditor/plugins/image2/dev/image2.html +339 -0
  171. data/vendor/assets/javascripts/ckeditor/plugins/image2/dialogs/image2.js +553 -0
  172. data/vendor/assets/javascripts/ckeditor/plugins/image2/icons/hidpi/image.png +0 -0
  173. data/vendor/assets/javascripts/ckeditor/plugins/image2/icons/image.png +0 -0
  174. data/vendor/assets/javascripts/ckeditor/plugins/image2/lang/en.js +21 -0
  175. data/vendor/assets/javascripts/ckeditor/plugins/image2/lang/ru.js +21 -0
  176. data/vendor/assets/javascripts/ckeditor/plugins/image2/plugin.js +1720 -0
  177. data/vendor/assets/javascripts/ckeditor/plugins/image2/samples/assets/image1.jpg +0 -0
  178. data/vendor/assets/javascripts/ckeditor/plugins/image2/samples/assets/image2.jpg +0 -0
  179. data/vendor/assets/javascripts/ckeditor/plugins/image2/samples/image2.html +68 -0
  180. data/vendor/assets/javascripts/ckeditor/plugins/lineheight/lang/ru.js +1 -1
  181. data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +2 -2
  182. data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +28 -26
  183. data/vendor/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +7 -7
  184. data/vendor/assets/javascripts/ckeditor/plugins/loremipsum/plugin.js +2 -2
  185. data/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +53 -51
  186. data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +31 -32
  187. data/vendor/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +2 -2
  188. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +2 -2
  189. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +2 -2
  190. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +2 -2
  191. data/vendor/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +6 -6
  192. data/vendor/assets/javascripts/ckeditor/plugins/stylesheetparser/samples/stylesheetparser.html +6 -6
  193. data/vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +4 -4
  194. data/vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +16 -15
  195. data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +2 -2
  196. data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +2 -2
  197. data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/default.js +2 -2
  198. data/vendor/assets/javascripts/ckeditor/plugins/widget/images/handle.png +0 -0
  199. data/vendor/assets/javascripts/ckeditor/plugins/wordcount/lang/en.js +1 -0
  200. data/vendor/assets/javascripts/ckeditor/plugins/wordcount/lang/ru.js +2 -1
  201. data/vendor/assets/javascripts/ckeditor/plugins/wordcount/plugin.js +468 -377
  202. data/vendor/assets/javascripts/ckeditor/plugins/wordcount/samples/maxParagraphs.html +26 -0
  203. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +82 -82
  204. data/vendor/assets/javascripts/ckeditor/plugins/youtube/plugin.js +449 -448
  205. data/vendor/assets/javascripts/ckeditor/samples/css/samples.css +28 -23
  206. data/vendor/assets/javascripts/ckeditor/samples/img/logo.png +0 -0
  207. data/vendor/assets/javascripts/ckeditor/samples/img/logo.svg +13 -0
  208. data/vendor/assets/javascripts/ckeditor/samples/index.html +16 -16
  209. data/vendor/assets/javascripts/ckeditor/samples/js/sample.js +4 -4
  210. data/vendor/assets/javascripts/ckeditor/samples/js/sf.js +2 -2
  211. data/vendor/assets/javascripts/ckeditor/samples/old/ajax.html +5 -5
  212. data/vendor/assets/javascripts/ckeditor/samples/old/api.html +14 -14
  213. data/vendor/assets/javascripts/ckeditor/samples/old/appendto.html +7 -7
  214. data/vendor/assets/javascripts/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css +2 -2
  215. data/vendor/assets/javascripts/ckeditor/samples/old/assets/posteddata.php +4 -4
  216. data/vendor/assets/javascripts/ckeditor/samples/old/assets/uilanguages/languages.js +2 -2
  217. data/vendor/assets/javascripts/ckeditor/samples/old/datafiltering.html +14 -14
  218. data/vendor/assets/javascripts/ckeditor/samples/old/dialog/assets/my_dialog.js +2 -2
  219. data/vendor/assets/javascripts/ckeditor/samples/old/dialog/dialog.html +8 -8
  220. data/vendor/assets/javascripts/ckeditor/samples/old/divreplace.html +5 -5
  221. data/vendor/assets/javascripts/ckeditor/samples/old/enterkey/enterkey.html +8 -8
  222. data/vendor/assets/javascripts/ckeditor/samples/old/htmlwriter/outputforflash.html +6 -6
  223. data/vendor/assets/javascripts/ckeditor/samples/old/htmlwriter/outputhtml.html +7 -7
  224. data/vendor/assets/javascripts/ckeditor/samples/old/index.html +8 -5
  225. data/vendor/assets/javascripts/ckeditor/samples/old/inlineall.html +10 -10
  226. data/vendor/assets/javascripts/ckeditor/samples/old/inlinebycode.html +6 -6
  227. data/vendor/assets/javascripts/ckeditor/samples/old/inlinetextarea.html +6 -6
  228. data/vendor/assets/javascripts/ckeditor/samples/old/jquery.html +6 -6
  229. data/vendor/assets/javascripts/ckeditor/samples/old/magicline/magicline.html +5 -5
  230. data/vendor/assets/javascripts/ckeditor/samples/old/readonly.html +8 -8
  231. data/vendor/assets/javascripts/ckeditor/samples/old/replacebyclass.html +5 -5
  232. data/vendor/assets/javascripts/ckeditor/samples/old/replacebycode.html +5 -5
  233. data/vendor/assets/javascripts/ckeditor/samples/old/sample.css +2 -2
  234. data/vendor/assets/javascripts/ckeditor/samples/old/sample.js +2 -2
  235. data/vendor/assets/javascripts/ckeditor/samples/old/sample_posteddata.php +2 -2
  236. data/vendor/assets/javascripts/ckeditor/samples/old/stylesheetparser/assets/sample.css +70 -0
  237. data/vendor/assets/javascripts/ckeditor/samples/old/stylesheetparser/stylesheetparser.html +85 -0
  238. data/vendor/assets/javascripts/ckeditor/samples/old/tabindex.html +5 -5
  239. data/vendor/assets/javascripts/ckeditor/samples/old/toolbar/toolbar.html +8 -8
  240. data/vendor/assets/javascripts/ckeditor/samples/old/uicolor.html +6 -6
  241. data/vendor/assets/javascripts/ckeditor/samples/old/uilanguages.html +8 -8
  242. data/vendor/assets/javascripts/ckeditor/samples/old/wysiwygarea/fullpage.html +5 -5
  243. data/vendor/assets/javascripts/ckeditor/samples/old/xhtmlstyle.html +6 -6
  244. data/vendor/assets/javascripts/ckeditor/samples/toolbarconfigurator/index.html +12 -12
  245. data/vendor/assets/javascripts/ckeditor/skins/minimalist/editor.css +123 -1
  246. data/vendor/assets/javascripts/ckeditor/skins/minimalist/editor_gecko.css +1 -1
  247. data/vendor/assets/javascripts/ckeditor/skins/minimalist/editor_ie.css +1 -1
  248. data/vendor/assets/javascripts/ckeditor/skins/minimalist/editor_ie7.css +1 -1
  249. data/vendor/assets/javascripts/ckeditor/skins/minimalist/editor_ie8.css +1 -1
  250. data/vendor/assets/javascripts/ckeditor/skins/minimalist/editor_iequirks.css +1 -1
  251. data/vendor/assets/javascripts/ckeditor/skins/minimalist/icons.png +0 -0
  252. data/vendor/assets/javascripts/ckeditor/skins/minimalist/icons_hidpi.png +0 -0
  253. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/dialog.css +3 -3
  254. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie.css +3 -3
  255. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie8.css +3 -3
  256. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/dialog_iequirks.css +3 -3
  257. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor.css +3 -3
  258. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor_gecko.css +3 -3
  259. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie.css +3 -3
  260. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie8.css +3 -3
  261. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/editor_iequirks.css +3 -3
  262. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/icons.png +0 -0
  263. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
  264. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/readme.md +3 -3
  265. data/vendor/assets/javascripts/ckeditor/skins/moono-lisa/skin.js +2 -2
  266. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog.css +3 -3
  267. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +3 -3
  268. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +3 -3
  269. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +3 -3
  270. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +3 -3
  271. data/vendor/assets/javascripts/ckeditor/skins/moono/editor.css +3 -3
  272. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +3 -3
  273. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie.css +3 -3
  274. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +3 -3
  275. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +3 -3
  276. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +3 -3
  277. data/vendor/assets/javascripts/ckeditor/skins/moono/readme.md +4 -4
  278. data/vendor/assets/javascripts/ckeditor/skins/moono/skin.js +2 -2
  279. data/vendor/assets/javascripts/ckeditor/styles.js +4 -4
  280. metadata +179 -56
  281. data/vendor/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -169
  282. data/vendor/assets/javascripts/ckeditor/plugins/notification/lang/en.js +0 -7
  283. data/vendor/assets/javascripts/ckeditor/plugins/notification/lang/ru.js +0 -7
  284. data/vendor/assets/javascripts/ckeditor/plugins/notification/plugin.js +0 -929
@@ -0,0 +1,25 @@
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
+ CKEDITOR.plugins.setLang( 'image', 'en', {
6
+ alt: 'Alternative Text',
7
+ border: 'Border',
8
+ btnUpload: 'Send it to the Server',
9
+ button2Img: 'Do you want to transform the selected image button on a simple image?',
10
+ hSpace: 'HSpace',
11
+ img2Button: 'Do you want to transform the selected image on a image button?',
12
+ infoTab: 'Image Info',
13
+ linkTab: 'Link',
14
+ lockRatio: 'Lock Ratio',
15
+ menu: 'Image Properties',
16
+ resetSize: 'Reset Size',
17
+ title: 'Image Properties',
18
+ titleButton: 'Image Button Properties',
19
+ upload: 'Upload',
20
+ urlMissing: 'Image source URL is missing.',
21
+ vSpace: 'VSpace',
22
+ validateBorder: 'Border must be a whole number.',
23
+ validateHSpace: 'HSpace must be a whole number.',
24
+ validateVSpace: 'VSpace must be a whole number.'
25
+ } );
@@ -0,0 +1,25 @@
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
+ CKEDITOR.plugins.setLang( 'image', 'ru', {
6
+ alt: 'Альтернативный текст',
7
+ border: 'Граница',
8
+ btnUpload: 'Загрузить на сервер',
9
+ button2Img: 'Вы желаете преобразовать это изображение-кнопку в обычное изображение?',
10
+ hSpace: 'Гориз. отступ',
11
+ img2Button: 'Вы желаете преобразовать это обычное изображение в изображение-кнопку?',
12
+ infoTab: 'Данные об изображении',
13
+ linkTab: 'Ссылка',
14
+ lockRatio: 'Сохранять пропорции',
15
+ menu: 'Свойства изображения',
16
+ resetSize: 'Вернуть обычные размеры',
17
+ title: 'Свойства изображения',
18
+ titleButton: 'Свойства изображения-кнопки',
19
+ upload: 'Загрузить',
20
+ urlMissing: 'Не указана ссылка на изображение.',
21
+ vSpace: 'Вертик. отступ',
22
+ validateBorder: 'Размер границ должен быть задан числом.',
23
+ validateHSpace: 'Горизонтальный отступ должен быть задан числом.',
24
+ validateVSpace: 'Вертикальный отступ должен быть задан числом.'
25
+ } );
@@ -0,0 +1,184 @@
1
+ /**
2
+ * @license 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
+ /**
7
+ * @fileOverview The Image plugin.
8
+ */
9
+
10
+ ( function() {
11
+
12
+ CKEDITOR.plugins.add( 'image', {
13
+ requires: 'dialog',
14
+ // jscs:disable maximumLineLength
15
+ lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
16
+ // jscs:enable maximumLineLength
17
+ icons: 'image', // %REMOVE_LINE_CORE%
18
+ hidpi: true, // %REMOVE_LINE_CORE%
19
+ init: function( editor ) {
20
+ var pluginName = 'image';
21
+
22
+ // Abort when Easyimage or Image2 are to be loaded since this plugins
23
+ // share the same functionality (#1791).
24
+ if ( editor.plugins.detectConflict( pluginName, [ 'easyimage', 'image2' ] ) ) {
25
+ return;
26
+ }
27
+
28
+ // Register the dialog.
29
+ CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/image.js' );
30
+
31
+ var allowed = 'img[alt,!src]{border-style,border-width,float,height,margin,margin-bottom,margin-left,margin-right,margin-top,width}',
32
+ required = 'img[alt,src]';
33
+
34
+ if ( CKEDITOR.dialog.isTabEnabled( editor, pluginName, 'advanced' ) )
35
+ allowed = 'img[alt,dir,id,lang,longdesc,!src,title]{*}(*)';
36
+
37
+ // Register the command.
38
+ editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName, {
39
+ allowedContent: allowed,
40
+ requiredContent: required,
41
+ contentTransformations: [
42
+ [ 'img{width}: sizeToStyle', 'img[width]: sizeToAttribute' ],
43
+ [ 'img{float}: alignmentToStyle', 'img[align]: alignmentToAttribute' ]
44
+ ]
45
+ } ) );
46
+
47
+ // Register the toolbar button.
48
+ editor.ui.addButton && editor.ui.addButton( 'Image', {
49
+ label: editor.lang.common.image,
50
+ command: pluginName,
51
+ toolbar: 'insert,10'
52
+ } );
53
+
54
+ editor.on( 'doubleclick', function( evt ) {
55
+ var element = evt.data.element;
56
+
57
+ if ( element.is( 'img' ) && !element.data( 'cke-realelement' ) && !element.isReadOnly() )
58
+ evt.data.dialog = 'image';
59
+ } );
60
+
61
+ // If the "menu" plugin is loaded, register the menu items.
62
+ if ( editor.addMenuItems ) {
63
+ editor.addMenuItems( {
64
+ image: {
65
+ label: editor.lang.image.menu,
66
+ command: 'image',
67
+ group: 'image'
68
+ }
69
+ } );
70
+ }
71
+
72
+ // If the "contextmenu" plugin is loaded, register the listeners.
73
+ if ( editor.contextMenu ) {
74
+ editor.contextMenu.addListener( function( element ) {
75
+ if ( getSelectedImage( editor, element ) )
76
+ return { image: CKEDITOR.TRISTATE_OFF };
77
+ } );
78
+ }
79
+ },
80
+ afterInit: function( editor ) {
81
+ // Abort when Image2 is to be loaded since both plugins
82
+ // share the same button, command, etc. names (https://dev.ckeditor.com/ticket/11222).
83
+ if ( editor.plugins.image2 )
84
+ return;
85
+
86
+ // Customize the behavior of the alignment commands. (https://dev.ckeditor.com/ticket/7430)
87
+ setupAlignCommand( 'left' );
88
+ setupAlignCommand( 'right' );
89
+ setupAlignCommand( 'center' );
90
+ setupAlignCommand( 'block' );
91
+
92
+ function setupAlignCommand( value ) {
93
+ var command = editor.getCommand( 'justify' + value );
94
+ if ( command ) {
95
+ if ( value == 'left' || value == 'right' ) {
96
+ command.on( 'exec', function( evt ) {
97
+ var img = getSelectedImage( editor ),
98
+ align;
99
+ if ( img ) {
100
+ align = getImageAlignment( img );
101
+ if ( align == value ) {
102
+ img.removeStyle( 'float' );
103
+
104
+ // Remove "align" attribute when necessary.
105
+ if ( value == getImageAlignment( img ) )
106
+ img.removeAttribute( 'align' );
107
+ } else {
108
+ img.setStyle( 'float', value );
109
+ }
110
+
111
+ evt.cancel();
112
+ }
113
+ } );
114
+ }
115
+
116
+ command.on( 'refresh', function( evt ) {
117
+ var img = getSelectedImage( editor ),
118
+ align;
119
+ if ( img ) {
120
+ align = getImageAlignment( img );
121
+
122
+ this.setState(
123
+ ( align == value ) ? CKEDITOR.TRISTATE_ON : ( value == 'right' || value == 'left' ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
124
+
125
+ evt.cancel();
126
+ }
127
+ } );
128
+ }
129
+ }
130
+ }
131
+ } );
132
+
133
+ function getSelectedImage( editor, element ) {
134
+ if ( !element ) {
135
+ var sel = editor.getSelection();
136
+ element = sel.getSelectedElement();
137
+ }
138
+
139
+ if ( element && element.is( 'img' ) && !element.data( 'cke-realelement' ) && !element.isReadOnly() )
140
+ return element;
141
+ }
142
+
143
+ function getImageAlignment( element ) {
144
+ var align = element.getStyle( 'float' );
145
+
146
+ if ( align == 'inherit' || align == 'none' )
147
+ align = 0;
148
+
149
+ if ( !align )
150
+ align = element.getAttribute( 'align' );
151
+
152
+ return align;
153
+ }
154
+
155
+ } )();
156
+
157
+ /**
158
+ * Determines whether dimension inputs should be automatically filled when the image URL changes in the Image plugin dialog window.
159
+ *
160
+ * config.image_prefillDimensions = false;
161
+ *
162
+ * @since 4.5
163
+ * @cfg {Boolean} [image_prefillDimensions=true]
164
+ * @member CKEDITOR.config
165
+ */
166
+
167
+ /**
168
+ * Whether to remove links when emptying the link URL field in the Image dialog window.
169
+ *
170
+ * config.image_removeLinkByEmptyURL = false;
171
+ *
172
+ * @cfg {Boolean} [image_removeLinkByEmptyURL=true]
173
+ * @member CKEDITOR.config
174
+ */
175
+ CKEDITOR.config.image_removeLinkByEmptyURL = true;
176
+
177
+ /**
178
+ * Padding text to set off the image in the preview area.
179
+ *
180
+ * config.image_previewText = CKEDITOR.tools.repeat( '___ ', 100 );
181
+ *
182
+ * @cfg {String} [image_previewText='Lorem ipsum dolor...' (placeholder text)]
183
+ * @member CKEDITOR.config
184
+ */
@@ -0,0 +1,35 @@
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
+ .cke_widget_wrapper:hover:after {
7
+ content: "id: " attr(data-cke-widget-id);
8
+ position: absolute;
9
+ top: 0;
10
+ right: 0;
11
+ padding: 2px 4px;
12
+ background: #EEE;
13
+ border: solid 1px #DDD;
14
+ border-radius: 2px;
15
+ color: #BBB;
16
+ font: bold 10px sans-serif;
17
+ }
18
+
19
+ .align-left {
20
+ float: left;
21
+ margin-right: 20px;
22
+ }
23
+
24
+ .align-right {
25
+ float: right;
26
+ margin-left: 20px;
27
+ }
28
+
29
+ .align-center {
30
+ text-align: center;
31
+ }
32
+
33
+ .align-center > figure {
34
+ display: inline-block;
35
+ }
@@ -0,0 +1,339 @@
1
+ <!DOCTYPE html>
2
+ <!--
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
+ -->
6
+ <html>
7
+ <head>
8
+ <meta charset="utf-8">
9
+ <title>Widget Image &mdash; CKEditor Sample</title>
10
+ <script src="../../../ckeditor.js"></script>
11
+ <script src="../../../dev/console/console.js"></script>
12
+ <script src="../../../dev/console/focusconsole.js"></script>
13
+ <script src="../../widget/dev/console.js"></script>
14
+ <script>
15
+ if ( CKEDITOR.env.ie && CKEDITOR.env.version < 9 )
16
+ CKEDITOR.tools.enableHtml5Elements( document );
17
+
18
+ var editor;
19
+
20
+ // The instanceReady event is fired, when an instance of CKEditor has finished
21
+ // its initialization.
22
+ CKEDITOR.on( 'instanceReady', function( ev ) {
23
+ editor = ev.editor;
24
+
25
+ // Show this "on" button.
26
+ document.getElementById( 'readOnlyOn' ).style.display = '';
27
+
28
+ // Event fired when the readOnly property changes.
29
+ editor.on( 'readOnly', function() {
30
+ document.getElementById( 'readOnlyOn' ).style.display = this.readOnly ? 'none' : '';
31
+ document.getElementById( 'readOnlyOff' ).style.display = this.readOnly ? '' : 'none';
32
+ });
33
+ });
34
+
35
+ function toggleReadOnly( isReadOnly ) {
36
+ // Change the read-only state of the editor.
37
+ // https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-setReadOnly
38
+ editor.setReadOnly( isReadOnly );
39
+ }
40
+
41
+ </script>
42
+ <link href="../../../samples/old/sample.css" rel="stylesheet">
43
+
44
+ <style>
45
+
46
+ body {
47
+ font-size: 13px;
48
+ }
49
+ .editable {
50
+ padding: 20px;
51
+ border: 2px solid #dfdfdf;
52
+ overflow: auto;
53
+ }
54
+
55
+ body p {
56
+ line-height: 1.8em;
57
+ }
58
+
59
+ /* Reset some styles from sample.css */
60
+ .cke_editable.cke_editable_inline
61
+ {
62
+ cursor: auto;
63
+ }
64
+ .cke_editable.cke_editable_inline.cke_focus
65
+ {
66
+ box-shadow: none;
67
+ background: inherit;
68
+ cursor: auto;
69
+ }
70
+
71
+ </style>
72
+ <link href="contents.css" rel="stylesheet">
73
+ <link href="../../../contents.css" rel="stylesheet">
74
+ </head>
75
+ <body>
76
+ <h1 class="samples">
77
+ <a href="../../../samples/old/index.html">CKEditor Samples</a> &raquo; Widget Image
78
+ </h1>
79
+
80
+ <h2>Classic (iframe-based) Sample</h2>
81
+
82
+ <textarea id="editor1" cols="10" rows="10">
83
+ <h1>Apollo 11</h1>
84
+
85
+ <figure class="image" style="float: right">
86
+ <img alt="Saturn V" src="assets/image1.jpg" width="200" data-foo="*********" data-bar="@@@@@@@@" />
87
+ <figcaption>Roll out of Saturn V on launch pad</figcaption>
88
+ </figure>
89
+
90
+ <p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, 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.</p>
91
+
92
+ <p>Armstrong spent about <s>three and a half</s> two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&nbsp;kg) of lunar material for return to Earth. A third member of the mission, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>
93
+
94
+ <h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2>
95
+
96
+ <p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p>
97
+
98
+ <blockquote>
99
+ <p>One small step for [a] man, one giant leap for mankind.</p>
100
+ </blockquote>
101
+
102
+ <p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p>
103
+
104
+ <blockquote>
105
+ <p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
106
+ </blockquote>
107
+
108
+ <figure class="image" style="float: right">
109
+ <img alt="The Eagle" src="assets/image2.jpg" style="width: 200px" />
110
+ <figcaption>The Eagle in lunar orbit</figcaption>
111
+ </figure>
112
+
113
+ <h2>Technical details <a id="tech-details" name="tech-details"></a></h2>
114
+
115
+ <p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>&#39;s Apollo program. The Apollo spacecraft had three parts:</p>
116
+
117
+ <ol>
118
+ <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li>
119
+ <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li>
120
+ <li><strong>Lunar Module</strong> for landing on the Moon.</li>
121
+ </ol>
122
+
123
+ <p>After being sent to the Moon by the Saturn V&#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 <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. 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 <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p>
124
+
125
+ <p style="text-align:center">
126
+ <img alt="Saturn V" src="assets/image1.jpg" width="200" />
127
+ </p>
128
+
129
+ <hr />
130
+ <p style="text-align:right"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
131
+ </textarea>
132
+
133
+ <h2>Inline Sample</h2>
134
+
135
+ <div id="editor2" contenteditable="true" class="editable">
136
+ <h2>Apollo 11</h2>
137
+
138
+ <figure class="image" style="float: right">
139
+ <img alt="Saturn V" src="assets/image1.jpg" width="200" />
140
+ <figcaption>Roll out of Saturn V on launch pad</figcaption>
141
+ </figure>
142
+
143
+ <p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, 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.</p>
144
+
145
+ <p>Armstrong spent about <s>three and a half</s> two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&nbsp;kg) of lunar material for return to Earth. A third member of the mission, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>
146
+
147
+ <h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2>
148
+
149
+ <p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p>
150
+
151
+ <blockquote>
152
+ <p>One small step for [a] man, one giant leap for mankind.</p>
153
+ </blockquote>
154
+
155
+ <p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p>
156
+
157
+ <blockquote>
158
+ <p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
159
+ </blockquote>
160
+
161
+ <figure class="image" style="float: right">
162
+ <img alt="The Eagle" src="assets/image2.jpg" style="width: 200px" />
163
+ <figcaption>The Eagle in lunar orbit</figcaption>
164
+ </figure>
165
+
166
+ <h2>Technical details <a id="tech-details" name="tech-details"></a></h2>
167
+
168
+ <p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>&#39;s Apollo program. The Apollo spacecraft had three parts:</p>
169
+
170
+ <ol>
171
+ <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li>
172
+ <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li>
173
+ <li><strong>Lunar Module</strong> for landing on the Moon.</li>
174
+ </ol>
175
+
176
+ <p>After being sent to the Moon by the Saturn V&#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 <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. 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 <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p>
177
+
178
+ <p style="text-align:center">
179
+ <img alt="Saturn V" src="assets/image1.jpg" width="200" />
180
+ </p>
181
+
182
+ <hr />
183
+ <p style="text-align:right"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
184
+ </div>
185
+
186
+ <h2>Div Editing Area Sample</h2>
187
+
188
+ <textarea id="editor3" cols="10" rows="10">
189
+ <h1>Apollo 11</h1>
190
+
191
+ <figure class="caption" style="float: right">
192
+ <img alt="Saturn V" src="assets/image1.jpg" width="200" />
193
+ <figcaption>Roll out of Saturn V on launch pad</figcaption>
194
+ </figure>
195
+
196
+ <p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, 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.</p>
197
+
198
+ <p>Armstrong spent about <s>three and a half</s> two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&nbsp;kg) of lunar material for return to Earth. A third member of the mission, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>
199
+
200
+ <h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2>
201
+
202
+ <p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p>
203
+
204
+ <blockquote>
205
+ <p>One small step for [a] man, one giant leap for mankind.</p>
206
+ </blockquote>
207
+
208
+ <p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p>
209
+
210
+ <blockquote>
211
+ <p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
212
+ </blockquote>
213
+
214
+ <figure class="caption" style="float: right">
215
+ <img alt="The Eagle" src="assets/image2.jpg" style="width: 200px" />
216
+ <figcaption>The Eagle in lunar orbit</figcaption>
217
+ </figure>
218
+
219
+ <h2>Technical Details <a id="tech-details" name="tech-details"></a></h2>
220
+
221
+ <p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>&#39;s Apollo program. The Apollo spacecraft had three parts:</p>
222
+
223
+ <ol>
224
+ <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li>
225
+ <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li>
226
+ <li><strong>Lunar Module</strong> for landing on the Moon.</li>
227
+ </ol>
228
+
229
+ <p>After being sent to the Moon by the Saturn V&#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 <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. 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 <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p>
230
+
231
+ <p style="text-align:center">
232
+ <img alt="Saturn V" src="assets/image1.jpg" width="200" />
233
+ </p>
234
+
235
+ <hr />
236
+ <p style="text-align:right"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
237
+ </textarea>
238
+
239
+ <h2>alignClasses samples</h2>
240
+
241
+ <textarea id="editor4" cols="10" rows="10">
242
+ <h1>Apollo 11</h1>
243
+
244
+ <figure class="align-left image">
245
+ <img alt="Saturn V" src="assets/image1.jpg" width="200" data-foo="*********" data-bar="@@@@@@@@" />
246
+ <figcaption>Roll out of Saturn V on launch pad</figcaption>
247
+ </figure>
248
+
249
+ <p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, 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.</p>
250
+
251
+ <blockquote>
252
+ <p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
253
+ </blockquote>
254
+
255
+ <figure class="align-right image">
256
+ <img alt="The Eagle" src="assets/image2.jpg" style="width: 200px" />
257
+ <figcaption>The Eagle in lunar orbit</figcaption>
258
+ </figure>
259
+
260
+ <h2>Technical details <a id="tech-details" name="tech-details"></a></h2>
261
+
262
+ <p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>&#39;s Apollo program. The Apollo spacecraft had three parts:</p>
263
+
264
+ <ol>
265
+ <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li>
266
+ <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li>
267
+ <li><strong>Lunar Module</strong> for landing on the Moon.</li>
268
+ </ol>
269
+
270
+ <p>After being sent to the Moon by the Saturn V&#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 <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. 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 <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p>
271
+
272
+ <p class="align-center">
273
+ <img alt="Saturn V" src="assets/image1.jpg" width="200" />
274
+ </p>
275
+
276
+ <hr />
277
+ <p style="text-align:right"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
278
+ </textarea>
279
+
280
+ <p>
281
+ <input id="readOnlyOn" onclick="toggleReadOnly( true );" type="button" value="Make it read-only" style="display:none">
282
+ <input id="readOnlyOff" onclick="toggleReadOnly( false );" type="button" value="Make it editable again" style="display:none">
283
+ </p>
284
+
285
+ <script>
286
+
287
+ CKEDITOR.disableAutoInline = true;
288
+
289
+ CKEDITOR.replace( 'editor1', {
290
+ extraPlugins: 'image2',
291
+ height: 600,
292
+ contentsCss: [ '../../../contents.css', 'contents.css' ],
293
+ extraAllowedContent: 'img[data-foo,data-bar]',
294
+
295
+ filebrowserBrowseUrl: '/ckfinder/ckfinder.html',
296
+ filebrowserImageBrowseUrl: '/ckfinder/ckfinder.html?Type=Images',
297
+ filebrowserUploadUrl: '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
298
+ filebrowserImageUploadUrl: '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
299
+ } );
300
+
301
+ CKEDITOR.inline( 'editor2', {
302
+ extraPlugins: 'image2,sourcedialog'
303
+ } );
304
+
305
+ CKEDITOR.replace( 'editor3', {
306
+ extraPlugins: 'image2,divarea',
307
+ height: 600
308
+ } );
309
+
310
+ CKEDITOR.replace( 'editor4', {
311
+ extraPlugins: 'image2',
312
+ image2_alignClasses: [ 'align-left', 'align-center', 'align-right' ],
313
+ contentsCss: [ '../../../contents.css', 'contents.css' ],
314
+ height: 600
315
+ } );
316
+
317
+ CKCONSOLE.create( 'widget', { editor: 'editor1' } );
318
+ CKCONSOLE.create( 'focus', { editor: 'editor1' } );
319
+ CKCONSOLE.create( 'widget', { editor: 'editor2', folded: true } );
320
+ CKCONSOLE.create( 'focus', { editor: 'editor2', folded: true } );
321
+ CKCONSOLE.create( 'widget', { editor: 'editor3' } );
322
+ CKCONSOLE.create( 'focus', { editor: 'editor3' } );
323
+ CKCONSOLE.create( 'widget', { editor: 'editor4' } );
324
+ CKCONSOLE.create( 'focus', { editor: 'editor4' } );
325
+
326
+ </script>
327
+
328
+ <div id="footer">
329
+ <hr>
330
+ <p>
331
+ CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
332
+ </p>
333
+ <p id="copy">
334
+ Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
335
+ Knabben. All rights reserved.
336
+ </p>
337
+ </div>
338
+ </body>
339
+ </html>