tocco-devcon 1.0.203 → 1.0.205

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (465) hide show
  1. package/changelog.md +8 -0
  2. package/dist/chunk-html-editor.89763ea4dca07b8520e7.js +6 -0
  3. package/dist/ckeditor4/adapters/jquery.js +1 -1
  4. package/dist/ckeditor4/ckeditor-new.js +1 -0
  5. package/dist/ckeditor4/config.js +1 -1
  6. package/dist/ckeditor4/contents.css +3 -3
  7. package/dist/ckeditor4/lang/de-ch.js +1 -1
  8. package/dist/ckeditor4/lang/de.js +1 -1
  9. package/dist/ckeditor4/lang/en.js +1 -1
  10. package/dist/ckeditor4/lang/fr.js +1 -1
  11. package/dist/ckeditor4/lang/it.js +1 -1
  12. package/dist/ckeditor4/plugins/a11yhelp/dialogs/a11yhelp.js +1 -1
  13. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/af.js +1 -1
  14. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ar.js +1 -1
  15. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/az.js +1 -1
  16. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/bg.js +1 -1
  17. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ca.js +1 -1
  18. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/cs.js +1 -1
  19. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/cy.js +1 -1
  20. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/da.js +1 -1
  21. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/de-ch.js +1 -1
  22. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/de.js +1 -1
  23. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/el.js +1 -1
  24. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/en-au.js +1 -1
  25. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/en-gb.js +1 -1
  26. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/en.js +1 -1
  27. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/eo.js +1 -1
  28. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/es-mx.js +1 -1
  29. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/es.js +1 -1
  30. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/et.js +1 -1
  31. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/eu.js +1 -1
  32. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/fa.js +1 -1
  33. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/fi.js +1 -1
  34. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/fo.js +1 -1
  35. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/fr-ca.js +1 -1
  36. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/fr.js +1 -1
  37. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/gl.js +1 -1
  38. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/gu.js +1 -1
  39. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/he.js +1 -1
  40. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/hi.js +1 -1
  41. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/hr.js +1 -1
  42. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/hu.js +1 -1
  43. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/id.js +1 -1
  44. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/it.js +1 -1
  45. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ja.js +1 -1
  46. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/km.js +1 -1
  47. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ko.js +1 -1
  48. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ku.js +1 -1
  49. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/lt.js +1 -1
  50. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/lv.js +1 -1
  51. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/mk.js +1 -1
  52. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/mn.js +1 -1
  53. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/nb.js +1 -1
  54. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/nl.js +1 -1
  55. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/no.js +1 -1
  56. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/oc.js +1 -1
  57. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/pl.js +1 -1
  58. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/pt-br.js +1 -1
  59. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/pt.js +1 -1
  60. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ro.js +1 -1
  61. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ru.js +1 -1
  62. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/si.js +1 -1
  63. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/sk.js +1 -1
  64. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/sl.js +1 -1
  65. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/sq.js +1 -1
  66. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/sr-latn.js +1 -1
  67. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/sr.js +1 -1
  68. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/sv.js +1 -1
  69. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/th.js +1 -1
  70. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/tr.js +1 -1
  71. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/tt.js +1 -1
  72. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ug.js +1 -1
  73. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/uk.js +1 -1
  74. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/vi.js +1 -1
  75. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/zh-cn.js +1 -1
  76. package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/zh.js +1 -1
  77. package/dist/ckeditor4/plugins/about/dialogs/about.js +1 -1
  78. package/dist/ckeditor4/plugins/adobeair/plugin.js +1 -1
  79. package/dist/ckeditor4/plugins/autocomplete/plugin.js +1 -1
  80. package/dist/ckeditor4/plugins/autocomplete/skins/default.css +5 -5
  81. package/dist/ckeditor4/plugins/autoembed/lang/de-ch.js +1 -1
  82. package/dist/ckeditor4/plugins/autoembed/lang/de.js +1 -1
  83. package/dist/ckeditor4/plugins/autoembed/lang/en.js +1 -1
  84. package/dist/ckeditor4/plugins/autoembed/lang/fr.js +1 -1
  85. package/dist/ckeditor4/plugins/autoembed/lang/it.js +1 -1
  86. package/dist/ckeditor4/plugins/autoembed/plugin.js +1 -1
  87. package/dist/ckeditor4/plugins/autogrow/plugin.js +1 -1
  88. package/dist/ckeditor4/plugins/autolink/plugin.js +1 -1
  89. package/dist/ckeditor4/plugins/balloonpanel/plugin.js +1 -1
  90. package/dist/ckeditor4/plugins/balloonpanel/skins/kama/balloonpanel.css +32 -32
  91. package/dist/ckeditor4/plugins/balloonpanel/skins/moono/balloonpanel.css +32 -32
  92. package/dist/ckeditor4/plugins/balloonpanel/skins/moono-lisa/balloonpanel.css +35 -35
  93. package/dist/ckeditor4/plugins/balloontoolbar/plugin.js +1 -1
  94. package/dist/ckeditor4/plugins/balloontoolbar/skins/default.css +20 -20
  95. package/dist/ckeditor4/plugins/balloontoolbar/skins/kama/balloontoolbar.css +6 -6
  96. package/dist/ckeditor4/plugins/balloontoolbar/skins/moono/balloontoolbar.css +6 -6
  97. package/dist/ckeditor4/plugins/balloontoolbar/skins/moono-lisa/balloontoolbar.css +11 -11
  98. package/dist/ckeditor4/plugins/bbcode/plugin.js +1 -1
  99. package/dist/ckeditor4/plugins/bidi/lang/de-ch.js +1 -1
  100. package/dist/ckeditor4/plugins/bidi/lang/de.js +1 -1
  101. package/dist/ckeditor4/plugins/bidi/lang/en.js +1 -1
  102. package/dist/ckeditor4/plugins/bidi/lang/fr.js +1 -1
  103. package/dist/ckeditor4/plugins/bidi/lang/it.js +1 -1
  104. package/dist/ckeditor4/plugins/bidi/plugin.js +1 -1
  105. package/dist/ckeditor4/plugins/clipboard/dialogs/paste.js +1 -1
  106. package/dist/ckeditor4/plugins/cloudservices/plugin.js +1 -1
  107. package/dist/ckeditor4/plugins/codemirror/css/codemirror.min.css +1 -1
  108. package/dist/ckeditor4/plugins/codemirror/dialogs/codemirrorAbout.js +1 -1
  109. package/dist/ckeditor4/plugins/codemirror/lang/de.js +1 -1
  110. package/dist/ckeditor4/plugins/codemirror/lang/en.js +1 -1
  111. package/dist/ckeditor4/plugins/codemirror/lang/fr.js +1 -1
  112. package/dist/ckeditor4/plugins/codemirror/lang/it.js +1 -1
  113. package/dist/ckeditor4/plugins/codemirror/plugin.js +1 -1
  114. package/dist/ckeditor4/plugins/codesnippet/dialogs/codesnippet.js +1 -1
  115. package/dist/ckeditor4/plugins/codesnippet/lang/de-ch.js +1 -1
  116. package/dist/ckeditor4/plugins/codesnippet/lang/de.js +1 -1
  117. package/dist/ckeditor4/plugins/codesnippet/lang/en.js +1 -1
  118. package/dist/ckeditor4/plugins/codesnippet/lang/fr.js +1 -1
  119. package/dist/ckeditor4/plugins/codesnippet/lang/it.js +1 -1
  120. package/dist/ckeditor4/plugins/codesnippet/plugin.js +1 -1
  121. package/dist/ckeditor4/plugins/codesnippetgeshi/plugin.js +1 -1
  122. package/dist/ckeditor4/plugins/colorbutton/lang/de-ch.js +1 -1
  123. package/dist/ckeditor4/plugins/colorbutton/lang/de.js +1 -1
  124. package/dist/ckeditor4/plugins/colorbutton/lang/en.js +1 -1
  125. package/dist/ckeditor4/plugins/colorbutton/lang/fr.js +1 -1
  126. package/dist/ckeditor4/plugins/colorbutton/lang/it.js +1 -1
  127. package/dist/ckeditor4/plugins/colorbutton/plugin.js +1 -1
  128. package/dist/ckeditor4/plugins/colordialog/dialogs/colordialog.css +4 -4
  129. package/dist/ckeditor4/plugins/colordialog/dialogs/colordialog.js +1 -1
  130. package/dist/ckeditor4/plugins/colordialog/lang/de-ch.js +1 -1
  131. package/dist/ckeditor4/plugins/colordialog/lang/de.js +1 -1
  132. package/dist/ckeditor4/plugins/colordialog/lang/en.js +1 -1
  133. package/dist/ckeditor4/plugins/colordialog/lang/fr.js +1 -1
  134. package/dist/ckeditor4/plugins/colordialog/lang/it.js +1 -1
  135. package/dist/ckeditor4/plugins/colordialog/plugin.js +1 -1
  136. package/dist/ckeditor4/plugins/copyformatting/lang/de-ch.js +1 -1
  137. package/dist/ckeditor4/plugins/copyformatting/lang/de.js +1 -1
  138. package/dist/ckeditor4/plugins/copyformatting/lang/en.js +1 -1
  139. package/dist/ckeditor4/plugins/copyformatting/lang/fr.js +1 -1
  140. package/dist/ckeditor4/plugins/copyformatting/lang/it.js +1 -1
  141. package/dist/ckeditor4/plugins/copyformatting/plugin.js +1 -1
  142. package/dist/ckeditor4/plugins/copyformatting/styles/copyformatting.css +14 -14
  143. package/dist/ckeditor4/plugins/devtools/lang/de-ch.js +1 -1
  144. package/dist/ckeditor4/plugins/devtools/lang/de.js +1 -1
  145. package/dist/ckeditor4/plugins/devtools/lang/en.js +1 -1
  146. package/dist/ckeditor4/plugins/devtools/lang/fr.js +1 -1
  147. package/dist/ckeditor4/plugins/devtools/lang/it.js +1 -1
  148. package/dist/ckeditor4/plugins/devtools/plugin.js +1 -1
  149. package/dist/ckeditor4/plugins/dialog/styles/dialog.css +3 -3
  150. package/dist/ckeditor4/plugins/dialogadvtab/plugin.js +1 -1
  151. package/dist/ckeditor4/plugins/div/dialogs/div.js +1 -1
  152. package/dist/ckeditor4/plugins/div/lang/de-ch.js +1 -1
  153. package/dist/ckeditor4/plugins/div/lang/de.js +1 -1
  154. package/dist/ckeditor4/plugins/div/lang/en.js +1 -1
  155. package/dist/ckeditor4/plugins/div/lang/fr.js +1 -1
  156. package/dist/ckeditor4/plugins/div/lang/it.js +1 -1
  157. package/dist/ckeditor4/plugins/div/plugin.js +1 -1
  158. package/dist/ckeditor4/plugins/divarea/plugin.js +1 -1
  159. package/dist/ckeditor4/plugins/docprops/dialogs/docprops.js +1 -1
  160. package/dist/ckeditor4/plugins/docprops/lang/de-ch.js +1 -1
  161. package/dist/ckeditor4/plugins/docprops/lang/de.js +1 -1
  162. package/dist/ckeditor4/plugins/docprops/lang/en.js +1 -1
  163. package/dist/ckeditor4/plugins/docprops/lang/fr.js +1 -1
  164. package/dist/ckeditor4/plugins/docprops/lang/it.js +1 -1
  165. package/dist/ckeditor4/plugins/docprops/plugin.js +1 -1
  166. package/dist/ckeditor4/plugins/easyimage/dialogs/easyimagealt.js +1 -1
  167. package/dist/ckeditor4/plugins/easyimage/lang/de-ch.js +1 -1
  168. package/dist/ckeditor4/plugins/easyimage/lang/de.js +1 -1
  169. package/dist/ckeditor4/plugins/easyimage/lang/en.js +1 -1
  170. package/dist/ckeditor4/plugins/easyimage/lang/fr.js +1 -1
  171. package/dist/ckeditor4/plugins/easyimage/lang/it.js +1 -1
  172. package/dist/ckeditor4/plugins/easyimage/plugin.js +1 -1
  173. package/dist/ckeditor4/plugins/easyimage/styles/easyimage.css +16 -16
  174. package/dist/ckeditor4/plugins/editorplaceholder/plugin.js +1 -1
  175. package/dist/ckeditor4/plugins/embed/plugin.js +1 -1
  176. package/dist/ckeditor4/plugins/embedbase/dialogs/embedbase.js +1 -1
  177. package/dist/ckeditor4/plugins/embedbase/lang/de-ch.js +1 -1
  178. package/dist/ckeditor4/plugins/embedbase/lang/de.js +1 -1
  179. package/dist/ckeditor4/plugins/embedbase/lang/en.js +1 -1
  180. package/dist/ckeditor4/plugins/embedbase/lang/fr.js +1 -1
  181. package/dist/ckeditor4/plugins/embedbase/lang/it.js +1 -1
  182. package/dist/ckeditor4/plugins/embedbase/plugin.js +1 -1
  183. package/dist/ckeditor4/plugins/embedsemantic/plugin.js +1 -1
  184. package/dist/ckeditor4/plugins/emoji/lang/de-ch.js +1 -1
  185. package/dist/ckeditor4/plugins/emoji/lang/de.js +1 -1
  186. package/dist/ckeditor4/plugins/emoji/lang/en.js +1 -1
  187. package/dist/ckeditor4/plugins/emoji/lang/fr.js +1 -1
  188. package/dist/ckeditor4/plugins/emoji/lang/it.js +1 -1
  189. package/dist/ckeditor4/plugins/emoji/plugin.js +1 -1
  190. package/dist/ckeditor4/plugins/emoji/skins/default.css +39 -39
  191. package/dist/ckeditor4/plugins/exportpdf/lang/en.js +1 -1
  192. package/dist/ckeditor4/plugins/exportpdf/plugin.js +1 -1
  193. package/dist/ckeditor4/plugins/find/dialogs/find.js +1 -1
  194. package/dist/ckeditor4/plugins/find/lang/de-ch.js +1 -1
  195. package/dist/ckeditor4/plugins/find/lang/de.js +1 -1
  196. package/dist/ckeditor4/plugins/find/lang/en.js +1 -1
  197. package/dist/ckeditor4/plugins/find/lang/fr.js +1 -1
  198. package/dist/ckeditor4/plugins/find/lang/it.js +1 -1
  199. package/dist/ckeditor4/plugins/find/plugin.js +1 -1
  200. package/dist/ckeditor4/plugins/flash/plugin.js +1 -1
  201. package/dist/ckeditor4/plugins/font/lang/de-ch.js +1 -1
  202. package/dist/ckeditor4/plugins/font/lang/de.js +1 -1
  203. package/dist/ckeditor4/plugins/font/lang/en.js +1 -1
  204. package/dist/ckeditor4/plugins/font/lang/fr.js +1 -1
  205. package/dist/ckeditor4/plugins/font/lang/it.js +1 -1
  206. package/dist/ckeditor4/plugins/font/plugin.js +1 -1
  207. package/dist/ckeditor4/plugins/forms/dialogs/button.js +1 -1
  208. package/dist/ckeditor4/plugins/forms/dialogs/checkbox.js +1 -1
  209. package/dist/ckeditor4/plugins/forms/dialogs/form.js +1 -1
  210. package/dist/ckeditor4/plugins/forms/dialogs/hiddenfield.js +1 -1
  211. package/dist/ckeditor4/plugins/forms/dialogs/radio.js +1 -1
  212. package/dist/ckeditor4/plugins/forms/dialogs/select.js +1 -1
  213. package/dist/ckeditor4/plugins/forms/dialogs/textarea.js +1 -1
  214. package/dist/ckeditor4/plugins/forms/dialogs/textfield.js +1 -1
  215. package/dist/ckeditor4/plugins/forms/lang/de-ch.js +1 -1
  216. package/dist/ckeditor4/plugins/forms/lang/de.js +1 -1
  217. package/dist/ckeditor4/plugins/forms/lang/en.js +1 -1
  218. package/dist/ckeditor4/plugins/forms/lang/fr.js +1 -1
  219. package/dist/ckeditor4/plugins/forms/lang/it.js +1 -1
  220. package/dist/ckeditor4/plugins/forms/plugin.js +1 -1
  221. package/dist/ckeditor4/plugins/iframe/dialogs/iframe.js +1 -1
  222. package/dist/ckeditor4/plugins/iframe/lang/de-ch.js +1 -1
  223. package/dist/ckeditor4/plugins/iframe/lang/de.js +1 -1
  224. package/dist/ckeditor4/plugins/iframe/lang/en.js +1 -1
  225. package/dist/ckeditor4/plugins/iframe/lang/fr.js +1 -1
  226. package/dist/ckeditor4/plugins/iframe/lang/it.js +1 -1
  227. package/dist/ckeditor4/plugins/iframe/plugin.js +1 -1
  228. package/dist/ckeditor4/plugins/iframedialog/plugin.js +1 -1
  229. package/dist/ckeditor4/plugins/image/dialogs/image.js +1 -1
  230. package/dist/ckeditor4/plugins/image2/dialogs/image2.js +1 -1
  231. package/dist/ckeditor4/plugins/image2/lang/de-ch.js +1 -1
  232. package/dist/ckeditor4/plugins/image2/lang/de.js +1 -1
  233. package/dist/ckeditor4/plugins/image2/lang/en.js +1 -1
  234. package/dist/ckeditor4/plugins/image2/lang/fr.js +1 -1
  235. package/dist/ckeditor4/plugins/image2/lang/it.js +1 -1
  236. package/dist/ckeditor4/plugins/image2/plugin.js +1 -1
  237. package/dist/ckeditor4/plugins/imagebase/lang/de-ch.js +1 -1
  238. package/dist/ckeditor4/plugins/imagebase/lang/de.js +1 -1
  239. package/dist/ckeditor4/plugins/imagebase/lang/en.js +1 -1
  240. package/dist/ckeditor4/plugins/imagebase/lang/fr.js +1 -1
  241. package/dist/ckeditor4/plugins/imagebase/lang/it.js +1 -1
  242. package/dist/ckeditor4/plugins/imagebase/plugin.js +1 -1
  243. package/dist/ckeditor4/plugins/imagebase/styles/imagebase.css +3 -3
  244. package/dist/ckeditor4/plugins/indentblock/plugin.js +1 -1
  245. package/dist/ckeditor4/plugins/justify/plugin.js +1 -1
  246. package/dist/ckeditor4/plugins/language/lang/de-ch.js +1 -1
  247. package/dist/ckeditor4/plugins/language/lang/de.js +1 -1
  248. package/dist/ckeditor4/plugins/language/lang/en.js +1 -1
  249. package/dist/ckeditor4/plugins/language/lang/fr.js +1 -1
  250. package/dist/ckeditor4/plugins/language/lang/it.js +1 -1
  251. package/dist/ckeditor4/plugins/language/plugin.js +1 -1
  252. package/dist/ckeditor4/plugins/link/dialogs/anchor.js +1 -1
  253. package/dist/ckeditor4/plugins/link/dialogs/link.js +1 -1
  254. package/dist/ckeditor4/plugins/liststyle/dialogs/liststyle.js +1 -1
  255. package/dist/ckeditor4/plugins/liststyle/lang/de-ch.js +1 -1
  256. package/dist/ckeditor4/plugins/liststyle/lang/de.js +1 -1
  257. package/dist/ckeditor4/plugins/liststyle/lang/en.js +1 -1
  258. package/dist/ckeditor4/plugins/liststyle/lang/fr.js +1 -1
  259. package/dist/ckeditor4/plugins/liststyle/lang/it.js +1 -1
  260. package/dist/ckeditor4/plugins/liststyle/plugin.js +1 -1
  261. package/dist/ckeditor4/plugins/mathjax/dialogs/mathjax.js +1 -1
  262. package/dist/ckeditor4/plugins/mathjax/lang/de-ch.js +1 -1
  263. package/dist/ckeditor4/plugins/mathjax/lang/de.js +1 -1
  264. package/dist/ckeditor4/plugins/mathjax/lang/en.js +1 -1
  265. package/dist/ckeditor4/plugins/mathjax/lang/fr.js +1 -1
  266. package/dist/ckeditor4/plugins/mathjax/lang/it.js +1 -1
  267. package/dist/ckeditor4/plugins/mathjax/plugin.js +1 -1
  268. package/dist/ckeditor4/plugins/mentions/plugin.js +1 -1
  269. package/dist/ckeditor4/plugins/newpage/lang/de-ch.js +1 -1
  270. package/dist/ckeditor4/plugins/newpage/lang/de.js +1 -1
  271. package/dist/ckeditor4/plugins/newpage/lang/en.js +1 -1
  272. package/dist/ckeditor4/plugins/newpage/lang/fr.js +1 -1
  273. package/dist/ckeditor4/plugins/newpage/lang/it.js +1 -1
  274. package/dist/ckeditor4/plugins/newpage/plugin.js +1 -1
  275. package/dist/ckeditor4/plugins/pagebreak/lang/de-ch.js +1 -1
  276. package/dist/ckeditor4/plugins/pagebreak/lang/de.js +1 -1
  277. package/dist/ckeditor4/plugins/pagebreak/lang/en.js +1 -1
  278. package/dist/ckeditor4/plugins/pagebreak/lang/fr.js +1 -1
  279. package/dist/ckeditor4/plugins/pagebreak/lang/it.js +1 -1
  280. package/dist/ckeditor4/plugins/pagebreak/plugin.js +1 -1
  281. package/dist/ckeditor4/plugins/panelbutton/plugin.js +1 -1
  282. package/dist/ckeditor4/plugins/pastefromgdocs/filter/default.js +1 -1
  283. package/dist/ckeditor4/plugins/pastefromlibreoffice/filter/default.js +1 -1
  284. package/dist/ckeditor4/plugins/pastefromword/filter/default.js +1 -1
  285. package/dist/ckeditor4/plugins/pastetools/filter/common.js +1 -1
  286. package/dist/ckeditor4/plugins/pastetools/filter/image.js +1 -1
  287. package/dist/ckeditor4/plugins/placeholder/dialogs/placeholder.js +1 -1
  288. package/dist/ckeditor4/plugins/placeholder/lang/de-ch.js +1 -1
  289. package/dist/ckeditor4/plugins/placeholder/lang/de.js +1 -1
  290. package/dist/ckeditor4/plugins/placeholder/lang/en.js +1 -1
  291. package/dist/ckeditor4/plugins/placeholder/lang/fr.js +1 -1
  292. package/dist/ckeditor4/plugins/placeholder/lang/it.js +1 -1
  293. package/dist/ckeditor4/plugins/placeholder/plugin.js +1 -1
  294. package/dist/ckeditor4/plugins/preview/lang/de-ch.js +1 -1
  295. package/dist/ckeditor4/plugins/preview/lang/de.js +1 -1
  296. package/dist/ckeditor4/plugins/preview/lang/en.js +1 -1
  297. package/dist/ckeditor4/plugins/preview/lang/fr.js +1 -1
  298. package/dist/ckeditor4/plugins/preview/lang/it.js +1 -1
  299. package/dist/ckeditor4/plugins/preview/plugin.js +1 -1
  300. package/dist/ckeditor4/plugins/print/lang/de-ch.js +1 -1
  301. package/dist/ckeditor4/plugins/print/lang/de.js +1 -1
  302. package/dist/ckeditor4/plugins/print/lang/en.js +1 -1
  303. package/dist/ckeditor4/plugins/print/lang/fr.js +1 -1
  304. package/dist/ckeditor4/plugins/print/lang/it.js +1 -1
  305. package/dist/ckeditor4/plugins/print/plugin.js +1 -1
  306. package/dist/ckeditor4/plugins/save/lang/de-ch.js +1 -1
  307. package/dist/ckeditor4/plugins/save/lang/de.js +1 -1
  308. package/dist/ckeditor4/plugins/save/lang/en.js +1 -1
  309. package/dist/ckeditor4/plugins/save/lang/fr.js +1 -1
  310. package/dist/ckeditor4/plugins/save/lang/it.js +1 -1
  311. package/dist/ckeditor4/plugins/save/plugin.js +1 -1
  312. package/dist/ckeditor4/plugins/scayt/dialogs/dialog.css +4 -4
  313. package/dist/ckeditor4/plugins/scayt/dialogs/options.js +1 -1
  314. package/dist/ckeditor4/plugins/scayt/dialogs/toolbar.css +17 -17
  315. package/dist/ckeditor4/plugins/scayt/skins/moono-lisa/scayt.css +1 -1
  316. package/dist/ckeditor4/plugins/selectall/lang/de-ch.js +1 -1
  317. package/dist/ckeditor4/plugins/selectall/lang/de.js +1 -1
  318. package/dist/ckeditor4/plugins/selectall/lang/en.js +1 -1
  319. package/dist/ckeditor4/plugins/selectall/lang/fr.js +1 -1
  320. package/dist/ckeditor4/plugins/selectall/lang/it.js +1 -1
  321. package/dist/ckeditor4/plugins/selectall/plugin.js +1 -1
  322. package/dist/ckeditor4/plugins/sharedspace/plugin.js +1 -1
  323. package/dist/ckeditor4/plugins/showblocks/lang/de-ch.js +1 -1
  324. package/dist/ckeditor4/plugins/showblocks/lang/de.js +1 -1
  325. package/dist/ckeditor4/plugins/showblocks/lang/en.js +1 -1
  326. package/dist/ckeditor4/plugins/showblocks/lang/fr.js +1 -1
  327. package/dist/ckeditor4/plugins/showblocks/lang/it.js +1 -1
  328. package/dist/ckeditor4/plugins/showblocks/plugin.js +1 -1
  329. package/dist/ckeditor4/plugins/smiley/dialogs/smiley.js +1 -1
  330. package/dist/ckeditor4/plugins/smiley/lang/de-ch.js +1 -1
  331. package/dist/ckeditor4/plugins/smiley/lang/de.js +1 -1
  332. package/dist/ckeditor4/plugins/smiley/lang/en.js +1 -1
  333. package/dist/ckeditor4/plugins/smiley/lang/fr.js +1 -1
  334. package/dist/ckeditor4/plugins/smiley/lang/it.js +1 -1
  335. package/dist/ckeditor4/plugins/smiley/plugin.js +1 -1
  336. package/dist/ckeditor4/plugins/sourcedialog/dialogs/sourcedialog.js +1 -1
  337. package/dist/ckeditor4/plugins/sourcedialog/lang/de-ch.js +1 -1
  338. package/dist/ckeditor4/plugins/sourcedialog/lang/de.js +1 -1
  339. package/dist/ckeditor4/plugins/sourcedialog/lang/en.js +1 -1
  340. package/dist/ckeditor4/plugins/sourcedialog/lang/fr.js +1 -1
  341. package/dist/ckeditor4/plugins/sourcedialog/lang/it.js +1 -1
  342. package/dist/ckeditor4/plugins/sourcedialog/plugin.js +1 -1
  343. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/af.js +1 -1
  344. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ar.js +1 -1
  345. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/az.js +1 -1
  346. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/bg.js +1 -1
  347. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ca.js +1 -1
  348. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/cs.js +1 -1
  349. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/cy.js +1 -1
  350. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/da.js +1 -1
  351. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/de-ch.js +1 -1
  352. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/de.js +1 -1
  353. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/el.js +1 -1
  354. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/en-au.js +1 -1
  355. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/en-ca.js +1 -1
  356. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/en-gb.js +1 -1
  357. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/en.js +1 -1
  358. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/eo.js +1 -1
  359. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/es-mx.js +1 -1
  360. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/es.js +1 -1
  361. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/et.js +1 -1
  362. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/eu.js +1 -1
  363. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/fa.js +1 -1
  364. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/fi.js +1 -1
  365. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/fr-ca.js +1 -1
  366. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/fr.js +1 -1
  367. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/gl.js +1 -1
  368. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/he.js +1 -1
  369. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/hr.js +1 -1
  370. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/hu.js +1 -1
  371. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/id.js +1 -1
  372. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/it.js +1 -1
  373. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ja.js +1 -1
  374. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/km.js +1 -1
  375. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ko.js +1 -1
  376. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ku.js +1 -1
  377. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/lt.js +1 -1
  378. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/lv.js +1 -1
  379. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/nb.js +1 -1
  380. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/nl.js +1 -1
  381. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/no.js +1 -1
  382. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/oc.js +1 -1
  383. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/pl.js +1 -1
  384. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/pt-br.js +1 -1
  385. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/pt.js +1 -1
  386. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ro.js +1 -1
  387. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ru.js +1 -1
  388. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/si.js +1 -1
  389. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/sk.js +1 -1
  390. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/sl.js +1 -1
  391. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/sq.js +1 -1
  392. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/sr-latn.js +1 -1
  393. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/sr.js +1 -1
  394. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/sv.js +1 -1
  395. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/th.js +1 -1
  396. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/tr.js +1 -1
  397. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/tt.js +1 -1
  398. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ug.js +1 -1
  399. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/uk.js +1 -1
  400. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/vi.js +1 -1
  401. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/zh-cn.js +1 -1
  402. package/dist/ckeditor4/plugins/specialchar/dialogs/lang/zh.js +1 -1
  403. package/dist/ckeditor4/plugins/specialchar/dialogs/specialchar.js +1 -1
  404. package/dist/ckeditor4/plugins/stylesheetparser/plugin.js +1 -1
  405. package/dist/ckeditor4/plugins/table/dialogs/table.js +1 -1
  406. package/dist/ckeditor4/plugins/tableresize/plugin.js +1 -1
  407. package/dist/ckeditor4/plugins/tableselection/styles/tableselection.css +8 -8
  408. package/dist/ckeditor4/plugins/tabletools/dialogs/tableCell.js +1 -1
  409. package/dist/ckeditor4/plugins/templates/dialogs/templates.css +20 -20
  410. package/dist/ckeditor4/plugins/templates/dialogs/templates.js +1 -1
  411. package/dist/ckeditor4/plugins/templates/lang/de-ch.js +1 -1
  412. package/dist/ckeditor4/plugins/templates/lang/de.js +1 -1
  413. package/dist/ckeditor4/plugins/templates/lang/en.js +1 -1
  414. package/dist/ckeditor4/plugins/templates/lang/fr.js +1 -1
  415. package/dist/ckeditor4/plugins/templates/lang/it.js +1 -1
  416. package/dist/ckeditor4/plugins/templates/plugin.js +1 -1
  417. package/dist/ckeditor4/plugins/templates/templates/default.js +1 -1
  418. package/dist/ckeditor4/plugins/textmatch/plugin.js +1 -1
  419. package/dist/ckeditor4/plugins/textwatcher/plugin.js +1 -1
  420. package/dist/ckeditor4/plugins/uicolor/dialogs/uicolor.css +4 -4
  421. package/dist/ckeditor4/plugins/uicolor/dialogs/uicolor.js +1 -1
  422. package/dist/ckeditor4/plugins/uicolor/lang/de-ch.js +1 -1
  423. package/dist/ckeditor4/plugins/uicolor/lang/de.js +1 -1
  424. package/dist/ckeditor4/plugins/uicolor/lang/en.js +1 -1
  425. package/dist/ckeditor4/plugins/uicolor/lang/fr.js +1 -1
  426. package/dist/ckeditor4/plugins/uicolor/lang/it.js +1 -1
  427. package/dist/ckeditor4/plugins/uicolor/plugin.js +1 -1
  428. package/dist/ckeditor4/plugins/uploadfile/plugin.js +1 -1
  429. package/dist/ckeditor4/skins/kama/dialog.css +1 -1
  430. package/dist/ckeditor4/skins/kama/dialog_ie.css +1 -1
  431. package/dist/ckeditor4/skins/kama/dialog_ie7.css +1 -1
  432. package/dist/ckeditor4/skins/kama/dialog_ie8.css +1 -1
  433. package/dist/ckeditor4/skins/kama/dialog_iequirks.css +1 -1
  434. package/dist/ckeditor4/skins/kama/editor.css +1 -1
  435. package/dist/ckeditor4/skins/kama/editor_ie.css +1 -1
  436. package/dist/ckeditor4/skins/kama/editor_ie7.css +1 -1
  437. package/dist/ckeditor4/skins/kama/editor_ie8.css +1 -1
  438. package/dist/ckeditor4/skins/kama/editor_iequirks.css +1 -1
  439. package/dist/ckeditor4/skins/kama/skin.js +1 -1
  440. package/dist/ckeditor4/skins/moono/dialog.css +1 -1
  441. package/dist/ckeditor4/skins/moono/dialog_ie.css +1 -1
  442. package/dist/ckeditor4/skins/moono/dialog_ie7.css +1 -1
  443. package/dist/ckeditor4/skins/moono/dialog_ie8.css +1 -1
  444. package/dist/ckeditor4/skins/moono/dialog_iequirks.css +1 -1
  445. package/dist/ckeditor4/skins/moono/editor.css +1 -1
  446. package/dist/ckeditor4/skins/moono/editor_gecko.css +1 -1
  447. package/dist/ckeditor4/skins/moono/editor_ie.css +1 -1
  448. package/dist/ckeditor4/skins/moono/editor_ie7.css +1 -1
  449. package/dist/ckeditor4/skins/moono/editor_ie8.css +1 -1
  450. package/dist/ckeditor4/skins/moono/editor_iequirks.css +1 -1
  451. package/dist/ckeditor4/skins/moono/skin.js +1 -1
  452. package/dist/ckeditor4/skins/moono-lisa/dialog.css +1 -1
  453. package/dist/ckeditor4/skins/moono-lisa/dialog_ie.css +1 -1
  454. package/dist/ckeditor4/skins/moono-lisa/dialog_ie8.css +1 -1
  455. package/dist/ckeditor4/skins/moono-lisa/dialog_iequirks.css +1 -1
  456. package/dist/ckeditor4/skins/moono-lisa/editor.css +1 -1
  457. package/dist/ckeditor4/skins/moono-lisa/editor_gecko.css +1 -1
  458. package/dist/ckeditor4/skins/moono-lisa/editor_ie.css +1 -1
  459. package/dist/ckeditor4/skins/moono-lisa/editor_ie8.css +1 -1
  460. package/dist/ckeditor4/skins/moono-lisa/editor_iequirks.css +1 -1
  461. package/dist/ckeditor4/styles.js +1 -1
  462. package/dist/index.js +2 -2
  463. package/package.json +1 -1
  464. package/dist/chunk-html-editor.70ebe0c1a369e37b90c0.js +0 -6
  465. package/dist/ckeditor4/ckeditor.js +0 -1
@@ -1 +1 @@
1
- CKEDITOR.dialog.add("docProps",(function(t){function e(){var t=this.getDialog().getContentElement("general",this.id+"Other");t&&("other"==this.getValue()?(t.getInputElement().removeAttribute("readOnly"),t.focus(),t.getElement().removeClass("cke_disabled")):(t.getInputElement().setAttribute("readOnly",!0),t.getElement().addClass("cke_disabled")))}function i(e,i,n){return function(o,l,a){l=s,!(o=void 0!==n?n:this.getValue())&&e in l?l[e].remove():o&&e in l?l[e].setAttribute("content",o):o&&((l=new CKEDITOR.dom.element("meta",t.document)).setAttribute(i?"http-equiv":"name",e),l.setAttribute("content",o),a.append(l))}}function n(t,e){return function(){var i=t in(i=s)&&i[t].getAttribute("content")||"";return e?i:(this.setValue(i),null)}}function o(t){return function(e,i,n,o){o.removeAttribute("margin"+t),""!==(e=this.getValue())?o.setStyle("margin-"+t,CKEDITOR.tools.cssLength(e)):o.removeStyle("margin-"+t)}}function l(t,e,i){t.removeStyle(e),t.getComputedStyle(e)!=i&&t.setStyle(e,i)}var a=t.lang.docprops,r=t.lang.common,s={},c=function(e,i,n){return{type:"hbox",padding:0,widths:["60%","40%"],children:[CKEDITOR.tools.extend({type:"text",id:e,label:a[i]},n||{},1),{type:"button",id:e+"Choose",label:a.chooseColor,className:"colorChooser",onClick:function(){var i=this;!function(e,i){var n=function(){o(this),i(this,this._.parentDialog)},o=function(t){t.removeListener("ok",n),t.removeListener("cancel",o)},l=function(t){t.on("ok",n),t.on("cancel",o)};t.execCommand(e),t._.storedDialogs.colordialog?l(t._.storedDialogs.colordialog):CKEDITOR.on("dialogDefinition",(function(t){if(t.data.name==e){var i=t.data.definition;t.removeListener(),i.onLoad=CKEDITOR.tools.override(i.onLoad,(function(t){return function(){l(this),i.onLoad=t,"function"==typeof t&&t.call(this)}}))}}))}("colordialog",(function(t){var n=i.getDialog();n.getContentElement(n._.currentTabId,e).setValue(t.getContentElement("picker","selectedColor").getValue())}))}}]}},g="javascript:void((function(){"+encodeURIComponent("document.open();"+(CKEDITOR.env.ie?"("+CKEDITOR.tools.fixDomain+")();":"")+'document.write( \'<html style="background-color: #ffffff; height: 100%"><head></head><body style="width: 100%; height: 100%; margin: 0px">'+a.previewHtml+"</body></html>' );document.close();")+"})())";return{title:a.title,minHeight:330,minWidth:500,getModel:function(){return t.document},onShow:function(){for(var e=t.document,i=e.getElementsByTag("html").getItem(0),n=e.getHead(),o=e.getBody(),l={},a=e.getElementsByTag("meta"),r=a.count(),c=0;c<r;c++){var g=a.getItem(c);l[g.getAttribute(g.hasAttribute("http-equiv")?"http-equiv":"name").toLowerCase()]=g}s=l,this.setupContent(e,i,n,o)},onHide:function(){s={}},onOk:function(){var e=t.document,i=e.getElementsByTag("html").getItem(0),n=e.getHead(),o=e.getBody();this.commitContent(e,i,n,o)},contents:[{id:"general",label:r.generalTab,elements:[{type:"text",id:"title",label:a.docTitle,setup:function(t){this.setValue(t.getElementsByTag("title").getItem(0).data("cke-title"))},commit:function(t,e,i,n,o){o||t.getElementsByTag("title").getItem(0).data("cke-title",this.getValue())}},{type:"hbox",children:[{type:"select",id:"dir",label:r.langDir,style:"width: 100%",items:[[r.notSet,""],[r.langDirLtr,"ltr"],[r.langDirRtl,"rtl"]],setup:function(t,e,i,n){this.setValue(n.getDirection()||"")},commit:function(t,e,i,n){(t=this.getValue())?n.setAttribute("dir",t):n.removeAttribute("dir"),n.removeStyle("direction")}},{type:"text",id:"langCode",label:r.langCode,setup:function(t,e){this.setValue(e.getAttribute("xml:lang")||e.getAttribute("lang")||"")},commit:function(t,e,i,n,o){o||((t=this.getValue())?e.setAttributes({"xml:lang":t,lang:t}):e.removeAttributes({"xml:lang":1,lang:1}))}}]},{type:"hbox",children:[{type:"select",id:"charset",label:a.charset,style:"width: 100%",items:[[r.notSet,""],[a.charsetASCII,"us-ascii"],[a.charsetCE,"iso-8859-2"],[a.charsetCT,"big5"],[a.charsetCR,"iso-8859-5"],[a.charsetGR,"iso-8859-7"],[a.charsetJP,"iso-2022-jp"],[a.charsetKR,"iso-2022-kr"],[a.charsetTR,"iso-8859-9"],[a.charsetUN,"utf-8"],[a.charsetWE,"iso-8859-1"],[a.other,"other"]],default:"",onChange:function(){this.getDialog().selectedCharset="other"!=this.getValue()?this.getValue():"",e.call(this)},setup:function(){this.metaCharset="charset"in s;var t=n(this.metaCharset?"charset":"content-type",1).call(this);if(!this.metaCharset&&t.match(/charset=[^=]+$/)&&(t=t.substring(t.indexOf("=")+1)),t){if(this.setValue(t.toLowerCase()),!this.getValue()){this.setValue("other");var i=this.getDialog().getContentElement("general","charsetOther");i&&i.setValue(t)}this.getDialog().selectedCharset=t}e.call(this)},commit:function(t,e,n,o,l){l||(o=this.getValue(),l=this.getDialog().getContentElement("general","charsetOther"),"other"==o&&(o=l?l.getValue():""),o&&!this.metaCharset&&(o=(s["content-type"]?s["content-type"].getAttribute("content").split(";")[0]:"text/html")+"; charset="+o),i(this.metaCharset?"charset":"content-type",1,o).call(this,t,e,n))}},{type:"text",id:"charsetOther",label:a.charsetOther,onChange:function(){this.getDialog().selectedCharset=this.getValue()}}]},{type:"hbox",children:[{type:"select",id:"docType",label:a.docType,style:"width: 100%",items:[[r.notSet,""],["XHTML 1.1",'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'],["XHTML 1.0 Transitional",'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'],["XHTML 1.0 Strict",'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'],["XHTML 1.0 Frameset",'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">'],["HTML 5","<!DOCTYPE html>"],["HTML 4.01 Transitional",'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'],["HTML 4.01 Strict",'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'],["HTML 4.01 Frameset",'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'],["HTML 3.2",'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">'],["HTML 2.0",'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">'],[a.other,"other"]],onChange:e,setup:function(){if(t.docType&&(this.setValue(t.docType),!this.getValue())){this.setValue("other");var i=this.getDialog().getContentElement("general","docTypeOther");i&&i.setValue(t.docType)}e.call(this)},commit:function(e,i,n,o,l){l||(e=this.getValue(),i=this.getDialog().getContentElement("general","docTypeOther"),t.docType="other"==e?i?i.getValue():"":e)}},{type:"text",id:"docTypeOther",label:a.docTypeOther}]},{type:"checkbox",id:"xhtmlDec",label:a.xhtmlDec,setup:function(){this.setValue(!!t.xmlDeclaration)},commit:function(e,i,n,o,l){l||(this.getValue()?(t.xmlDeclaration='<?xml version="1.0" encoding="'+(this.getDialog().selectedCharset||"utf-8")+'"?>',i.setAttribute("xmlns","http://www.w3.org/1999/xhtml")):(t.xmlDeclaration="",i.removeAttribute("xmlns")))}}]},{id:"design",label:a.design,elements:[{type:"hbox",widths:["60%","40%"],children:[{type:"vbox",children:[c("txtColor","txtColor",{setup:function(t,e,i,n){this.setValue(n.getComputedStyle("color"))},commit:function(t,e,i,n,o){(this.isChanged()||o)&&(n.removeAttribute("text"),(t=this.getValue())?n.setStyle("color",t):n.removeStyle("color"))}}),c("bgColor","bgColor",{setup:function(t,e,i,n){t=n.getComputedStyle("background-color")||"",this.setValue("transparent"==t?"":t)},commit:function(t,e,i,n,o){(this.isChanged()||o)&&(n.removeAttribute("bgcolor"),(t=this.getValue())?n.setStyle("background-color",t):l(n,"background-color","transparent"))}}),{type:"hbox",widths:["60%","40%"],padding:1,children:[{type:"text",id:"bgImage",label:a.bgImage,setup:function(t,e,i,n){t="none"==(t=n.getComputedStyle("background-image")||"")?"":t.replace(/url\(\s*(["']?)\s*([^\)]*)\s*\1\s*\)/i,(function(t,e,i){return i})),this.setValue(t)},commit:function(t,e,i,n){n.removeAttribute("background"),(t=this.getValue())?n.setStyle("background-image","url("+t+")"):l(n,"background-image","none")}},{type:"button",id:"bgImageChoose",label:r.browseServer,style:"display:inline-block;margin-top:10px;",hidden:!0,filebrowser:"design:bgImage"}]},{type:"checkbox",id:"bgFixed",label:a.bgFixed,setup:function(t,e,i,n){this.setValue("fixed"==n.getComputedStyle("background-attachment"))},commit:function(t,e,i,n){this.getValue()?n.setStyle("background-attachment","fixed"):l(n,"background-attachment","scroll")}}]},{type:"vbox",children:[{type:"html",id:"marginTitle",html:'<div style="text-align: center; margin: 0px auto; font-weight: bold">'+a.margin+"</div>"},{type:"text",id:"marginTop",label:a.marginTop,style:"width: 80px; text-align: center",align:"center",inputStyle:"text-align: center",setup:function(t,e,i,n){this.setValue(n.getStyle("margin-top")||n.getAttribute("margintop")||"")},commit:o("top")},{type:"hbox",children:[{type:"text",id:"marginLeft",label:a.marginLeft,style:"width: 80px; text-align: center",align:"center",inputStyle:"text-align: center",setup:function(t,e,i,n){this.setValue(n.getStyle("margin-left")||n.getAttribute("marginleft")||"")},commit:o("left")},{type:"text",id:"marginRight",label:a.marginRight,style:"width: 80px; text-align: center",align:"center",inputStyle:"text-align: center",setup:function(t,e,i,n){this.setValue(n.getStyle("margin-right")||n.getAttribute("marginright")||"")},commit:o("right")}]},{type:"text",id:"marginBottom",label:a.marginBottom,style:"width: 80px; text-align: center",align:"center",inputStyle:"text-align: center",setup:function(t,e,i,n){this.setValue(n.getStyle("margin-bottom")||n.getAttribute("marginbottom")||"")},commit:o("bottom")}]}]}]},{id:"meta",label:a.meta,elements:[{type:"textarea",id:"metaKeywords",label:a.metaKeywords,setup:n("keywords"),commit:i("keywords")},{type:"textarea",id:"metaDescription",label:a.metaDescription,setup:n("description"),commit:i("description")},{type:"text",id:"metaAuthor",label:a.metaAuthor,setup:n("author"),commit:i("author")},{type:"text",id:"metaCopyright",label:a.metaCopyright,setup:n("copyright"),commit:i("copyright")}]},{id:"preview",label:r.preview,elements:[{type:"html",id:"previewHtml",html:'<iframe src="'+g+'" style="width: 100%; height: 310px" hidefocus="true" frameborder="0"></iframe>',onLoad:function(){var t=this.getElement();this.getDialog().on("selectPage",(function(e){if("preview"==e.data.page){var i=this;setTimeout((function(){var e=t.getFrameDocument(),n=e.getElementsByTag("html").getItem(0),o=e.getHead(),l=e.getBody();i.commitContent(e,n,o,l,1)}),50)}})),t.getAscendant("table").setStyle("height","100%")}}]}]}}));
1
+ NEW_CKEDITOR.dialog.add("docProps",(function(t){function e(){var t=this.getDialog().getContentElement("general",this.id+"Other");t&&("other"==this.getValue()?(t.getInputElement().removeAttribute("readOnly"),t.focus(),t.getElement().removeClass("edi_disabled")):(t.getInputElement().setAttribute("readOnly",!0),t.getElement().addClass("edi_disabled")))}function i(e,i,n){return function(o,l,a){l=s,!(o=void 0!==n?n:this.getValue())&&e in l?l[e].remove():o&&e in l?l[e].setAttribute("content",o):o&&((l=new NEW_CKEDITOR.dom.element("meta",t.document)).setAttribute(i?"http-equiv":"name",e),l.setAttribute("content",o),a.append(l))}}function n(t,e){return function(){var i=t in(i=s)&&i[t].getAttribute("content")||"";return e?i:(this.setValue(i),null)}}function o(t){return function(e,i,n,o){o.removeAttribute("margin"+t),""!==(e=this.getValue())?o.setStyle("margin-"+t,NEW_CKEDITOR.tools.cssLength(e)):o.removeStyle("margin-"+t)}}function l(t,e,i){t.removeStyle(e),t.getComputedStyle(e)!=i&&t.setStyle(e,i)}var a=t.lang.docprops,r=t.lang.common,s={},c=function(e,i,n){return{type:"hbox",padding:0,widths:["60%","40%"],children:[NEW_CKEDITOR.tools.extend({type:"text",id:e,label:a[i]},n||{},1),{type:"button",id:e+"Choose",label:a.chooseColor,className:"colorChooser",onClick:function(){var i=this;!function(e,i){var n=function(){o(this),i(this,this._.parentDialog)},o=function(t){t.removeListener("ok",n),t.removeListener("cancel",o)},l=function(t){t.on("ok",n),t.on("cancel",o)};t.execCommand(e),t._.storedDialogs.colordialog?l(t._.storedDialogs.colordialog):NEW_CKEDITOR.on("dialogDefinition",(function(t){if(t.data.name==e){var i=t.data.definition;t.removeListener(),i.onLoad=NEW_CKEDITOR.tools.override(i.onLoad,(function(t){return function(){l(this),i.onLoad=t,"function"==typeof t&&t.call(this)}}))}}))}("colordialog",(function(t){var n=i.getDialog();n.getContentElement(n._.currentTabId,e).setValue(t.getContentElement("picker","selectedColor").getValue())}))}}]}},g="javascript:void((function(){"+encodeURIComponent("document.open();"+(NEW_CKEDITOR.env.ie?"("+NEW_CKEDITOR.tools.fixDomain+")();":"")+'document.write( \'<html style="background-color: #ffffff; height: 100%"><head></head><body style="width: 100%; height: 100%; margin: 0px">'+a.previewHtml+"</body></html>' );document.close();")+"})())";return{title:a.title,minHeight:330,minWidth:500,getModel:function(){return t.document},onShow:function(){for(var e=t.document,i=e.getElementsByTag("html").getItem(0),n=e.getHead(),o=e.getBody(),l={},a=e.getElementsByTag("meta"),r=a.count(),c=0;c<r;c++){var g=a.getItem(c);l[g.getAttribute(g.hasAttribute("http-equiv")?"http-equiv":"name").toLowerCase()]=g}s=l,this.setupContent(e,i,n,o)},onHide:function(){s={}},onOk:function(){var e=t.document,i=e.getElementsByTag("html").getItem(0),n=e.getHead(),o=e.getBody();this.commitContent(e,i,n,o)},contents:[{id:"general",label:r.generalTab,elements:[{type:"text",id:"title",label:a.docTitle,setup:function(t){this.setValue(t.getElementsByTag("title").getItem(0).data("edi-title"))},commit:function(t,e,i,n,o){o||t.getElementsByTag("title").getItem(0).data("edi-title",this.getValue())}},{type:"hbox",children:[{type:"select",id:"dir",label:r.langDir,style:"width: 100%",items:[[r.notSet,""],[r.langDirLtr,"ltr"],[r.langDirRtl,"rtl"]],setup:function(t,e,i,n){this.setValue(n.getDirection()||"")},commit:function(t,e,i,n){(t=this.getValue())?n.setAttribute("dir",t):n.removeAttribute("dir"),n.removeStyle("direction")}},{type:"text",id:"langCode",label:r.langCode,setup:function(t,e){this.setValue(e.getAttribute("xml:lang")||e.getAttribute("lang")||"")},commit:function(t,e,i,n,o){o||((t=this.getValue())?e.setAttributes({"xml:lang":t,lang:t}):e.removeAttributes({"xml:lang":1,lang:1}))}}]},{type:"hbox",children:[{type:"select",id:"charset",label:a.charset,style:"width: 100%",items:[[r.notSet,""],[a.charsetASCII,"us-ascii"],[a.charsetCE,"iso-8859-2"],[a.charsetCT,"big5"],[a.charsetCR,"iso-8859-5"],[a.charsetGR,"iso-8859-7"],[a.charsetJP,"iso-2022-jp"],[a.charsetKR,"iso-2022-kr"],[a.charsetTR,"iso-8859-9"],[a.charsetUN,"utf-8"],[a.charsetWE,"iso-8859-1"],[a.other,"other"]],default:"",onChange:function(){this.getDialog().selectedCharset="other"!=this.getValue()?this.getValue():"",e.call(this)},setup:function(){this.metaCharset="charset"in s;var t=n(this.metaCharset?"charset":"content-type",1).call(this);if(!this.metaCharset&&t.match(/charset=[^=]+$/)&&(t=t.substring(t.indexOf("=")+1)),t){if(this.setValue(t.toLowerCase()),!this.getValue()){this.setValue("other");var i=this.getDialog().getContentElement("general","charsetOther");i&&i.setValue(t)}this.getDialog().selectedCharset=t}e.call(this)},commit:function(t,e,n,o,l){l||(o=this.getValue(),l=this.getDialog().getContentElement("general","charsetOther"),"other"==o&&(o=l?l.getValue():""),o&&!this.metaCharset&&(o=(s["content-type"]?s["content-type"].getAttribute("content").split(";")[0]:"text/html")+"; charset="+o),i(this.metaCharset?"charset":"content-type",1,o).call(this,t,e,n))}},{type:"text",id:"charsetOther",label:a.charsetOther,onChange:function(){this.getDialog().selectedCharset=this.getValue()}}]},{type:"hbox",children:[{type:"select",id:"docType",label:a.docType,style:"width: 100%",items:[[r.notSet,""],["XHTML 1.1",'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'],["XHTML 1.0 Transitional",'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'],["XHTML 1.0 Strict",'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'],["XHTML 1.0 Frameset",'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">'],["HTML 5","<!DOCTYPE html>"],["HTML 4.01 Transitional",'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'],["HTML 4.01 Strict",'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'],["HTML 4.01 Frameset",'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'],["HTML 3.2",'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">'],["HTML 2.0",'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">'],[a.other,"other"]],onChange:e,setup:function(){if(t.docType&&(this.setValue(t.docType),!this.getValue())){this.setValue("other");var i=this.getDialog().getContentElement("general","docTypeOther");i&&i.setValue(t.docType)}e.call(this)},commit:function(e,i,n,o,l){l||(e=this.getValue(),i=this.getDialog().getContentElement("general","docTypeOther"),t.docType="other"==e?i?i.getValue():"":e)}},{type:"text",id:"docTypeOther",label:a.docTypeOther}]},{type:"checkbox",id:"xhtmlDec",label:a.xhtmlDec,setup:function(){this.setValue(!!t.xmlDeclaration)},commit:function(e,i,n,o,l){l||(this.getValue()?(t.xmlDeclaration='<?xml version="1.0" encoding="'+(this.getDialog().selectedCharset||"utf-8")+'"?>',i.setAttribute("xmlns","http://www.w3.org/1999/xhtml")):(t.xmlDeclaration="",i.removeAttribute("xmlns")))}}]},{id:"design",label:a.design,elements:[{type:"hbox",widths:["60%","40%"],children:[{type:"vbox",children:[c("txtColor","txtColor",{setup:function(t,e,i,n){this.setValue(n.getComputedStyle("color"))},commit:function(t,e,i,n,o){(this.isChanged()||o)&&(n.removeAttribute("text"),(t=this.getValue())?n.setStyle("color",t):n.removeStyle("color"))}}),c("bgColor","bgColor",{setup:function(t,e,i,n){t=n.getComputedStyle("background-color")||"",this.setValue("transparent"==t?"":t)},commit:function(t,e,i,n,o){(this.isChanged()||o)&&(n.removeAttribute("bgcolor"),(t=this.getValue())?n.setStyle("background-color",t):l(n,"background-color","transparent"))}}),{type:"hbox",widths:["60%","40%"],padding:1,children:[{type:"text",id:"bgImage",label:a.bgImage,setup:function(t,e,i,n){t="none"==(t=n.getComputedStyle("background-image")||"")?"":t.replace(/url\(\s*(["']?)\s*([^\)]*)\s*\1\s*\)/i,(function(t,e,i){return i})),this.setValue(t)},commit:function(t,e,i,n){n.removeAttribute("background"),(t=this.getValue())?n.setStyle("background-image","url("+t+")"):l(n,"background-image","none")}},{type:"button",id:"bgImageChoose",label:r.browseServer,style:"display:inline-block;margin-top:10px;",hidden:!0,filebrowser:"design:bgImage"}]},{type:"checkbox",id:"bgFixed",label:a.bgFixed,setup:function(t,e,i,n){this.setValue("fixed"==n.getComputedStyle("background-attachment"))},commit:function(t,e,i,n){this.getValue()?n.setStyle("background-attachment","fixed"):l(n,"background-attachment","scroll")}}]},{type:"vbox",children:[{type:"html",id:"marginTitle",html:'<div style="text-align: center; margin: 0px auto; font-weight: bold">'+a.margin+"</div>"},{type:"text",id:"marginTop",label:a.marginTop,style:"width: 80px; text-align: center",align:"center",inputStyle:"text-align: center",setup:function(t,e,i,n){this.setValue(n.getStyle("margin-top")||n.getAttribute("margintop")||"")},commit:o("top")},{type:"hbox",children:[{type:"text",id:"marginLeft",label:a.marginLeft,style:"width: 80px; text-align: center",align:"center",inputStyle:"text-align: center",setup:function(t,e,i,n){this.setValue(n.getStyle("margin-left")||n.getAttribute("marginleft")||"")},commit:o("left")},{type:"text",id:"marginRight",label:a.marginRight,style:"width: 80px; text-align: center",align:"center",inputStyle:"text-align: center",setup:function(t,e,i,n){this.setValue(n.getStyle("margin-right")||n.getAttribute("marginright")||"")},commit:o("right")}]},{type:"text",id:"marginBottom",label:a.marginBottom,style:"width: 80px; text-align: center",align:"center",inputStyle:"text-align: center",setup:function(t,e,i,n){this.setValue(n.getStyle("margin-bottom")||n.getAttribute("marginbottom")||"")},commit:o("bottom")}]}]}]},{id:"meta",label:a.meta,elements:[{type:"textarea",id:"metaKeywords",label:a.metaKeywords,setup:n("keywords"),commit:i("keywords")},{type:"textarea",id:"metaDescription",label:a.metaDescription,setup:n("description"),commit:i("description")},{type:"text",id:"metaAuthor",label:a.metaAuthor,setup:n("author"),commit:i("author")},{type:"text",id:"metaCopyright",label:a.metaCopyright,setup:n("copyright"),commit:i("copyright")}]},{id:"preview",label:r.preview,elements:[{type:"html",id:"previewHtml",html:'<iframe src="'+g+'" style="width: 100%; height: 310px" hidefocus="true" frameborder="0"></iframe>',onLoad:function(){var t=this.getElement();this.getDialog().on("selectPage",(function(e){if("preview"==e.data.page){var i=this;setTimeout((function(){var e=t.getFrameDocument(),n=e.getElementsByTag("html").getItem(0),o=e.getHead(),l=e.getBody();i.commitContent(e,n,o,l,1)}),50)}})),t.getAscendant("table").setStyle("height","100%")}}]}]}}));
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("docprops","de-ch",{bgColor:"Hintergrundfarbe",bgFixed:"Nichtrollender (feststehender) Hintergrund",bgImage:"Hintergrundbild-URL",charset:"Zeichensatzkodierung",charsetASCII:"ASCII",charsetCE:"Zentraleuropäisch",charsetCR:"Kyrillisch",charsetCT:"Traditionelles Chinesisch (Big5)",charsetGR:"Griechisch",charsetJP:"Japanisch",charsetKR:"Koreanisch",charsetOther:"Andere Zeichensatzkodierung",charsetTR:"Türkisch",charsetUN:"Unicode (UTF-8)",charsetWE:"Westeuropäisch",chooseColor:"Auswählen",design:"Design",docTitle:"Seitentitel",docType:"Dokumententypüberschrift",docTypeOther:"Andere Dokumententypüberschrift",label:"Dokumenteigenschaften",margin:"Seitenränder",marginBottom:"Unten",marginLeft:"Links",marginRight:"Rechts",marginTop:"Oben",meta:"Metadaten",metaAuthor:"Autor",metaCopyright:"Copyright",metaDescription:"Dokumentbeschreibung",metaKeywords:"Schlüsselwörter (durch Komma getrennt)",other:"Andere...",previewHtml:'<p>Das ist ein <strong>Beispieltext</strong>. Du schreibst in <a href="javascript:void(0)">CKEditor</a>.</p>',title:"Dokumenteigenschaften",txtColor:"Textfarbe",xhtmlDec:"Beziehe XHTML Deklarationen ein"});
1
+ NEW_CKEDITOR.plugins.setLang("docprops","de-ch",{bgColor:"Hintergrundfarbe",bgFixed:"Nichtrollender (feststehender) Hintergrund",bgImage:"Hintergrundbild-URL",charset:"Zeichensatzkodierung",charsetASCII:"ASCII",charsetCE:"Zentraleuropäisch",charsetCR:"Kyrillisch",charsetCT:"Traditionelles Chinesisch (Big5)",charsetGR:"Griechisch",charsetJP:"Japanisch",charsetKR:"Koreanisch",charsetOther:"Andere Zeichensatzkodierung",charsetTR:"Türkisch",charsetUN:"Unicode (UTF-8)",charsetWE:"Westeuropäisch",chooseColor:"Auswählen",design:"Design",docTitle:"Seitentitel",docType:"Dokumententypüberschrift",docTypeOther:"Andere Dokumententypüberschrift",label:"Dokumenteigenschaften",margin:"Seitenränder",marginBottom:"Unten",marginLeft:"Links",marginRight:"Rechts",marginTop:"Oben",meta:"Metadaten",metaAuthor:"Autor",metaCopyright:"Copyright",metaDescription:"Dokumentbeschreibung",metaKeywords:"Schlüsselwörter (durch Komma getrennt)",other:"Andere...",previewHtml:'<p>Das ist ein <strong>Beispieltext</strong>. Du schreibst in <a href="javascript:void(0)">CKEditor</a>.</p>',title:"Dokumenteigenschaften",txtColor:"Textfarbe",xhtmlDec:"Beziehe XHTML Deklarationen ein"});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("docprops","de",{bgColor:"Hintergrundfarbe",bgFixed:"Nichtrollender (feststehender) Hintergrund",bgImage:"Hintergrundbild-URL",charset:"Zeichensatzkodierung",charsetASCII:"ASCII",charsetCE:"Zentraleuropäisch",charsetCR:"Kyrillisch",charsetCT:"Traditionelles Chinesisch (Big5)",charsetGR:"Griechisch",charsetJP:"Japanisch",charsetKR:"Koreanisch",charsetOther:"Andere Zeichensatzkodierung",charsetTR:"Türkisch",charsetUN:"Unicode (UTF-8)",charsetWE:"Westeuropäisch",chooseColor:"Auswählen",design:"Design",docTitle:"Seitentitel",docType:"Dokumententypüberschrift",docTypeOther:"Andere Dokumententypüberschrift",label:"Dokumenteigenschaften",margin:"Seitenränder",marginBottom:"Unten",marginLeft:"Links",marginRight:"Rechts",marginTop:"Oben",meta:"Metadaten",metaAuthor:"Autor",metaCopyright:"Copyright",metaDescription:"Dokumentbeschreibung",metaKeywords:"Schlüsselwörter (durch Komma getrennt)",other:"Andere...",previewHtml:'<p>Das ist ein <strong>Beispieltext</strong>. Du schreibst in <a href="javascript:void(0)">CKEditor</a>.</p>',title:"Dokumenteigenschaften",txtColor:"Textfarbe",xhtmlDec:"Beziehe XHTML Deklarationen ein"});
1
+ NEW_CKEDITOR.plugins.setLang("docprops","de",{bgColor:"Hintergrundfarbe",bgFixed:"Nichtrollender (feststehender) Hintergrund",bgImage:"Hintergrundbild-URL",charset:"Zeichensatzkodierung",charsetASCII:"ASCII",charsetCE:"Zentraleuropäisch",charsetCR:"Kyrillisch",charsetCT:"Traditionelles Chinesisch (Big5)",charsetGR:"Griechisch",charsetJP:"Japanisch",charsetKR:"Koreanisch",charsetOther:"Andere Zeichensatzkodierung",charsetTR:"Türkisch",charsetUN:"Unicode (UTF-8)",charsetWE:"Westeuropäisch",chooseColor:"Auswählen",design:"Design",docTitle:"Seitentitel",docType:"Dokumententypüberschrift",docTypeOther:"Andere Dokumententypüberschrift",label:"Dokumenteigenschaften",margin:"Seitenränder",marginBottom:"Unten",marginLeft:"Links",marginRight:"Rechts",marginTop:"Oben",meta:"Metadaten",metaAuthor:"Autor",metaCopyright:"Copyright",metaDescription:"Dokumentbeschreibung",metaKeywords:"Schlüsselwörter (durch Komma getrennt)",other:"Andere...",previewHtml:'<p>Das ist ein <strong>Beispieltext</strong>. Du schreibst in <a href="javascript:void(0)">CKEditor</a>.</p>',title:"Dokumenteigenschaften",txtColor:"Textfarbe",xhtmlDec:"Beziehe XHTML Deklarationen ein"});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("docprops","en",{bgColor:"Background Color",bgFixed:"Non-scrolling (Fixed) Background",bgImage:"Background Image URL",charset:"Character Set Encoding",charsetASCII:"ASCII",charsetCE:"Central European",charsetCR:"Cyrillic",charsetCT:"Chinese Traditional (Big5)",charsetGR:"Greek",charsetJP:"Japanese",charsetKR:"Korean",charsetOther:"Other Character Set Encoding",charsetTR:"Turkish",charsetUN:"Unicode (UTF-8)",charsetWE:"Western European",chooseColor:"Choose",design:"Design",docTitle:"Page Title",docType:"Document Type Heading",docTypeOther:"Other Document Type Heading",label:"Document Properties",margin:"Page Margins",marginBottom:"Bottom",marginLeft:"Left",marginRight:"Right",marginTop:"Top",meta:"Meta Tags",metaAuthor:"Author",metaCopyright:"Copyright",metaDescription:"Document Description",metaKeywords:"Document Indexing Keywords (comma separated)",other:"Other...",previewHtml:'<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>',title:"Document Properties",txtColor:"Text Color",xhtmlDec:"Include XHTML Declarations"});
1
+ NEW_CKEDITOR.plugins.setLang("docprops","en",{bgColor:"Background Color",bgFixed:"Non-scrolling (Fixed) Background",bgImage:"Background Image URL",charset:"Character Set Encoding",charsetASCII:"ASCII",charsetCE:"Central European",charsetCR:"Cyrillic",charsetCT:"Chinese Traditional (Big5)",charsetGR:"Greek",charsetJP:"Japanese",charsetKR:"Korean",charsetOther:"Other Character Set Encoding",charsetTR:"Turkish",charsetUN:"Unicode (UTF-8)",charsetWE:"Western European",chooseColor:"Choose",design:"Design",docTitle:"Page Title",docType:"Document Type Heading",docTypeOther:"Other Document Type Heading",label:"Document Properties",margin:"Page Margins",marginBottom:"Bottom",marginLeft:"Left",marginRight:"Right",marginTop:"Top",meta:"Meta Tags",metaAuthor:"Author",metaCopyright:"Copyright",metaDescription:"Document Description",metaKeywords:"Document Indexing Keywords (comma separated)",other:"Other...",previewHtml:'<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>',title:"Document Properties",txtColor:"Text Color",xhtmlDec:"Include XHTML Declarations"});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("docprops","fr",{bgColor:"Couleur d'arrière-plan",bgFixed:"Arrière-plan fixe (ne défile pas)",bgImage:"URL de l'image d'arrière-plan",charset:"Encodage des caractères",charsetASCII:"ASCII",charsetCE:"Europe centrale",charsetCR:"Cyrillique",charsetCT:"Chinois traditionnel (Big5)",charsetGR:"Grec",charsetJP:"Japonais",charsetKR:"Coréen",charsetOther:"Autre encodage de caractères",charsetTR:"Turc",charsetUN:"Unicode (UTF-8)",charsetWE:"Europe occidentale",chooseColor:"Choisissez",design:"Mise en page",docTitle:"Titre de la page",docType:"Type de document",docTypeOther:"Autre en-tête de type de document",label:"Propriétés du document",margin:"Marges de la page",marginBottom:"Bas",marginLeft:"Gauche",marginRight:"Droite",marginTop:"Haut",meta:"Métadonnées",metaAuthor:"Auteur",metaCopyright:"Droit d'auteur",metaDescription:"Description du document",metaKeywords:"Mots-clés d'indexation (séparés par des virgules)",other:"Autre…",previewHtml:'<p>Ceci est un <strong>texte d\'exemple</strong>. Vous utilisez <a href="javascript:void(0)">CKEditor</a>.</p>',title:"Propriétés du document",txtColor:"Couleur de texte",xhtmlDec:"Inclure les déclarations XHTML"});
1
+ NEW_CKEDITOR.plugins.setLang("docprops","fr",{bgColor:"Couleur d'arrière-plan",bgFixed:"Arrière-plan fixe (ne défile pas)",bgImage:"URL de l'image d'arrière-plan",charset:"Encodage des caractères",charsetASCII:"ASCII",charsetCE:"Europe centrale",charsetCR:"Cyrillique",charsetCT:"Chinois traditionnel (Big5)",charsetGR:"Grec",charsetJP:"Japonais",charsetKR:"Coréen",charsetOther:"Autre encodage de caractères",charsetTR:"Turc",charsetUN:"Unicode (UTF-8)",charsetWE:"Europe occidentale",chooseColor:"Choisissez",design:"Mise en page",docTitle:"Titre de la page",docType:"Type de document",docTypeOther:"Autre en-tête de type de document",label:"Propriétés du document",margin:"Marges de la page",marginBottom:"Bas",marginLeft:"Gauche",marginRight:"Droite",marginTop:"Haut",meta:"Métadonnées",metaAuthor:"Auteur",metaCopyright:"Droit d'auteur",metaDescription:"Description du document",metaKeywords:"Mots-clés d'indexation (séparés par des virgules)",other:"Autre…",previewHtml:'<p>Ceci est un <strong>texte d\'exemple</strong>. Vous utilisez <a href="javascript:void(0)">CKEditor</a>.</p>',title:"Propriétés du document",txtColor:"Couleur de texte",xhtmlDec:"Inclure les déclarations XHTML"});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("docprops","it",{bgColor:"Colore di sfondo",bgFixed:"Sfondo fissato",bgImage:"Immagine di sfondo",charset:"Set di caretteri",charsetASCII:"ASCII",charsetCE:"Europa Centrale",charsetCR:"Cirillico",charsetCT:"Cinese Tradizionale (Big5)",charsetGR:"Greco",charsetJP:"Giapponese",charsetKR:"Coreano",charsetOther:"Altro set di caretteri",charsetTR:"Turco",charsetUN:"Unicode (UTF-8)",charsetWE:"Europa Occidentale",chooseColor:"Scegli",design:"Disegna",docTitle:"Titolo pagina",docType:"Intestazione DocType",docTypeOther:"Altra intestazione DocType",label:"Proprietà del Documento",margin:"Margini",marginBottom:"In Basso",marginLeft:"A Sinistra",marginRight:"A Destra",marginTop:"In Alto",meta:"Meta Data",metaAuthor:"Autore",metaCopyright:"Copyright",metaDescription:"Descrizione documento",metaKeywords:"Chiavi di indicizzazione documento (separate da virgola)",other:"<altro>",previewHtml:'<p>Questo è un <strong>testo di esempio</strong>. State usando <a href="javascript:void(0)">CKEditor</a>.</p>',title:"Proprietà del Documento",txtColor:"Colore testo",xhtmlDec:"Includi dichiarazione XHTML"});
1
+ NEW_CKEDITOR.plugins.setLang("docprops","it",{bgColor:"Colore di sfondo",bgFixed:"Sfondo fissato",bgImage:"Immagine di sfondo",charset:"Set di caretteri",charsetASCII:"ASCII",charsetCE:"Europa Centrale",charsetCR:"Cirillico",charsetCT:"Cinese Tradizionale (Big5)",charsetGR:"Greco",charsetJP:"Giapponese",charsetKR:"Coreano",charsetOther:"Altro set di caretteri",charsetTR:"Turco",charsetUN:"Unicode (UTF-8)",charsetWE:"Europa Occidentale",chooseColor:"Scegli",design:"Disegna",docTitle:"Titolo pagina",docType:"Intestazione DocType",docTypeOther:"Altra intestazione DocType",label:"Proprietà del Documento",margin:"Margini",marginBottom:"In Basso",marginLeft:"A Sinistra",marginRight:"A Destra",marginTop:"In Alto",meta:"Meta Data",metaAuthor:"Autore",metaCopyright:"Copyright",metaDescription:"Descrizione documento",metaKeywords:"Chiavi di indicizzazione documento (separate da virgola)",other:"<altro>",previewHtml:'<p>Questo è un <strong>testo di esempio</strong>. State usando <a href="javascript:void(0)">CKEditor</a>.</p>',title:"Proprietà del Documento",txtColor:"Colore testo",xhtmlDec:"Includi dichiarazione XHTML"});
@@ -1 +1 @@
1
- CKEDITOR.plugins.add("docprops",{requires:"wysiwygarea,dialog,colordialog",lang:"af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn",icons:"docprops,docprops-rtl",hidpi:!0,init:function(o){var a=new CKEDITOR.dialogCommand("docProps");a.modes={wysiwyg:o.config.fullPage},a.allowedContent={body:{styles:"*",attributes:"dir"},html:{attributes:"lang,xml:lang"}},a.requiredContent="body",o.addCommand("docProps",a),CKEDITOR.dialog.add("docProps",this.path+"dialogs/docprops.js"),o.ui.addButton&&o.ui.addButton("DocProps",{label:o.lang.docprops.label,command:"docProps",toolbar:"document,30"})}});
1
+ NEW_CKEDITOR.plugins.add("docprops",{requires:"wysiwygarea,dialog,colordialog",lang:"af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn",icons:"docprops,docprops-rtl",hidpi:!0,init:function(o){var a=new NEW_CKEDITOR.dialogCommand("docProps");a.modes={wysiwyg:o.config.fullPage},a.allowedContent={body:{styles:"*",attributes:"dir"},html:{attributes:"lang,xml:lang"}},a.requiredContent="body",o.addCommand("docProps",a),NEW_CKEDITOR.dialog.add("docProps",this.path+"dialogs/docprops.js"),o.ui.addButton&&o.ui.addButton("DocProps",{label:o.lang.docprops.label,command:"docProps",toolbar:"document,30"})}});
@@ -1 +1 @@
1
- CKEDITOR.dialog.add("easyimageAlt",(function(t){return{title:t.lang.easyimage.commands.altText,minWidth:200,minHeight:30,getModel:function(){var e=t.widgets.focused;return e&&"easyimage"==e.name?e:null},onOk:function(){var e=CKEDITOR.tools.trim(this.getValueOf("info","txtAlt")),a=this.getModel(t);a&&a.parts.image.setAttribute("alt",e)},onShow:function(){var e=this.getContentElement("info","txtAlt"),a=this.getModel(t);a&&e.setValue(a.parts.image.getAttribute("alt")),e.focus()},contents:[{id:"info",label:t.lang.easyimage.commands.altText,accessKey:"I",elements:[{type:"text",id:"txtAlt",label:t.lang.easyimage.commands.altText}]}]}}));
1
+ NEW_CKEDITOR.dialog.add("easyimageAlt",(function(t){return{title:t.lang.easyimage.commands.altText,minWidth:200,minHeight:30,getModel:function(){var e=t.widgets.focused;return e&&"easyimage"==e.name?e:null},onOk:function(){var e=NEW_CKEDITOR.tools.trim(this.getValueOf("info","txtAlt")),a=this.getModel(t);a&&a.parts.image.setAttribute("alt",e)},onShow:function(){var e=this.getContentElement("info","txtAlt"),a=this.getModel(t);a&&e.setValue(a.parts.image.getAttribute("alt")),e.focus()},contents:[{id:"info",label:t.lang.easyimage.commands.altText,accessKey:"I",elements:[{type:"text",id:"txtAlt",label:t.lang.easyimage.commands.altText}]}]}}));
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("easyimage","de-ch",{commands:{fullImage:"Bild in Originalgrösse",sideImage:"Bild in Text",altText:"Alternativ-Text des Bildes ändern",upload:"Bild hochladen"},uploadFailed:"Aufgrund eines Netzwerkfehlers konnte Ihr Bild nicht hochgeladen werden."});
1
+ NEW_CKEDITOR.plugins.setLang("easyimage","de-ch",{commands:{fullImage:"Bild in Originalgrösse",sideImage:"Bild in Text",altText:"Alternativ-Text des Bildes ändern",upload:"Bild hochladen"},uploadFailed:"Aufgrund eines Netzwerkfehlers konnte Ihr Bild nicht hochgeladen werden."});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("easyimage","de",{commands:{fullImage:"Bild in Originalgröße",sideImage:"Bild in Text",altText:"Alternativ-Text des Bildes ändern",upload:"Bild hochladen"},uploadFailed:"Aufgrund eines Netzwerkfehlers konnte Ihr Bild nicht hochgeladen werden. "});
1
+ NEW_CKEDITOR.plugins.setLang("easyimage","de",{commands:{fullImage:"Bild in Originalgröße",sideImage:"Bild in Text",altText:"Alternativ-Text des Bildes ändern",upload:"Bild hochladen"},uploadFailed:"Aufgrund eines Netzwerkfehlers konnte Ihr Bild nicht hochgeladen werden. "});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("easyimage","en",{commands:{fullImage:"Full Size Image",sideImage:"Side Image",altText:"Change image alternative text",upload:"Upload Image"},uploadFailed:"Your image could not be uploaded due to a network error."});
1
+ NEW_CKEDITOR.plugins.setLang("easyimage","en",{commands:{fullImage:"Full Size Image",sideImage:"Side Image",altText:"Change image alternative text",upload:"Upload Image"},uploadFailed:"Your image could not be uploaded due to a network error."});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("easyimage","fr",{commands:{fullImage:"Image taille complète",sideImage:"Image latérale",altText:"Modifier le texte de remplacement de l'image",upload:"Télécharger l'image"},uploadFailed:"Votre image n'a pas pu être téléchargée à cause d'un problème réseau"});
1
+ NEW_CKEDITOR.plugins.setLang("easyimage","fr",{commands:{fullImage:"Image taille complète",sideImage:"Image latérale",altText:"Modifier le texte de remplacement de l'image",upload:"Télécharger l'image"},uploadFailed:"Votre image n'a pas pu être téléchargée à cause d'un problème réseau"});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("easyimage","it",{commands:{fullImage:"Immagine a dimensione intera",sideImage:"Immagine laterale",altText:"Cambia testo alternativo dell'immagine",upload:"Carica immagine"},uploadFailed:"L'immagine non può essere caricata a causa di un errore di rete."});
1
+ NEW_CKEDITOR.plugins.setLang("easyimage","it",{commands:{fullImage:"Immagine a dimensione intera",sideImage:"Immagine laterale",altText:"Cambia testo alternativo dell'immagine",upload:"Carica immagine"},uploadFailed:"L'immagine non può essere caricata a causa di un errore di rete."});
@@ -1 +1 @@
1
- !function(){function e(e){return CKEDITOR.tools.capitalize(e,!0)}function a(e){var a=e.sender.editor,t=a.config.easyimage_toolbar;t.split&&(t=t.split(",")),CKEDITOR.tools.array.forEach(t,(function(t){t=a.ui.items[t],e.data[t.name]=a.getCommand(t.command).state}))}var t=!1,i=["jpeg","png","gif","bmp"];CKEDITOR.plugins.easyimage={_parseSrcSet:function(e){var a,t=[];for(a in e)"default"!==a&&t.push(e[a]+" "+a+"w");return t.join(", ")}},CKEDITOR.plugins.add("easyimage",{requires:"imagebase,balloontoolbar,button,dialog,cloudservices",lang:"ar,az,bg,cs,da,de,de-ch,el,en,en-au,et,fa,fr,gl,hr,hu,it,ku,lv,nb,nl,no,pl,pt,pt-br,ro,ru,sk,sq,sr,sr-latn,sv,tr,tt,uk,zh,zh-cn",icons:"easyimagefull,easyimageside,easyimagealt,easyimagealignleft,easyimagealigncenter,easyimagealignright,easyimageupload",hidpi:!0,onLoad:function(){CKEDITOR.dialog.add("easyimageAlt",this.path+"dialogs/easyimagealt.js")},isSupportedEnvironment:function(){return!CKEDITOR.env.ie||11<=CKEDITOR.env.version},init:function(e){this.isSupportedEnvironment()&&(t||(CKEDITOR.document.appendStyleSheet(this.path+"styles/easyimage.css"),t=!0),e.addContentsCss&&e.addContentsCss(this.path+"styles/easyimage.css"))},afterInit:function(t){if(this.isSupportedEnvironment()){var n;for(var s in function(t,n){var s=(l=t.config).easyimage_class,l={name:"easyimage",allowedContent:{figure:{classes:l.easyimage_sideClass},img:{attributes:"!src,srcset,alt,width,sizes"}},requiredContent:"figure; img[!src]",styleableElements:"figure",supportedTypes:new RegExp("image/("+i.join("|")+")","i"),loaderType:CKEDITOR.plugins.cloudservices.cloudServicesLoader,progressReporterType:CKEDITOR.plugins.imagebase.progressBar,upcasts:{figure:function(e){if((!s||e.hasClass(s))&&1===e.find("img",!0).length)return e}},init:function(){function e(a,t){var i=a.$;if(i.complete&&i.naturalWidth)return t(i.naturalWidth);a.once("load",(function(){if(!i.naturalWidth)return i.src=i.src,e(a,t);t(i.naturalWidth)}))}var i=this.parts.image,n=i&&i.$.complete&&!i.$.naturalWidth;(i&&!i.$.complete||n)&&(n&&(i.$.src=i.$.src),e(i,(function(){t._.easyImageToolbarContext.toolbar.reposition()}))),void 0!==(i=this.element.data("cke-upload-id"))&&(this.setData("uploadId",i),this.element.data("cke-upload-id",!1)),this.on("contextMenu",a),t.config.easyimage_class&&this.addClass(t.config.easyimage_class),this.on("uploadStarted",(function(){var a=this;e(a.parts.image,(function(e){a.parts.image.hasAttribute("width")||(a.editor.fire("lockSnapshot"),a.parts.image.setAttribute("width",e),a.editor.fire("unlockSnapshot"))}))})),this.on("uploadDone",(function(e){e=e.data.loader.responseData.response;var a=CKEDITOR.plugins.easyimage._parseSrcSet(e);this.parts.image.setAttributes({"data-cke-saved-src":e.default,src:e.default,srcset:a,sizes:"100vw"}),this.editor.fire("change")})),this.on("uploadFailed",(function(){alert(this.editor.lang.easyimage.uploadFailed)})),this._loadDefaultStyle()},_loadDefaultStyle:function(){var a,i=!1,s=t.config.easyimage_defaultStyle;for(a in n){var l=t.getCommand("easyimage"+e(a));!i&&l&&l.style&&-1!==CKEDITOR.tools.array.indexOf(l.style.group,"easyimage")&&this.checkStyleActive(l.style)&&(i=!0)}!i&&s&&t.getCommand("easyimage"+e(s))&&this.applyStyle(t.getCommand("easyimage"+e(s)).style)}};s&&(l.requiredContent+="(!"+s+")",l.allowedContent.figure.classes="!"+s+","+l.allowedContent.figure.classes),t.plugins.link&&(l=CKEDITOR.plugins.imagebase.addFeature(t,"link",l)),l=CKEDITOR.plugins.imagebase.addFeature(t,"upload",l),l=CKEDITOR.plugins.imagebase.addFeature(t,"caption",l),CKEDITOR.plugins.imagebase.addImageWidget(t,"easyimage",l)}(t,n=CKEDITOR.tools.object.merge({full:{attributes:{class:"easyimage-full"},label:t.lang.easyimage.commands.fullImage},side:{attributes:{class:"easyimage-side"},label:t.lang.easyimage.commands.sideImage},alignLeft:{attributes:{class:"easyimage-align-left"},label:t.lang.common.alignLeft},alignCenter:{attributes:{class:"easyimage-align-center"},label:t.lang.common.alignCenter},alignRight:{attributes:{class:"easyimage-align-right"},label:t.lang.common.alignRight}},t.config.easyimage_styles)),function(e){var a=new RegExp("<img[^>]*\\ssrc=[\\'\\\"]?data:image/("+i.join("|")+");base64,","i");e.on("paste",(function(t){if(!e.isReadOnly&&a.test(t.data.dataValue)){t=t.data;var i,n,s,l,o=document.implementation.createHTMLDocument(""),r=(o=new CKEDITOR.dom.element(o.body),e.widgets.registered.easyimage),g=0;for(o.data("cke-editable",1),o.appendHtml(t.dataValue),n=o.find("img"),l=0;l<n.count();l++){var m=(i=(s=n.getItem(l)).getAttribute("src"))&&"data:"==i.substring(0,5),d=null===s.data("cke-realelement");m&&d&&!s.isReadOnly(1)&&(1<++g&&((m=e.getSelection().getRanges())[0].enlarge(CKEDITOR.ENLARGE_ELEMENT),m[0].collapse(!1)),i.match(/image\/([a-z]+?);/i),m=r._spawnLoader(e,i,r),(i=r._insertWidget(e,r,i,!1,{uploadId:m.id})).data("cke-upload-id",m.id),i.replace(s))}t.dataValue=o.getHtml()}}))}(t),function(a,t){function i(e){return function(a,t){var i=a.widgets.focused,n=CKEDITOR.TRISTATE_DISABLED;i&&"easyimage"===i.name&&(n=e&&e.call(this,i,a,t)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF),this.setState(n)}}function n(e,a,t,n){return t.type="widget",t.widget="easyimage",t.group=t.group||"easyimage",t.element="figure",a=new CKEDITOR.style(t),e.filter.allow(a),(a=new CKEDITOR.styleCommand(a)).contextSensitive=!0,a.refresh=i((function(e,a,t){return this.style.checkActive(t,a)})),e.addCommand(n,a),(a=e.getCommand(n)).enable=function(){},a.refresh(e,e.elementPath()),a}a.addCommand("easyimageAlt",new CKEDITOR.dialogCommand("easyimageAlt",{startDisabled:!0,contextSensitive:!0,refresh:i()})),function(t){function i(e,a){var t=e.match(/^easyimage(.+)$/);if(t){var i=(t[1][0]||"").toLowerCase()+t[1].substr(1);if(t[1]in a)return t[1];if(i in a)return i}return null}for(var s in a.on("afterCommandExec",(function(e){i(e.data.name,t)&&(a.forceNextSelectionCheck(),a.selectionChange(!0))})),a.on("beforeCommandExec",(function(e){i(e.data.name,t)&&e.data.command.style.checkActive(e.editor.elementPath(),a)&&(e.cancel(),a.focus())})),t)n(a,s,t[s],"easyimage"+e(s))}(t)}(t,n),t.ui.addButton("EasyImageAlt",{label:t.lang.easyimage.commands.altText,command:"easyimageAlt",toolbar:"easyimage,3"}),n)t.ui.addButton("EasyImage"+e(s),{label:n[s].label,command:"easyimage"+e(s),toolbar:"easyimage,99",icon:n[s].icon,iconHiDpi:n[s].iconHiDpi});!function(e){var a=e.config.easyimage_toolbar;e.plugins.contextmenu&&(a.split&&(a=a.split(",")),e.addMenuGroup("easyimage"),CKEDITOR.tools.array.forEach(a,(function(a){a=e.ui.items[a],e.addMenuItem(a.name,{label:a.label,command:a.command,group:"easyimage"})})))}(t),n=t.config.easyimage_toolbar,t._.easyImageToolbarContext=t.balloonToolbars.create({buttons:n.join?n.join(","):n,widgets:["easyimage"]}),function(e){e.ui.addButton("EasyImageUpload",{label:e.lang.easyimage.commands.upload,command:"easyimageUpload",toolbar:"insert,1"}),e.addCommand("easyimageUpload",{exec:function(){var a=CKEDITOR.dom.element.createFromHtml('<input type="file" accept="image/*" multiple="multiple">');a.once("change",(function(a){(a=a.data.getTarget()).$.files.length&&e.fire("paste",{method:"paste",dataValue:"",dataTransfer:new CKEDITOR.plugins.clipboard.dataTransfer({files:a.$.files,types:["Files"]})})})),a.$.click()}})}(t)}}}),CKEDITOR.config.easyimage_class="easyimage",CKEDITOR.config.easyimage_styles={},CKEDITOR.config.easyimage_defaultStyle="full",CKEDITOR.config.easyimage_toolbar=["EasyImageFull","EasyImageSide","EasyImageAlt"]}();
1
+ !function(){function e(e){return NEW_CKEDITOR.tools.capitalize(e,!0)}function a(e){var a=e.sender.editor,t=a.config.easyimage_toolbar;t.split&&(t=t.split(",")),NEW_CKEDITOR.tools.array.forEach(t,(function(t){t=a.ui.items[t],e.data[t.name]=a.getCommand(t.command).state}))}var t=!1,i=["jpeg","png","gif","bmp"];NEW_CKEDITOR.plugins.easyimage={_parseSrcSet:function(e){var a,t=[];for(a in e)"default"!==a&&t.push(e[a]+" "+a+"w");return t.join(", ")}},NEW_CKEDITOR.plugins.add("easyimage",{requires:"imagebase,balloontoolbar,button,dialog,cloudservices",lang:"ar,az,bg,cs,da,de,de-ch,el,en,en-au,et,fa,fr,gl,hr,hu,it,ku,lv,nb,nl,no,pl,pt,pt-br,ro,ru,sk,sq,sr,sr-latn,sv,tr,tt,uk,zh,zh-cn",icons:"easyimagefull,easyimageside,easyimagealt,easyimagealignleft,easyimagealigncenter,easyimagealignright,easyimageupload",hidpi:!0,onLoad:function(){NEW_CKEDITOR.dialog.add("easyimageAlt",this.path+"dialogs/easyimagealt.js")},isSupportedEnvironment:function(){return!NEW_CKEDITOR.env.ie||11<=NEW_CKEDITOR.env.version},init:function(e){this.isSupportedEnvironment()&&(t||(NEW_CKEDITOR.document.appendStyleSheet(this.path+"styles/easyimage.css"),t=!0),e.addContentsCss&&e.addContentsCss(this.path+"styles/easyimage.css"))},afterInit:function(t){if(this.isSupportedEnvironment()){var n;for(var s in function(t,n){var s=(l=t.config).easyimage_class,l={name:"easyimage",allowedContent:{figure:{classes:l.easyimage_sideClass},img:{attributes:"!src,srcset,alt,width,sizes"}},requiredContent:"figure; img[!src]",styleableElements:"figure",supportedTypes:new RegExp("image/("+i.join("|")+")","i"),loaderType:NEW_CKEDITOR.plugins.cloudservices.cloudServicesLoader,progressReporterType:NEW_CKEDITOR.plugins.imagebase.progressBar,upcasts:{figure:function(e){if((!s||e.hasClass(s))&&1===e.find("img",!0).length)return e}},init:function(){function e(a,t){var i=a.$;if(i.complete&&i.naturalWidth)return t(i.naturalWidth);a.once("load",(function(){if(!i.naturalWidth)return i.src=i.src,e(a,t);t(i.naturalWidth)}))}var i=this.parts.image,n=i&&i.$.complete&&!i.$.naturalWidth;(i&&!i.$.complete||n)&&(n&&(i.$.src=i.$.src),e(i,(function(){t._.easyImageToolbarContext.toolbar.reposition()}))),void 0!==(i=this.element.data("edi-upload-id"))&&(this.setData("uploadId",i),this.element.data("edi-upload-id",!1)),this.on("contextMenu",a),t.config.easyimage_class&&this.addClass(t.config.easyimage_class),this.on("uploadStarted",(function(){var a=this;e(a.parts.image,(function(e){a.parts.image.hasAttribute("width")||(a.editor.fire("lockSnapshot"),a.parts.image.setAttribute("width",e),a.editor.fire("unlockSnapshot"))}))})),this.on("uploadDone",(function(e){e=e.data.loader.responseData.response;var a=NEW_CKEDITOR.plugins.easyimage._parseSrcSet(e);this.parts.image.setAttributes({"data-edi-saved-src":e.default,src:e.default,srcset:a,sizes:"100vw"}),this.editor.fire("change")})),this.on("uploadFailed",(function(){alert(this.editor.lang.easyimage.uploadFailed)})),this._loadDefaultStyle()},_loadDefaultStyle:function(){var a,i=!1,s=t.config.easyimage_defaultStyle;for(a in n){var l=t.getCommand("easyimage"+e(a));!i&&l&&l.style&&-1!==NEW_CKEDITOR.tools.array.indexOf(l.style.group,"easyimage")&&this.checkStyleActive(l.style)&&(i=!0)}!i&&s&&t.getCommand("easyimage"+e(s))&&this.applyStyle(t.getCommand("easyimage"+e(s)).style)}};s&&(l.requiredContent+="(!"+s+")",l.allowedContent.figure.classes="!"+s+","+l.allowedContent.figure.classes),t.plugins.link&&(l=NEW_CKEDITOR.plugins.imagebase.addFeature(t,"link",l)),l=NEW_CKEDITOR.plugins.imagebase.addFeature(t,"upload",l),l=NEW_CKEDITOR.plugins.imagebase.addFeature(t,"caption",l),NEW_CKEDITOR.plugins.imagebase.addImageWidget(t,"easyimage",l)}(t,n=NEW_CKEDITOR.tools.object.merge({full:{attributes:{class:"easyimage-full"},label:t.lang.easyimage.commands.fullImage},side:{attributes:{class:"easyimage-side"},label:t.lang.easyimage.commands.sideImage},alignLeft:{attributes:{class:"easyimage-align-left"},label:t.lang.common.alignLeft},alignCenter:{attributes:{class:"easyimage-align-center"},label:t.lang.common.alignCenter},alignRight:{attributes:{class:"easyimage-align-right"},label:t.lang.common.alignRight}},t.config.easyimage_styles)),function(e){var a=new RegExp("<img[^>]*\\ssrc=[\\'\\\"]?data:image/("+i.join("|")+");base64,","i");e.on("paste",(function(t){if(!e.isReadOnly&&a.test(t.data.dataValue)){t=t.data;var i,n,s,l,o=document.implementation.createHTMLDocument(""),r=(o=new NEW_CKEDITOR.dom.element(o.body),e.widgets.registered.easyimage),g=0;for(o.data("edi-editable",1),o.appendHtml(t.dataValue),n=o.find("img"),l=0;l<n.count();l++){var d=(i=(s=n.getItem(l)).getAttribute("src"))&&"data:"==i.substring(0,5),m=null===s.data("edi-realelement");d&&m&&!s.isReadOnly(1)&&(1<++g&&((d=e.getSelection().getRanges())[0].enlarge(NEW_CKEDITOR.ENLARGE_ELEMENT),d[0].collapse(!1)),i.match(/image\/([a-z]+?);/i),d=r._spawnLoader(e,i,r),(i=r._insertWidget(e,r,i,!1,{uploadId:d.id})).data("edi-upload-id",d.id),i.replace(s))}t.dataValue=o.getHtml()}}))}(t),function(a,t){function i(e){return function(a,t){var i=a.widgets.focused,n=NEW_CKEDITOR.TRISTATE_DISABLED;i&&"easyimage"===i.name&&(n=e&&e.call(this,i,a,t)?NEW_CKEDITOR.TRISTATE_ON:NEW_CKEDITOR.TRISTATE_OFF),this.setState(n)}}function n(e,a,t,n){return t.type="widget",t.widget="easyimage",t.group=t.group||"easyimage",t.element="figure",a=new NEW_CKEDITOR.style(t),e.filter.allow(a),(a=new NEW_CKEDITOR.styleCommand(a)).contextSensitive=!0,a.refresh=i((function(e,a,t){return this.style.checkActive(t,a)})),e.addCommand(n,a),(a=e.getCommand(n)).enable=function(){},a.refresh(e,e.elementPath()),a}a.addCommand("easyimageAlt",new NEW_CKEDITOR.dialogCommand("easyimageAlt",{startDisabled:!0,contextSensitive:!0,refresh:i()})),function(t){function i(e,a){var t=e.match(/^easyimage(.+)$/);if(t){var i=(t[1][0]||"").toLowerCase()+t[1].substr(1);if(t[1]in a)return t[1];if(i in a)return i}return null}for(var s in a.on("afterCommandExec",(function(e){i(e.data.name,t)&&(a.forceNextSelectionCheck(),a.selectionChange(!0))})),a.on("beforeCommandExec",(function(e){i(e.data.name,t)&&e.data.command.style.checkActive(e.editor.elementPath(),a)&&(e.cancel(),a.focus())})),t)n(a,s,t[s],"easyimage"+e(s))}(t)}(t,n),t.ui.addButton("EasyImageAlt",{label:t.lang.easyimage.commands.altText,command:"easyimageAlt",toolbar:"easyimage,3"}),n)t.ui.addButton("EasyImage"+e(s),{label:n[s].label,command:"easyimage"+e(s),toolbar:"easyimage,99",icon:n[s].icon,iconHiDpi:n[s].iconHiDpi});!function(e){var a=e.config.easyimage_toolbar;e.plugins.contextmenu&&(a.split&&(a=a.split(",")),e.addMenuGroup("easyimage"),NEW_CKEDITOR.tools.array.forEach(a,(function(a){a=e.ui.items[a],e.addMenuItem(a.name,{label:a.label,command:a.command,group:"easyimage"})})))}(t),n=t.config.easyimage_toolbar,t._.easyImageToolbarContext=t.balloonToolbars.create({buttons:n.join?n.join(","):n,widgets:["easyimage"]}),function(e){e.ui.addButton("EasyImageUpload",{label:e.lang.easyimage.commands.upload,command:"easyimageUpload",toolbar:"insert,1"}),e.addCommand("easyimageUpload",{exec:function(){var a=NEW_CKEDITOR.dom.element.createFromHtml('<input type="file" accept="image/*" multiple="multiple">');a.once("change",(function(a){(a=a.data.getTarget()).$.files.length&&e.fire("paste",{method:"paste",dataValue:"",dataTransfer:new NEW_CKEDITOR.plugins.clipboard.dataTransfer({files:a.$.files,types:["Files"]})})})),a.$.click()}})}(t)}}}),NEW_CKEDITOR.config.easyimage_class="easyimage",NEW_CKEDITOR.config.easyimage_styles={},NEW_CKEDITOR.config.easyimage_defaultStyle="full",NEW_CKEDITOR.config.easyimage_toolbar=["EasyImageFull","EasyImageSide","EasyImageAlt"]}();
@@ -3,7 +3,7 @@ Copyright (c) 2003-2023, 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
 
6
- .easyimage, .cke_widget_wrapper_easyimage {
6
+ .easyimage, .edi_widget_wrapper_easyimage {
7
7
  background: transparent;
8
8
  border: none;
9
9
  outline: 0px;
@@ -22,19 +22,19 @@ The outline is not a part of the element's dimensions. A border needs to be used
22
22
  padding: 1px;
23
23
  }
24
24
 
25
- .cke_widget_wrapper_easyimage figure {
25
+ .edi_widget_wrapper_easyimage figure {
26
26
  margin: 0;
27
27
  }
28
28
 
29
- .easyimage img, .cke_widget_uploadeasyimage img {
29
+ .easyimage img, .edi_widget_uploadeasyimage img {
30
30
  display: block;
31
31
  height: auto;
32
32
  margin: 0 auto;
33
33
  max-width: 100%;
34
34
  }
35
35
 
36
- .cke_widget_wrapper_easyimage-side, :not(.cke_widget_wrapper_easyimage):not(.cke_widget_wrapper_easyimage-side) > .easyimage-side,
37
- .cke_widget_wrapper_easyimage-align-right, :not(.cke_widget_wrapper_easyimage):not(.cke_widget_wrapper_easyimage-align-right) > .easyimage-align-right {
36
+ .edi_widget_wrapper_easyimage-side, :not(.edi_widget_wrapper_easyimage):not(.edi_widget_wrapper_easyimage-side) > .easyimage-side,
37
+ .edi_widget_wrapper_easyimage-align-right, :not(.edi_widget_wrapper_easyimage):not(.edi_widget_wrapper_easyimage-align-right) > .easyimage-align-right {
38
38
  /*
39
39
  The :not() selector will be used for Easy Image content ouside of the editor, for example: when the editor was destroyed.
40
40
  See https://github.com/ckeditor/ckeditor4/pull/1150#discussion_r150415261 for more details.
@@ -53,23 +53,23 @@ The outline is not a part of the element's dimensions. A border needs to be used
53
53
  Overwrite 'max-width: 50%' with 'max-width: 50vw' to prevent the native Chrome bug:
54
54
  https://bugs.chromium.org/p/chromium/issues/detail?id=803045 (#1550).
55
55
  */
56
- body.cke_editable > .cke_widget_wrapper_easyimage-side {
56
+ body.edi_editable > .edi_widget_wrapper_easyimage-side {
57
57
  max-width: 50vw;
58
58
  }
59
59
 
60
- .cke_widget_wrapper_easyimage-align-left, :not(.cke_widget_wrapper_easyimage):not(.cke_widget_wrapper_easyimage-align-left) > .easyimage-align-left {
60
+ .edi_widget_wrapper_easyimage-align-left, :not(.edi_widget_wrapper_easyimage):not(.edi_widget_wrapper_easyimage-align-left) > .easyimage-align-left {
61
61
  float: left;
62
62
  max-width: 50%;
63
63
  min-width: 10em;
64
64
  margin-right: 1.5em;
65
65
  }
66
66
 
67
- .cke_widget_wrapper_easyimage-align-center, :not(.cke_widget_wrapper_easyimage):not(.cke_widget_wrapper_easyimage-align-center) > .easyimage-align-center {
67
+ .edi_widget_wrapper_easyimage-align-center, :not(.edi_widget_wrapper_easyimage):not(.edi_widget_wrapper_easyimage-align-center) > .easyimage-align-center {
68
68
  margin: 0 auto;
69
69
  max-width: 90%;
70
70
  }
71
71
 
72
- .easyimage .cke_widget_editable {
72
+ .easyimage .edi_widget_editable {
73
73
  background-color: #f7f7f7;
74
74
  /* Add border so when caption is focused, blue border does not cause flickering. */
75
75
  border: 1px solid #f7f7f7;
@@ -77,11 +77,11 @@ body.cke_editable > .cke_widget_wrapper_easyimage-side {
77
77
  padding: .8em;
78
78
  }
79
79
 
80
- .cke_widget_wrapper:hover .easyimage .cke_widget_editable {
80
+ .edi_widget_wrapper:hover .easyimage .edi_widget_editable {
81
81
  outline: 3px solid transparent;
82
82
  }
83
83
 
84
- .cke_widget_wrapper .easyimage .cke_widget_editable.cke_widget_editable_focused {
84
+ .edi_widget_wrapper .easyimage .edi_widget_editable.edi_widget_editable_focused {
85
85
  background-color: #fff;
86
86
  border-color: #48a3f5;
87
87
  outline: none;
@@ -89,18 +89,18 @@ body.cke_editable > .cke_widget_wrapper_easyimage-side {
89
89
 
90
90
  /* Loaders */
91
91
 
92
- .cke_widget_element.easyimage {
92
+ .edi_widget_element.easyimage {
93
93
  position: relative;
94
94
  }
95
95
 
96
- .cke_loader {
96
+ .edi_loader {
97
97
  position: absolute;
98
98
  top: 0px;
99
99
  left: 0px;
100
100
  right: 0px;
101
101
  }
102
102
 
103
- .cke_loader .cke_bar {
103
+ .edi_loader .edi_bar {
104
104
  height: 10px;
105
105
  background: #6a9ed1;
106
106
  width: 0;
@@ -109,10 +109,10 @@ body.cke_editable > .cke_widget_wrapper_easyimage-side {
109
109
  /* Fancy opacity effect discussed in #1533. Transition is assigned in this awkward way so that it **does not** happen for
110
110
  the initial render, otherwise it would start transitioning from opacity 1 to 0.x upon the first render. */
111
111
 
112
- .cke_widget_wrapper_easyimage:not(.cke_widget_wrapper_uploading) figure img {
112
+ .edi_widget_wrapper_easyimage:not(.edi_widget_wrapper_uploading) figure img {
113
113
  transition: opacity 0.3s ease-in-out;
114
114
  }
115
115
 
116
- .cke_widget_wrapper_easyimage.cke_widget_wrapper_uploading figure img {
116
+ .edi_widget_wrapper_easyimage.edi_widget_wrapper_uploading figure img {
117
117
  opacity: 0.75;
118
118
  }
@@ -1 +1 @@
1
- !function(){function e(e,t,n){var i=o;n&&(i=CKEDITOR.tools.debounce(o,n)),e.on(t,i,null,{editor:e})}function o(e){e=(a=e.listenerData.editor).focusManager.hasFocus;var o=a.editable(),n=a.config.editorplaceholder,i=/<body.*?>((?:.|[\n\r])*?)<\/body>/i,r=a.config.fullPage,a=a.getData();if(r&&(i=a.match(i))&&1<i.length&&(a=i[1]),0!==a.length||e)return o.removeAttribute(t);o.setAttribute(t,n)}CKEDITOR.plugins.add("editorplaceholder",{isSupportedEnvironment:function(){return!CKEDITOR.env.ie||9<=CKEDITOR.env.version},onLoad:function(){CKEDITOR.addCss(CKEDITOR.plugins.editorplaceholder.styles)},init:function(o){this.isSupportedEnvironment()&&o.config.editorplaceholder&&(e(o,"contentDom"),e(o,"focus"),e(o,"blur"),e(o,"change",o.config.editorplaceholder_delay))}});var t="data-cke-editorplaceholder";CKEDITOR.plugins.editorplaceholder={styles:"["+t+"]::before {position: absolute;opacity: .8;color: #aaa;content: attr( "+t+" );}.cke_wysiwyg_div["+t+"]::before {margin-top: 1em;}"},CKEDITOR.config.editorplaceholder_delay=150,CKEDITOR.config.editorplaceholder=""}();
1
+ !function(){function e(e,t,i){var n=o;i&&(n=NEW_CKEDITOR.tools.debounce(o,i)),e.on(t,n,null,{editor:e})}function o(e){e=(a=e.listenerData.editor).focusManager.hasFocus;var o=a.editable(),i=a.config.editorplaceholder,n=/<body.*?>((?:.|[\n\r])*?)<\/body>/i,r=a.config.fullPage,a=a.getData();if(r&&(n=a.match(n))&&1<n.length&&(a=n[1]),0!==a.length||e)return o.removeAttribute(t);o.setAttribute(t,i)}NEW_CKEDITOR.plugins.add("editorplaceholder",{isSupportedEnvironment:function(){return!NEW_CKEDITOR.env.ie||9<=NEW_CKEDITOR.env.version},onLoad:function(){NEW_CKEDITOR.addCss(NEW_CKEDITOR.plugins.editorplaceholder.styles)},init:function(o){this.isSupportedEnvironment()&&o.config.editorplaceholder&&(e(o,"contentDom"),e(o,"focus"),e(o,"blur"),e(o,"change",o.config.editorplaceholder_delay))}});var t="data-edi-editorplaceholder";NEW_CKEDITOR.plugins.editorplaceholder={styles:"["+t+"]::before {position: absolute;opacity: .8;color: #aaa;content: attr( "+t+" );}.edi_wysiwyg_div["+t+"]::before {margin-top: 1em;}"},NEW_CKEDITOR.config.editorplaceholder_delay=150,NEW_CKEDITOR.config.editorplaceholder=""}();
@@ -1 +1 @@
1
- CKEDITOR.plugins.add("embed",{icons:"embed",hidpi:!0,requires:"embedbase",init:function(e){var t=CKEDITOR.plugins.embedBase.createWidgetBaseDefinition(e),i=t.init;e.config.embed_provider||CKEDITOR.error("embed-no-provider-url"),CKEDITOR.tools.extend(t,{dialog:"embedBase",button:e.lang.embedbase.button,allowedContent:"div[!data-oembed-url]",requiredContent:"div[data-oembed-url]",providerUrl:new CKEDITOR.template(e.config.embed_provider||""),styleToAllowedContentRules:function(e){return{div:{propertiesOnly:!0,classes:e.getClassesArray(),attributes:"!data-oembed-url"}}},init:function(){i.call(this),e.config.embed_keepOriginalContent||this.on("ready",(function(){this.loadContent(this.data.url,{callback:function(){e.fire("updateSnapshot")}})}))},upcast:function(t,i){var n;if("div"==t.name&&t.attributes["data-oembed-url"]){if(i.url=t.attributes["data-oembed-url"],!e.config.embed_keepOriginalContent)for(;n=t.getFirst();)n.remove();return!0}},downcast:function(e){e.attributes["data-oembed-url"]=this.data.url}},!0),e.widgets.add("embed",t),e.config.embed_keepOriginalContent&&e.filter.addElementCallback((function(e){if("data-oembed-url"in e.attributes)return CKEDITOR.FILTER_SKIP_TREE}))}}),CKEDITOR.config.embed_keepOriginalContent=!1;
1
+ NEW_CKEDITOR.plugins.add("embed",{icons:"embed",hidpi:!0,requires:"embedbase",init:function(e){var t=NEW_CKEDITOR.plugins.embedBase.createWidgetBaseDefinition(e),i=t.init;e.config.embed_provider||NEW_CKEDITOR.error("embed-no-provider-url"),NEW_CKEDITOR.tools.extend(t,{dialog:"embedBase",button:e.lang.embedbase.button,allowedContent:"div[!data-oembed-url]",requiredContent:"div[data-oembed-url]",providerUrl:new NEW_CKEDITOR.template(e.config.embed_provider||""),styleToAllowedContentRules:function(e){return{div:{propertiesOnly:!0,classes:e.getClassesArray(),attributes:"!data-oembed-url"}}},init:function(){i.call(this),e.config.embed_keepOriginalContent||this.on("ready",(function(){this.loadContent(this.data.url,{callback:function(){e.fire("updateSnapshot")}})}))},upcast:function(t,i){var n;if("div"==t.name&&t.attributes["data-oembed-url"]){if(i.url=t.attributes["data-oembed-url"],!e.config.embed_keepOriginalContent)for(;n=t.getFirst();)n.remove();return!0}},downcast:function(e){e.attributes["data-oembed-url"]=this.data.url}},!0),e.widgets.add("embed",t),e.config.embed_keepOriginalContent&&e.filter.addElementCallback((function(e){if("data-oembed-url"in e.attributes)return NEW_CKEDITOR.FILTER_SKIP_TREE}))}}),NEW_CKEDITOR.config.embed_keepOriginalContent=!1;
@@ -1 +1 @@
1
- CKEDITOR.dialog.add("embedBase",(function(e){var t=e.lang.embedbase;return{title:t.title,minWidth:350,minHeight:50,onLoad:function(){function t(){n.setState(CKEDITOR.DIALOG_STATE_IDLE),i=null}var n=this,i=null;this.on("ok",(function(a){a.data.hide=!1,a.stop(),n.setState(CKEDITOR.DIALOG_STATE_BUSY);var l=n.getValueOf("info","url"),o=n.getModel(e);i=o.loadContent(l,{noNotifications:!0,callback:function(){o.isReady()||e.widgets.finalizeCreation(o.wrapper.getParent(!0)),e.fire("saveSnapshot"),n.hide(),t()},errorCallback:function(e){n.getContentElement("info","url").select(),alert(o.getErrorMessage(e,l,"Given")),t()}})}),null,null,15),this.on("cancel",(function(e){e.data.hide&&i&&(i.cancel(),t())}))},contents:[{id:"info",elements:[{type:"text",id:"url",label:e.lang.common.url,required:!0,setup:function(e){this.setValue(e.data.url)},validate:function(){return!!this.getDialog().getModel(e).isUrlValid(this.getValue())||t.unsupportedUrlGiven}}]}]}}));
1
+ NEW_CKEDITOR.dialog.add("embedBase",(function(e){var t=e.lang.embedbase;return{title:t.title,minWidth:350,minHeight:50,onLoad:function(){function t(){n.setState(NEW_CKEDITOR.DIALOG_STATE_IDLE),i=null}var n=this,i=null;this.on("ok",(function(a){a.data.hide=!1,a.stop(),n.setState(NEW_CKEDITOR.DIALOG_STATE_BUSY);var l=n.getValueOf("info","url"),o=n.getModel(e);i=o.loadContent(l,{noNotifications:!0,callback:function(){o.isReady()||e.widgets.finalizeCreation(o.wrapper.getParent(!0)),e.fire("saveSnapshot"),n.hide(),t()},errorCallback:function(e){n.getContentElement("info","url").select(),alert(o.getErrorMessage(e,l,"Given")),t()}})}),null,null,15),this.on("cancel",(function(e){e.data.hide&&i&&(i.cancel(),t())}))},contents:[{id:"info",elements:[{type:"text",id:"url",label:e.lang.common.url,required:!0,setup:function(e){this.setValue(e.data.url)},validate:function(){return!!this.getDialog().getModel(e).isUrlValid(this.getValue())||t.unsupportedUrlGiven}}]}]}}));
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("embedbase","de-ch",{pathName:"Medienobjekt",title:"Media Embed (Medieninhalte)",button:"Medieninhalte einfügen",unsupportedUrlGiven:"Die angegebene URL wird nicht unterstützt.",unsupportedUrl:"Die URL {url} wird von Media Embed nicht unterstützt.",fetchingFailedGiven:"Abrufen des Inhalts für die angegebene URL ist fehlgeschlagen.",fetchingFailed:"Abrufen des Inhalts für {url} ist fehlgeschlagen.",fetchingOne:"Empfangen der Medieninhalte...",fetchingMany:"Medieninhalte werden abgerufen, {current} von {max} empfangen..."});
1
+ NEW_CKEDITOR.plugins.setLang("embedbase","de-ch",{pathName:"Medienobjekt",title:"Media Embed (Medieninhalte)",button:"Medieninhalte einfügen",unsupportedUrlGiven:"Die angegebene URL wird nicht unterstützt.",unsupportedUrl:"Die URL {url} wird von Media Embed nicht unterstützt.",fetchingFailedGiven:"Abrufen des Inhalts für die angegebene URL ist fehlgeschlagen.",fetchingFailed:"Abrufen des Inhalts für {url} ist fehlgeschlagen.",fetchingOne:"Empfangen der Medieninhalte...",fetchingMany:"Medieninhalte werden abgerufen, {current} von {max} empfangen..."});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("embedbase","de",{pathName:"Medienobjekt",title:"Media Embed (Medieninhalte)",button:"Medieninhalte einfügen",unsupportedUrlGiven:"Die angegebene URL wird nicht unterstützt.",unsupportedUrl:"Die URL {url} wird von Media Embed nicht unterstützt.",fetchingFailedGiven:"Abrufen des Inhalts für die angegebene URL ist fehlgeschlagen.",fetchingFailed:"Abrufen des Inhalts für {url} ist fehlgeschlagen.",fetchingOne:"Empfangen der Medieninhalte...",fetchingMany:"Medieninhalte werden abgerufen, {current} von {max} empfangen..."});
1
+ NEW_CKEDITOR.plugins.setLang("embedbase","de",{pathName:"Medienobjekt",title:"Media Embed (Medieninhalte)",button:"Medieninhalte einfügen",unsupportedUrlGiven:"Die angegebene URL wird nicht unterstützt.",unsupportedUrl:"Die URL {url} wird von Media Embed nicht unterstützt.",fetchingFailedGiven:"Abrufen des Inhalts für die angegebene URL ist fehlgeschlagen.",fetchingFailed:"Abrufen des Inhalts für {url} ist fehlgeschlagen.",fetchingOne:"Empfangen der Medieninhalte...",fetchingMany:"Medieninhalte werden abgerufen, {current} von {max} empfangen..."});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("embedbase","en",{pathName:"media object",title:"Media Embed",button:"Insert Media Embed",unsupportedUrlGiven:"The specified URL is not supported.",unsupportedUrl:"The URL {url} is not supported by Media Embed.",fetchingFailedGiven:"Failed to fetch content for the given URL.",fetchingFailed:"Failed to fetch content for {url}.",fetchingOne:"Fetching oEmbed response...",fetchingMany:"Fetching oEmbed responses, {current} of {max} done..."});
1
+ NEW_CKEDITOR.plugins.setLang("embedbase","en",{pathName:"media object",title:"Media Embed",button:"Insert Media Embed",unsupportedUrlGiven:"The specified URL is not supported.",unsupportedUrl:"The URL {url} is not supported by Media Embed.",fetchingFailedGiven:"Failed to fetch content for the given URL.",fetchingFailed:"Failed to fetch content for {url}.",fetchingOne:"Fetching oEmbed response...",fetchingMany:"Fetching oEmbed responses, {current} of {max} done..."});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("embedbase","fr",{pathName:"objet média",title:"Incorporation de média",button:"Incorporer un média",unsupportedUrlGiven:"L'URL spécifiée n'est pas supportée.",unsupportedUrl:"L'URL {url} n'est pas supportée par l'incorporation de média.",fetchingFailedGiven:"Échec de la récupération du contenu de l'URL donnée.",fetchingFailed:"Échec de la récupération du contenu pour {url}.",fetchingOne:"Récupération de la réponse oEmbed...",fetchingMany:"Récupération des réponses oEmbed, {current} sur {max} effectué..."});
1
+ NEW_CKEDITOR.plugins.setLang("embedbase","fr",{pathName:"objet média",title:"Incorporation de média",button:"Incorporer un média",unsupportedUrlGiven:"L'URL spécifiée n'est pas supportée.",unsupportedUrl:"L'URL {url} n'est pas supportée par l'incorporation de média.",fetchingFailedGiven:"Échec de la récupération du contenu de l'URL donnée.",fetchingFailed:"Échec de la récupération du contenu pour {url}.",fetchingOne:"Récupération de la réponse oEmbed...",fetchingMany:"Récupération des réponses oEmbed, {current} sur {max} effectué..."});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("embedbase","it",{pathName:"oggetto multimediale",title:"Media incorporato",button:"Inserisci media incorporato",unsupportedUrlGiven:"L'URL specificato non è supportato.",unsupportedUrl:"L'URL {url} non è supportato da Media incorporato.",fetchingFailedGiven:"Non è stato possibile recuperareil contenuto per l'URL specificato.",fetchingFailed:"Non è stato possibile recuperare il contenuto per {url}.",fetchingOne:"Recupero della risposta oEmbed...",fetchingMany:"Recupero delle risposta oEmbed, {current} di {max} completati..."});
1
+ NEW_CKEDITOR.plugins.setLang("embedbase","it",{pathName:"oggetto multimediale",title:"Media incorporato",button:"Inserisci media incorporato",unsupportedUrlGiven:"L'URL specificato non è supportato.",unsupportedUrl:"L'URL {url} non è supportato da Media incorporato.",fetchingFailedGiven:"Non è stato possibile recuperareil contenuto per l'URL specificato.",fetchingFailed:"Non è stato possibile recuperare il contenuto per {url}.",fetchingOne:"Recupero della risposta oEmbed...",fetchingMany:"Recupero delle risposta oEmbed, {current} di {max} completati..."});
@@ -1 +1 @@
1
- !function(){var e={_attachScript:function(e,t){var n=new CKEDITOR.dom.element("script");return n.setAttribute("src",e),n.on("error",t),CKEDITOR.document.getBody().append(n),n},sendRequest:function(e,t,n,a){function s(){o&&(o.remove(),delete CKEDITOR._.jsonpCallbacks[r],o=null)}var i={};t=t||{};var o,r=CKEDITOR.tools.getNextNumber();return t.callback="CKEDITOR._.jsonpCallbacks["+r+"]",CKEDITOR._.jsonpCallbacks[r]=function(e){setTimeout((function(){s(),n(e)}))},o=this._attachScript(e.output(t),(function(){s(),a&&a()})),i.cancel=s,i}};CKEDITOR.plugins.add("embedbase",{lang:"ar,az,bg,ca,cs,da,de,de-ch,el,en,en-au,eo,es,es-mx,et,eu,fa,fr,gl,hr,hu,id,it,ja,ko,ku,lv,nb,nl,oc,pl,pt,pt-br,ro,ru,sk,sq,sr,sr-latn,sv,tr,ug,uk,zh,zh-cn",requires:"dialog,widget,notificationaggregator",onLoad:function(){CKEDITOR._.jsonpCallbacks={}},init:function(){CKEDITOR.dialog.add("embedBase",this.path+"dialogs/embedbase.js")}}),CKEDITOR.plugins.embedBase={createWidgetBaseDefinition:function(t){var n,a=t.lang.embedbase;return{mask:!0,template:"<div></div>",pathName:a.pathName,_cache:{},urlRegExp:/^((https?:)?\/\/|www\.)/i,init:function(){this.on("sendRequest",(function(e){this._sendRequest(e.data)}),this,null,999),this.on("handleResponse",(function(e){if(!e.data.html){var t=this._responseToHtml(e.data.url,e.data.response);null!==t?e.data.html=t:(e.data.errorMessage="unsupportedUrl",e.cancel())}}),this,null,999)},loadContent:function(e,t){function n(n){i.response=n,a.editor.widgets.instances[a.id]?a._handleResponse(i)&&(a._cacheResponse(e,n),t.callback&&t.callback()):(CKEDITOR.warn("embedbase-widget-invalid"),i.task&&i.task.done())}t=t||{};var a=this,s=this._getCachedResponse(e),i={noNotifications:t.noNotifications,url:e,callback:n,errorCallback:function(e){a._handleError(i,e),t.errorCallback&&t.errorCallback(e)}};if(!s)return t.noNotifications||(i.task=this._createTask()),this.fire("sendRequest",i),i;setTimeout((function(){n(s)}))},isUrlValid:function(e){return this.urlRegExp.test(e)&&!1!==this.fire("validateUrl",e)},getErrorMessage:function(e,n,a){return(a=t.lang.embedbase[e+(a||"")])||(a=e),new CKEDITOR.template(a).output({url:n||""})},_sendRequest:function(t){var n=this,a=e.sendRequest(this.providerUrl,{url:encodeURIComponent(t.url)},t.callback,(function(){t.errorCallback("fetchingFailed")}));t.cancel=function(){a.cancel(),n.fire("requestCanceled",t)}},_handleResponse:function(e){var t={url:e.url,html:"",response:e.response};return!1!==this.fire("handleResponse",t)?(e.task&&e.task.done(),this._setContent(e.url,t.html),!0):(e.errorCallback(t.errorMessage),!1)},_handleError:function(e,n){e.task&&(e.task.cancel(),e.noNotifications||t.showNotification(this.getErrorMessage(n,e.url),"warning"))},_responseToHtml:function(e,t){return"photo"==t.type?'<img src="'+CKEDITOR.tools.htmlEncodeAttr(t.url)+'" alt="'+CKEDITOR.tools.htmlEncodeAttr(t.title||"")+'" style="max-width:100%;height:auto" />':"video"==t.type||"rich"==t.type?(t.html=t.html.replace(/<iframe/g,'<iframe tabindex="-1"'),t.html):null},_setContent:function(e,t){this.setData("url",e),this.element.setHtml(t)},_createTask:function(){return n&&!n.isFinished()||(n=new CKEDITOR.plugins.notificationAggregator(t,a.fetchingMany,a.fetchingOne)).on("finished",(function(){n.notification.hide()})),n.createTask()},_cacheResponse:function(e,t){this._cache[e]=t},_getCachedResponse:function(e){return this._cache[e]}}},_jsonp:e}}();
1
+ !function(){var e={_attachScript:function(e,t){var n=new NEW_CKEDITOR.dom.element("script");return n.setAttribute("src",e),n.on("error",t),NEW_CKEDITOR.document.getBody().append(n),n},sendRequest:function(e,t,n,a){function s(){o&&(o.remove(),delete NEW_CKEDITOR._.jsonpCallbacks[r],o=null)}var i={};t=t||{};var o,r=NEW_CKEDITOR.tools.getNextNumber();return t.callback="NEW_CKEDITOR._.jsonpCallbacks["+r+"]",NEW_CKEDITOR._.jsonpCallbacks[r]=function(e){setTimeout((function(){s(),n(e)}))},o=this._attachScript(e.output(t),(function(){s(),a&&a()})),i.cancel=s,i}};NEW_CKEDITOR.plugins.add("embedbase",{lang:"ar,az,bg,ca,cs,da,de,de-ch,el,en,en-au,eo,es,es-mx,et,eu,fa,fr,gl,hr,hu,id,it,ja,ko,ku,lv,nb,nl,oc,pl,pt,pt-br,ro,ru,sk,sq,sr,sr-latn,sv,tr,ug,uk,zh,zh-cn",requires:"dialog,widget,notificationaggregator",onLoad:function(){NEW_CKEDITOR._.jsonpCallbacks={}},init:function(){NEW_CKEDITOR.dialog.add("embedBase",this.path+"dialogs/embedbase.js")}}),NEW_CKEDITOR.plugins.embedBase={createWidgetBaseDefinition:function(t){var n,a=t.lang.embedbase;return{mask:!0,template:"<div></div>",pathName:a.pathName,_cache:{},urlRegExp:/^((https?:)?\/\/|www\.)/i,init:function(){this.on("sendRequest",(function(e){this._sendRequest(e.data)}),this,null,999),this.on("handleResponse",(function(e){if(!e.data.html){var t=this._responseToHtml(e.data.url,e.data.response);null!==t?e.data.html=t:(e.data.errorMessage="unsupportedUrl",e.cancel())}}),this,null,999)},loadContent:function(e,t){function n(n){i.response=n,a.editor.widgets.instances[a.id]?a._handleResponse(i)&&(a._cacheResponse(e,n),t.callback&&t.callback()):(NEW_CKEDITOR.warn("embedbase-widget-invalid"),i.task&&i.task.done())}t=t||{};var a=this,s=this._getCachedResponse(e),i={noNotifications:t.noNotifications,url:e,callback:n,errorCallback:function(e){a._handleError(i,e),t.errorCallback&&t.errorCallback(e)}};if(!s)return t.noNotifications||(i.task=this._createTask()),this.fire("sendRequest",i),i;setTimeout((function(){n(s)}))},isUrlValid:function(e){return this.urlRegExp.test(e)&&!1!==this.fire("validateUrl",e)},getErrorMessage:function(e,n,a){return(a=t.lang.embedbase[e+(a||"")])||(a=e),new NEW_CKEDITOR.template(a).output({url:n||""})},_sendRequest:function(t){var n=this,a=e.sendRequest(this.providerUrl,{url:encodeURIComponent(t.url)},t.callback,(function(){t.errorCallback("fetchingFailed")}));t.cancel=function(){a.cancel(),n.fire("requestCanceled",t)}},_handleResponse:function(e){var t={url:e.url,html:"",response:e.response};return!1!==this.fire("handleResponse",t)?(e.task&&e.task.done(),this._setContent(e.url,t.html),!0):(e.errorCallback(t.errorMessage),!1)},_handleError:function(e,n){e.task&&(e.task.cancel(),e.noNotifications||t.showNotification(this.getErrorMessage(n,e.url),"warning"))},_responseToHtml:function(e,t){return"photo"==t.type?'<img src="'+NEW_CKEDITOR.tools.htmlEncodeAttr(t.url)+'" alt="'+NEW_CKEDITOR.tools.htmlEncodeAttr(t.title||"")+'" style="max-width:100%;height:auto" />':"video"==t.type||"rich"==t.type?(t.html=t.html.replace(/<iframe/g,'<iframe tabindex="-1"'),t.html):null},_setContent:function(e,t){this.setData("url",e),this.element.setHtml(t)},_createTask:function(){return n&&!n.isFinished()||(n=new NEW_CKEDITOR.plugins.notificationAggregator(t,a.fetchingMany,a.fetchingOne)).on("finished",(function(){n.notification.hide()})),n.createTask()},_cacheResponse:function(e,t){this._cache[e]=t},_getCachedResponse:function(e){return this._cache[e]}}},_jsonp:e}}();
@@ -1 +1 @@
1
- CKEDITOR.plugins.add("embedsemantic",{icons:"embedsemantic",hidpi:!0,requires:"embedbase",onLoad:function(){this.registerOembedTag()},init:function(e){var t=CKEDITOR.plugins.embedBase.createWidgetBaseDefinition(e),a=t.init;CKEDITOR.tools.extend(t,{dialog:"embedBase",button:e.lang.embedbase.button,allowedContent:"oembed",requiredContent:"oembed",styleableElements:"oembed",providerUrl:new CKEDITOR.template(e.config.embed_provider||"//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}"),init:function(){var t=this;a.call(this),this.once("ready",(function(){this.data.loadOnReady&&this.loadContent(this.data.url,{callback:function(){t.setData("loadOnReady",!1),e.fire("updateSnapshot")}})}))},upcast:function(e,t){if("oembed"==e.name){var a=e.children[0];if(a&&a.type==CKEDITOR.NODE_TEXT&&a.value)return t.url=a.value,t.loadOnReady=!0,a=new CKEDITOR.htmlParser.element("div"),e.replaceWith(a),a.attributes.class=e.attributes.class,a}},downcast:function(e){var t=new CKEDITOR.htmlParser.element("oembed");return t.add(new CKEDITOR.htmlParser.text(this.data.url)),e.attributes.class&&(t.attributes.class=e.attributes.class),t}},!0),e.widgets.add("embedSemantic",t)},registerOembedTag:function(){var e,t=CKEDITOR.dtd;for(e in t.oembed={"#":1},t)t[e].div&&(t[e].oembed=1)}});
1
+ NEW_CKEDITOR.plugins.add("embedsemantic",{icons:"embedsemantic",hidpi:!0,requires:"embedbase",onLoad:function(){this.registerOembedTag()},init:function(e){var t=NEW_CKEDITOR.plugins.embedBase.createWidgetBaseDefinition(e),a=t.init;NEW_CKEDITOR.tools.extend(t,{dialog:"embedBase",button:e.lang.embedbase.button,allowedContent:"oembed",requiredContent:"oembed",styleableElements:"oembed",providerUrl:new NEW_CKEDITOR.template(e.config.embed_provider||"//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}"),init:function(){var t=this;a.call(this),this.once("ready",(function(){this.data.loadOnReady&&this.loadContent(this.data.url,{callback:function(){t.setData("loadOnReady",!1),e.fire("updateSnapshot")}})}))},upcast:function(e,t){if("oembed"==e.name){var a=e.children[0];if(a&&a.type==NEW_CKEDITOR.NODE_TEXT&&a.value)return t.url=a.value,t.loadOnReady=!0,a=new NEW_CKEDITOR.htmlParser.element("div"),e.replaceWith(a),a.attributes.class=e.attributes.class,a}},downcast:function(e){var t=new NEW_CKEDITOR.htmlParser.element("oembed");return t.add(new NEW_CKEDITOR.htmlParser.text(this.data.url)),e.attributes.class&&(t.attributes.class=e.attributes.class),t}},!0),e.widgets.add("embedSemantic",t)},registerOembedTag:function(){var e,t=NEW_CKEDITOR.dtd;for(e in t.oembed={"#":1},t)t[e].div&&(t[e].oembed=1)}});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("emoji","de-ch",{searchPlaceholder:"Emoji suchen…",searchLabel:"Das Eingabefeld ermöglicht die Suche nach Emojis.",navigationLabel:"Navigieren Sie zwischen den Emoji-Kategorien.",title:"Emoji-Liste",groups:{people:"Personen",nature:"Natur und Tiere",food:"Essen und Getränke",travel:"Reisen und Orte",activities:"Aktivitäten",objects:"Objekte",symbols:"Symbole",flags:"Flaggen"}});
1
+ NEW_CKEDITOR.plugins.setLang("emoji","de-ch",{searchPlaceholder:"Emoji suchen…",searchLabel:"Das Eingabefeld ermöglicht die Suche nach Emojis.",navigationLabel:"Navigieren Sie zwischen den Emoji-Kategorien.",title:"Emoji-Liste",groups:{people:"Personen",nature:"Natur und Tiere",food:"Essen und Getränke",travel:"Reisen und Orte",activities:"Aktivitäten",objects:"Objekte",symbols:"Symbole",flags:"Flaggen"}});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("emoji","de",{searchPlaceholder:"Emoji suchen…",searchLabel:"Input field responsible for searching and filtering emoji inside panel.",navigationLabel:"Groups navigation for emoji sections.",title:"Emoji-Liste",groups:{people:"Personen",nature:"Natur und Tiere",food:"Essen und Getränke",travel:"Reisen und Orte",activities:"Aktivitäten",objects:"Objekte",symbols:"Symbole",flags:"Flaggen"}});
1
+ NEW_CKEDITOR.plugins.setLang("emoji","de",{searchPlaceholder:"Emoji suchen…",searchLabel:"Input field responsible for searching and filtering emoji inside panel.",navigationLabel:"Groups navigation for emoji sections.",title:"Emoji-Liste",groups:{people:"Personen",nature:"Natur und Tiere",food:"Essen und Getränke",travel:"Reisen und Orte",activities:"Aktivitäten",objects:"Objekte",symbols:"Symbole",flags:"Flaggen"}});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("emoji","en",{searchPlaceholder:"Search emoji…",searchLabel:"Input field responsible for searching and filtering emoji inside panel.",navigationLabel:"Groups navigation for emoji sections.",title:"Emoji List",groups:{people:"People",nature:"Nature and animals",food:"Food and drinks",travel:"Travel and places",activities:"Activities",objects:"Objects",symbols:"Symbols",flags:"Flags"}});
1
+ NEW_CKEDITOR.plugins.setLang("emoji","en",{searchPlaceholder:"Search emoji…",searchLabel:"Input field responsible for searching and filtering emoji inside panel.",navigationLabel:"Groups navigation for emoji sections.",title:"Emoji List",groups:{people:"People",nature:"Nature and animals",food:"Food and drinks",travel:"Travel and places",activities:"Activities",objects:"Objects",symbols:"Symbols",flags:"Flags"}});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("emoji","fr",{searchPlaceholder:"Chercher un émoticône",searchLabel:"Champ de saisie chargé de rechercher et de filtrer les émoticônes à l'intérieur du panneau",navigationLabel:"Catégorisation des sections d'émoticône",title:"Liste des émoticônes",groups:{people:"Personnes",nature:"Nature et animal",food:"Nourriture et boisson",travel:"Lieu et voyage",activities:"Activités",objects:"Objets",symbols:"Symboles",flags:"Drapeaux"}});
1
+ NEW_CKEDITOR.plugins.setLang("emoji","fr",{searchPlaceholder:"Chercher un émoticône",searchLabel:"Champ de saisie chargé de rechercher et de filtrer les émoticônes à l'intérieur du panneau",navigationLabel:"Catégorisation des sections d'émoticône",title:"Liste des émoticônes",groups:{people:"Personnes",nature:"Nature et animal",food:"Nourriture et boisson",travel:"Lieu et voyage",activities:"Activités",objects:"Objets",symbols:"Symboles",flags:"Drapeaux"}});
@@ -1 +1 @@
1
- CKEDITOR.plugins.setLang("emoji","it",{searchPlaceholder:"Cerca emoji…",searchLabel:"Campo di input responsabile di ricerca e filtro delle emoji all'interno del pannello.",navigationLabel:"Navigazione tra gruppi per le sezioni di emoji.",title:"Elenco emoji",groups:{people:"Persone",nature:"Natura e animali",food:"Cibo e bevande",travel:"Viaggio e luoghi",activities:"Attività",objects:"Oggetti",symbols:"Simboli",flags:"Bandiere"}});
1
+ NEW_CKEDITOR.plugins.setLang("emoji","it",{searchPlaceholder:"Cerca emoji…",searchLabel:"Campo di input responsabile di ricerca e filtro delle emoji all'interno del pannello.",navigationLabel:"Navigazione tra gruppi per le sezioni di emoji.",title:"Elenco emoji",groups:{people:"Persone",nature:"Natura e animali",food:"Cibo e bevande",travel:"Viaggio e luoghi",activities:"Attività",objects:"Oggetti",symbols:"Simboli",flags:"Bandiere"}});
@@ -1 +1 @@
1
- !function(){function e(e){return e.name||(e.name=s(e.id.replace(/::.*$/,":").replace(/^:|:$/g,""))),e}var t=!1,i=CKEDITOR.tools.array,s=CKEDITOR.tools.htmlEncodeAttr,n=CKEDITOR.tools.createClass({$:function(e,t){var i=this.lang=e.lang.emoji,s=this;this.listeners=[],this.plugin=t,this.editor=e,this.groups=[{name:"people",sectionName:i.groups.people,svgId:"cke4-icon-emoji-2",position:{x:-21,y:0},items:[]},{name:"nature",sectionName:i.groups.nature,svgId:"cke4-icon-emoji-3",position:{x:-42,y:0},items:[]},{name:"food",sectionName:i.groups.food,svgId:"cke4-icon-emoji-4",position:{x:-63,y:0},items:[]},{name:"travel",sectionName:i.groups.travel,svgId:"cke4-icon-emoji-6",position:{x:-42,y:-21},items:[]},{name:"activities",sectionName:i.groups.activities,svgId:"cke4-icon-emoji-5",position:{x:-84,y:0},items:[]},{name:"objects",sectionName:i.groups.objects,svgId:"cke4-icon-emoji-7",position:{x:0,y:-21},items:[]},{name:"symbols",sectionName:i.groups.symbols,svgId:"cke4-icon-emoji-8",position:{x:-21,y:-21},items:[]},{name:"flags",sectionName:i.groups.flags,svgId:"cke4-icon-emoji-9",position:{x:-63,y:-21},items:[]}],this.elements={},e.ui.addToolbarGroup("emoji","insert"),e.ui.add("EmojiPanel",CKEDITOR.UI_PANELBUTTON,{label:"emoji",title:i.title,modes:{wysiwyg:1},editorFocus:0,toolbar:"insert",panel:{css:[CKEDITOR.skin.getPath("editor"),t.path+"skins/default.css"],attributes:{role:"listbox","aria-label":i.title},markFirst:!1},onBlock:function(t,i){var n=i.keys,o="rtl"===e.lang.dir;n[o?37:39]="next",n[40]="next",n[9]="next",n[o?39:37]="prev",n[38]="prev",n[CKEDITOR.SHIFT+9]="prev",n[32]="click",s.blockElement=i.element,s.emojiList=s.editor._.emoji.list,s.addEmojiToGroups(),i.element.getAscendant("html").addClass("cke_emoji"),i.element.getDocument().appendStyleSheet(CKEDITOR.getUrl(CKEDITOR.basePath+"contents.css")),i.element.addClass("cke_emoji-panel_block"),i.element.setHtml(s.createEmojiBlock()),i.element.removeAttribute("title"),t.element.addClass("cke_emoji-panel"),s.items=i._.getItems(),s.blockObject=i,s.elements.emojiItems=i.element.find(".cke_emoji-outer_emoji_block li > a"),s.elements.sectionHeaders=i.element.find(".cke_emoji-outer_emoji_block h2"),s.elements.input=i.element.findOne("input"),s.inputIndex=s.getItemIndex(s.items,s.elements.input),s.elements.emojiBlock=i.element.findOne(".cke_emoji-outer_emoji_block"),s.elements.navigationItems=i.element.find("nav li"),s.elements.statusIcon=i.element.findOne(".cke_emoji-status_icon"),s.elements.statusDescription=i.element.findOne("p.cke_emoji-status_description"),s.elements.statusName=i.element.findOne("p.cke_emoji-status_full_name"),s.elements.sections=i.element.find("section"),s.registerListeners()},onOpen:s.openReset()})},proto:{registerListeners:function(){i.forEach(this.listeners,(function(e){var t=e.listener,s=e.event,n=e.ctx||this;i.forEach(this.blockElement.find(e.selector).toArray(),(function(e){e.on(s,t,n)}))}),this)},createEmojiBlock:function(){var e=[];return this.loadSVGNavigationIcons(),e.push(this.createGroupsNavigation()),e.push(this.createSearchSection()),e.push(this.createEmojiListBlock()),e.push(this.createStatusBar()),'<div class="cke_emoji-inner_panel">'+e.join("")+"</div>"},createGroupsNavigation:function(){var e,t;return this.editor.plugins.emoji.isSVGSupported()?(t=CKEDITOR.env.safari?'xlink:href="#{svgId}"':'href="#{svgId}"',e=new CKEDITOR.template('<li class="cke_emoji-navigation_item" data-cke-emoji-group="{group}"><a href="#" title="{name}" draggable="false" _cke_focus="1"><svg viewBox="0 0 34 34" aria-labelledby="{svgId}-title"><title id="{svgId}-title">{name}</title><use '+t+"></use></svg></a></li>"),t=i.reduce(this.groups,(function(t,i){return i.items.length?t+e.output({group:s(i.name),name:s(i.sectionName),svgId:s(i.svgId),translateX:i.translate&&i.translate.x?s(i.translate.x):0,translateY:i.translate&&i.translate.y?s(i.translate.y):0}):t}),"")):(t=CKEDITOR.getUrl(this.plugin.path+"assets/iconsall.png"),e=new CKEDITOR.template('<li class="cke_emoji-navigation_item" data-cke-emoji-group="{group}"><a href="#" draggable="false" _cke_focus="1" title="{name}"><span style="background-image:url('+t+');background-repeat:no-repeat;background-position:{positionX}px {positionY}px;"></span></a></li>'),t=i.reduce(this.groups,(function(t,i){return i.items.length?t+e.output({group:s(i.name),name:s(i.sectionName),positionX:i.position.x,positionY:i.position.y}):t}),"")),this.listeners.push({selector:"nav",event:"click",listener:function(e){var t=e.data.getTarget().getAscendant("li",!0);t&&(i.forEach(this.elements.navigationItems.toArray(),(function(e){e.equals(t)?e.addClass("active"):e.removeClass("active")})),this.clearSearchAndMoveFocus(t),e.data.preventDefault())}}),'<nav aria-label="'+s(this.lang.navigationLabel)+'"><ul>'+t+"</ul></nav>"},createSearchSection:function(){return this.listeners.push({selector:"input",event:"input",listener:CKEDITOR.tools.throttle(200,this.filter,this).input}),this.listeners.push({selector:"input",event:"click",listener:function(){this.blockObject._.markItem(this.inputIndex)}}),'<label class="cke_emoji-search">'+this.getLoupeIcon()+'<input placeholder="'+s(this.lang.searchPlaceholder)+'" type="search" aria-label="'+s(this.lang.searchLabel)+'" role="search" _cke_focus="1"></label>'},createEmojiListBlock:function(){return this.listeners.push({selector:".cke_emoji-outer_emoji_block",event:"scroll",listener:CKEDITOR.tools.throttle(150,this.refreshNavigationStatus,this).input}),this.listeners.push({selector:".cke_emoji-outer_emoji_block",event:"click",listener:function(e){e.data.getTarget().data("cke-emoji-name")&&this.editor.execCommand("insertEmoji",{emojiText:e.data.getTarget().data("cke-emoji-symbol")})}}),this.listeners.push({selector:".cke_emoji-outer_emoji_block",event:"mouseover",listener:function(e){this.updateStatusbar(e.data.getTarget())}}),this.listeners.push({selector:".cke_emoji-outer_emoji_block",event:"keyup",listener:function(){this.updateStatusbar(this.items.getItem(this.blockObject._.focusIndex))}}),'<div class="cke_emoji-outer_emoji_block">'+this.getEmojiSections()+"</div>"},createStatusBar:function(){return'<div class="cke_emoji-status_bar"><div class="cke_emoji-status_icon"></div><p class="cke_emoji-status_description"></p><p class="cke_emoji-status_full_name"></p></div>'},getLoupeIcon:function(){var e=CKEDITOR.getUrl(this.plugin.path+"assets/iconsall.png");return this.editor.plugins.emoji.isSVGSupported()?'<svg viewBox="0 0 34 34" role="img" aria-hidden="true" class="cke_emoji-search_loupe"><use '+(e=CKEDITOR.env.safari?'xlink:href="#cke4-icon-emoji-10"':'href="#cke4-icon-emoji-10"')+"></use></svg>":'<span class="cke_emoji-search_loupe" aria-hidden="true" style="background-image:url('+e+');"></span>'},getEmojiSections:function(){return i.reduce(this.groups,(function(e,t){return t.items.length?e+this.getEmojiSection(t):e}),"",this)},getEmojiSection:function(e){var t=s(e.name);return'<section data-cke-emoji-group="'+t+'" ><h2 id="'+t+'">'+s(e.sectionName)+"</h2><ul>"+(e=this.getEmojiListGroup(e.items))+"</ul></section>"},getEmojiListGroup:function(t){var n=new CKEDITOR.template('<li class="cke_emoji-item"><a draggable="false" data-cke-emoji-full-name="{id}" data-cke-emoji-name="{name}" data-cke-emoji-symbol="{symbol}" data-cke-emoji-group="{group}" data-cke-emoji-keywords="{keywords}" title="{name}" href="#" _cke_focus="1">{symbol}</a></li>');return i.reduce(t,(function(t,i){return e(i),t+n.output({symbol:s(i.symbol),id:s(i.id),name:i.name,group:s(i.group),keywords:s((i.keywords||[]).join(","))})}),"",this)},filter:function(e){var t={},s="string"==typeof e?e:e.sender.getValue();i.forEach(this.elements.emojiItems.toArray(),(function(e){var i;e:{i=e.data("cke-emoji-name");var n=e.data("cke-emoji-keywords");if(-1!==i.indexOf(s))i=!0;else{if(n)for(i=n.split(","),n=0;n<i.length;n++)if(-1!==i[n].indexOf(s)){i=!0;break e}i=!1}}i||""===s?(e.removeClass("hidden"),e.getParent().removeClass("hidden"),t[e.data("cke-emoji-group")]=!0):(e.addClass("hidden"),e.getParent().addClass("hidden"))})),i.forEach(this.elements.sectionHeaders.toArray(),(function(e){t[e.getId()]?(e.getParent().removeClass("hidden"),e.removeClass("hidden")):(e.addClass("hidden"),e.getParent().addClass("hidden"))})),this.refreshNavigationStatus()},clearSearchInput:function(){this.elements.input.setValue(""),this.filter("")},openReset:function(){var e,t=this;return function(){e||(t.filter(""),e=!0),t.elements.emojiBlock.$.scrollTop=0,t.refreshNavigationStatus(),t.clearSearchInput(),CKEDITOR.tools.setTimeout((function(){t.elements.input.focus(!0),t.blockObject._.markItem(t.inputIndex)}),0,t),t.clearStatusbar()}},refreshNavigationStatus:function(){var e,t,s=this.elements.emojiBlock.getClientRect().top;e=i.filter(this.elements.sections.toArray(),(function(e){var t=e.getClientRect();return!(!t.height||e.findOne("h2").hasClass("hidden"))&&t.height+t.top>s})),t=!!e.length&&e[0].data("cke-emoji-group"),i.forEach(this.elements.navigationItems.toArray(),(function(e){e.data("cke-emoji-group")===t?e.addClass("active"):e.removeClass("active")}))},updateStatusbar:function(e){"a"===e.getName()&&e.hasAttribute("data-cke-emoji-name")&&(this.elements.statusIcon.setText(s(e.getText())),this.elements.statusDescription.setText(s(e.data("cke-emoji-name"))),this.elements.statusName.setText(s(e.data("cke-emoji-full-name"))))},clearStatusbar:function(){this.elements.statusIcon.setText(""),this.elements.statusDescription.setText(""),this.elements.statusName.setText("")},clearSearchAndMoveFocus:function(e){this.clearSearchInput(),this.moveFocus(e.data("cke-emoji-group"))},moveFocus:function(e){var t;(e=this.blockElement.findOne('a[data-cke-emoji-group="'+s(e)+'"]'))&&(t=this.getItemIndex(this.items,e),e.focus(!0),e.getAscendant("section").getFirst().scrollIntoView(!0),this.blockObject._.markItem(t))},getItemIndex:function(e,t){return i.indexOf(e.toArray(),(function(e){return e.equals(t)}))},loadSVGNavigationIcons:function(){if(this.editor.plugins.emoji.isSVGSupported()){var e=this.blockElement.getDocument();CKEDITOR.ajax.load(CKEDITOR.getUrl(this.plugin.path+"assets/iconsall.svg"),(function(t){var i=new CKEDITOR.dom.element("div");i.addClass("cke_emoji-navigation_icons"),i.setHtml(t),e.getBody().append(i)}))}},addEmojiToGroups:function(){var e={};i.forEach(this.groups,(function(t){e[t.name]=t.items}),this),i.forEach(this.emojiList,(function(t){e[t.group].push(t)}),this)}}});CKEDITOR.plugins.add("emoji",{requires:"autocomplete,textmatch,ajax,panelbutton,floatpanel",lang:"cs,da,de,de-ch,el,en,en-au,et,fa,fr,gl,hr,hu,it,nl,pl,pt-br,sk,sr,sr-latn,sv,tr,uk,zh,zh-cn",icons:"emojipanel",hidpi:!0,isSupportedEnvironment:function(){return!CKEDITOR.env.ie||11<=CKEDITOR.env.version},beforeInit:function(){this.isSupportedEnvironment()&&!t&&(CKEDITOR.document.appendStyleSheet(this.path+"skins/default.css"),t=!0)},init:function(t){if(this.isSupportedEnvironment()){var i=CKEDITOR.tools.array;CKEDITOR.ajax.load(CKEDITOR.getUrl(t.config.emoji_emojiListUrl||"plugins/emoji/emoji.json"),(function(s){function n(){t._.emoji.autocomplete=new CKEDITOR.plugins.autocomplete(t,{textTestCallback:function(e){return e.collapsed?CKEDITOR.plugins.textMatch.match(e,o):null},dataCallback:a,itemTemplate:'<li data-id="{id}" class="cke_emoji-suggestion_item"><span>{symbol}</span> {name}</li>',outputTemplate:"{symbol}",followingSpace:t.config.emoji_followingSpace})}function o(e,t){var i=e.slice(0,t),s=i.match(new RegExp("(?:\\s|^)(:\\S{"+l+"}\\S*)$"));return s?{start:i.lastIndexOf(s[1]),end:t}:null}function a(t,s){var n=t.query.substr(1).toLowerCase(),o=i.filter(r,(function(e){return-1!==e.id.toLowerCase().indexOf(n)})).sort((function(e,t){var i=!e.id.substr(1).indexOf(n);return i!=!t.id.substr(1).indexOf(n)?i?-1:1:e.id>t.id?1:-1}));s(o=i.map(o,e))}if(null!==s){void 0===t._.emoji&&(t._.emoji={}),void 0===t._.emoji.list&&(t._.emoji.list=JSON.parse(s));var r=t._.emoji.list,l=void 0===t.config.emoji_minChars?2:t.config.emoji_minChars;"ready"!==t.status?t.once("instanceReady",n):n()}})),t.addCommand("insertEmoji",{exec:function(e,t){e.insertHtml(t.emojiText)}}),t.plugins.toolbar&&new n(t,this)}},isSVGSupported:function(){return!CKEDITOR.env.ie||CKEDITOR.env.edge}})}(),CKEDITOR.config.emoji_followingSpace=!1;
1
+ !function(){function e(e){return e.name||(e.name=s(e.id.replace(/::.*$/,":").replace(/^:|:$/g,""))),e}var t=!1,i=NEW_CKEDITOR.tools.array,s=NEW_CKEDITOR.tools.htmlEncodeAttr,n=NEW_CKEDITOR.tools.createClass({$:function(e,t){var i=this.lang=e.lang.emoji,s=this;this.listeners=[],this.plugin=t,this.editor=e,this.groups=[{name:"people",sectionName:i.groups.people,svgId:"cke4-icon-emoji-2",position:{x:-21,y:0},items:[]},{name:"nature",sectionName:i.groups.nature,svgId:"cke4-icon-emoji-3",position:{x:-42,y:0},items:[]},{name:"food",sectionName:i.groups.food,svgId:"cke4-icon-emoji-4",position:{x:-63,y:0},items:[]},{name:"travel",sectionName:i.groups.travel,svgId:"cke4-icon-emoji-6",position:{x:-42,y:-21},items:[]},{name:"activities",sectionName:i.groups.activities,svgId:"cke4-icon-emoji-5",position:{x:-84,y:0},items:[]},{name:"objects",sectionName:i.groups.objects,svgId:"cke4-icon-emoji-7",position:{x:0,y:-21},items:[]},{name:"symbols",sectionName:i.groups.symbols,svgId:"cke4-icon-emoji-8",position:{x:-21,y:-21},items:[]},{name:"flags",sectionName:i.groups.flags,svgId:"cke4-icon-emoji-9",position:{x:-63,y:-21},items:[]}],this.elements={},e.ui.addToolbarGroup("emoji","insert"),e.ui.add("EmojiPanel",NEW_CKEDITOR.UI_PANELBUTTON,{label:"emoji",title:i.title,modes:{wysiwyg:1},editorFocus:0,toolbar:"insert",panel:{css:[NEW_CKEDITOR.skin.getPath("editor"),t.path+"skins/default.css"],attributes:{role:"listbox","aria-label":i.title},markFirst:!1},onBlock:function(t,i){var n=i.keys,o="rtl"===e.lang.dir;n[o?37:39]="next",n[40]="next",n[9]="next",n[o?39:37]="prev",n[38]="prev",n[NEW_CKEDITOR.SHIFT+9]="prev",n[32]="click",s.blockElement=i.element,s.emojiList=s.editor._.emoji.list,s.addEmojiToGroups(),i.element.getAscendant("html").addClass("edi_emoji"),i.element.getDocument().appendStyleSheet(NEW_CKEDITOR.getUrl(NEW_CKEDITOR.basePath+"contents.css")),i.element.addClass("edi_emoji-panel_block"),i.element.setHtml(s.createEmojiBlock()),i.element.removeAttribute("title"),t.element.addClass("edi_emoji-panel"),s.items=i._.getItems(),s.blockObject=i,s.elements.emojiItems=i.element.find(".edi_emoji-outer_emoji_block li > a"),s.elements.sectionHeaders=i.element.find(".edi_emoji-outer_emoji_block h2"),s.elements.input=i.element.findOne("input"),s.inputIndex=s.getItemIndex(s.items,s.elements.input),s.elements.emojiBlock=i.element.findOne(".edi_emoji-outer_emoji_block"),s.elements.navigationItems=i.element.find("nav li"),s.elements.statusIcon=i.element.findOne(".edi_emoji-status_icon"),s.elements.statusDescription=i.element.findOne("p.edi_emoji-status_description"),s.elements.statusName=i.element.findOne("p.edi_emoji-status_full_name"),s.elements.sections=i.element.find("section"),s.registerListeners()},onOpen:s.openReset()})},proto:{registerListeners:function(){i.forEach(this.listeners,(function(e){var t=e.listener,s=e.event,n=e.ctx||this;i.forEach(this.blockElement.find(e.selector).toArray(),(function(e){e.on(s,t,n)}))}),this)},createEmojiBlock:function(){var e=[];return this.loadSVGNavigationIcons(),e.push(this.createGroupsNavigation()),e.push(this.createSearchSection()),e.push(this.createEmojiListBlock()),e.push(this.createStatusBar()),'<div class="edi_emoji-inner_panel">'+e.join("")+"</div>"},createGroupsNavigation:function(){var e,t;return this.editor.plugins.emoji.isSVGSupported()?(t=NEW_CKEDITOR.env.safari?'xlink:href="#{svgId}"':'href="#{svgId}"',e=new NEW_CKEDITOR.template('<li class="edi_emoji-navigation_item" data-edi-emoji-group="{group}"><a href="#" title="{name}" draggable="false" _cke_focus="1"><svg viewBox="0 0 34 34" aria-labelledby="{svgId}-title"><title id="{svgId}-title">{name}</title><use '+t+"></use></svg></a></li>"),t=i.reduce(this.groups,(function(t,i){return i.items.length?t+e.output({group:s(i.name),name:s(i.sectionName),svgId:s(i.svgId),translateX:i.translate&&i.translate.x?s(i.translate.x):0,translateY:i.translate&&i.translate.y?s(i.translate.y):0}):t}),"")):(t=NEW_CKEDITOR.getUrl(this.plugin.path+"assets/iconsall.png"),e=new NEW_CKEDITOR.template('<li class="edi_emoji-navigation_item" data-edi-emoji-group="{group}"><a href="#" draggable="false" _cke_focus="1" title="{name}"><span style="background-image:url('+t+');background-repeat:no-repeat;background-position:{positionX}px {positionY}px;"></span></a></li>'),t=i.reduce(this.groups,(function(t,i){return i.items.length?t+e.output({group:s(i.name),name:s(i.sectionName),positionX:i.position.x,positionY:i.position.y}):t}),"")),this.listeners.push({selector:"nav",event:"click",listener:function(e){var t=e.data.getTarget().getAscendant("li",!0);t&&(i.forEach(this.elements.navigationItems.toArray(),(function(e){e.equals(t)?e.addClass("active"):e.removeClass("active")})),this.clearSearchAndMoveFocus(t),e.data.preventDefault())}}),'<nav aria-label="'+s(this.lang.navigationLabel)+'"><ul>'+t+"</ul></nav>"},createSearchSection:function(){return this.listeners.push({selector:"input",event:"input",listener:NEW_CKEDITOR.tools.throttle(200,this.filter,this).input}),this.listeners.push({selector:"input",event:"click",listener:function(){this.blockObject._.markItem(this.inputIndex)}}),'<label class="edi_emoji-search">'+this.getLoupeIcon()+'<input placeholder="'+s(this.lang.searchPlaceholder)+'" type="search" aria-label="'+s(this.lang.searchLabel)+'" role="search" _cke_focus="1"></label>'},createEmojiListBlock:function(){return this.listeners.push({selector:".edi_emoji-outer_emoji_block",event:"scroll",listener:NEW_CKEDITOR.tools.throttle(150,this.refreshNavigationStatus,this).input}),this.listeners.push({selector:".edi_emoji-outer_emoji_block",event:"click",listener:function(e){e.data.getTarget().data("edi-emoji-name")&&this.editor.execCommand("insertEmoji",{emojiText:e.data.getTarget().data("edi-emoji-symbol")})}}),this.listeners.push({selector:".edi_emoji-outer_emoji_block",event:"mouseover",listener:function(e){this.updateStatusbar(e.data.getTarget())}}),this.listeners.push({selector:".edi_emoji-outer_emoji_block",event:"keyup",listener:function(){this.updateStatusbar(this.items.getItem(this.blockObject._.focusIndex))}}),'<div class="edi_emoji-outer_emoji_block">'+this.getEmojiSections()+"</div>"},createStatusBar:function(){return'<div class="edi_emoji-status_bar"><div class="edi_emoji-status_icon"></div><p class="edi_emoji-status_description"></p><p class="edi_emoji-status_full_name"></p></div>'},getLoupeIcon:function(){var e=NEW_CKEDITOR.getUrl(this.plugin.path+"assets/iconsall.png");return this.editor.plugins.emoji.isSVGSupported()?'<svg viewBox="0 0 34 34" role="img" aria-hidden="true" class="edi_emoji-search_loupe"><use '+(e=NEW_CKEDITOR.env.safari?'xlink:href="#cke4-icon-emoji-10"':'href="#cke4-icon-emoji-10"')+"></use></svg>":'<span class="edi_emoji-search_loupe" aria-hidden="true" style="background-image:url('+e+');"></span>'},getEmojiSections:function(){return i.reduce(this.groups,(function(e,t){return t.items.length?e+this.getEmojiSection(t):e}),"",this)},getEmojiSection:function(e){var t=s(e.name);return'<section data-edi-emoji-group="'+t+'" ><h2 id="'+t+'">'+s(e.sectionName)+"</h2><ul>"+(e=this.getEmojiListGroup(e.items))+"</ul></section>"},getEmojiListGroup:function(t){var n=new NEW_CKEDITOR.template('<li class="edi_emoji-item"><a draggable="false" data-edi-emoji-full-name="{id}" data-edi-emoji-name="{name}" data-edi-emoji-symbol="{symbol}" data-edi-emoji-group="{group}" data-edi-emoji-keywords="{keywords}" title="{name}" href="#" _cke_focus="1">{symbol}</a></li>');return i.reduce(t,(function(t,i){return e(i),t+n.output({symbol:s(i.symbol),id:s(i.id),name:i.name,group:s(i.group),keywords:s((i.keywords||[]).join(","))})}),"",this)},filter:function(e){var t={},s="string"==typeof e?e:e.sender.getValue();i.forEach(this.elements.emojiItems.toArray(),(function(e){var i;e:{i=e.data("edi-emoji-name");var n=e.data("edi-emoji-keywords");if(-1!==i.indexOf(s))i=!0;else{if(n)for(i=n.split(","),n=0;n<i.length;n++)if(-1!==i[n].indexOf(s)){i=!0;break e}i=!1}}i||""===s?(e.removeClass("hidden"),e.getParent().removeClass("hidden"),t[e.data("edi-emoji-group")]=!0):(e.addClass("hidden"),e.getParent().addClass("hidden"))})),i.forEach(this.elements.sectionHeaders.toArray(),(function(e){t[e.getId()]?(e.getParent().removeClass("hidden"),e.removeClass("hidden")):(e.addClass("hidden"),e.getParent().addClass("hidden"))})),this.refreshNavigationStatus()},clearSearchInput:function(){this.elements.input.setValue(""),this.filter("")},openReset:function(){var e,t=this;return function(){e||(t.filter(""),e=!0),t.elements.emojiBlock.$.scrollTop=0,t.refreshNavigationStatus(),t.clearSearchInput(),NEW_CKEDITOR.tools.setTimeout((function(){t.elements.input.focus(!0),t.blockObject._.markItem(t.inputIndex)}),0,t),t.clearStatusbar()}},refreshNavigationStatus:function(){var e,t,s=this.elements.emojiBlock.getClientRect().top;e=i.filter(this.elements.sections.toArray(),(function(e){var t=e.getClientRect();return!(!t.height||e.findOne("h2").hasClass("hidden"))&&t.height+t.top>s})),t=!!e.length&&e[0].data("edi-emoji-group"),i.forEach(this.elements.navigationItems.toArray(),(function(e){e.data("edi-emoji-group")===t?e.addClass("active"):e.removeClass("active")}))},updateStatusbar:function(e){"a"===e.getName()&&e.hasAttribute("data-edi-emoji-name")&&(this.elements.statusIcon.setText(s(e.getText())),this.elements.statusDescription.setText(s(e.data("edi-emoji-name"))),this.elements.statusName.setText(s(e.data("edi-emoji-full-name"))))},clearStatusbar:function(){this.elements.statusIcon.setText(""),this.elements.statusDescription.setText(""),this.elements.statusName.setText("")},clearSearchAndMoveFocus:function(e){this.clearSearchInput(),this.moveFocus(e.data("edi-emoji-group"))},moveFocus:function(e){var t;(e=this.blockElement.findOne('a[data-edi-emoji-group="'+s(e)+'"]'))&&(t=this.getItemIndex(this.items,e),e.focus(!0),e.getAscendant("section").getFirst().scrollIntoView(!0),this.blockObject._.markItem(t))},getItemIndex:function(e,t){return i.indexOf(e.toArray(),(function(e){return e.equals(t)}))},loadSVGNavigationIcons:function(){if(this.editor.plugins.emoji.isSVGSupported()){var e=this.blockElement.getDocument();NEW_CKEDITOR.ajax.load(NEW_CKEDITOR.getUrl(this.plugin.path+"assets/iconsall.svg"),(function(t){var i=new NEW_CKEDITOR.dom.element("div");i.addClass("edi_emoji-navigation_icons"),i.setHtml(t),e.getBody().append(i)}))}},addEmojiToGroups:function(){var e={};i.forEach(this.groups,(function(t){e[t.name]=t.items}),this),i.forEach(this.emojiList,(function(t){e[t.group].push(t)}),this)}}});NEW_CKEDITOR.plugins.add("emoji",{requires:"autocomplete,textmatch,ajax,panelbutton,floatpanel",lang:"cs,da,de,de-ch,el,en,en-au,et,fa,fr,gl,hr,hu,it,nl,pl,pt-br,sk,sr,sr-latn,sv,tr,uk,zh,zh-cn",icons:"emojipanel",hidpi:!0,isSupportedEnvironment:function(){return!NEW_CKEDITOR.env.ie||11<=NEW_CKEDITOR.env.version},beforeInit:function(){this.isSupportedEnvironment()&&!t&&(NEW_CKEDITOR.document.appendStyleSheet(this.path+"skins/default.css"),t=!0)},init:function(t){if(this.isSupportedEnvironment()){var i=NEW_CKEDITOR.tools.array;NEW_CKEDITOR.ajax.load(NEW_CKEDITOR.getUrl(t.config.emoji_emojiListUrl||"plugins/emoji/emoji.json"),(function(s){function n(){t._.emoji.autocomplete=new NEW_CKEDITOR.plugins.autocomplete(t,{textTestCallback:function(e){return e.collapsed?NEW_CKEDITOR.plugins.textMatch.match(e,o):null},dataCallback:a,itemTemplate:'<li data-id="{id}" class="edi_emoji-suggestion_item"><span>{symbol}</span> {name}</li>',outputTemplate:"{symbol}",followingSpace:t.config.emoji_followingSpace})}function o(e,t){var i=e.slice(0,t),s=i.match(new RegExp("(?:\\s|^)(:\\S{"+l+"}\\S*)$"));return s?{start:i.lastIndexOf(s[1]),end:t}:null}function a(t,s){var n=t.query.substr(1).toLowerCase(),o=i.filter(r,(function(e){return-1!==e.id.toLowerCase().indexOf(n)})).sort((function(e,t){var i=!e.id.substr(1).indexOf(n);return i!=!t.id.substr(1).indexOf(n)?i?-1:1:e.id>t.id?1:-1}));s(o=i.map(o,e))}if(null!==s){void 0===t._.emoji&&(t._.emoji={}),void 0===t._.emoji.list&&(t._.emoji.list=JSON.parse(s));var r=t._.emoji.list,l=void 0===t.config.emoji_minChars?2:t.config.emoji_minChars;"ready"!==t.status?t.once("instanceReady",n):n()}})),t.addCommand("insertEmoji",{exec:function(e,t){e.insertHtml(t.emojiText)}}),t.plugins.toolbar&&new n(t,this)}},isSVGSupported:function(){return!NEW_CKEDITOR.env.ie||NEW_CKEDITOR.env.edge}})}(),NEW_CKEDITOR.config.emoji_followingSpace=!1;