drg_default_html_editor 0.6.0.0 → 0.7.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (453) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/close.png +0 -0
  3. data/app/assets/images/lock-open.png +0 -0
  4. data/app/assets/images/lock.png +0 -0
  5. data/app/assets/images/refresh.png +0 -0
  6. data/app/assets/javascripts/ckeditor/CHANGES.md +832 -163
  7. data/app/assets/javascripts/ckeditor/LICENSE.md +23 -7
  8. data/app/assets/javascripts/ckeditor/README.md +5 -5
  9. data/app/assets/javascripts/ckeditor/SECURITY.md +10 -0
  10. data/app/assets/javascripts/ckeditor/adapters/jquery.js +6 -6
  11. data/app/assets/javascripts/ckeditor/bender-runner.config.json +16 -0
  12. data/app/assets/javascripts/ckeditor/build-config.js +30 -12
  13. data/app/assets/javascripts/ckeditor/ckeditor.js +1216 -1040
  14. data/app/assets/javascripts/ckeditor/config.js +9 -32
  15. data/app/assets/javascripts/ckeditor/contents.css +1 -1
  16. data/app/assets/javascripts/ckeditor/lang/af.js +3 -3
  17. data/app/assets/javascripts/ckeditor/lang/ar.js +3 -3
  18. data/app/assets/javascripts/ckeditor/lang/az.js +3 -3
  19. data/app/assets/javascripts/ckeditor/lang/bg.js +3 -3
  20. data/app/assets/javascripts/ckeditor/lang/bn.js +3 -3
  21. data/app/assets/javascripts/ckeditor/lang/bs.js +3 -3
  22. data/app/assets/javascripts/ckeditor/lang/ca.js +3 -3
  23. data/app/assets/javascripts/ckeditor/lang/cs.js +3 -3
  24. data/app/assets/javascripts/ckeditor/lang/cy.js +3 -3
  25. data/app/assets/javascripts/ckeditor/lang/da.js +3 -3
  26. data/app/assets/javascripts/ckeditor/lang/de-ch.js +3 -3
  27. data/app/assets/javascripts/ckeditor/lang/de.js +3 -3
  28. data/app/assets/javascripts/ckeditor/lang/el.js +3 -3
  29. data/app/assets/javascripts/ckeditor/lang/en-au.js +3 -3
  30. data/app/assets/javascripts/ckeditor/lang/en-ca.js +3 -3
  31. data/app/assets/javascripts/ckeditor/lang/en-gb.js +3 -3
  32. data/app/assets/javascripts/ckeditor/lang/en.js +3 -3
  33. data/app/assets/javascripts/ckeditor/lang/eo.js +3 -3
  34. data/app/assets/javascripts/ckeditor/lang/es-mx.js +3 -3
  35. data/app/assets/javascripts/ckeditor/lang/es.js +3 -3
  36. data/app/assets/javascripts/ckeditor/lang/et.js +3 -3
  37. data/app/assets/javascripts/ckeditor/lang/eu.js +3 -3
  38. data/app/assets/javascripts/ckeditor/lang/fa.js +3 -3
  39. data/app/assets/javascripts/ckeditor/lang/fi.js +3 -3
  40. data/app/assets/javascripts/ckeditor/lang/fo.js +3 -3
  41. data/app/assets/javascripts/ckeditor/lang/fr-ca.js +3 -3
  42. data/app/assets/javascripts/ckeditor/lang/fr.js +3 -3
  43. data/app/assets/javascripts/ckeditor/lang/gl.js +3 -3
  44. data/app/assets/javascripts/ckeditor/lang/gu.js +3 -3
  45. data/app/assets/javascripts/ckeditor/lang/he.js +3 -3
  46. data/app/assets/javascripts/ckeditor/lang/hi.js +3 -3
  47. data/app/assets/javascripts/ckeditor/lang/hr.js +3 -3
  48. data/app/assets/javascripts/ckeditor/lang/hu.js +3 -3
  49. data/app/assets/javascripts/ckeditor/lang/id.js +3 -3
  50. data/app/assets/javascripts/ckeditor/lang/is.js +3 -3
  51. data/app/assets/javascripts/ckeditor/lang/it.js +3 -3
  52. data/app/assets/javascripts/ckeditor/lang/ja.js +3 -3
  53. data/app/assets/javascripts/ckeditor/lang/ka.js +3 -3
  54. data/app/assets/javascripts/ckeditor/lang/km.js +3 -3
  55. data/app/assets/javascripts/ckeditor/lang/ko.js +3 -3
  56. data/app/assets/javascripts/ckeditor/lang/ku.js +3 -3
  57. data/app/assets/javascripts/ckeditor/lang/lt.js +3 -3
  58. data/app/assets/javascripts/ckeditor/lang/lv.js +3 -3
  59. data/app/assets/javascripts/ckeditor/lang/mk.js +3 -3
  60. data/app/assets/javascripts/ckeditor/lang/mn.js +3 -3
  61. data/app/assets/javascripts/ckeditor/lang/ms.js +3 -3
  62. data/app/assets/javascripts/ckeditor/lang/nb.js +3 -3
  63. data/app/assets/javascripts/ckeditor/lang/nl.js +3 -3
  64. data/app/assets/javascripts/ckeditor/lang/no.js +3 -3
  65. data/app/assets/javascripts/ckeditor/lang/oc.js +3 -3
  66. data/app/assets/javascripts/ckeditor/lang/pl.js +3 -3
  67. data/app/assets/javascripts/ckeditor/lang/pt-br.js +3 -3
  68. data/app/assets/javascripts/ckeditor/lang/pt.js +3 -3
  69. data/app/assets/javascripts/ckeditor/lang/ro.js +3 -3
  70. data/app/assets/javascripts/ckeditor/lang/ru.js +3 -3
  71. data/app/assets/javascripts/ckeditor/lang/si.js +3 -3
  72. data/app/assets/javascripts/ckeditor/lang/sk.js +3 -3
  73. data/app/assets/javascripts/ckeditor/lang/sl.js +3 -3
  74. data/app/assets/javascripts/ckeditor/lang/sq.js +3 -3
  75. data/app/assets/javascripts/ckeditor/lang/sr-latn.js +3 -3
  76. data/app/assets/javascripts/ckeditor/lang/sr.js +3 -3
  77. data/app/assets/javascripts/ckeditor/lang/sv.js +3 -3
  78. data/app/assets/javascripts/ckeditor/lang/th.js +3 -3
  79. data/app/assets/javascripts/ckeditor/lang/tr.js +3 -3
  80. data/app/assets/javascripts/ckeditor/lang/tt.js +3 -3
  81. data/app/assets/javascripts/ckeditor/lang/ug.js +3 -3
  82. data/app/assets/javascripts/ckeditor/lang/uk.js +3 -3
  83. data/app/assets/javascripts/ckeditor/lang/vi.js +3 -3
  84. data/app/assets/javascripts/ckeditor/lang/zh-cn.js +3 -3
  85. data/app/assets/javascripts/ckeditor/lang/zh.js +3 -3
  86. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +6 -6
  87. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +1 -1
  88. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +2 -2
  89. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +8 -7
  90. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +2 -2
  91. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -8
  92. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +1 -1
  93. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +3 -3
  94. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +2 -2
  95. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +6 -6
  96. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +10 -9
  97. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +1 -1
  98. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +1 -1
  99. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +8 -8
  100. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +3 -2
  101. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +3 -2
  102. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +1 -1
  103. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +1 -1
  104. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +1 -1
  105. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +8 -8
  106. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +1 -1
  107. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +3 -3
  108. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +3 -2
  109. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +3 -2
  110. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +3 -2
  111. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +1 -1
  112. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +1 -1
  113. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +3 -2
  114. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +2 -2
  115. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +3 -2
  116. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +1 -1
  117. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +2 -2
  118. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +1 -1
  119. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +2 -2
  120. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +2 -2
  121. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +3 -2
  122. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +1 -1
  123. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +1 -1
  124. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +3 -2
  125. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +4 -3
  126. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -8
  127. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +3 -2
  128. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +1 -1
  129. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +2 -2
  130. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +8 -7
  131. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +1 -1
  132. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +1 -1
  133. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +1 -1
  134. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +2 -2
  135. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +1 -1
  136. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +1 -1
  137. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +2 -2
  138. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +2 -2
  139. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +4 -3
  140. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +8 -7
  141. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +9 -8
  142. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +9 -8
  143. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +1 -1
  144. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +3 -2
  145. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +1 -1
  146. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +3 -2
  147. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +1 -1
  148. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +4 -4
  149. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +2 -2
  150. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +1 -1
  151. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +6 -6
  152. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +2 -2
  153. data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +2 -2
  154. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.css +1 -1
  155. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +11 -11
  156. data/app/assets/javascripts/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg +25 -0
  157. data/app/assets/javascripts/ckeditor/plugins/copyformatting/cursors/cursor.svg +14 -0
  158. data/app/assets/javascripts/ckeditor/plugins/copyformatting/styles/copyformatting.css +45 -0
  159. data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
  160. data/app/assets/javascripts/ckeditor/plugins/dialog/styles/dialog.css +18 -0
  161. data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -8
  162. data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +26 -0
  163. data/app/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  164. data/app/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
  165. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image-org.js +44 -0
  166. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +1286 -44
  167. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +5 -5
  168. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +26 -24
  169. data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
  170. data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  171. data/app/assets/javascripts/ckeditor/plugins/pastefromgdocs/filter/default.js +8 -0
  172. data/app/assets/javascripts/ckeditor/plugins/pastefromlibreoffice/filter/default.js +11 -0
  173. data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +39 -52
  174. data/app/assets/javascripts/ckeditor/plugins/pastetools/filter/common.js +24 -0
  175. data/app/assets/javascripts/ckeditor/plugins/pastetools/filter/image.js +12 -0
  176. data/app/assets/javascripts/ckeditor/plugins/preview/images/pagebreak.gif +0 -0
  177. data/app/assets/javascripts/ckeditor/plugins/preview/preview.html +13 -0
  178. data/app/assets/javascripts/ckeditor/plugins/preview/styles/screen.css +10 -0
  179. data/app/assets/javascripts/ckeditor/plugins/scayt/CHANGELOG.md +1 -17
  180. data/app/assets/javascripts/ckeditor/plugins/scayt/README.md +63 -7
  181. data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +32 -32
  182. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  183. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  184. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  185. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  186. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  187. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  188. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  189. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  190. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  191. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  192. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  193. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +1 -1
  194. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/af.js +1 -1
  195. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +1 -1
  196. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/az.js +1 -1
  197. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +1 -1
  198. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +1 -1
  199. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +1 -1
  200. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +1 -1
  201. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/da.js +3 -3
  202. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +6 -6
  203. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +1 -1
  204. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +1 -1
  205. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +1 -1
  206. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +1 -1
  207. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +1 -1
  208. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +1 -1
  209. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +1 -1
  210. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +1 -1
  211. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +1 -1
  212. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +8 -10
  213. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eu.js +1 -1
  214. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +1 -1
  215. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +1 -1
  216. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +1 -1
  217. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +1 -1
  218. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +1 -1
  219. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +1 -1
  220. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +1 -1
  221. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +1 -1
  222. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +10 -10
  223. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +1 -1
  224. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +1 -1
  225. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +1 -1
  226. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ko.js +1 -1
  227. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +1 -1
  228. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lt.js +1 -1
  229. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +1 -1
  230. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +1 -1
  231. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +1 -1
  232. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +1 -1
  233. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/oc.js +1 -1
  234. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +1 -1
  235. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +1 -1
  236. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +1 -1
  237. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ro.js +1 -1
  238. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +1 -1
  239. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +1 -1
  240. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +1 -1
  241. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +1 -1
  242. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +1 -1
  243. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js +13 -0
  244. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sr.js +13 -0
  245. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +1 -1
  246. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +1 -1
  247. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +1 -1
  248. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tt.js +1 -1
  249. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +1 -1
  250. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +1 -1
  251. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +1 -1
  252. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +1 -1
  253. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js +1 -1
  254. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +11 -11
  255. data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +19 -18
  256. data/app/assets/javascripts/ckeditor/plugins/tableselection/styles/tableselection.css +10 -0
  257. data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +15 -15
  258. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +84 -0
  259. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +11 -0
  260. data/app/assets/javascripts/ckeditor/plugins/templates/templatedefinition.js +4 -0
  261. data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +7 -0
  262. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  263. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  264. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  265. data/app/assets/javascripts/ckeditor/samples/css/samples.css +1 -1
  266. data/app/assets/javascripts/ckeditor/samples/index.html +11 -9
  267. data/app/assets/javascripts/ckeditor/samples/js/sample.js +1 -1
  268. data/app/assets/javascripts/ckeditor/samples/js/sf.js +1 -1
  269. data/app/assets/javascripts/ckeditor/samples/old/ajax.html +5 -5
  270. data/app/assets/javascripts/ckeditor/samples/old/api.html +5 -5
  271. data/app/assets/javascripts/ckeditor/samples/old/appendto.html +5 -5
  272. data/app/assets/javascripts/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css +1 -1
  273. data/app/assets/javascripts/ckeditor/samples/old/assets/posteddata.php +4 -3
  274. data/app/assets/javascripts/ckeditor/samples/old/assets/uilanguages/languages.js +1 -1
  275. data/app/assets/javascripts/ckeditor/samples/old/datafiltering.html +8 -8
  276. data/app/assets/javascripts/ckeditor/samples/old/dialog/assets/my_dialog.js +1 -1
  277. data/app/assets/javascripts/ckeditor/samples/old/dialog/dialog.html +5 -5
  278. data/app/assets/javascripts/ckeditor/samples/old/divreplace.html +5 -5
  279. data/app/assets/javascripts/ckeditor/samples/old/enterkey/enterkey.html +5 -5
  280. data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/outputhtml.html +5 -5
  281. data/app/assets/javascripts/ckeditor/samples/old/index.html +11 -13
  282. data/app/assets/javascripts/ckeditor/samples/old/inlineall.html +6 -6
  283. data/app/assets/javascripts/ckeditor/samples/old/inlinebycode.html +5 -5
  284. data/app/assets/javascripts/ckeditor/samples/old/inlinetextarea.html +5 -5
  285. data/app/assets/javascripts/ckeditor/samples/old/jquery.html +5 -5
  286. data/app/assets/javascripts/ckeditor/samples/old/magicline/magicline.html +5 -5
  287. data/app/assets/javascripts/ckeditor/samples/old/readonly.html +5 -5
  288. data/app/assets/javascripts/ckeditor/samples/old/replacebyclass.html +5 -5
  289. data/app/assets/javascripts/ckeditor/samples/old/replacebycode.html +5 -5
  290. data/app/assets/javascripts/ckeditor/samples/old/sample.css +1 -1
  291. data/app/assets/javascripts/ckeditor/samples/old/sample.js +1 -1
  292. data/app/assets/javascripts/ckeditor/samples/old/sample_posteddata.php +1 -1
  293. data/app/assets/javascripts/ckeditor/samples/old/tabindex.html +5 -5
  294. data/app/assets/javascripts/ckeditor/samples/old/toolbar/toolbar.html +4 -4
  295. data/app/assets/javascripts/ckeditor/samples/old/uicolor.html +5 -5
  296. data/app/assets/javascripts/ckeditor/samples/old/uilanguages.html +5 -5
  297. data/app/assets/javascripts/ckeditor/samples/old/wysiwygarea/fullpage.html +5 -5
  298. data/app/assets/javascripts/ckeditor/samples/old/xhtmlstyle.html +5 -5
  299. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/index.html +7 -6
  300. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +4 -4
  301. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog.css +5 -0
  302. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie.css +5 -0
  303. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie8.css +5 -0
  304. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_iequirks.css +5 -0
  305. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor.css +5 -0
  306. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_gecko.css +5 -0
  307. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie.css +5 -0
  308. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie8.css +5 -0
  309. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_iequirks.css +5 -0
  310. data/app/assets/javascripts/ckeditor/skins/moono-lisa/icons.png +0 -0
  311. data/app/assets/javascripts/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
  312. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/arrow.png +0 -0
  313. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/close.png +0 -0
  314. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/close.png +0 -0
  315. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
  316. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock.png +0 -0
  317. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/refresh.png +0 -0
  318. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/lock-open.png +0 -0
  319. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/lock.png +0 -0
  320. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/refresh.png +0 -0
  321. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/spinner.gif +0 -0
  322. data/app/assets/javascripts/ckeditor/skins/{moono → moono-lisa}/readme.md +9 -12
  323. data/app/assets/javascripts/ckeditor/styles.js +1 -1
  324. data/app/assets/javascripts/ckeditor/vendor/promise.js +13 -0
  325. data/app/assets/javascripts/drg_default_html_editor_cms.js +1 -4
  326. data/app/assets/stylesheets/drg_default_html_editor_cms.css +3 -3
  327. data/app/models/drgcms_form_fields/ckeditor.rb +12 -13
  328. data/lib/drg_default_html_editor/version.rb +1 -1
  329. data/lib/drg_default_html_editor.rb +2 -2
  330. data/lib/tasks/drg_default_html_editor_tasks.rake +16 -4
  331. metadata +95 -166
  332. data/app/assets/javascripts/ckeditor/plugins/dialogadvtab/plugin.js +0 -196
  333. data/app/assets/javascripts/ckeditor/plugins/pastecode/CHANGES.md +0 -8
  334. data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/LICENSE.md +0 -1242
  335. data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/README.md +0 -23
  336. data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/tests/pastefromexcel.js +0 -6
  337. data/app/assets/javascripts/ckeditor/plugins/wsc/LICENSE.md +0 -28
  338. data/app/assets/javascripts/ckeditor/plugins/wsc/README.md +0 -25
  339. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -66
  340. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  341. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
  342. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -91
  343. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +0 -11
  344. data/app/assets/javascripts/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +0 -43
  345. data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
  346. data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
  347. data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/swfobject.js +0 -19
  348. data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/outputforflash.html +0 -283
  349. data/app/assets/javascripts/ckeditor/skins/moono/dialog.css +0 -5
  350. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +0 -5
  351. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +0 -5
  352. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +0 -5
  353. data/app/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +0 -5
  354. data/app/assets/javascripts/ckeditor/skins/moono/editor.css +0 -5
  355. data/app/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +0 -5
  356. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie.css +0 -5
  357. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +0 -5
  358. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +0 -5
  359. data/app/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +0 -5
  360. data/app/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
  361. data/app/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
  362. data/app/assets/javascripts/ckeditor/skins/moono/images/anchor.png +0 -0
  363. data/app/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
  364. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/anchor.png +0 -0
  365. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  366. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  367. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  368. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  369. data/app/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
  370. data/app/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
  371. data/app/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
  372. data/app/assets/javascripts/elfinder/Changelog +0 -494
  373. data/app/assets/javascripts/elfinder/LICENSE.md +0 -15
  374. data/app/assets/javascripts/elfinder/README.md +0 -209
  375. data/app/assets/javascripts/elfinder/bower.json +0 -28
  376. data/app/assets/javascripts/elfinder/composer.json +0 -39
  377. data/app/assets/javascripts/elfinder/css/elfinder.full.css +0 -3034
  378. data/app/assets/javascripts/elfinder/css/elfinder.min.css +0 -9
  379. data/app/assets/javascripts/elfinder/css/theme.css +0 -68
  380. data/app/assets/javascripts/elfinder/elfinder.html +0 -61
  381. data/app/assets/javascripts/elfinder/img/arrows-active.png +0 -0
  382. data/app/assets/javascripts/elfinder/img/arrows-normal.png +0 -0
  383. data/app/assets/javascripts/elfinder/img/crop.gif +0 -0
  384. data/app/assets/javascripts/elfinder/img/dialogs.png +0 -0
  385. data/app/assets/javascripts/elfinder/img/icons-big.png +0 -0
  386. data/app/assets/javascripts/elfinder/img/icons-small.png +0 -0
  387. data/app/assets/javascripts/elfinder/img/logo.png +0 -0
  388. data/app/assets/javascripts/elfinder/img/progress.gif +0 -0
  389. data/app/assets/javascripts/elfinder/img/quicklook-bg.png +0 -0
  390. data/app/assets/javascripts/elfinder/img/quicklook-icons.png +0 -0
  391. data/app/assets/javascripts/elfinder/img/resize.png +0 -0
  392. data/app/assets/javascripts/elfinder/img/spinner-mini.gif +0 -0
  393. data/app/assets/javascripts/elfinder/img/toolbar.png +0 -0
  394. data/app/assets/javascripts/elfinder/img/volume_icon_box.png +0 -0
  395. data/app/assets/javascripts/elfinder/img/volume_icon_dropbox.png +0 -0
  396. data/app/assets/javascripts/elfinder/img/volume_icon_ftp.png +0 -0
  397. data/app/assets/javascripts/elfinder/img/volume_icon_googledrive.png +0 -0
  398. data/app/assets/javascripts/elfinder/img/volume_icon_local.png +0 -0
  399. data/app/assets/javascripts/elfinder/img/volume_icon_onedrive.png +0 -0
  400. data/app/assets/javascripts/elfinder/img/volume_icon_sql.png +0 -0
  401. data/app/assets/javascripts/elfinder/js/elfinder.full.js +0 -23025
  402. data/app/assets/javascripts/elfinder/js/elfinder.min.js +0 -20
  403. data/app/assets/javascripts/elfinder/js/extras/encoding-japanese.min.js +0 -35
  404. data/app/assets/javascripts/elfinder/js/extras/quicklook.googledocs.js +0 -69
  405. data/app/assets/javascripts/elfinder/js/i18n/elfinder.LANG.js +0 -479
  406. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ar.js +0 -375
  407. data/app/assets/javascripts/elfinder/js/i18n/elfinder.bg.js +0 -412
  408. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ca.js +0 -375
  409. data/app/assets/javascripts/elfinder/js/i18n/elfinder.cs.js +0 -469
  410. data/app/assets/javascripts/elfinder/js/i18n/elfinder.da.js +0 -374
  411. data/app/assets/javascripts/elfinder/js/i18n/elfinder.de.js +0 -457
  412. data/app/assets/javascripts/elfinder/js/i18n/elfinder.el.js +0 -374
  413. data/app/assets/javascripts/elfinder/js/i18n/elfinder.es.js +0 -433
  414. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fa.js +0 -374
  415. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fallback.js +0 -11
  416. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fo.js +0 -419
  417. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fr.js +0 -419
  418. data/app/assets/javascripts/elfinder/js/i18n/elfinder.he.js +0 -375
  419. data/app/assets/javascripts/elfinder/js/i18n/elfinder.hr.js +0 -434
  420. data/app/assets/javascripts/elfinder/js/i18n/elfinder.hu.js +0 -447
  421. data/app/assets/javascripts/elfinder/js/i18n/elfinder.id.js +0 -373
  422. data/app/assets/javascripts/elfinder/js/i18n/elfinder.it.js +0 -448
  423. data/app/assets/javascripts/elfinder/js/i18n/elfinder.jp.js +0 -474
  424. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ko.js +0 -374
  425. data/app/assets/javascripts/elfinder/js/i18n/elfinder.nl.js +0 -419
  426. data/app/assets/javascripts/elfinder/js/i18n/elfinder.no.js +0 -374
  427. data/app/assets/javascripts/elfinder/js/i18n/elfinder.pl.js +0 -455
  428. data/app/assets/javascripts/elfinder/js/i18n/elfinder.pt_BR.js +0 -438
  429. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ro.js +0 -417
  430. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ru.js +0 -440
  431. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sk.js +0 -469
  432. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sl.js +0 -374
  433. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sr.js +0 -374
  434. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sv.js +0 -375
  435. data/app/assets/javascripts/elfinder/js/i18n/elfinder.tr.js +0 -468
  436. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ug_CN.js +0 -374
  437. data/app/assets/javascripts/elfinder/js/i18n/elfinder.uk.js +0 -391
  438. data/app/assets/javascripts/elfinder/js/i18n/elfinder.vi.js +0 -374
  439. data/app/assets/javascripts/elfinder/js/i18n/elfinder.zh_CN.js +0 -467
  440. data/app/assets/javascripts/elfinder/js/i18n/elfinder.zh_TW.js +0 -472
  441. data/app/assets/javascripts/elfinder/js/proxy/elFinderSupportVer1.js +0 -420
  442. data/app/assets/javascripts/elfinder/main.default.js +0 -94
  443. data/app/assets/javascripts/elfinder/package.json +0 -13
  444. data/app/assets/javascripts/elfinder/sounds/rm.wav +0 -0
  445. data/app/controllers/dc_elfinder_controller.rb +0 -62
  446. data/app/models/drgcms_form_fields/elfinder.rb +0 -88
  447. data/config/initializers/load_patches.rb +0 -30
  448. data/config/routes.rb +0 -2
  449. data/lib/drg_default_html_editor.rb~ +0 -6
  450. data/lib/patches/patch_for_elfinder.rb +0 -114
  451. data/lib/tasks/drg_default_html_editor_copy_assets.rake +0 -18
  452. /data/app/assets/{javascripts/ckeditor/skins/moono/images → images}/arrow.png +0 -0
  453. /data/app/assets/{javascripts/ckeditor/skins/moono/images → images}/spinner.gif +0 -0
@@ -1,14 +1,14 @@
1
1
  /*
2
- Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- CKEDITOR.dialog.add("specialchar",function(k){var e,n=k.lang.specialchar,m=function(c){var b;c=c.data?c.data.getTarget():new CKEDITOR.dom.element(c);"a"==c.getName()&&(b=c.getChild(0).getHtml())&&(c.removeClass("cke_light_background"),e.hide(),c=k.document.createElement("span"),c.setHtml(b),k.insertText(c.getText()))},p=CKEDITOR.tools.addFunction(m),l,g=function(c,b){var a;b=b||c.data.getTarget();"span"==b.getName()&&(b=b.getParent());if("a"==b.getName()&&(a=b.getChild(0).getHtml())){l&&d(null,l);
6
- var f=e.getContentElement("info","htmlPreview").getElement();e.getContentElement("info","charPreview").getElement().setHtml(a);f.setHtml(CKEDITOR.tools.htmlEncode(a));b.getParent().addClass("cke_light_background");l=b}},d=function(c,b){b=b||c.data.getTarget();"span"==b.getName()&&(b=b.getParent());"a"==b.getName()&&(e.getContentElement("info","charPreview").getElement().setHtml("\x26nbsp;"),e.getContentElement("info","htmlPreview").getElement().setHtml("\x26nbsp;"),b.getParent().removeClass("cke_light_background"),
7
- l=void 0)},q=CKEDITOR.tools.addFunction(function(c){c=new CKEDITOR.dom.event(c);var b=c.getTarget(),a;a=c.getKeystroke();var f="rtl"==k.lang.dir;switch(a){case 38:if(a=b.getParent().getParent().getPrevious())a=a.getChild([b.getParent().getIndex(),0]),a.focus(),d(null,b),g(null,a);c.preventDefault();break;case 40:(a=b.getParent().getParent().getNext())&&(a=a.getChild([b.getParent().getIndex(),0]))&&1==a.type&&(a.focus(),d(null,b),g(null,a));c.preventDefault();break;case 32:m({data:c});c.preventDefault();
8
- break;case f?37:39:if(a=b.getParent().getNext())a=a.getChild(0),1==a.type?(a.focus(),d(null,b),g(null,a),c.preventDefault(!0)):d(null,b);else if(a=b.getParent().getParent().getNext())(a=a.getChild([0,0]))&&1==a.type?(a.focus(),d(null,b),g(null,a),c.preventDefault(!0)):d(null,b);break;case f?39:37:(a=b.getParent().getPrevious())?(a=a.getChild(0),a.focus(),d(null,b),g(null,a),c.preventDefault(!0)):(a=b.getParent().getParent().getPrevious())?(a=a.getLast().getChild(0),a.focus(),d(null,b),g(null,a),c.preventDefault(!0)):
9
- d(null,b)}});return{title:n.title,minWidth:430,minHeight:280,buttons:[CKEDITOR.dialog.cancelButton],charColumns:17,onLoad:function(){for(var c=this.definition.charColumns,b=k.config.specialChars,a=CKEDITOR.tools.getNextId()+"_specialchar_table_label",f=['\x3ctable role\x3d"listbox" aria-labelledby\x3d"'+a+'" style\x3d"width: 320px; height: 100%; border-collapse: separate;" align\x3d"center" cellspacing\x3d"2" cellpadding\x3d"2" border\x3d"0"\x3e'],d=0,g=b.length,h,e;d<g;){f.push('\x3ctr role\x3d"presentation"\x3e');
10
- for(var l=0;l<c;l++,d++){if(h=b[d]){h instanceof Array?(e=h[1],h=h[0]):(e=h.replace("\x26","").replace(";","").replace("#",""),e=n[e]||h);var m="cke_specialchar_label_"+d+"_"+CKEDITOR.tools.getNextNumber();f.push('\x3ctd class\x3d"cke_dark_background" style\x3d"cursor: default" role\x3d"presentation"\x3e\x3ca href\x3d"javascript: void(0);" role\x3d"option" aria-posinset\x3d"'+(d+1)+'"',' aria-setsize\x3d"'+g+'"',' aria-labelledby\x3d"'+m+'"',' class\x3d"cke_specialchar" title\x3d"',CKEDITOR.tools.htmlEncode(e),
11
- '" onkeydown\x3d"CKEDITOR.tools.callFunction( '+q+', event, this )" onclick\x3d"CKEDITOR.tools.callFunction('+p+', this); return false;" tabindex\x3d"-1"\x3e\x3cspan style\x3d"margin: 0 auto;cursor: inherit"\x3e'+h+'\x3c/span\x3e\x3cspan class\x3d"cke_voice_label" id\x3d"'+m+'"\x3e'+e+"\x3c/span\x3e\x3c/a\x3e")}else f.push('\x3ctd class\x3d"cke_dark_background"\x3e\x26nbsp;');f.push("\x3c/td\x3e")}f.push("\x3c/tr\x3e")}f.push("\x3c/tbody\x3e\x3c/table\x3e",'\x3cspan id\x3d"'+a+'" class\x3d"cke_voice_label"\x3e'+
12
- n.options+"\x3c/span\x3e");this.getContentElement("info","charContainer").getElement().setHtml(f.join(""))},contents:[{id:"info",label:k.lang.common.generalTab,title:k.lang.common.generalTab,padding:0,align:"top",elements:[{type:"hbox",align:"top",widths:["320px","90px"],children:[{type:"html",id:"charContainer",html:"",onMouseover:g,onMouseout:d,focus:function(){var c=this.getElement().getElementsByTag("a").getItem(0);setTimeout(function(){c.focus();g(null,c)},0)},onShow:function(){var c=this.getElement().getChild([0,
13
- 0,0,0,0]);setTimeout(function(){c.focus();g(null,c)},0)},onLoad:function(c){e=c.sender}},{type:"hbox",align:"top",widths:["100%"],children:[{type:"vbox",align:"top",children:[{type:"html",html:"\x3cdiv\x3e\x3c/div\x3e"},{type:"html",id:"charPreview",className:"cke_dark_background",style:"border:1px solid #eeeeee;font-size:28px;height:40px;width:70px;padding-top:9px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",html:"\x3cdiv\x3e\x26nbsp;\x3c/div\x3e"},{type:"html",
14
- id:"htmlPreview",className:"cke_dark_background",style:"border:1px solid #eeeeee;font-size:14px;height:20px;width:70px;padding-top:2px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",html:"\x3cdiv\x3e\x26nbsp;\x3c/div\x3e"}]}]}]}]}]}});
5
+ CKEDITOR.dialog.add("specialchar",function(h){var f,n=h.lang.specialchar,k,l,p,d,e,q;l=function(c){var b;c=c.data?c.data.getTarget():new CKEDITOR.dom.element(c);"a"==c.getName()&&(b=c.getChild(0).getHtml())&&(c.removeClass("cke_light_background"),f.hide(),c=h.document.createElement("span"),c.setHtml(b),h.insertText(c.getText()))};p=CKEDITOR.tools.addFunction(l);e=function(c,b){var a;b=b||c.data.getTarget();"span"==b.getName()&&(b=b.getParent());if("a"==b.getName()&&(a=b.getChild(0).getHtml())){k&&
6
+ d(null,k);var e=f.getContentElement("info","htmlPreview").getElement();f.getContentElement("info","charPreview").getElement().setHtml(a);e.setHtml(CKEDITOR.tools.htmlEncode(a));b.getParent().addClass("cke_light_background");k=b}};d=function(c,b){b=b||c.data.getTarget();"span"==b.getName()&&(b=b.getParent());"a"==b.getName()&&(f.getContentElement("info","charPreview").getElement().setHtml("\x26nbsp;"),f.getContentElement("info","htmlPreview").getElement().setHtml("\x26nbsp;"),b.getParent().removeClass("cke_light_background"),
7
+ k=void 0)};q=CKEDITOR.tools.addFunction(function(c){c=new CKEDITOR.dom.event(c);var b=c.getTarget(),a;a=c.getKeystroke();var r="rtl"==h.lang.dir;switch(a){case 38:if(a=b.getParent().getParent().getPrevious())a=a.getChild([b.getParent().getIndex(),0]),a.focus(),d(null,b),e(null,a);c.preventDefault();break;case 40:(a=b.getParent().getParent().getNext())&&(a=a.getChild([b.getParent().getIndex(),0]))&&1==a.type&&(a.focus(),d(null,b),e(null,a));c.preventDefault();break;case 32:l({data:c});c.preventDefault();
8
+ break;case r?37:39:if(a=b.getParent().getNext())a=a.getChild(0),1==a.type?(a.focus(),d(null,b),e(null,a),c.preventDefault(!0)):d(null,b);else if(a=b.getParent().getParent().getNext())(a=a.getChild([0,0]))&&1==a.type?(a.focus(),d(null,b),e(null,a),c.preventDefault(!0)):d(null,b);break;case r?39:37:(a=b.getParent().getPrevious())?(a=a.getChild(0),a.focus(),d(null,b),e(null,a),c.preventDefault(!0)):(a=b.getParent().getParent().getPrevious())?(a=a.getLast().getChild(0),a.focus(),d(null,b),e(null,a),c.preventDefault(!0)):
9
+ d(null,b)}});return{title:n.title,minWidth:430,minHeight:280,buttons:[CKEDITOR.dialog.cancelButton],charColumns:17,onLoad:function(){for(var c=this.definition.charColumns,b=h.config.specialChars,a=CKEDITOR.tools.getNextId()+"_specialchar_table_label",d=['\x3ctable role\x3d"listbox" aria-labelledby\x3d"'+a+'" style\x3d"width: 320px; height: 100%; border-collapse: separate;" align\x3d"center" cellspacing\x3d"2" cellpadding\x3d"2" border\x3d"0"\x3e'],e=0,f=b.length,g,m;e<f;){d.push('\x3ctr role\x3d"presentation"\x3e');
10
+ for(var k=0;k<c;k++,e++)if(g=b[e]){g instanceof Array?(m=g[1],g=g[0]):(m=g.replace("\x26","").replace(";","").replace("#",""),m=n[m]||g);var l="cke_specialchar_label_"+e+"_"+CKEDITOR.tools.getNextNumber();d.push('\x3ctd class\x3d"cke_dark_background" style\x3d"cursor: default" role\x3d"presentation"\x3e\x3ca href\x3d"javascript: void(0);" role\x3d"option" aria-posinset\x3d"'+(e+1)+'"',' aria-setsize\x3d"'+f+'"',' aria-labelledby\x3d"'+l+'"',' class\x3d"cke_specialchar" title\x3d"',CKEDITOR.tools.htmlEncode(m),
11
+ '" onkeydown\x3d"CKEDITOR.tools.callFunction( '+q+', event, this )" onclick\x3d"CKEDITOR.tools.callFunction('+p+', this); return false;" tabindex\x3d"-1"\x3e\x3cspan style\x3d"margin: 0 auto;cursor: inherit"\x3e'+g+'\x3c/span\x3e\x3cspan class\x3d"cke_voice_label" id\x3d"'+l+'"\x3e'+m+"\x3c/span\x3e\x3c/a\x3e\x3c/td\x3e")}d.push("\x3c/tr\x3e")}d.push("\x3c/tbody\x3e\x3c/table\x3e",'\x3cspan id\x3d"'+a+'" class\x3d"cke_voice_label"\x3e'+n.options+"\x3c/span\x3e");this.getContentElement("info","charContainer").getElement().setHtml(d.join(""))},
12
+ contents:[{id:"info",label:h.lang.common.generalTab,title:h.lang.common.generalTab,padding:0,align:"top",elements:[{type:"hbox",align:"top",widths:["320px","90px"],children:[{type:"html",id:"charContainer",html:"",onMouseover:e,onMouseout:d,focus:function(){var c=this.getElement().getElementsByTag("a").getItem(0);setTimeout(function(){c.focus();e(null,c)},0)},onShow:function(){var c=this.getElement().getChild([0,0,0,0,0]);setTimeout(function(){c.focus();e(null,c)},0)},onLoad:function(c){f=c.sender}},
13
+ {type:"hbox",align:"top",widths:["100%"],children:[{type:"vbox",align:"top",children:[{type:"html",html:"\x3cdiv\x3e\x3c/div\x3e"},{type:"html",id:"charPreview",className:"cke_dark_background",style:"border:1px solid #eeeeee;font-size:28px;height:40px;width:70px;padding-top:9px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",html:"\x3cdiv\x3e\x26nbsp;\x3c/div\x3e"},{type:"html",id:"htmlPreview",className:"cke_dark_background",style:"border:1px solid #eeeeee;font-size:14px;height:20px;width:70px;padding-top:2px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",
14
+ html:"\x3cdiv\x3e\x26nbsp;\x3c/div\x3e"}]}]}]}]}]}});
@@ -1,21 +1,22 @@
1
1
  /*
2
- Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- (function(){function v(a){for(var f=0,n=0,l=0,p,e=a.$.rows.length;l<e;l++){p=a.$.rows[l];for(var d=f=0,b,c=p.cells.length;d<c;d++)b=p.cells[d],f+=b.colSpan;f>n&&(n=f)}return n}function r(a){return function(){var f=this.getValue(),f=!!(CKEDITOR.dialog.validate.integer()(f)&&0<f);f||(alert(a),this.select());return f}}function q(a,f){var n=function(e){return new CKEDITOR.dom.element(e,a.document)},q=a.editable(),p=a.plugins.dialogadvtab;return{title:a.lang.table.title,minWidth:310,minHeight:CKEDITOR.env.ie?
6
- 310:280,onLoad:function(){var e=this,a=e.getContentElement("advanced","advStyles");if(a)a.on("change",function(){var a=this.getStyle("width",""),c=e.getContentElement("info","txtWidth");c&&c.setValue(a,!0);a=this.getStyle("height","");(c=e.getContentElement("info","txtHeight"))&&c.setValue(a,!0)})},onShow:function(){var e=a.getSelection(),d=e.getRanges(),b,c=this.getContentElement("info","txtRows"),g=this.getContentElement("info","txtCols"),t=this.getContentElement("info","txtWidth"),m=this.getContentElement("info",
7
- "txtHeight");"tableProperties"==f&&((e=e.getSelectedElement())&&e.is("table")?b=e:0<d.length&&(CKEDITOR.env.webkit&&d[0].shrink(CKEDITOR.NODE_ELEMENT),b=a.elementPath(d[0].getCommonAncestor(!0)).contains("table",1)),this._.selectedElement=b);b?(this.setupContent(b),c&&c.disable(),g&&g.disable()):(c&&c.enable(),g&&g.enable());t&&t.onChange();m&&m.onChange()},onOk:function(){var e=a.getSelection(),d=this._.selectedElement&&e.createBookmarks(),b=this._.selectedElement||n("table"),c={};this.commitContent(c,
8
- b);if(c.info){c=c.info;if(!this._.selectedElement)for(var g=b.append(n("tbody")),f=parseInt(c.txtRows,10)||0,m=parseInt(c.txtCols,10)||0,k=0;k<f;k++)for(var h=g.append(n("tr")),l=0;l<m;l++)h.append(n("td")).appendBogus();f=c.selHeaders;if(!b.$.tHead&&("row"==f||"both"==f)){h=b.getElementsByTag("thead").getItem(0);g=b.getElementsByTag("tbody").getItem(0);m=g.getElementsByTag("tr").getItem(0);h||(h=new CKEDITOR.dom.element("thead"),h.insertBefore(g));for(k=0;k<m.getChildCount();k++)g=m.getChild(k),
9
- g.type!=CKEDITOR.NODE_ELEMENT||g.data("cke-bookmark")||(g.renameNode("th"),g.setAttribute("scope","col"));h.append(m.remove())}if(null!==b.$.tHead&&"row"!=f&&"both"!=f){h=new CKEDITOR.dom.element(b.$.tHead);g=b.getElementsByTag("tbody").getItem(0);for(l=g.getFirst();0<h.getChildCount();){m=h.getFirst();for(k=0;k<m.getChildCount();k++)g=m.getChild(k),g.type==CKEDITOR.NODE_ELEMENT&&(g.renameNode("td"),g.removeAttribute("scope"));m.insertBefore(l)}h.remove()}if(!this.hasColumnHeaders&&("col"==f||"both"==
10
- f))for(h=0;h<b.$.rows.length;h++)g=new CKEDITOR.dom.element(b.$.rows[h].cells[0]),g.renameNode("th"),g.setAttribute("scope","row");if(this.hasColumnHeaders&&"col"!=f&&"both"!=f)for(k=0;k<b.$.rows.length;k++)h=new CKEDITOR.dom.element(b.$.rows[k]),"tbody"==h.getParent().getName()&&(g=new CKEDITOR.dom.element(h.$.cells[0]),g.renameNode("td"),g.removeAttribute("scope"));c.txtHeight?b.setStyle("height",c.txtHeight):b.removeStyle("height");c.txtWidth?b.setStyle("width",c.txtWidth):b.removeStyle("width");
11
- b.getAttribute("style")||b.removeAttribute("style")}if(this._.selectedElement)try{e.selectBookmarks(d)}catch(p){}else a.insertElement(b),setTimeout(function(){var e=new CKEDITOR.dom.element(b.$.rows[0].cells[0]),c=a.createRange();c.moveToPosition(e,CKEDITOR.POSITION_AFTER_START);c.select()},0)},contents:[{id:"info",label:a.lang.table.title,elements:[{type:"hbox",widths:[null,null],styles:["vertical-align:top"],children:[{type:"vbox",padding:0,children:[{type:"text",id:"txtRows","default":3,label:a.lang.table.rows,
12
- required:!0,controlStyle:"width:5em",validate:r(a.lang.table.invalidRows),setup:function(e){this.setValue(e.$.rows.length)},commit:l},{type:"text",id:"txtCols","default":2,label:a.lang.table.columns,required:!0,controlStyle:"width:5em",validate:r(a.lang.table.invalidCols),setup:function(e){this.setValue(v(e))},commit:l},{type:"html",html:"\x26nbsp;"},{type:"select",id:"selHeaders",requiredContent:"th","default":"",label:a.lang.table.headers,items:[[a.lang.table.headersNone,""],[a.lang.table.headersRow,
13
- "row"],[a.lang.table.headersColumn,"col"],[a.lang.table.headersBoth,"both"]],setup:function(e){var a=this.getDialog();a.hasColumnHeaders=!0;for(var b=0;b<e.$.rows.length;b++){var c=e.$.rows[b].cells[0];if(c&&"th"!=c.nodeName.toLowerCase()){a.hasColumnHeaders=!1;break}}null!==e.$.tHead?this.setValue(a.hasColumnHeaders?"both":"row"):this.setValue(a.hasColumnHeaders?"col":"")},commit:l},{type:"text",id:"txtBorder",requiredContent:"table[border]","default":a.filter.check("table[border]")?1:0,label:a.lang.table.border,
14
- controlStyle:"width:3em",validate:CKEDITOR.dialog.validate.number(a.lang.table.invalidBorder),setup:function(a){this.setValue(a.getAttribute("border")||"")},commit:function(a,d){this.getValue()?d.setAttribute("border",this.getValue()):d.removeAttribute("border")}},{id:"cmbAlign",type:"select",requiredContent:"table[align]","default":"",label:a.lang.common.align,items:[[a.lang.common.notSet,""],[a.lang.common.left,"left"],[a.lang.common.center,"center"],[a.lang.common.right,"right"]],setup:function(a){this.setValue(a.getAttribute("align")||
15
- "")},commit:function(a,d){this.getValue()?d.setAttribute("align",this.getValue()):d.removeAttribute("align")}}]},{type:"vbox",padding:0,children:[{type:"hbox",widths:["5em"],children:[{type:"text",id:"txtWidth",requiredContent:"table{width}",controlStyle:"width:5em",label:a.lang.common.width,title:a.lang.common.cssLengthTooltip,"default":a.filter.check("table{width}")?500>q.getSize("width")?"100%":500:0,getValue:u,validate:CKEDITOR.dialog.validate.cssLength(a.lang.common.invalidCssLength.replace("%1",
16
- a.lang.common.width)),onChange:function(){var a=this.getDialog().getContentElement("advanced","advStyles");a&&a.updateStyle("width",this.getValue())},setup:function(a){a=a.getStyle("width");this.setValue(a)},commit:l}]},{type:"hbox",widths:["5em"],children:[{type:"text",id:"txtHeight",requiredContent:"table{height}",controlStyle:"width:5em",label:a.lang.common.height,title:a.lang.common.cssLengthTooltip,"default":"",getValue:u,validate:CKEDITOR.dialog.validate.cssLength(a.lang.common.invalidCssLength.replace("%1",
17
- a.lang.common.height)),onChange:function(){var a=this.getDialog().getContentElement("advanced","advStyles");a&&a.updateStyle("height",this.getValue())},setup:function(a){(a=a.getStyle("height"))&&this.setValue(a)},commit:l}]},{type:"html",html:"\x26nbsp;"},{type:"text",id:"txtCellSpace",requiredContent:"table[cellspacing]",controlStyle:"width:3em",label:a.lang.table.cellSpace,"default":a.filter.check("table[cellspacing]")?1:0,validate:CKEDITOR.dialog.validate.number(a.lang.table.invalidCellSpacing),
18
- setup:function(a){this.setValue(a.getAttribute("cellSpacing")||"")},commit:function(a,d){this.getValue()?d.setAttribute("cellSpacing",this.getValue()):d.removeAttribute("cellSpacing")}},{type:"text",id:"txtCellPad",requiredContent:"table[cellpadding]",controlStyle:"width:3em",label:a.lang.table.cellPad,"default":a.filter.check("table[cellpadding]")?1:0,validate:CKEDITOR.dialog.validate.number(a.lang.table.invalidCellPadding),setup:function(a){this.setValue(a.getAttribute("cellPadding")||"")},commit:function(a,
19
- d){this.getValue()?d.setAttribute("cellPadding",this.getValue()):d.removeAttribute("cellPadding")}}]}]},{type:"html",align:"right",html:""},{type:"vbox",padding:0,children:[{type:"text",id:"txtCaption",requiredContent:"caption",label:a.lang.table.caption,setup:function(a){this.enable();a=a.getElementsByTag("caption");if(0<a.count()){a=a.getItem(0);var d=a.getFirst(CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT));d&&!d.equals(a.getBogus())?(this.disable(),this.setValue(a.getText())):(a=CKEDITOR.tools.trim(a.getText()),
20
- this.setValue(a))}},commit:function(e,d){if(this.isEnabled()){var b=this.getValue(),c=d.getElementsByTag("caption");if(b)0<c.count()?(c=c.getItem(0),c.setHtml("")):(c=new CKEDITOR.dom.element("caption",a.document),d.append(c,!0)),c.append(new CKEDITOR.dom.text(b,a.document));else if(0<c.count())for(b=c.count()-1;0<=b;b--)c.getItem(b).remove()}}},{type:"text",id:"txtSummary",bidi:!0,requiredContent:"table[summary]",label:a.lang.table.summary,setup:function(a){this.setValue(a.getAttribute("summary")||
21
- "")},commit:function(a,d){this.getValue()?d.setAttribute("summary",this.getValue()):d.removeAttribute("summary")}}]}]},p&&p.createAdvancedTab(a,null,"table")]}}var u=CKEDITOR.tools.cssLength,l=function(a){var f=this.id;a.info||(a.info={});a.info[f]=this.getValue()};CKEDITOR.dialog.add("table",function(a){return q(a,"table")});CKEDITOR.dialog.add("tableProperties",function(a){return q(a,"tableProperties")})})();
5
+ (function(){function w(a){for(var f=0,p=0,n=0,q,d=a.$.rows.length;n<d;n++){q=a.$.rows[n];for(var e=f=0,b,c=q.cells.length;e<c;e++)b=q.cells[e],f+=b.colSpan;f>p&&(p=f)}return p}function t(a){return function(){var f=this.getValue(),f=!!(CKEDITOR.dialog.validate.integer().call(this,f)&&0<f);f||(alert(a),this.select());return f}}function r(a,f){var p=function(d){return new CKEDITOR.dom.element(d,a.document)},r=a.editable(),q=a.plugins.dialogadvtab;return{title:a.lang.table.title,minWidth:310,minHeight:CKEDITOR.env.ie?
6
+ 310:280,getModel:function(d){return"tableProperties"!==this.dialog.getName()?null:(d=(d=d.getSelection())&&d.getRanges()[0])?d._getTableElement({table:1}):null},onLoad:function(){var d=this,a=d.getContentElement("advanced","advStyles");if(a)a.on("change",function(){var a=this.getStyle("width",""),c=d.getContentElement("info","txtWidth");c&&c.setValue(a,!0);a=this.getStyle("height","");(c=d.getContentElement("info","txtHeight"))&&c.setValue(a,!0)})},onShow:function(){var d=a.getSelection(),e=d.getRanges(),
7
+ b,c=this.getContentElement("info","txtRows"),h=this.getContentElement("info","txtCols"),u=this.getContentElement("info","txtWidth"),l=this.getContentElement("info","txtHeight");"tableProperties"==f&&((d=d.getSelectedElement())&&d.is("table")?b=d:0<e.length&&(CKEDITOR.env.webkit&&e[0].shrink(CKEDITOR.NODE_ELEMENT),b=a.elementPath(e[0].getCommonAncestor(!0)).contains("table",1)),this._.selectedElement=b);b?(this.setupContent(b),c&&c.disable(),h&&h.disable()):(c&&c.enable(),h&&h.enable());u&&u.onChange();
8
+ l&&l.onChange()},onOk:function(){var d=a.getSelection(),e=this._.selectedElement&&d.createBookmarks(),b=this._.selectedElement||p("table"),c={};this.commitContent(c,b);if(c.info){c=c.info;if(!this._.selectedElement)for(var h=b.append(p("tbody")),f=parseInt(c.txtRows,10)||0,l=parseInt(c.txtCols,10)||0,k=0;k<f;k++)for(var g=h.append(p("tr")),m=0;m<l;m++)g.append(p("td")).appendBogus();f=c.selHeaders;if(!b.$.tHead&&("row"==f||"both"==f)){g=b.getElementsByTag("thead").getItem(0);h=b.getElementsByTag("tbody").getItem(0);
9
+ l=h.getElementsByTag("tr").getItem(0);g||(g=new CKEDITOR.dom.element("thead"),g.insertBefore(h));for(k=0;k<l.getChildCount();k++)h=l.getChild(k),h.type!=CKEDITOR.NODE_ELEMENT||h.data("cke-bookmark")||(h.renameNode("th"),h.setAttribute("scope","col"));g.append(l.remove())}if(null!==b.$.tHead&&"row"!=f&&"both"!=f){g=new CKEDITOR.dom.element(b.$.tHead);for(h=b.getElementsByTag("tbody").getItem(0);0<g.getChildCount();){l=g.getFirst();for(k=0;k<l.getChildCount();k++)m=l.getChild(k),m.type==CKEDITOR.NODE_ELEMENT&&
10
+ (m.renameNode("td"),m.removeAttribute("scope"));h.append(l,!0)}g.remove()}if(!this.hasColumnHeaders&&("col"==f||"both"==f))for(g=0;g<b.$.rows.length;g++)m=new CKEDITOR.dom.element(b.$.rows[g].cells[0]),m.renameNode("th"),m.setAttribute("scope","row");if(this.hasColumnHeaders&&"col"!=f&&"both"!=f)for(k=0;k<b.$.rows.length;k++)g=new CKEDITOR.dom.element(b.$.rows[k]),"tbody"==g.getParent().getName()&&(m=new CKEDITOR.dom.element(g.$.cells[0]),m.renameNode("td"),m.removeAttribute("scope"));c.txtHeight?
11
+ b.setStyle("height",c.txtHeight):b.removeStyle("height");c.txtWidth?b.setStyle("width",c.txtWidth):b.removeStyle("width");b.getAttribute("style")||b.removeAttribute("style")}if(this._.selectedElement)try{d.selectBookmarks(e)}catch(n){}else a.insertElement(b),setTimeout(function(){var d=new CKEDITOR.dom.element(b.$.rows[0].cells[0]),c=a.createRange();c.moveToPosition(d,CKEDITOR.POSITION_AFTER_START);c.select()},0)},contents:[{id:"info",label:a.lang.table.title,elements:[{type:"hbox",widths:[null,null],
12
+ styles:["vertical-align:top"],children:[{type:"vbox",padding:0,children:[{type:"text",id:"txtRows","default":3,label:a.lang.table.rows,required:!0,controlStyle:"width:5em",validate:t(a.lang.table.invalidRows),setup:function(d){this.setValue(d.$.rows.length)},commit:n},{type:"text",id:"txtCols","default":2,label:a.lang.table.columns,required:!0,controlStyle:"width:5em",validate:t(a.lang.table.invalidCols),setup:function(d){this.setValue(w(d))},commit:n},{type:"html",html:"\x26nbsp;"},{type:"select",
13
+ id:"selHeaders",requiredContent:"th","default":"",label:a.lang.table.headers,items:[[a.lang.table.headersNone,""],[a.lang.table.headersRow,"row"],[a.lang.table.headersColumn,"col"],[a.lang.table.headersBoth,"both"]],setup:function(d){var a=this.getDialog();a.hasColumnHeaders=!0;for(var b=0;b<d.$.rows.length;b++){var c=d.$.rows[b].cells[0];if(c&&"th"!=c.nodeName.toLowerCase()){a.hasColumnHeaders=!1;break}}null!==d.$.tHead?this.setValue(a.hasColumnHeaders?"both":"row"):this.setValue(a.hasColumnHeaders?
14
+ "col":"")},commit:n},{type:"text",id:"txtBorder",requiredContent:"table[border]","default":a.filter.check("table[border]")?1:0,label:a.lang.table.border,controlStyle:"width:3em",validate:CKEDITOR.dialog.validate.number(a.lang.table.invalidBorder),setup:function(d){this.setValue(d.getAttribute("border")||"")},commit:function(d,a){this.getValue()?a.setAttribute("border",this.getValue()):a.removeAttribute("border")}},{id:"cmbAlign",type:"select",requiredContent:"table[align]","default":"",label:a.lang.common.align,
15
+ items:[[a.lang.common.notSet,""],[a.lang.common.left,"left"],[a.lang.common.center,"center"],[a.lang.common.right,"right"]],setup:function(a){this.setValue(a.getAttribute("align")||"")},commit:function(a,e){this.getValue()?e.setAttribute("align",this.getValue()):e.removeAttribute("align")}}]},{type:"vbox",padding:0,children:[{type:"hbox",widths:["5em"],children:[{type:"text",id:"txtWidth",requiredContent:"table{width}",controlStyle:"width:5em",label:a.lang.common.width,title:a.lang.common.cssLengthTooltip,
16
+ "default":a.filter.check("table{width}")?500>r.getSize("width")?"100%":500:0,getValue:v,validate:CKEDITOR.dialog.validate.cssLength(a.lang.common.invalidCssLength.replace("%1",a.lang.common.width)),onChange:function(){var a=this.getDialog().getContentElement("advanced","advStyles");a&&a.updateStyle("width",this.getValue())},setup:function(a){a=a.getStyle("width");this.setValue(a)},commit:n}]},{type:"hbox",widths:["5em"],children:[{type:"text",id:"txtHeight",requiredContent:"table{height}",controlStyle:"width:5em",
17
+ label:a.lang.common.height,title:a.lang.common.cssLengthTooltip,"default":"",getValue:v,validate:CKEDITOR.dialog.validate.cssLength(a.lang.common.invalidCssLength.replace("%1",a.lang.common.height)),onChange:function(){var a=this.getDialog().getContentElement("advanced","advStyles");a&&a.updateStyle("height",this.getValue())},setup:function(a){(a=a.getStyle("height"))&&this.setValue(a)},commit:n}]},{type:"html",html:"\x26nbsp;"},{type:"text",id:"txtCellSpace",requiredContent:"table[cellspacing]",
18
+ controlStyle:"width:3em",label:a.lang.table.cellSpace,"default":a.filter.check("table[cellspacing]")?1:0,validate:CKEDITOR.dialog.validate.number(a.lang.table.invalidCellSpacing),setup:function(a){this.setValue(a.getAttribute("cellSpacing")||"")},commit:function(a,e){this.getValue()?e.setAttribute("cellSpacing",this.getValue()):e.removeAttribute("cellSpacing")}},{type:"text",id:"txtCellPad",requiredContent:"table[cellpadding]",controlStyle:"width:3em",label:a.lang.table.cellPad,"default":a.filter.check("table[cellpadding]")?
19
+ 1:0,validate:CKEDITOR.dialog.validate.number(a.lang.table.invalidCellPadding),setup:function(a){this.setValue(a.getAttribute("cellPadding")||"")},commit:function(a,e){this.getValue()?e.setAttribute("cellPadding",this.getValue()):e.removeAttribute("cellPadding")}}]}]},{type:"html",align:"right",html:""},{type:"vbox",padding:0,children:[{type:"text",id:"txtCaption",requiredContent:"caption",label:a.lang.table.caption,setup:function(a){this.enable();a=a.getElementsByTag("caption");if(0<a.count()){a=
20
+ a.getItem(0);var e=a.getFirst(CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT));e&&!e.equals(a.getBogus())?(this.disable(),this.setValue(a.getText())):(a=CKEDITOR.tools.trim(a.getText()),this.setValue(a))}},commit:function(d,e){if(this.isEnabled()){var b=this.getValue(),c=e.getElementsByTag("caption");if(b)0<c.count()?(c=c.getItem(0),c.setHtml("")):(c=new CKEDITOR.dom.element("caption",a.document),e.append(c,!0)),c.append(new CKEDITOR.dom.text(b,a.document));else if(0<c.count())for(b=c.count()-
21
+ 1;0<=b;b--)c.getItem(b).remove()}}},{type:"text",id:"txtSummary",bidi:!0,requiredContent:"table[summary]",label:a.lang.table.summary,setup:function(a){this.setValue(a.getAttribute("summary")||"")},commit:function(a,e){this.getValue()?e.setAttribute("summary",this.getValue()):e.removeAttribute("summary")}}]}]},q&&q.createAdvancedTab(a,null,"table")]}}var v=CKEDITOR.tools.cssLength,n=function(a){var f=this.id;a.info||(a.info={});a.info[f]=this.getValue()};CKEDITOR.dialog.add("table",function(a){return r(a,
22
+ "table")});CKEDITOR.dialog.add("tableProperties",function(a){return r(a,"tableProperties")})})();
@@ -24,3 +24,13 @@
24
24
  .cke_table-faked-selection::selection, .cke_table-faked-selection ::selection {
25
25
  background: transparent;
26
26
  }
27
+
28
+ /* Change the cursor when selecting cells (#706).
29
+ *
30
+ * This solution does not work in IE, Edge and Safari due to upstream isues:
31
+ * https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/3419602/
32
+ * https://bugs.webkit.org/show_bug.cgi?id=53341
33
+ */
34
+ table[data-cke-table-faked-selection-table] {
35
+ cursor: cell;
36
+ }
@@ -1,18 +1,18 @@
1
1
  /*
2
- Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- CKEDITOR.dialog.add("cellProperties",function(f){function d(a){return function(b){for(var c=a(b[0]),d=1;d<b.length;d++)if(a(b[d])!==c){c=null;break}"undefined"!=typeof c&&(this.setValue(c),CKEDITOR.env.gecko&&"select"==this.type&&!c&&(this.getInputElement().$.selectedIndex=-1))}}function l(a){if(a=n.exec(a.getStyle("width")||a.getAttribute("width")))return a[2]}var h=f.lang.table,c=h.cell,e=f.lang.common,k=CKEDITOR.dialog.validate,n=/^(\d+(?:\.\d+)?)(px|%)$/,g={type:"html",html:"\x26nbsp;"},p="rtl"==
6
- f.lang.dir,m=f.plugins.colordialog;return{title:c.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?450:410,minHeight:CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?230:220,contents:[{id:"info",label:c.title,accessKey:"I",elements:[{type:"hbox",widths:["40%","5%","40%"],children:[{type:"vbox",padding:0,children:[{type:"hbox",widths:["70%","30%"],children:[{type:"text",id:"width",width:"100px",requiredContent:"td{width,height}",label:e.width,validate:k.number(c.invalidWidth),onLoad:function(){var a=
7
- this.getDialog().getContentElement("info","widthType").getElement(),b=this.getInputElement(),c=b.getAttribute("aria-labelledby");b.setAttribute("aria-labelledby",[c,a.$.id].join(" "))},setup:d(function(a){var b=parseInt(a.getAttribute("width"),10);a=parseInt(a.getStyle("width"),10);return isNaN(a)?isNaN(b)?"":b:a}),commit:function(a){var b=parseInt(this.getValue(),10),c=this.getDialog().getValueOf("info","widthType")||l(a);isNaN(b)?a.removeStyle("width"):a.setStyle("width",b+c);a.removeAttribute("width")},
8
- "default":""},{type:"select",id:"widthType",requiredContent:"td{width,height}",label:f.lang.table.widthUnit,labelStyle:"visibility:hidden","default":"px",items:[[h.widthPx,"px"],[h.widthPc,"%"]],setup:d(l)}]},{type:"hbox",widths:["70%","30%"],children:[{type:"text",id:"height",requiredContent:"td{width,height}",label:e.height,width:"100px","default":"",validate:k.number(c.invalidHeight),onLoad:function(){var a=this.getDialog().getContentElement("info","htmlHeightType").getElement(),b=this.getInputElement(),
9
- c=b.getAttribute("aria-labelledby");this.getDialog().getContentElement("info","height").isVisible()&&(a.setHtml("\x3cbr /\x3e"+h.widthPx),a.setStyle("display","block"),this.getDialog().getContentElement("info","hiddenSpacer").getElement().setStyle("display","block"));b.setAttribute("aria-labelledby",[c,a.$.id].join(" "))},setup:d(function(a){var b=parseInt(a.getAttribute("height"),10);a=parseInt(a.getStyle("height"),10);return isNaN(a)?isNaN(b)?"":b:a}),commit:function(a){var b=parseInt(this.getValue(),
10
- 10);isNaN(b)?a.removeStyle("height"):a.setStyle("height",CKEDITOR.tools.cssLength(b));a.removeAttribute("height")}},{id:"htmlHeightType",type:"html",html:"",style:"display: none"}]},{type:"html",id:"hiddenSpacer",html:"\x26nbsp;",style:"display: none"},{type:"select",id:"wordWrap",label:c.wordWrap,"default":"yes",items:[[c.yes,"yes"],[c.no,"no"]],setup:d(function(a){var b=a.getAttribute("noWrap");if("nowrap"==a.getStyle("white-space")||b)return"no"}),commit:function(a){"no"==this.getValue()?a.setStyle("white-space",
11
- "nowrap"):a.removeStyle("white-space");a.removeAttribute("noWrap")}},g,{type:"select",id:"hAlign",label:c.hAlign,"default":"",items:[[e.notSet,""],[e.left,"left"],[e.center,"center"],[e.right,"right"],[e.justify,"justify"]],setup:d(function(a){var b=a.getAttribute("align");return a.getStyle("text-align")||b||""}),commit:function(a){var b=this.getValue();b?a.setStyle("text-align",b):a.removeStyle("text-align");a.removeAttribute("align")}},{type:"select",id:"vAlign",label:c.vAlign,"default":"",items:[[e.notSet,
12
- ""],[e.alignTop,"top"],[e.alignMiddle,"middle"],[e.alignBottom,"bottom"],[c.alignBaseline,"baseline"]],setup:d(function(a){var b=a.getAttribute("vAlign");a=a.getStyle("vertical-align");switch(a){case "top":case "middle":case "bottom":case "baseline":break;default:a=""}return a||b||""}),commit:function(a){var b=this.getValue();b?a.setStyle("vertical-align",b):a.removeStyle("vertical-align");a.removeAttribute("vAlign")}}]},g,{type:"vbox",padding:0,children:[{type:"select",id:"cellType",label:c.cellType,
13
- "default":"td",items:[[c.data,"td"],[c.header,"th"]],setup:d(function(a){return a.getName()}),commit:function(a){a.renameNode(this.getValue())}},g,{type:"text",id:"rowSpan",label:c.rowSpan,"default":"",validate:k.integer(c.invalidRowSpan),setup:d(function(a){if((a=parseInt(a.getAttribute("rowSpan"),10))&&1!=a)return a}),commit:function(a){var b=parseInt(this.getValue(),10);b&&1!=b?a.setAttribute("rowSpan",this.getValue()):a.removeAttribute("rowSpan")}},{type:"text",id:"colSpan",label:c.colSpan,"default":"",
14
- validate:k.integer(c.invalidColSpan),setup:d(function(a){if((a=parseInt(a.getAttribute("colSpan"),10))&&1!=a)return a}),commit:function(a){var b=parseInt(this.getValue(),10);b&&1!=b?a.setAttribute("colSpan",this.getValue()):a.removeAttribute("colSpan")}},g,{type:"hbox",padding:0,widths:["60%","40%"],children:[{type:"text",id:"bgColor",label:c.bgColor,"default":"",setup:d(function(a){var b=a.getAttribute("bgColor");return a.getStyle("background-color")||b}),commit:function(a){this.getValue()?a.setStyle("background-color",
15
- this.getValue()):a.removeStyle("background-color");a.removeAttribute("bgColor")}},m?{type:"button",id:"bgColorChoose","class":"colorChooser",label:c.chooseColor,onLoad:function(){this.getElement().getParent().setStyle("vertical-align","bottom")},onClick:function(){f.getColorFromDialog(function(a){a&&this.getDialog().getContentElement("info","bgColor").setValue(a);this.focus()},this)}}:g]},g,{type:"hbox",padding:0,widths:["60%","40%"],children:[{type:"text",id:"borderColor",label:c.borderColor,"default":"",
16
- setup:d(function(a){var b=a.getAttribute("borderColor");return a.getStyle("border-color")||b}),commit:function(a){this.getValue()?a.setStyle("border-color",this.getValue()):a.removeStyle("border-color");a.removeAttribute("borderColor")}},m?{type:"button",id:"borderColorChoose","class":"colorChooser",label:c.chooseColor,style:(p?"margin-right":"margin-left")+": 10px",onLoad:function(){this.getElement().getParent().setStyle("vertical-align","bottom")},onClick:function(){f.getColorFromDialog(function(a){a&&
17
- this.getDialog().getContentElement("info","borderColor").setValue(a);this.focus()},this)}}:g]}]}]}]}],onShow:function(){this.cells=CKEDITOR.plugins.tabletools.getSelectedCells(this._.editor.getSelection());this.setupContent(this.cells)},onOk:function(){for(var a=this._.editor.getSelection(),b=a.createBookmarks(),c=this.cells,d=0;d<c.length;d++)this.commitContent(c[d]);this._.editor.forceNextSelectionCheck();a.selectBookmarks(b);this._.editor.selectionChange()},onLoad:function(){var a={};this.foreach(function(b){b.setup&&
18
- b.commit&&(b.setup=CKEDITOR.tools.override(b.setup,function(c){return function(){c.apply(this,arguments);a[b.id]=b.getValue()}}),b.commit=CKEDITOR.tools.override(b.commit,function(c){return function(){a[b.id]!==b.getValue()&&c.apply(this,arguments)}}))})}}});
5
+ CKEDITOR.dialog.add("cellProperties",function(h){function k(a){return{isSpacer:!0,type:"html",html:"\x26nbsp;",requiredContent:a?a:void 0}}function r(){return{type:"vbox",padding:0,children:[]}}function t(a){return{requiredContent:"td{"+a+"}",type:"hbox",widths:["70%","30%"],children:[{type:"text",id:a,width:"100px",label:e[a],validate:n.number(d["invalid"+CKEDITOR.tools.capitalize(a)]),onLoad:function(){var b=this.getDialog().getContentElement("info",a+"Type").getElement(),c=this.getInputElement(),
6
+ d=c.getAttribute("aria-labelledby");c.setAttribute("aria-labelledby",[d,b.$.id].join(" "))},setup:f(function(b){var c=parseFloat(b.getAttribute(a),10);b=parseFloat(b.getStyle(a),10);if(!isNaN(b))return b;if(!isNaN(c))return c}),commit:function(b){var c=parseFloat(this.getValue(),10),d=this.getDialog().getValueOf("info",a+"Type")||u(b,a);isNaN(c)?b.removeStyle(a):b.setStyle(a,c+d);b.removeAttribute(a)},"default":""},{type:"select",id:a+"Type",label:h.lang.table[a+"Unit"],labelStyle:"visibility:hidden;display:block;width:0;overflow:hidden",
7
+ "default":"px",items:[[p.widthPx,"px"],[p.widthPc,"%"]],setup:f(function(b){return u(b,a)})}]}}function f(a){return function(b){for(var c=a(b[0]),d=1;d<b.length;d++)if(a(b[d])!==c){c=null;break}"undefined"!=typeof c&&(this.setValue(c),CKEDITOR.env.gecko&&"select"==this.type&&!c&&(this.getInputElement().$.selectedIndex=-1))}}function u(a,b){var c=/^(\d+(?:\.\d+)?)(px|%)$/.exec(a.getStyle(b)||a.getAttribute(b));if(c)return c[2]}function v(a,b){h.getColorFromDialog(function(c){c&&a.getDialog().getContentElement("info",
8
+ b).setValue(c);a.focus()},a)}function w(a,b,c){(a=a.getValue())?b.setStyle(c,a):b.removeStyle(c);"background-color"==c?b.removeAttribute("bgColor"):"border-color"==c&&b.removeAttribute("borderColor")}var p=h.lang.table,d=p.cell,e=h.lang.common,n=CKEDITOR.dialog.validate,y="rtl"==h.lang.dir,l=h.plugins.colordialog,q=[t("width"),t("height"),k(["td{width}","td{height}"]),{type:"select",id:"wordWrap",requiredContent:"td{white-space}",label:d.wordWrap,"default":"yes",items:[[d.yes,"yes"],[d.no,"no"]],
9
+ setup:f(function(a){var b=a.getAttribute("noWrap");if("nowrap"==a.getStyle("white-space")||b)return"no"}),commit:function(a){"no"==this.getValue()?a.setStyle("white-space","nowrap"):a.removeStyle("white-space");a.removeAttribute("noWrap")}},k("td{white-space}"),{type:"select",id:"hAlign",requiredContent:"td{text-align}",label:d.hAlign,"default":"",items:[[e.notSet,""],[e.left,"left"],[e.center,"center"],[e.right,"right"],[e.justify,"justify"]],setup:f(function(a){var b=a.getAttribute("align");return a.getStyle("text-align")||
10
+ b||""}),commit:function(a){var b=this.getValue();b?a.setStyle("text-align",b):a.removeStyle("text-align");a.removeAttribute("align")}},{type:"select",id:"vAlign",requiredContent:"td{vertical-align}",label:d.vAlign,"default":"",items:[[e.notSet,""],[e.alignTop,"top"],[e.alignMiddle,"middle"],[e.alignBottom,"bottom"],[d.alignBaseline,"baseline"]],setup:f(function(a){var b=a.getAttribute("vAlign");a=a.getStyle("vertical-align");switch(a){case "top":case "middle":case "bottom":case "baseline":break;default:a=
11
+ ""}return a||b||""}),commit:function(a){var b=this.getValue();b?a.setStyle("vertical-align",b):a.removeStyle("vertical-align");a.removeAttribute("vAlign")}},k(["td{text-align}","td{vertical-align}"]),{type:"select",id:"cellType",requiredContent:"th",label:d.cellType,"default":"td",items:[[d.data,"td"],[d.header,"th"]],setup:f(function(a){return a.getName()}),commit:function(a){a.renameNode(this.getValue())}},k("th"),{type:"text",id:"rowSpan",requiredContent:"td[rowspan]",label:d.rowSpan,"default":"",
12
+ validate:n.integer(d.invalidRowSpan),setup:f(function(a){if((a=parseInt(a.getAttribute("rowSpan"),10))&&1!=a)return a}),commit:function(a){var b=parseInt(this.getValue(),10);b&&1!=b?a.setAttribute("rowSpan",this.getValue()):a.removeAttribute("rowSpan")}},{type:"text",id:"colSpan",requiredContent:"td[colspan]",label:d.colSpan,"default":"",validate:n.integer(d.invalidColSpan),setup:f(function(a){if((a=parseInt(a.getAttribute("colSpan"),10))&&1!=a)return a}),commit:function(a){var b=parseInt(this.getValue(),
13
+ 10);b&&1!=b?a.setAttribute("colSpan",this.getValue()):a.removeAttribute("colSpan")}},k(["td[colspan]","td[rowspan]"]),{type:"hbox",padding:0,widths:l?["60%","40%"]:["100%"],requiredContent:"td{background-color}",children:function(){var a=[{type:"text",id:"bgColor",label:d.bgColor,"default":"",setup:f(function(a){var c=a.getAttribute("bgColor");return a.getStyle("background-color")||c}),commit:function(a){w(this,a,"background-color")}}];l&&a.push({type:"button",id:"bgColorChoose","class":"colorChooser",
14
+ label:d.chooseColor,onLoad:function(){this.getElement().getParent().setStyle("vertical-align","bottom")},onClick:function(){v(this,"bgColor")}});return a}()},{type:"hbox",padding:0,widths:l?["60%","40%"]:["100%"],requiredContent:"td{border-color}",children:function(){var a=[{type:"text",id:"borderColor",label:d.borderColor,"default":"",setup:f(function(a){var c=a.getAttribute("borderColor");return a.getStyle("border-color")||c}),commit:function(a){w(this,a,"border-color")}}];l&&a.push({type:"button",
15
+ id:"borderColorChoose","class":"colorChooser",label:d.chooseColor,style:(y?"margin-right":"margin-left")+": 10px",onLoad:function(){this.getElement().getParent().setStyle("vertical-align","bottom")},onClick:function(){v(this,"borderColor")}});return a}()}],m=0,x=-1,g=[r()],q=CKEDITOR.tools.array.filter(q,function(a){var b=a.requiredContent;delete a.requiredContent;(b=h.filter.check(b))&&!a.isSpacer&&m++;return b});5<m&&(g=g.concat([k(),r()]));CKEDITOR.tools.array.forEach(q,function(a){a.isSpacer||
16
+ x++;5<m&&x>=m/2?g[2].children.push(a):g[0].children.push(a)});CKEDITOR.tools.array.forEach(g,function(a){a.isSpacer||(a=a.children,a[a.length-1].isSpacer&&a.pop())});return{title:d.title,minWidth:1===g.length?205:410,minHeight:50,contents:[{id:"info",label:d.title,accessKey:"I",elements:[{type:"hbox",widths:1===g.length?["100%"]:["40%","5%","40%"],children:g}]}],getModel:function(a){return CKEDITOR.plugins.tabletools.getSelectedCells(a.getSelection())},onShow:function(){var a=this.getModel(this.getParentEditor());
17
+ this.setupContent(a)},onOk:function(){for(var a=this._.editor.getSelection(),b=a.createBookmarks(),c=this.getParentEditor(),d=this.getModel(c),e=0;e<d.length;e++)this.commitContent(d[e]);c.forceNextSelectionCheck();a.selectBookmarks(b);c.selectionChange()},onLoad:function(){var a={};this.foreach(function(b){b.setup&&b.commit&&(b.setup=CKEDITOR.tools.override(b.setup,function(c){return function(){c.apply(this,arguments);a[b.id]=b.getValue()}}),b.commit=CKEDITOR.tools.override(b.commit,function(c){return function(){a[b.id]!==
18
+ b.getValue()&&c.apply(this,arguments)}}))})}}});
@@ -0,0 +1,84 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ .cke_tpl_list
7
+ {
8
+ border: #dcdcdc 2px solid;
9
+ background-color: #ffffff;
10
+ overflow-y: auto;
11
+ overflow-x: hidden;
12
+ width: 100%;
13
+ height: 220px;
14
+ }
15
+
16
+ .cke_tpl_item
17
+ {
18
+ margin: 5px;
19
+ padding: 7px;
20
+ border: #eeeeee 1px solid;
21
+ *width: 88%;
22
+ }
23
+
24
+ .cke_tpl_preview
25
+ {
26
+ border-collapse: separate;
27
+ text-indent:0;
28
+ width: 100%;
29
+ }
30
+ .cke_tpl_preview td
31
+ {
32
+ padding: 2px;
33
+ vertical-align: middle;
34
+ }
35
+ .cke_tpl_preview .cke_tpl_preview_img
36
+ {
37
+ width: 100px;
38
+ }
39
+ .cke_tpl_preview span
40
+ {
41
+ white-space: normal;
42
+ }
43
+
44
+ .cke_tpl_title
45
+ {
46
+ font-weight: bold;
47
+ }
48
+
49
+ .cke_tpl_list a:hover .cke_tpl_item,
50
+ .cke_tpl_list a:focus .cke_tpl_item,
51
+ .cke_tpl_list a:active .cke_tpl_item
52
+ {
53
+ border: #ff9933 1px solid;
54
+ background-color: #fffacd;
55
+ }
56
+
57
+ .cke_tpl_list a:hover *,
58
+ .cke_tpl_list a:focus *,
59
+ .cke_tpl_list a:active *
60
+ {
61
+ cursor: pointer;
62
+ }
63
+
64
+ /* IE Quirks contextual selectors children will not get :hover transition until
65
+ the hover style of the link itself contains certain CSS declarations. */
66
+ .cke_browser_quirks .cke_tpl_list a:active,
67
+ .cke_browser_quirks .cke_tpl_list a:hover,
68
+ .cke_browser_quirks .cke_tpl_list a:focus
69
+ {
70
+ background-position: 0 0;
71
+ }
72
+
73
+ .cke_hc .cke_tpl_list a:hover .cke_tpl_item,
74
+ .cke_hc .cke_tpl_list a:focus .cke_tpl_item,
75
+ .cke_hc .cke_tpl_list a:active .cke_tpl_item
76
+ {
77
+ border-width: 3px;
78
+ }
79
+
80
+ .cke_tpl_empty, .cke_tpl_loading
81
+ {
82
+ text-align: center;
83
+ padding: 5px;
84
+ }
@@ -0,0 +1,11 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ (function(){CKEDITOR.dialog.add("templates",function(c){function r(a,b){var n=CKEDITOR.dom.element.createFromHtml('\x3ca href\x3d"javascript:void(0)" tabIndex\x3d"-1" role\x3d"option" \x3e\x3cdiv class\x3d"cke_tpl_item"\x3e\x3c/div\x3e\x3c/a\x3e'),d='\x3ctable style\x3d"width:350px;" class\x3d"cke_tpl_preview" role\x3d"presentation"\x3e\x3ctr\x3e';a.image&&b&&(d+='\x3ctd class\x3d"cke_tpl_preview_img"\x3e\x3cimg src\x3d"'+CKEDITOR.getUrl(b+a.image)+'"'+(CKEDITOR.env.ie6Compat?' onload\x3d"this.width\x3dthis.width"':
6
+ "")+' alt\x3d"" title\x3d""\x3e\x3c/td\x3e');d+='\x3ctd style\x3d"white-space:normal;"\x3e\x3cspan class\x3d"cke_tpl_title"\x3e'+a.title+"\x3c/span\x3e\x3cbr/\x3e";a.description&&(d+="\x3cspan\x3e"+a.description+"\x3c/span\x3e");d+="\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e";n.getFirst().setHtml(d);n.on("click",function(){if(a.htmlFile){var b=CKEDITOR.dialog.getCurrent();b.setState(CKEDITOR.DIALOG_STATE_BUSY);CKEDITOR.ajax.loadText(a.htmlFile,function(a){l(a);b.setState(CKEDITOR.DIALOG_STATE_IDLE)})}else l(a.html)});
7
+ return n}function l(a){var b=CKEDITOR.dialog.getCurrent();b.getValueOf("selectTpl","chkInsertOpt")?(c.fire("saveSnapshot"),c.setData(a,function(){b.hide();var a=c.createRange();a.moveToElementEditStart(c.editable());a.select();setTimeout(function(){c.fire("saveSnapshot")},0)})):(c.insertHtml(a),b.hide())}function k(a){var b=a.data.getTarget(),c=g.equals(b);if(c||g.contains(b)){var d=a.data.getKeystroke(),f=g.getElementsByTag("a"),e;if(f){if(c)e=f.getItem(0);else switch(d){case 40:e=b.getNext();break;
8
+ case 38:e=b.getPrevious();break;case 13:case 32:b.fire("click")}e&&(e.focus(),a.data.preventDefault())}}}var h=CKEDITOR.plugins.get("templates");CKEDITOR.document.appendStyleSheet(CKEDITOR.getUrl(h.path+"dialogs/templates.css"));var g,h="cke_tpl_list_label_"+CKEDITOR.tools.getNextNumber(),f=c.lang.templates,p=c.config;return{title:c.lang.templates.title,minWidth:CKEDITOR.env.ie?440:400,minHeight:340,contents:[{id:"selectTpl",label:f.title,elements:[{type:"vbox",padding:5,children:[{id:"chkInsertOpt",
9
+ type:"checkbox",label:f.insertOption,"default":p.templates_replaceContent},{id:"selectTplText",type:"html",html:"\x3cspan\x3e"+f.selectPromptMsg+"\x3c/span\x3e"},{id:"templatesList",type:"html",focus:!0,html:'\x3cdiv class\x3d"cke_tpl_list" tabIndex\x3d"-1" role\x3d"listbox" aria-labelledby\x3d"'+h+'"\x3e\x3cdiv class\x3d"cke_tpl_loading"\x3e\x3cspan\x3e\x3c/span\x3e\x3c/div\x3e\x3c/div\x3e\x3cspan class\x3d"cke_voice_label" id\x3d"'+h+'"\x3e'+f.options+"\x3c/span\x3e"}]}]}],buttons:[CKEDITOR.dialog.cancelButton],
10
+ onShow:function(){var a=this.getContentElement("selectTpl","templatesList");g=a.getElement();CKEDITOR.loadTemplates(p.templates_files,function(){var b=(p.templates||"default").split(",");if(b.length){var c=g;c.setHtml("");for(var d=0,h=b.length;d<h;d++)for(var e=CKEDITOR.getTemplates(b[d]),l=e.imagesPath,e=e.templates,k=e.length,m=0;m<k;m++){var q=r(e[m],l);q.setAttribute("aria-posinset",m+1);q.setAttribute("aria-setsize",k);c.append(q)}a.focus()}else g.setHtml('\x3cdiv class\x3d"cke_tpl_empty"\x3e\x3cspan\x3e'+
11
+ f.emptyListMsg+"\x3c/span\x3e\x3c/div\x3e")});this._.element.on("keydown",k)},onHide:function(){this._.element.removeListener("keydown",k)}}})})();
@@ -0,0 +1,4 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ CKEDITOR.addTemplates("default",{imagesPath:CKEDITOR.getUrl(CKEDITOR.plugins.getPath("templates")+"templates/images/"),templates:[{title:"Image and Title",image:"template1.gif",description:"One main image with a title and text that surround the image.",html:'\x3ch3\x3e\x3cimg src\x3d" " alt\x3d"" style\x3d"margin-right: 10px" height\x3d"100" width\x3d"100" align\x3d"left" /\x3eType the title here\x3c/h3\x3e\x3cp\x3eType the text here\x3c/p\x3e'},{title:"Strange Template",image:"template2.gif",description:"A template that defines two columns, each one with a title, and some text.",
6
+ html:'\x3ctable cellspacing\x3d"0" cellpadding\x3d"0" style\x3d"width:100%" border\x3d"0"\x3e\x3ctr\x3e\x3ctd style\x3d"width:50%"\x3e\x3ch3\x3eTitle 1\x3c/h3\x3e\x3c/td\x3e\x3ctd\x3e\x3c/td\x3e\x3ctd style\x3d"width:50%"\x3e\x3ch3\x3eTitle 2\x3c/h3\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3eText 1\x3c/td\x3e\x3ctd\x3e\x3c/td\x3e\x3ctd\x3eText 2\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3cp\x3eMore text goes here.\x3c/p\x3e'},{title:"Text and Table",image:"template3.gif",description:"A title with some text and a table.",
7
+ html:'\x3cdiv style\x3d"width: 80%"\x3e\x3ch3\x3eTitle goes here\x3c/h3\x3e\x3ctable style\x3d"width:150px;float: right" cellspacing\x3d"0" cellpadding\x3d"0" border\x3d"1"\x3e\x3ccaption style\x3d"border:solid 1px black"\x3e\x3cstrong\x3eTable title\x3c/strong\x3e\x3c/caption\x3e\x3ctr\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3cp\x3eType the text here\x3c/p\x3e\x3c/div\x3e'}]});
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
2
+ * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  @media (max-width: 900px) {
@@ -1,9 +1,9 @@
1
1
  <!DOCTYPE html>
2
2
  <!--
3
- Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
4
4
  For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
5
5
  -->
6
- <html>
6
+ <html lang="en">
7
7
  <head>
8
8
  <meta charset="utf-8">
9
9
  <title>CKEditor Sample</title>
@@ -11,6 +11,8 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
11
11
  <script src="js/sample.js"></script>
12
12
  <link rel="stylesheet" href="css/samples.css">
13
13
  <link rel="stylesheet" href="toolbarconfigurator/lib/codemirror/neo.css">
14
+ <meta name="viewport" content="width=device-width,initial-scale=1">
15
+ <meta name="description" content="Try the latest sample of CKEditor 4 and learn more about customizing your WYSIWYG editor with endless possibilities.">
14
16
  </head>
15
17
  <body id="main">
16
18
 
@@ -18,8 +20,8 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
18
20
  <div class="grid-container">
19
21
  <ul class="navigation-a-left grid-width-70">
20
22
  <li><a href="https://ckeditor.com/ckeditor-4/">Project Homepage</a></li>
21
- <li><a href="https://github.com/ckeditor/ckeditor-dev/issues">I found a bug</a></li>
22
- <li><a href="http://github.com/ckeditor/ckeditor-dev" class="icon-pos-right icon-navigation-a-github">Fork CKEditor on GitHub</a></li>
23
+ <li><a href="https://github.com/ckeditor/ckeditor4/issues">I found a bug</a></li>
24
+ <li><a href="https://github.com/ckeditor/ckeditor4" class="icon-pos-right icon-navigation-a-github">Fork CKEditor on GitHub</a></li>
23
25
  </ul>
24
26
  <ul class="navigation-a-right grid-width-30">
25
27
  <li><a href="https://ckeditor.com/blog/">CKEditor Blog</a></li>
@@ -69,7 +71,7 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
69
71
  <div class="content grid-width-100">
70
72
  <section id="sample-customize">
71
73
  <h2>Customize Your Editor</h2>
72
- <p>Modular build and <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_configuration">numerous configuration options</a> give you nearly endless possibilities to customize CKEditor. Replace the content of your <code><a href="../config.js">config.js</a></code> file with the following code and refresh this page (<strong>remember to clear the browser cache</strong>.html)!</p>
74
+ <p>Modular build and <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_configuration.html">numerous configuration options</a> give you nearly endless possibilities to customize CKEditor. Replace the content of your <code><a href="../config.js">config.js</a></code> file with the following code and refresh this page (<strong>remember to clear the browser cache</strong>.html)!</p>
73
75
  <pre class="cm-s-neo CodeMirror"><code><span style="padding-right: 0.1px;"><span class="cm-variable">CKEDITOR</span>.<span class="cm-property">editorConfig</span> <span class="cm-operator">=</span> <span class="cm-keyword">function</span>( <span class="cm-def">config</span> ) {</span>
74
76
  <span style="padding-right: 0.1px;"><span class="cm-tab"> </span><span class="cm-variable-2">config</span>.<span class="cm-property">language</span> <span class="cm-operator">=</span> <span class="cm-string">'es'</span>;</span>
75
77
  <span style="padding-right: 0.1px;"><span class="cm-tab"> </span><span class="cm-variable-2">config</span>.<span class="cm-property">uiColor</span> <span class="cm-operator">=</span> <span class="cm-string">'#F7B42C'</span>;</span>
@@ -85,7 +87,7 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
85
87
 
86
88
  <section>
87
89
  <h2>More Samples!</h2>
88
- <p>Visit the <a href="https://sdk.ckeditor.com">CKEditor SDK</a> for a huge collection of samples showcasing editor features, with source code readily available to copy and use in your own implementation.</p>
90
+ <p>Visit the <a href="https://ckeditor.com/docs/ckeditor4/latest/examples/index.html">CKEditor Examples</a> for a huge collection of samples showcasing editor features, with source code readily available to copy and use in your own implementation.</p>
89
91
  </section>
90
92
 
91
93
  <section>
@@ -93,11 +95,11 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
93
95
  <p>The most important resource for all developers working with CKEditor, integrating it with their websites and applications, and customizing to their needs. You can start from here:</p>
94
96
  <ul>
95
97
  <li><a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_installation.html">Getting Started</a> &ndash; Explains most crucial editor concepts and practices as well as the installation process and integration with your website.</li>
96
- <li><a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_installation">Advanced Installation Concepts</a> &ndash; Describes how to upgrade, install additional components (plugins, skins.html), or create a custom build.</li>
98
+ <li><a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_installation.html">Advanced Installation Concepts</a> &ndash; Describes how to upgrade, install additional components (plugins, skins.html), or create a custom build.</li>
97
99
  </ul>
98
100
  <p>When you have the basics sorted out, feel free to browse some more advanced sections like:</p>
99
101
  <ul>
100
- <li><a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_features.html">Functionality Overview</a> &ndash; Descriptions and samples of various editor features.</li>
102
+ <li><a href="https://ckeditor.com/docs/ckeditor4/latest/features/index.html">Features Overview</a> &ndash; Descriptions and samples of various editor features.</li>
101
103
  <li><a href="https://ckeditor.com/docs/ckeditor4/latest/guide/plugin_sdk_intro.html">Plugin SDK</a>, <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/widget_sdk_intro.html">Widget SDK</a>, and <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/skin_sdk_intro.html">Skin SDK</a> &ndash; Useful when you want to create your own editor components.</li>
102
104
  </ul>
103
105
  </section>
@@ -116,7 +118,7 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
116
118
  CKEditor &ndash; The text editor for the Internet &ndash; <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
117
119
  </p>
118
120
  <p class="grid-width-100" id="copy">
119
- Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> &ndash; Frederico Knabben. All rights reserved.
121
+ Copyright &copy; 2003-2022, <a class="samples" href="https://cksource.com/">CKSource</a> Holding sp. z o.o. All rights reserved.
120
122
  </p>
121
123
  </div>
122
124
  </footer>
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  var SF=function(){function d(a){return(a=a.attributes?a.attributes.getNamedItem("class"):null)?a.value.split(" "):[]}function c(a){var e=document.createAttribute("class");e.value=a.join(" ");return e}var b={attachListener:function(a,e,b){if(a.addEventListener)a.addEventListener(e,b,!1);else if(a.attachEvent)a.attachEvent("on"+e,function(){b.apply(a,arguments)});else throw Error("Could not attach event.");}};b.indexOf=function(){var a=Array.prototype.indexOf;return"function"===a?function(e,b){return a.call(e,
@@ -1,14 +1,15 @@
1
1
  <!DOCTYPE html>
2
2
  <!--
3
- Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
4
4
  For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
5
5
  -->
6
- <html>
6
+ <html lang="en">
7
7
  <head>
8
8
  <meta charset="utf-8">
9
9
  <title>Ajax &mdash; CKEditor Sample</title>
10
10
  <script src="../../ckeditor.js"></script>
11
11
  <link rel="stylesheet" href="sample.css">
12
+ <meta name="description" content="Try the latest sample of CKEditor 4 and learn more about customizing your WYSIWYG editor with endless possibilities.">
12
13
  <script>
13
14
 
14
15
  var editor, html = '';
@@ -43,7 +44,7 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
43
44
  <a href="index.html">CKEditor Samples</a> &raquo; Create and Destroy Editor Instances for Ajax Applications
44
45
  </h1>
45
46
  <div class="warning deprecated">
46
- This sample is not maintained anymore. Check out its <a href="https://sdk.ckeditor.com/samples/saveajax.html">brand new version in CKEditor SDK</a>.
47
+ This sample is not maintained anymore. Check out its <a href="https://ckeditor.com/docs/ckeditor4/latest/examples/saveajax.html">brand new version in CKEditor Examples</a>.
47
48
  </div>
48
49
  <div class="description">
49
50
  <p>
@@ -77,8 +78,7 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
77
78
  CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
78
79
  </p>
79
80
  <p id="copy">
80
- Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
81
- Knabben. All rights reserved.
81
+ Copyright &copy; 2003-2022, <a class="samples" href="https://cksource.com/">CKSource</a> Holding sp. z o.o. All rights reserved.
82
82
  </p>
83
83
  </div>
84
84
  </body>
@@ -1,14 +1,15 @@
1
1
  <!DOCTYPE html>
2
2
  <!--
3
- Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
4
4
  For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
5
5
  -->
6
- <html>
6
+ <html lang="en">
7
7
  <head>
8
8
  <meta charset="utf-8">
9
9
  <title>API Usage &mdash; CKEditor Sample</title>
10
10
  <script src="../../ckeditor.js"></script>
11
11
  <link href="sample.css" rel="stylesheet">
12
+ <meta name="description" content="Try the latest sample of CKEditor 4 and learn more about customizing your WYSIWYG editor with endless possibilities.">
12
13
  <script>
13
14
 
14
15
  // The instanceReady event is fired, when an instance of CKEditor has finished
@@ -125,7 +126,7 @@ function onBlur() {
125
126
  <a href="index.html">CKEditor Samples</a> &raquo; Using CKEditor JavaScript API
126
127
  </h1>
127
128
  <div class="warning deprecated">
128
- This sample is not maintained anymore. Check out its <a href="https://sdk.ckeditor.com/samples/api.html">brand new version in CKEditor SDK</a>.
129
+ This sample is not maintained anymore. Check out its <a href="https://ckeditor.com/docs/ckeditor4/latest/examples/api.html">brand new version in CKEditor Examples</a>.
129
130
  </div>
130
131
  <div class="description">
131
132
  <p>
@@ -202,8 +203,7 @@ Second line of text preceded by two line breaks.</textarea>
202
203
  CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
203
204
  </p>
204
205
  <p id="copy">
205
- Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
206
- Knabben. All rights reserved.
206
+ Copyright &copy; 2003-2022, <a class="samples" href="https://cksource.com/">CKSource</a> Holding sp. z o.o. All rights reserved.
207
207
  </p>
208
208
  </div>
209
209
  </body>
@@ -1,21 +1,22 @@
1
1
  <!DOCTYPE html>
2
2
  <!--
3
- Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
4
4
  For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
5
5
  -->
6
- <html>
6
+ <html lang="en">
7
7
  <head>
8
8
  <meta charset="utf-8">
9
9
  <title>Append To Page Element Using JavaScript Code &mdash; CKEditor Sample</title>
10
10
  <script src="../../ckeditor.js"></script>
11
11
  <link rel="stylesheet" href="sample.css">
12
+ <meta name="description" content="Try the latest sample of CKEditor 4 and learn more about customizing your WYSIWYG editor with endless possibilities.">
12
13
  </head>
13
14
  <body>
14
15
  <h1 class="samples">
15
16
  <a href="index.html">CKEditor Samples</a> &raquo; Append To Page Element Using JavaScript Code
16
17
  </h1>
17
18
  <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
+ This sample is not maintained anymore. Check out the <a href="https://ckeditor.com/docs/ckeditor4/latest/examples/index.html">brand new samples in CKEditor Examples</a>.
19
20
  </div>
20
21
  <div id="section1">
21
22
  <div class="description">
@@ -51,8 +52,7 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
51
52
  CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
52
53
  </p>
53
54
  <p id="copy">
54
- Copyright &copy; 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
55
- Knabben. All rights reserved.
55
+ Copyright &copy; 2003-2022, <a class="samples" href="https://cksource.com/">CKSource</a> Holding sp. z o.o. All rights reserved.
56
56
  </p>
57
57
  </div>
58
58
  </body>
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
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).