releaf-core 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (348) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/ckeditor/config.js +4 -10
  3. metadata +4 -349
  4. data/app/assets/images/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  5. data/app/assets/images/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  6. data/app/assets/images/ckeditor/plugins/flash/images/placeholder.png +0 -0
  7. data/app/assets/images/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  8. data/app/assets/images/ckeditor/plugins/icons.png +0 -0
  9. data/app/assets/images/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  10. data/app/assets/images/ckeditor/plugins/image/images/noimage.png +0 -0
  11. data/app/assets/images/ckeditor/plugins/link/images/anchor.png +0 -0
  12. data/app/assets/images/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  13. data/app/assets/images/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
  14. data/app/assets/images/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  15. data/app/assets/images/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
  16. data/app/assets/images/ckeditor/plugins/magicline/images/icon.png +0 -0
  17. data/app/assets/images/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  18. data/app/assets/images/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  19. data/app/assets/images/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  20. data/app/assets/images/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  21. data/app/assets/images/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  22. data/app/assets/images/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  23. data/app/assets/images/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  24. data/app/assets/images/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  25. data/app/assets/images/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  26. data/app/assets/images/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  27. data/app/assets/images/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  28. data/app/assets/images/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  29. data/app/assets/images/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  30. data/app/assets/images/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
  31. data/app/assets/images/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  32. data/app/assets/images/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
  33. data/app/assets/images/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  34. data/app/assets/images/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
  35. data/app/assets/images/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  36. data/app/assets/images/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
  37. data/app/assets/images/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  38. data/app/assets/images/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
  39. data/app/assets/images/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  40. data/app/assets/images/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
  41. data/app/assets/images/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  42. data/app/assets/images/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  43. data/app/assets/images/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
  44. data/app/assets/images/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  45. data/app/assets/images/ckeditor/plugins/smiley/images/envelope.png +0 -0
  46. data/app/assets/images/ckeditor/plugins/smiley/images/heart.gif +0 -0
  47. data/app/assets/images/ckeditor/plugins/smiley/images/heart.png +0 -0
  48. data/app/assets/images/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  49. data/app/assets/images/ckeditor/plugins/smiley/images/kiss.png +0 -0
  50. data/app/assets/images/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  51. data/app/assets/images/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
  52. data/app/assets/images/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  53. data/app/assets/images/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
  54. data/app/assets/images/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  55. data/app/assets/images/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
  56. data/app/assets/images/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  57. data/app/assets/images/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
  58. data/app/assets/images/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  59. data/app/assets/images/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
  60. data/app/assets/images/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  61. data/app/assets/images/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
  62. data/app/assets/images/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  63. data/app/assets/images/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
  64. data/app/assets/images/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  65. data/app/assets/images/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
  66. data/app/assets/images/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  67. data/app/assets/images/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
  68. data/app/assets/images/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  69. data/app/assets/images/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  70. data/app/assets/images/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
  71. data/app/assets/images/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  72. data/app/assets/images/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
  73. data/app/assets/images/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  74. data/app/assets/images/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  75. data/app/assets/images/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  76. data/app/assets/images/ckeditor/plugins/widget/images/handle.png +0 -0
  77. data/app/assets/images/ckeditor/skins/moono-lisa/icons.png +0 -0
  78. data/app/assets/images/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
  79. data/app/assets/images/ckeditor/skins/moono-lisa/images/arrow.png +0 -0
  80. data/app/assets/images/ckeditor/skins/moono-lisa/images/close.png +0 -0
  81. data/app/assets/images/ckeditor/skins/moono-lisa/images/hidpi/close.png +0 -0
  82. data/app/assets/images/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
  83. data/app/assets/images/ckeditor/skins/moono-lisa/images/hidpi/lock.png +0 -0
  84. data/app/assets/images/ckeditor/skins/moono-lisa/images/hidpi/refresh.png +0 -0
  85. data/app/assets/images/ckeditor/skins/moono-lisa/images/lock-open.png +0 -0
  86. data/app/assets/images/ckeditor/skins/moono-lisa/images/lock.png +0 -0
  87. data/app/assets/images/ckeditor/skins/moono-lisa/images/refresh.png +0 -0
  88. data/app/assets/images/ckeditor/skins/moono-lisa/images/spinner.gif +0 -0
  89. data/app/assets/javascripts/ckeditor/CHANGES.md +0 -1637
  90. data/app/assets/javascripts/ckeditor/LICENSE.md +0 -1420
  91. data/app/assets/javascripts/ckeditor/README.md +0 -39
  92. data/app/assets/javascripts/ckeditor/basepath.js.erb +0 -6
  93. data/app/assets/javascripts/ckeditor/build-config.js +0 -190
  94. data/app/assets/javascripts/ckeditor/ckeditor.js +0 -1331
  95. data/app/assets/javascripts/ckeditor/jquery.js +0 -10
  96. data/app/assets/javascripts/ckeditor/lang/af.js +0 -5
  97. data/app/assets/javascripts/ckeditor/lang/ar.js +0 -5
  98. data/app/assets/javascripts/ckeditor/lang/az.js +0 -5
  99. data/app/assets/javascripts/ckeditor/lang/bg.js +0 -5
  100. data/app/assets/javascripts/ckeditor/lang/bn.js +0 -5
  101. data/app/assets/javascripts/ckeditor/lang/bs.js +0 -5
  102. data/app/assets/javascripts/ckeditor/lang/ca.js +0 -5
  103. data/app/assets/javascripts/ckeditor/lang/cs.js +0 -5
  104. data/app/assets/javascripts/ckeditor/lang/cy.js +0 -5
  105. data/app/assets/javascripts/ckeditor/lang/da.js +0 -5
  106. data/app/assets/javascripts/ckeditor/lang/de-ch.js +0 -5
  107. data/app/assets/javascripts/ckeditor/lang/de.js +0 -5
  108. data/app/assets/javascripts/ckeditor/lang/el.js +0 -5
  109. data/app/assets/javascripts/ckeditor/lang/en-au.js +0 -5
  110. data/app/assets/javascripts/ckeditor/lang/en-ca.js +0 -5
  111. data/app/assets/javascripts/ckeditor/lang/en-gb.js +0 -5
  112. data/app/assets/javascripts/ckeditor/lang/en.js +0 -5
  113. data/app/assets/javascripts/ckeditor/lang/eo.js +0 -5
  114. data/app/assets/javascripts/ckeditor/lang/es-mx.js +0 -5
  115. data/app/assets/javascripts/ckeditor/lang/es.js +0 -5
  116. data/app/assets/javascripts/ckeditor/lang/et.js +0 -5
  117. data/app/assets/javascripts/ckeditor/lang/eu.js +0 -5
  118. data/app/assets/javascripts/ckeditor/lang/fa.js +0 -5
  119. data/app/assets/javascripts/ckeditor/lang/fi.js +0 -5
  120. data/app/assets/javascripts/ckeditor/lang/fo.js +0 -5
  121. data/app/assets/javascripts/ckeditor/lang/fr-ca.js +0 -5
  122. data/app/assets/javascripts/ckeditor/lang/fr.js +0 -5
  123. data/app/assets/javascripts/ckeditor/lang/gl.js +0 -5
  124. data/app/assets/javascripts/ckeditor/lang/gu.js +0 -5
  125. data/app/assets/javascripts/ckeditor/lang/he.js +0 -5
  126. data/app/assets/javascripts/ckeditor/lang/hi.js +0 -5
  127. data/app/assets/javascripts/ckeditor/lang/hr.js +0 -5
  128. data/app/assets/javascripts/ckeditor/lang/hu.js +0 -5
  129. data/app/assets/javascripts/ckeditor/lang/id.js +0 -5
  130. data/app/assets/javascripts/ckeditor/lang/is.js +0 -5
  131. data/app/assets/javascripts/ckeditor/lang/it.js +0 -5
  132. data/app/assets/javascripts/ckeditor/lang/ja.js +0 -5
  133. data/app/assets/javascripts/ckeditor/lang/ka.js +0 -5
  134. data/app/assets/javascripts/ckeditor/lang/km.js +0 -5
  135. data/app/assets/javascripts/ckeditor/lang/ko.js +0 -5
  136. data/app/assets/javascripts/ckeditor/lang/ku.js +0 -5
  137. data/app/assets/javascripts/ckeditor/lang/lt.js +0 -5
  138. data/app/assets/javascripts/ckeditor/lang/lv.js +0 -5
  139. data/app/assets/javascripts/ckeditor/lang/mk.js +0 -5
  140. data/app/assets/javascripts/ckeditor/lang/mn.js +0 -5
  141. data/app/assets/javascripts/ckeditor/lang/ms.js +0 -5
  142. data/app/assets/javascripts/ckeditor/lang/nb.js +0 -5
  143. data/app/assets/javascripts/ckeditor/lang/nl.js +0 -5
  144. data/app/assets/javascripts/ckeditor/lang/no.js +0 -5
  145. data/app/assets/javascripts/ckeditor/lang/oc.js +0 -5
  146. data/app/assets/javascripts/ckeditor/lang/pl.js +0 -5
  147. data/app/assets/javascripts/ckeditor/lang/pt-br.js +0 -5
  148. data/app/assets/javascripts/ckeditor/lang/pt.js +0 -5
  149. data/app/assets/javascripts/ckeditor/lang/ro.js +0 -5
  150. data/app/assets/javascripts/ckeditor/lang/ru.js +0 -5
  151. data/app/assets/javascripts/ckeditor/lang/si.js +0 -5
  152. data/app/assets/javascripts/ckeditor/lang/sk.js +0 -5
  153. data/app/assets/javascripts/ckeditor/lang/sl.js +0 -5
  154. data/app/assets/javascripts/ckeditor/lang/sq.js +0 -5
  155. data/app/assets/javascripts/ckeditor/lang/sr-latn.js +0 -5
  156. data/app/assets/javascripts/ckeditor/lang/sr.js +0 -5
  157. data/app/assets/javascripts/ckeditor/lang/sv.js +0 -5
  158. data/app/assets/javascripts/ckeditor/lang/th.js +0 -5
  159. data/app/assets/javascripts/ckeditor/lang/tr.js +0 -5
  160. data/app/assets/javascripts/ckeditor/lang/tt.js +0 -5
  161. data/app/assets/javascripts/ckeditor/lang/ug.js +0 -5
  162. data/app/assets/javascripts/ckeditor/lang/uk.js +0 -5
  163. data/app/assets/javascripts/ckeditor/lang/vi.js +0 -5
  164. data/app/assets/javascripts/ckeditor/lang/zh-cn.js +0 -5
  165. data/app/assets/javascripts/ckeditor/lang/zh.js +0 -5
  166. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -10
  167. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +0 -11
  168. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +0 -11
  169. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +0 -11
  170. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +0 -11
  171. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +0 -13
  172. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +0 -12
  173. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +0 -11
  174. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +0 -11
  175. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +0 -12
  176. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +0 -13
  177. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +0 -13
  178. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +0 -11
  179. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +0 -11
  180. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +0 -11
  181. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +0 -13
  182. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +0 -13
  183. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +0 -13
  184. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +0 -11
  185. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +0 -12
  186. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +0 -11
  187. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +0 -11
  188. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +0 -11
  189. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +0 -11
  190. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +0 -13
  191. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +0 -12
  192. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +0 -11
  193. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +0 -11
  194. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +0 -11
  195. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +0 -11
  196. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +0 -12
  197. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +0 -11
  198. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +0 -13
  199. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +0 -9
  200. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +0 -11
  201. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +0 -10
  202. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +0 -11
  203. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +0 -11
  204. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +0 -12
  205. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +0 -11
  206. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +0 -11
  207. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +0 -12
  208. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +0 -12
  209. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +0 -11
  210. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +0 -12
  211. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +0 -13
  212. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -13
  213. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +0 -12
  214. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +0 -12
  215. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +0 -11
  216. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +0 -10
  217. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +0 -11
  218. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +0 -11
  219. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +0 -12
  220. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +0 -11
  221. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +0 -11
  222. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +0 -11
  223. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +0 -11
  224. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +0 -12
  225. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +0 -11
  226. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +0 -12
  227. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +0 -12
  228. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +0 -11
  229. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -9
  230. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +0 -9
  231. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -8
  232. data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -11
  233. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -14
  234. data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
  235. data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +0 -9
  236. data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -25
  237. data/app/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -24
  238. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -8
  239. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -9
  240. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -8
  241. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -7
  242. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -9
  243. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -21
  244. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -8
  245. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -11
  246. data/app/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +0 -10
  247. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -44
  248. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -8
  249. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -30
  250. data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -10
  251. data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +0 -55
  252. data/app/assets/javascripts/ckeditor/plugins/preview/preview.html +0 -13
  253. data/app/assets/javascripts/ckeditor/plugins/scayt/CHANGELOG.md +0 -20
  254. data/app/assets/javascripts/ckeditor/plugins/scayt/LICENSE.md +0 -28
  255. data/app/assets/javascripts/ckeditor/plugins/scayt/README.md +0 -25
  256. data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -32
  257. data/app/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -11
  258. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/af.js +0 -13
  259. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +0 -13
  260. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/az.js +0 -10
  261. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +0 -13
  262. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +0 -14
  263. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +0 -13
  264. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +0 -14
  265. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/da.js +0 -11
  266. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +0 -13
  267. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +0 -13
  268. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +0 -13
  269. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +0 -13
  270. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +0 -13
  271. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +0 -13
  272. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +0 -13
  273. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +0 -12
  274. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +0 -13
  275. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +0 -13
  276. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +0 -13
  277. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eu.js +0 -13
  278. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +0 -12
  279. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +0 -13
  280. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +0 -10
  281. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +0 -12
  282. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +0 -13
  283. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +0 -12
  284. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +0 -13
  285. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +0 -12
  286. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +0 -13
  287. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +0 -14
  288. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +0 -9
  289. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +0 -13
  290. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ko.js +0 -10
  291. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +0 -13
  292. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lt.js +0 -13
  293. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +0 -13
  294. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +0 -11
  295. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +0 -13
  296. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +0 -11
  297. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/oc.js +0 -12
  298. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +0 -12
  299. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +0 -11
  300. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +0 -13
  301. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ro.js +0 -13
  302. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +0 -13
  303. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +0 -13
  304. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +0 -13
  305. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +0 -12
  306. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +0 -13
  307. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +0 -11
  308. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +0 -13
  309. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +0 -12
  310. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tt.js +0 -13
  311. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +0 -13
  312. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +0 -12
  313. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +0 -14
  314. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +0 -9
  315. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js +0 -9
  316. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -14
  317. data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -21
  318. data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -18
  319. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -10
  320. data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +0 -7
  321. data/app/assets/javascripts/ckeditor/plugins/wsc/LICENSE.md +0 -28
  322. data/app/assets/javascripts/ckeditor/plugins/wsc/README.md +0 -25
  323. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -66
  324. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  325. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -91
  326. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +0 -11
  327. data/app/assets/javascripts/ckeditor/styles.js +0 -137
  328. data/app/assets/javascripts/ckeditor-jquery.js +0 -3
  329. data/app/assets/stylesheets/ckeditor/contents.css +0 -208
  330. data/app/assets/stylesheets/ckeditor/plugins/colordialog/dialogs/colordialog.css +0 -20
  331. data/app/assets/stylesheets/ckeditor/plugins/copyformatting/styles/copyformatting.css +0 -45
  332. data/app/assets/stylesheets/ckeditor/plugins/scayt/dialogs/dialog.css +0 -23
  333. data/app/assets/stylesheets/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
  334. data/app/assets/stylesheets/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +0 -25
  335. data/app/assets/stylesheets/ckeditor/plugins/tableselection/styles/tableselection.css +0 -36
  336. data/app/assets/stylesheets/ckeditor/plugins/templates/dialogs/templates.css +0 -84
  337. data/app/assets/stylesheets/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
  338. data/app/assets/stylesheets/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +0 -43
  339. data/app/assets/stylesheets/ckeditor/skins/moono-lisa/dialog.css +0 -5
  340. data/app/assets/stylesheets/ckeditor/skins/moono-lisa/dialog_ie.css +0 -5
  341. data/app/assets/stylesheets/ckeditor/skins/moono-lisa/dialog_ie8.css +0 -5
  342. data/app/assets/stylesheets/ckeditor/skins/moono-lisa/dialog_iequirks.css +0 -5
  343. data/app/assets/stylesheets/ckeditor/skins/moono-lisa/editor.css +0 -5
  344. data/app/assets/stylesheets/ckeditor/skins/moono-lisa/editor_gecko.css +0 -5
  345. data/app/assets/stylesheets/ckeditor/skins/moono-lisa/editor_ie.css +0 -5
  346. data/app/assets/stylesheets/ckeditor/skins/moono-lisa/editor_ie8.css +0 -5
  347. data/app/assets/stylesheets/ckeditor/skins/moono-lisa/editor_iequirks.css +0 -5
  348. data/lib/generators/releaf/templates/config/app.yml +0 -3
@@ -1,18 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- CKEDITOR.dialog.add("cellProperties",function(f){function d(a){return function(b){for(var c=a(b[0]),d=1;d<b.length;d++)if(a(b[d])!==c){c=null;break}"undefined"!=typeof c&&(this.setValue(c),CKEDITOR.env.gecko&&"select"==this.type&&!c&&(this.getInputElement().$.selectedIndex=-1))}}function l(a){if(a=n.exec(a.getStyle("width")||a.getAttribute("width")))return a[2]}var h=f.lang.table,c=h.cell,e=f.lang.common,k=CKEDITOR.dialog.validate,n=/^(\d+(?:\.\d+)?)(px|%)$/,g={type:"html",html:"\x26nbsp;"},p="rtl"==
6
- f.lang.dir,m=f.plugins.colordialog;return{title:c.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?450:410,minHeight:CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?230:220,contents:[{id:"info",label:c.title,accessKey:"I",elements:[{type:"hbox",widths:["40%","5%","40%"],children:[{type:"vbox",padding:0,children:[{type:"hbox",widths:["70%","30%"],children:[{type:"text",id:"width",width:"100px",requiredContent:"td{width,height}",label:e.width,validate:k.number(c.invalidWidth),onLoad:function(){var a=
7
- this.getDialog().getContentElement("info","widthType").getElement(),b=this.getInputElement(),c=b.getAttribute("aria-labelledby");b.setAttribute("aria-labelledby",[c,a.$.id].join(" "))},setup:d(function(a){var b=parseInt(a.getAttribute("width"),10);a=parseInt(a.getStyle("width"),10);return isNaN(a)?isNaN(b)?"":b:a}),commit:function(a){var b=parseInt(this.getValue(),10),c=this.getDialog().getValueOf("info","widthType")||l(a);isNaN(b)?a.removeStyle("width"):a.setStyle("width",b+c);a.removeAttribute("width")},
8
- "default":""},{type:"select",id:"widthType",requiredContent:"td{width,height}",label:f.lang.table.widthUnit,labelStyle:"visibility:hidden","default":"px",items:[[h.widthPx,"px"],[h.widthPc,"%"]],setup:d(l)}]},{type:"hbox",widths:["70%","30%"],children:[{type:"text",id:"height",requiredContent:"td{width,height}",label:e.height,width:"100px","default":"",validate:k.number(c.invalidHeight),onLoad:function(){var a=this.getDialog().getContentElement("info","htmlHeightType").getElement(),b=this.getInputElement(),
9
- c=b.getAttribute("aria-labelledby");this.getDialog().getContentElement("info","height").isVisible()&&(a.setHtml("\x3cbr /\x3e"+h.widthPx),a.setStyle("display","block"),this.getDialog().getContentElement("info","hiddenSpacer").getElement().setStyle("display","block"));b.setAttribute("aria-labelledby",[c,a.$.id].join(" "))},setup:d(function(a){var b=parseInt(a.getAttribute("height"),10);a=parseInt(a.getStyle("height"),10);return isNaN(a)?isNaN(b)?"":b:a}),commit:function(a){var b=parseInt(this.getValue(),
10
- 10);isNaN(b)?a.removeStyle("height"):a.setStyle("height",CKEDITOR.tools.cssLength(b));a.removeAttribute("height")}},{id:"htmlHeightType",type:"html",html:"",style:"display: none"}]},{type:"html",id:"hiddenSpacer",html:"\x26nbsp;",style:"display: none"},{type:"select",id:"wordWrap",label:c.wordWrap,"default":"yes",items:[[c.yes,"yes"],[c.no,"no"]],setup:d(function(a){var b=a.getAttribute("noWrap");if("nowrap"==a.getStyle("white-space")||b)return"no"}),commit:function(a){"no"==this.getValue()?a.setStyle("white-space",
11
- "nowrap"):a.removeStyle("white-space");a.removeAttribute("noWrap")}},g,{type:"select",id:"hAlign",label:c.hAlign,"default":"",items:[[e.notSet,""],[e.left,"left"],[e.center,"center"],[e.right,"right"],[e.justify,"justify"]],setup:d(function(a){var b=a.getAttribute("align");return a.getStyle("text-align")||b||""}),commit:function(a){var b=this.getValue();b?a.setStyle("text-align",b):a.removeStyle("text-align");a.removeAttribute("align")}},{type:"select",id:"vAlign",label:c.vAlign,"default":"",items:[[e.notSet,
12
- ""],[e.alignTop,"top"],[e.alignMiddle,"middle"],[e.alignBottom,"bottom"],[c.alignBaseline,"baseline"]],setup:d(function(a){var b=a.getAttribute("vAlign");a=a.getStyle("vertical-align");switch(a){case "top":case "middle":case "bottom":case "baseline":break;default:a=""}return a||b||""}),commit:function(a){var b=this.getValue();b?a.setStyle("vertical-align",b):a.removeStyle("vertical-align");a.removeAttribute("vAlign")}}]},g,{type:"vbox",padding:0,children:[{type:"select",id:"cellType",label:c.cellType,
13
- "default":"td",items:[[c.data,"td"],[c.header,"th"]],setup:d(function(a){return a.getName()}),commit:function(a){a.renameNode(this.getValue())}},g,{type:"text",id:"rowSpan",label:c.rowSpan,"default":"",validate:k.integer(c.invalidRowSpan),setup:d(function(a){if((a=parseInt(a.getAttribute("rowSpan"),10))&&1!=a)return a}),commit:function(a){var b=parseInt(this.getValue(),10);b&&1!=b?a.setAttribute("rowSpan",this.getValue()):a.removeAttribute("rowSpan")}},{type:"text",id:"colSpan",label:c.colSpan,"default":"",
14
- validate:k.integer(c.invalidColSpan),setup:d(function(a){if((a=parseInt(a.getAttribute("colSpan"),10))&&1!=a)return a}),commit:function(a){var b=parseInt(this.getValue(),10);b&&1!=b?a.setAttribute("colSpan",this.getValue()):a.removeAttribute("colSpan")}},g,{type:"hbox",padding:0,widths:["60%","40%"],children:[{type:"text",id:"bgColor",label:c.bgColor,"default":"",setup:d(function(a){var b=a.getAttribute("bgColor");return a.getStyle("background-color")||b}),commit:function(a){this.getValue()?a.setStyle("background-color",
15
- this.getValue()):a.removeStyle("background-color");a.removeAttribute("bgColor")}},m?{type:"button",id:"bgColorChoose","class":"colorChooser",label:c.chooseColor,onLoad:function(){this.getElement().getParent().setStyle("vertical-align","bottom")},onClick:function(){f.getColorFromDialog(function(a){a&&this.getDialog().getContentElement("info","bgColor").setValue(a);this.focus()},this)}}:g]},g,{type:"hbox",padding:0,widths:["60%","40%"],children:[{type:"text",id:"borderColor",label:c.borderColor,"default":"",
16
- setup:d(function(a){var b=a.getAttribute("borderColor");return a.getStyle("border-color")||b}),commit:function(a){this.getValue()?a.setStyle("border-color",this.getValue()):a.removeStyle("border-color");a.removeAttribute("borderColor")}},m?{type:"button",id:"borderColorChoose","class":"colorChooser",label:c.chooseColor,style:(p?"margin-right":"margin-left")+": 10px",onLoad:function(){this.getElement().getParent().setStyle("vertical-align","bottom")},onClick:function(){f.getColorFromDialog(function(a){a&&
17
- this.getDialog().getContentElement("info","borderColor").setValue(a);this.focus()},this)}}:g]}]}]}]}],onShow:function(){this.cells=CKEDITOR.plugins.tabletools.getSelectedCells(this._.editor.getSelection());this.setupContent(this.cells)},onOk:function(){for(var a=this._.editor.getSelection(),b=a.createBookmarks(),c=this.cells,d=0;d<c.length;d++)this.commitContent(c[d]);this._.editor.forceNextSelectionCheck();a.selectBookmarks(b);this._.editor.selectionChange()},onLoad:function(){var a={};this.foreach(function(b){b.setup&&
18
- b.commit&&(b.setup=CKEDITOR.tools.override(b.setup,function(c){return function(){c.apply(this,arguments);a[b.id]=b.getValue()}}),b.commit=CKEDITOR.tools.override(b.commit,function(c){return function(){a[b.id]!==b.getValue()&&c.apply(this,arguments)}}))})}}});
@@ -1,10 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- (function(){CKEDITOR.dialog.add("templates",function(c){function r(a,b){var m=CKEDITOR.dom.element.createFromHtml('\x3ca href\x3d"javascript:void(0)" tabIndex\x3d"-1" role\x3d"option" \x3e\x3cdiv class\x3d"cke_tpl_item"\x3e\x3c/div\x3e\x3c/a\x3e'),d='\x3ctable style\x3d"width:350px;" class\x3d"cke_tpl_preview" role\x3d"presentation"\x3e\x3ctr\x3e';a.image&&b&&(d+='\x3ctd class\x3d"cke_tpl_preview_img"\x3e\x3cimg src\x3d"'+CKEDITOR.getUrl(b+a.image)+'"'+(CKEDITOR.env.ie6Compat?' onload\x3d"this.width\x3dthis.width"':
6
- "")+' alt\x3d"" title\x3d""\x3e\x3c/td\x3e');d+='\x3ctd style\x3d"white-space:normal;"\x3e\x3cspan class\x3d"cke_tpl_title"\x3e'+a.title+"\x3c/span\x3e\x3cbr/\x3e";a.description&&(d+="\x3cspan\x3e"+a.description+"\x3c/span\x3e");d+="\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e";m.getFirst().setHtml(d);m.on("click",function(){t(a.html)});return m}function t(a){var b=CKEDITOR.dialog.getCurrent();b.getValueOf("selectTpl","chkInsertOpt")?(c.fire("saveSnapshot"),c.setData(a,function(){b.hide();var a=c.createRange();
7
- a.moveToElementEditStart(c.editable());a.select();setTimeout(function(){c.fire("saveSnapshot")},0)})):(c.insertHtml(a),b.hide())}function k(a){var b=a.data.getTarget(),c=g.equals(b);if(c||g.contains(b)){var d=a.data.getKeystroke(),f=g.getElementsByTag("a"),e;if(f){if(c)e=f.getItem(0);else switch(d){case 40:e=b.getNext();break;case 38:e=b.getPrevious();break;case 13:case 32:b.fire("click")}e&&(e.focus(),a.data.preventDefault())}}}var h=CKEDITOR.plugins.get("templates");CKEDITOR.document.appendStyleSheet(CKEDITOR.getUrl(h.path+
8
- "dialogs/templates.css"));var g,h="cke_tpl_list_label_"+CKEDITOR.tools.getNextNumber(),f=c.lang.templates,n=c.config;return{title:c.lang.templates.title,minWidth:CKEDITOR.env.ie?440:400,minHeight:340,contents:[{id:"selectTpl",label:f.title,elements:[{type:"vbox",padding:5,children:[{id:"selectTplText",type:"html",html:"\x3cspan\x3e"+f.selectPromptMsg+"\x3c/span\x3e"},{id:"templatesList",type:"html",focus:!0,html:'\x3cdiv class\x3d"cke_tpl_list" tabIndex\x3d"-1" role\x3d"listbox" aria-labelledby\x3d"'+
9
- h+'"\x3e\x3cdiv class\x3d"cke_tpl_loading"\x3e\x3cspan\x3e\x3c/span\x3e\x3c/div\x3e\x3c/div\x3e\x3cspan class\x3d"cke_voice_label" id\x3d"'+h+'"\x3e'+f.options+"\x3c/span\x3e"},{id:"chkInsertOpt",type:"checkbox",label:f.insertOption,"default":n.templates_replaceContent}]}]}],buttons:[CKEDITOR.dialog.cancelButton],onShow:function(){var a=this.getContentElement("selectTpl","templatesList");g=a.getElement();CKEDITOR.loadTemplates(n.templates_files,function(){var b=(n.templates||"default").split(",");
10
- if(b.length){var c=g;c.setHtml("");for(var d=0,h=b.length;d<h;d++)for(var e=CKEDITOR.getTemplates(b[d]),k=e.imagesPath,e=e.templates,q=e.length,l=0;l<q;l++){var p=r(e[l],k);p.setAttribute("aria-posinset",l+1);p.setAttribute("aria-setsize",q);c.append(p)}a.focus()}else g.setHtml('\x3cdiv class\x3d"cke_tpl_empty"\x3e\x3cspan\x3e'+f.emptyListMsg+"\x3c/span\x3e\x3c/div\x3e")});this._.element.on("keydown",k)},onHide:function(){this._.element.removeListener("keydown",k)}}})})();
@@ -1,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- CKEDITOR.addTemplates("default",{imagesPath:CKEDITOR.getUrl(CKEDITOR.plugins.getPath("templates")+"templates/images/"),templates:[{title:"Image and Title",image:"template1.gif",description:"One main image with a title and text that surround the image.",html:'\x3ch3\x3e\x3cimg src\x3d" " alt\x3d"" style\x3d"margin-right: 10px" height\x3d"100" width\x3d"100" align\x3d"left" /\x3eType the title here\x3c/h3\x3e\x3cp\x3eType the text here\x3c/p\x3e'},{title:"Strange Template",image:"template2.gif",description:"A template that defines two columns, each one with a title, and some text.",
6
- html:'\x3ctable cellspacing\x3d"0" cellpadding\x3d"0" style\x3d"width:100%" border\x3d"0"\x3e\x3ctr\x3e\x3ctd style\x3d"width:50%"\x3e\x3ch3\x3eTitle 1\x3c/h3\x3e\x3c/td\x3e\x3ctd\x3e\x3c/td\x3e\x3ctd style\x3d"width:50%"\x3e\x3ch3\x3eTitle 2\x3c/h3\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3eText 1\x3c/td\x3e\x3ctd\x3e\x3c/td\x3e\x3ctd\x3eText 2\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3cp\x3eMore text goes here.\x3c/p\x3e'},{title:"Text and Table",image:"template3.gif",description:"A title with some text and a table.",
7
- html:'\x3cdiv style\x3d"width: 80%"\x3e\x3ch3\x3eTitle goes here\x3c/h3\x3e\x3ctable style\x3d"width:150px;float: right" cellspacing\x3d"0" cellpadding\x3d"0" border\x3d"1"\x3e\x3ccaption style\x3d"border:solid 1px black"\x3e\x3cstrong\x3eTable title\x3c/strong\x3e\x3c/caption\x3e\x3ctr\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3cp\x3eType the text here\x3c/p\x3e\x3c/div\x3e'}]});
@@ -1,28 +0,0 @@
1
- Software License Agreement
2
- ==========================
3
-
4
- **CKEditor WSC Plugin**
5
- Copyright &copy; 2012, [CKSource](http://cksource.com) - Frederico Knabben. All rights reserved.
6
-
7
- Licensed under the terms of any of the following licenses at your choice:
8
-
9
- * GNU General Public License Version 2 or later (the "GPL"):
10
- http://www.gnu.org/licenses/gpl.html
11
-
12
- * GNU Lesser General Public License Version 2.1 or later (the "LGPL"):
13
- http://www.gnu.org/licenses/lgpl.html
14
-
15
- * Mozilla Public License Version 1.1 or later (the "MPL"):
16
- http://www.mozilla.org/MPL/MPL-1.1.html
17
-
18
- You are not required to, but if you want to explicitly declare the license you have chosen to be bound to when using, reproducing, modifying and distributing this software, just include a text file titled "legal.txt" in your version of this software, indicating your license choice.
19
-
20
- Sources of Intellectual Property Included in this plugin
21
- --------------------------------------------------------
22
-
23
- Where not otherwise indicated, all plugin content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, the plugin will incorporate work done by developers outside of CKSource with their express permission.
24
-
25
- Trademarks
26
- ----------
27
-
28
- CKEditor is a trademark of CKSource - Frederico Knabben. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
@@ -1,25 +0,0 @@
1
- CKEditor WebSpellChecker Plugin
2
- ===============================
3
-
4
- This plugin brings Web Spell Checker (WSC) into CKEditor.
5
-
6
- WSC is "installation-less", using the web-services of [WebSpellChecker.net](http://www.webspellchecker.net/). It's an out of the box solution.
7
-
8
- Installation
9
- ------------
10
-
11
- 1. Clone/copy this repository contents in a new "plugins/wsc" folder in your CKEditor installation.
12
- 2. Enable the "wsc" plugin in the CKEditor configuration file (config.js):
13
-
14
- config.extraPlugins = 'wsc';
15
-
16
- That's all. WSC will appear on the editor toolbar and will be ready to use.
17
-
18
- License
19
- -------
20
-
21
- Licensed under the terms of any of the following licenses at your choice: [GPL](http://www.gnu.org/licenses/gpl.html), [LGPL](http://www.gnu.org/licenses/lgpl.html) and [MPL](http://www.mozilla.org/MPL/MPL-1.1.html).
22
-
23
- See LICENSE.md for more information.
24
-
25
- Developed in cooperation with [WebSpellChecker.net](http://www.webspellchecker.net/).
@@ -1,66 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
- <!--
3
- Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.html or http://ckeditor.com/license
5
- -->
6
- <html>
7
- <head>
8
- <title></title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
10
- <script type="text/javascript">
11
-
12
- function gup( name )
13
- {
14
- name = name.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' ) ;
15
- var regexS = '[\\?&]' + name + '=([^&#]*)' ;
16
- var regex = new RegExp( regexS ) ;
17
- var results = regex.exec( window.location.href ) ;
18
-
19
- if ( results )
20
- return results[ 1 ] ;
21
- else
22
- return '' ;
23
- }
24
-
25
- var interval;
26
-
27
- function sendData2Master()
28
- {
29
- var destination = window.parent.parent ;
30
- try
31
- {
32
- if ( destination.XDTMaster )
33
- {
34
- var t = destination.XDTMaster.read( [ gup( 'cmd' ), gup( 'data' ) ] ) ;
35
- window.clearInterval( interval ) ;
36
- }
37
- }
38
- catch (e) {}
39
- }
40
-
41
- function OnMessage (event) {
42
- var message = event.data;
43
- var destination = window.parent.parent;
44
- destination.XDTMaster.read( [ 'end', message, 'fpm' ] ) ;
45
- }
46
-
47
- function listenPostMessage() {
48
- if (window.addEventListener) { // all browsers except IE before version 9
49
- window.addEventListener ("message", OnMessage, false);
50
- }else {
51
- if (window.attachEvent) { // IE before version 9
52
- window.attachEvent("onmessage", OnMessage);
53
- }
54
- }
55
- }
56
-
57
- function onLoad()
58
- {
59
- interval = window.setInterval( sendData2Master, 100 );
60
- listenPostMessage();
61
- }
62
-
63
- </script>
64
- </head>
65
- <body onload="onLoad()"><p></p></body>
66
- </html>
@@ -1,52 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
2
- <!--
3
- Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.html or http://ckeditor.com/license
5
- -->
6
- <html>
7
- <head>
8
- <title></title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
10
- <script type="text/javascript">
11
-
12
- function doLoadScript( url )
13
- {
14
- if ( !url )
15
- return false ;
16
-
17
- var s = document.createElement( "script" ) ;
18
- s.type = "text/javascript" ;
19
- s.src = url ;
20
- document.getElementsByTagName( "head" )[ 0 ].appendChild( s ) ;
21
-
22
- return true ;
23
- }
24
-
25
- var opener;
26
- function tryLoad()
27
- {
28
- opener = window.parent;
29
-
30
- // get access to global parameters
31
- var oParams = window.opener.oldFramesetPageParams;
32
-
33
- // make frameset rows string prepare
34
- var sFramesetRows = ( parseInt( oParams.firstframeh, 10 ) || '30') + ",*," + ( parseInt( oParams.thirdframeh, 10 ) || '150' ) + ',0' ;
35
- document.getElementById( 'itFrameset' ).rows = sFramesetRows ;
36
-
37
- // dynamic including init frames and crossdomain transport code
38
- // from config sproxy_js_frameset url
39
- var addScriptUrl = oParams.sproxy_js_frameset ;
40
- doLoadScript( addScriptUrl ) ;
41
- }
42
-
43
- </script>
44
- </head>
45
-
46
- <frameset id="itFrameset" onload="tryLoad();" border="0" rows="30,*,*,0">
47
- <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="0" marginwidth="2" src="" name="navbar"></frame>
48
- <frame scrolling="auto" framespacing="0" frameborder="0" noresize="noresize" marginheight="0" marginwidth="0" src="" name="mid"></frame>
49
- <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="1" marginwidth="1" src="" name="bot"></frame>
50
- <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="1" marginwidth="1" src="" name="spellsuggestall"></frame>
51
- </frameset>
52
- </html>
@@ -1,91 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
- (function(){function A(a){return a&&a.domId&&a.getInputElement().$?a.getInputElement():a&&a.$?a:!1}function J(a){if(!a)throw"Languages-by-groups list are required for construct selectbox";var d=[],c="",e;for(e in a)for(var f in a[e]){var h=a[e][f];"en_US"==h?c=h:d.push(h)}d.sort();c&&d.unshift(c);return{getCurrentLangGroup:function(d){a:{for(var c in a)for(var e in a[c])if(e.toUpperCase()===d.toUpperCase()){d=c;break a}d=""}return d},setLangList:function(){var d={},c;for(c in a)for(var e in a[c])d[a[c][e]]=
6
- e;return d}()}}var g=function(){var a=function(a,b,e){e=e||{};var f=e.expires;if("number"==typeof f&&f){var h=new Date;h.setTime(h.getTime()+1E3*f);f=e.expires=h}f&&f.toUTCString&&(e.expires=f.toUTCString());b=encodeURIComponent(b);a=a+"\x3d"+b;for(var k in e)b=e[k],a+="; "+k,!0!==b&&(a+="\x3d"+b);document.cookie=a};return{postMessage:{init:function(a){window.addEventListener?window.addEventListener("message",a,!1):window.attachEvent("onmessage",a)},send:function(a){var b=Object.prototype.toString,
7
- e=a.fn||null,f=a.id||"",h=a.target||window,k=a.message||{id:f};a.message&&"[object Object]"==b.call(a.message)&&(a.message.id?a.message.id:a.message.id=f,k=a.message);a=window.JSON.stringify(k,e);h.postMessage(a,"*")},unbindHandler:function(a){window.removeEventListener?window.removeEventListener("message",a,!1):window.detachEvent("onmessage",a)}},hash:{create:function(){},parse:function(){}},cookie:{set:a,get:function(a){return(a=document.cookie.match(new RegExp("(?:^|; )"+a.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,
8
- "\\$1")+"\x3d([^;]*)")))?decodeURIComponent(a[1]):void 0},remove:function(d){a(d,"",{expires:-1})}},misc:{findFocusable:function(a){var b=null;a&&(b=a.find("a[href], area[href], input, select, textarea, button, *[tabindex], *[contenteditable]"));return b},isVisible:function(a){var b;(b=0===a.offsetWidth||0==a.offsetHeight)||(b="none"===(document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null).display:a.currentStyle?a.currentStyle.display:a.style.display));
9
- return!b},hasClass:function(a,b){return!(!a.className||!a.className.match(new RegExp("(\\s|^)"+b+"(\\s|$)")))}}}}(),a=a||{};a.TextAreaNumber=null;a.load=!0;a.cmd={SpellTab:"spell",Thesaurus:"thes",GrammTab:"grammar"};a.dialog=null;a.optionNode=null;a.selectNode=null;a.grammerSuggest=null;a.textNode={};a.iframeMain=null;a.dataTemp="";a.div_overlay=null;a.textNodeInfo={};a.selectNode={};a.selectNodeResponce={};a.langList=null;a.langSelectbox=null;a.banner="";a.show_grammar=null;a.div_overlay_no_check=
10
- null;a.targetFromFrame={};a.onLoadOverlay=null;a.LocalizationComing={};a.OverlayPlace=null;a.sessionid="";a.LocalizationButton={ChangeTo_button:{instance:null,text:"Change to",localizationID:"ChangeTo"},ChangeAll:{instance:null,text:"Change All"},IgnoreWord:{instance:null,text:"Ignore word"},IgnoreAllWords:{instance:null,text:"Ignore all words"},Options:{instance:null,text:"Options",optionsDialog:{instance:null}},AddWord:{instance:null,text:"Add word"},FinishChecking_button:{instance:null,text:"Finish Checking",
11
- localizationID:"FinishChecking"},Option_button:{instance:null,text:"Options",localizationID:"Options"},FinishChecking_button_block:{instance:null,text:"Finish Checking",localizationID:"FinishChecking"}};a.LocalizationLabel={ChangeTo_label:{instance:null,text:"Change to",localizationID:"ChangeTo"},Suggestions:{instance:null,text:"Suggestions"},Categories:{instance:null,text:"Categories"},Synonyms:{instance:null,text:"Synonyms"}};var K=function(b){var d,c,e;for(e in b){if(d=a.dialog.getContentElement(a.dialog._.currentTabId,
12
- e))d=d.getElement();else if(b[e].instance)d=b[e].instance.getElement().getFirst()||b[e].instance.getElement();else continue;c=b[e].localizationID||e;d.setText(a.LocalizationComing[c])}},L=function(b){var d,c,e;for(e in b)d=a.dialog.getContentElement(a.dialog._.currentTabId,e),d||(d=b[e].instance),d.setLabel&&(c=b[e].localizationID||e,d.setLabel(a.LocalizationComing[c]+":"))},t,B;a.framesetHtml=function(b){return"\x3ciframe id\x3d"+a.iframeNumber+"_"+b+' frameborder\x3d"0" allowtransparency\x3d"1" style\x3d"width:100%;border: 1px solid #AEB3B9;overflow: auto;background:#fff; border-radius: 3px;"\x3e\x3c/iframe\x3e'};
13
- a.setIframe=function(b,d){var c;c=a.framesetHtml(d);var e=a.iframeNumber+"_"+d;b.getElement().setHtml(c);c=document.getElementById(e);c=c.contentWindow?c.contentWindow:c.contentDocument.document?c.contentDocument.document:c.contentDocument;c.document.open();c.document.write('\x3c!DOCTYPE html\x3e\x3chtml\x3e\x3chead\x3e\x3cmeta charset\x3d"UTF-8"\x3e\x3ctitle\x3eiframe\x3c/title\x3e\x3cstyle\x3ehtml,body{margin: 0;height: 100%;font: 13px/1.555 "Trebuchet MS", sans-serif;}a{color: #888;font-weight: bold;text-decoration: none;border-bottom: 1px solid #888;}.main-box {color:#252525;padding: 3px 5px;text-align: justify;}.main-box p{margin: 0 0 14px;}.main-box .cerr{color: #f00000;border-bottom-color: #f00000;}\x3c/style\x3e\x3c/head\x3e\x3cbody\x3e\x3cdiv id\x3d"content" class\x3d"main-box"\x3e\x3c/div\x3e\x3ciframe src\x3d"" frameborder\x3d"0" id\x3d"spelltext" name\x3d"spelltext" style\x3d"display:none; width: 100%" \x3e\x3c/iframe\x3e\x3ciframe src\x3d"" frameborder\x3d"0" id\x3d"loadsuggestfirst" name\x3d"loadsuggestfirst" style\x3d"display:none; width: 100%" \x3e\x3c/iframe\x3e\x3ciframe src\x3d"" frameborder\x3d"0" id\x3d"loadspellsuggestall" name\x3d"loadspellsuggestall" style\x3d"display:none; width: 100%" \x3e\x3c/iframe\x3e\x3ciframe src\x3d"" frameborder\x3d"0" id\x3d"loadOptionsForm" name\x3d"loadOptionsForm" style\x3d"display:none; width: 100%" \x3e\x3c/iframe\x3e\x3cscript\x3e(function(window) {var ManagerPostMessage \x3d function() {var _init \x3d function(handler) {if (document.addEventListener) {window.addEventListener("message", handler, false);} else {window.attachEvent("onmessage", handler);};};var _sendCmd \x3d function(o) {var str,type \x3d Object.prototype.toString,fn \x3d o.fn || null,id \x3d o.id || "",target \x3d o.target || window,message \x3d o.message || { "id": id };if (o.message \x26\x26 type.call(o.message) \x3d\x3d "[object Object]") {(o.message["id"]) ? o.message["id"] : o.message["id"] \x3d id;message \x3d o.message;};str \x3d JSON.stringify(message, fn);target.postMessage(str, "*");};return {init: _init,send: _sendCmd};};var manageMessageTmp \x3d new ManagerPostMessage;var appString \x3d (function(){var spell \x3d parent.CKEDITOR.config.wsc.DefaultParams.scriptPath;var serverUrl \x3d parent.CKEDITOR.config.wsc.DefaultParams.serviceHost;return serverUrl + spell;})();function loadScript(src, callback) {var scriptTag \x3d document.createElement("script");scriptTag.type \x3d "text/javascript";callback ? callback : callback \x3d function() {};if(scriptTag.readyState) {scriptTag.onreadystatechange \x3d function() {if (scriptTag.readyState \x3d\x3d "loaded" ||scriptTag.readyState \x3d\x3d "complete") {scriptTag.onreadystatechange \x3d null;setTimeout(function(){scriptTag.parentNode.removeChild(scriptTag)},1);callback();}};}else{scriptTag.onload \x3d function() {setTimeout(function(){scriptTag.parentNode.removeChild(scriptTag)},1);callback();};};scriptTag.src \x3d src;document.getElementsByTagName("head")[0].appendChild(scriptTag);};window.onload \x3d function(){loadScript(appString, function(){manageMessageTmp.send({"id": "iframeOnload","target": window.parent});});}})(this);\x3c/script\x3e\x3c/body\x3e\x3c/html\x3e');
14
- c.document.close();a.div_overlay.setEnable()};a.setCurrentIframe=function(b){a.setIframe(a.dialog._.contents[b].Content,b)};a.setHeightBannerFrame=function(){var b=a.dialog.getContentElement("SpellTab","banner").getElement(),d=a.dialog.getContentElement("GrammTab","banner").getElement(),c=a.dialog.getContentElement("Thesaurus","banner").getElement();b.setStyle("height","90px");d.setStyle("height","90px");c.setStyle("height","90px")};a.setHeightFrame=function(){document.getElementById(a.iframeNumber+
15
- "_"+a.dialog._.currentTabId).style.height="240px"};a.sendData=function(b){var d=b._.currentTabId,c=b._.contents[d].Content,e,f;a.previousTab=d;a.setIframe(c,d);var h=function(h){d=b._.currentTabId;h=h||window.event;h.data.getTarget().is("a")&&d!==a.previousTab&&(a.previousTab=d,c=b._.contents[d].Content,e=a.iframeNumber+"_"+d,a.div_overlay.setEnable(),c.getElement().getChildCount()?F(a.targetFromFrame[e],a.cmd[d]):(a.setIframe(c,d),f=document.getElementById(e),a.targetFromFrame[e]=f.contentWindow))};
16
- b.parts.tabs.removeListener("click",h);b.parts.tabs.on("click",h)};a.buildSelectLang=function(a){var d=new CKEDITOR.dom.element("div"),c=new CKEDITOR.dom.element("select");a="wscLang"+a;d.addClass("cke_dialog_ui_input_select");d.setAttribute("role","presentation");d.setStyles({height:"auto",position:"absolute",right:"0",top:"-1px",width:"160px","white-space":"normal"});c.setAttribute("id",a);c.addClass("cke_dialog_ui_input_select");c.setStyles({width:"160px"});d.append(c);return d};a.buildOptionLang=
17
- function(b,d){var c=document.getElementById("wscLang"+d),e=document.createDocumentFragment(),f,h,k=[];if(0===c.options.length){for(f in b)k.push([f,b[f]]);k.sort();for(var l=0;l<k.length;l++)f=document.createElement("option"),f.setAttribute("value",k[l][1]),h=document.createTextNode(k[l][0]),f.appendChild(h),e.appendChild(f);c.appendChild(e)}for(e=0;e<c.options.length;e++)c.options[e].value==a.selectingLang&&(c.options[e].selected="selected")};a.buildOptionSynonyms=function(b){b=a.selectNodeResponce[b];
18
- var d=A(a.selectNode.Synonyms);a.selectNode.Synonyms.clear();for(var c=0;c<b.length;c++){var e=document.createElement("option");e.text=b[c];e.value=b[c];d.$.add(e,c)}a.selectNode.Synonyms.getInputElement().$.firstChild.selected=!0;a.textNode.Thesaurus.setValue(a.selectNode.Synonyms.getInputElement().getValue())};var C=function(a){var d=document,c=a.target||d.body,e=a.id||"overlayBlock",f=a.opacity||"0.9";a=a.background||"#f1f1f1";var h=d.getElementById(e),k=h||d.createElement("div");k.style.cssText=
19
- "position: absolute;top:30px;bottom:41px;left:1px;right:1px;z-index: 10020;padding:0;margin:0;background:"+a+";opacity: "+f+";filter: alpha(opacity\x3d"+100*f+");display: none;";k.id=e;h||c.appendChild(k);return{setDisable:function(){k.style.display="none"},setEnable:function(){k.style.display="block"}}},M=function(b,d,c){var e=new CKEDITOR.dom.element("div"),f=new CKEDITOR.dom.element("input"),h=new CKEDITOR.dom.element("label"),k="wscGrammerSuggest"+b+"_"+d;e.addClass("cke_dialog_ui_input_radio");
20
- e.setAttribute("role","presentation");e.setStyles({width:"97%",padding:"5px","white-space":"normal"});f.setAttributes({type:"radio",value:d,name:"wscGrammerSuggest",id:k});f.setStyles({"float":"left"});f.on("click",function(b){a.textNode.GrammTab.setValue(b.sender.getValue())});c?f.setAttribute("checked",!0):!1;f.addClass("cke_dialog_ui_radio_input");h.appendText(b);h.setAttribute("for",k);h.setStyles({display:"block","line-height":"16px","margin-left":"18px","white-space":"normal"});e.append(f);
21
- e.append(h);return e},G=function(a){a=a||"true";null!==a&&"false"==a&&u()},w=function(b){var d=new J(b);b="wscLang"+a.dialog.getParentEditor().name;b=document.getElementById(b);var c,e=a.iframeNumber+"_"+a.dialog._.currentTabId;a.buildOptionLang(d.setLangList,a.dialog.getParentEditor().name);if(c=d.getCurrentLangGroup(a.selectingLang))v[c].onShow();G(a.show_grammar);b.onchange=function(b){b=d.getCurrentLangGroup(this.value);var c=a.dialog._.currentTabId;v[b].onShow();G(a.show_grammar);a.div_overlay.setEnable();
22
- a.selectingLang=this.value;c=a.cmd[c];b&&v[b]&&v[b].allowedTabCommands[c]||(c=v[b].defaultTabCommand);for(var k in a.cmd)if(a.cmd[k]==c){a.previousTab=k;break}g.postMessage.send({message:{changeLang:a.selectingLang,interfaceLang:a.interfaceLang,text:a.dataTemp,cmd:c},target:a.targetFromFrame[e],id:"selectionLang_outer__page"})}},N=function(b){var d,c=function(b){b=a.dialog.getContentElement(a.dialog._.currentTabId,b)||a.LocalizationButton[b].instance;b.getElement().hasClass("cke_disabled")?b.getElement().setStyle("color",
23
- "#a0a0a0"):b.disable()};d=function(b){b=a.dialog.getContentElement(a.dialog._.currentTabId,b)||a.LocalizationButton[b].instance;b.enable();b.getElement().setStyle("color","#333")};"no_any_suggestions"==b?(b="No suggestions",d=a.dialog.getContentElement(a.dialog._.currentTabId,"ChangeTo_button")||a.LocalizationButton.ChangeTo_button.instance,d.disable(),d=a.dialog.getContentElement(a.dialog._.currentTabId,"ChangeAll")||a.LocalizationButton.ChangeAll.instance,d.disable(),c("ChangeTo_button"),c("ChangeAll")):
24
- (d("ChangeTo_button"),d("ChangeAll"));return b},P={iframeOnload:function(b){b=a.dialog._.currentTabId;F(a.targetFromFrame[a.iframeNumber+"_"+b],a.cmd[b])},suggestlist:function(b){delete b.id;a.div_overlay_no_check.setDisable();D();w(a.langList);var d=N(b.word),c="";d instanceof Array&&(d=b.word[0]);c=d=d.split(",");a.textNode.SpellTab.setValue(c[0]);b=A(B);B.clear();for(d=0;d<c.length;d++){var e=document.createElement("option");e.text=c[d];e.value=c[d];b.$.add(e,d)}p();a.div_overlay.setDisable()},
25
- grammerSuggest:function(b){delete b.id;delete b.mocklangs;D();w(a.langList);var d=b.grammSuggest[0];a.grammerSuggest.getElement().setHtml("");a.textNode.GrammTab.reset();a.textNode.GrammTab.setValue(d);a.textNodeInfo.GrammTab.getElement().setHtml("");a.textNodeInfo.GrammTab.getElement().setText(b.info);b=b.grammSuggest;for(var d=b.length,c=!0,e=0;e<d;e++)a.grammerSuggest.getElement().append(M(b[e],b[e],c)),c=!1;p();a.div_overlay.setDisable()},thesaurusSuggest:function(b){delete b.id;delete b.mocklangs;
26
- D();w(a.langList);a.selectNodeResponce=b;a.textNode.Thesaurus.reset();var d=A(a.selectNode.Categories),c=0;a.selectNode.Categories.clear();for(var e in b)b=document.createElement("option"),b.text=e,b.value=e,d.$.add(b,c),c++;d=a.selectNode.Categories.getInputElement().getChildren().$[0].value;a.selectNode.Categories.getInputElement().getChildren().$[0].selected=!0;a.buildOptionSynonyms(d);p();a.div_overlay.setDisable()},finish:function(b){delete b.id;O();b=a.dialog.getContentElement(a.dialog._.currentTabId,
27
- "BlockFinishChecking").getElement();b.removeStyle("display");b.removeStyle("position");b.removeStyle("left");b.show();a.div_overlay.setDisable()},settext:function(b){function d(){try{c.focus()}catch(d){}c.setData(b.text,function(){a.dataTemp="";c.unlockSelection();c.fire("saveSnapshot");a.dialog.hide()})}delete b.id;a.dialog.getParentEditor().getCommand("checkspell");var c=a.dialog.getParentEditor(),e=CKEDITOR.plugins.scayt,f=c.scayt;if(e&&c.wsc){var h=c.wsc.udn,k=c.wsc.ud,l,g;if(f){var x=function(){if(k)for(l=
28
- k.split(","),g=0;g<l.length;g+=1)f.addWordToUserDictionary(l[g]);else c.wsc.DataStorage.setData("scayt_user_dictionary",[]);d()};e.state.scayt[c.name]&&f.setMarkupPaused(!1);h?(c.wsc.DataStorage.setData("scayt_user_dictionary_name",h),f.restoreUserDictionary(h,x,x)):(c.wsc.DataStorage.setData("scayt_user_dictionary_name",""),f.removeUserDictionary(void 0,x,x))}else h?c.wsc.DataStorage.setData("scayt_user_dictionary_name",h):c.wsc.DataStorage.setData("scayt_user_dictionary_name",""),k&&(l=k.split(","),
29
- c.wsc.DataStorage.setData("scayt_user_dictionary",l)),d()}},ReplaceText:function(b){delete b.id;a.div_overlay.setEnable();a.dataTemp=b.text;a.selectingLang=b.currentLang;(b.cmd="0"!==b.len&&b.len)?a.div_overlay.setDisable():window.setTimeout(function(){try{a.div_overlay.setDisable()}catch(b){}},500);K(a.LocalizationButton);L(a.LocalizationLabel)},options_checkbox_send:function(b){delete b.id;b={osp:g.cookie.get("osp"),udn:g.cookie.get("udn"),cust_dic_ids:a.cust_dic_ids};g.postMessage.send({message:b,
30
- target:a.targetFromFrame[a.iframeNumber+"_"+a.dialog._.currentTabId],id:"options_outer__page"})},getOptions:function(b){var d=b.DefOptions.udn;a.LocalizationComing=b.DefOptions.localizationButtonsAndText;a.show_grammar=b.show_grammar;a.langList=b.lang;a.bnr=b.bannerId;a.sessionid=b.sessionid;if(b.bannerId){a.setHeightBannerFrame();var c=b.banner;a.dialog.getContentElement(a.dialog._.currentTabId,"banner").getElement().setHtml(c)}else a.setHeightFrame();"undefined"==d&&(a.userDictionaryName?(d=a.userDictionaryName,
31
- c={osp:g.cookie.get("osp"),udn:a.userDictionaryName,cust_dic_ids:a.cust_dic_ids,id:"options_dic_send",udnCmd:"create"},g.postMessage.send({message:c,target:a.targetFromFrame[void 0]})):d="");g.cookie.set("osp",b.DefOptions.osp);g.cookie.set("udn",d);g.cookie.set("cust_dic_ids",b.DefOptions.cust_dic_ids);g.postMessage.send({id:"giveOptions"})},options_dic_send:function(b){b={osp:g.cookie.get("osp"),udn:g.cookie.get("udn"),cust_dic_ids:a.cust_dic_ids,id:"options_dic_send",udnCmd:g.cookie.get("udnCmd")};
32
- g.postMessage.send({message:b,target:a.targetFromFrame[a.iframeNumber+"_"+a.dialog._.currentTabId]})},data:function(a){delete a.id},giveOptions:function(){},setOptionsConfirmF:function(){},setOptionsConfirmT:function(){t.setValue("")},clickBusy:function(){a.div_overlay.setEnable()},suggestAllCame:function(){a.div_overlay.setDisable();a.div_overlay_no_check.setDisable()},TextCorrect:function(){w(a.langList)}},H=function(a){a=a||window.event;if((a=window.JSON.parse(a.data))&&a.id)P[a.id](a)},F=function(b,
33
- d,c,e){d=d||CKEDITOR.config.wsc_cmd;c=c||a.dataTemp;g.postMessage.send({message:{customerId:a.wsc_customerId,text:c,txt_ctrl:a.TextAreaNumber,cmd:d,cust_dic_ids:a.cust_dic_ids,udn:a.userDictionaryName,slang:a.selectingLang,interfaceLang:a.interfaceLang,reset_suggest:e||!1,sessionid:a.sessionid},target:b,id:"data_outer__page"});a.div_overlay.setEnable()},v={superset:{onShow:function(){a.dialog.showPage("Thesaurus");a.dialog.showPage("GrammTab");q()},allowedTabCommands:{spell:!0,grammar:!0,thes:!0},
34
- defaultTabCommand:"spell"},usual:{onShow:function(){y();u();q()},allowedTabCommands:{spell:!0},defaultTabCommand:"spell"},rtl:{onShow:function(){y();u();q()},allowedTabCommands:{spell:!0},defaultTabCommand:"spell"},spellgrammar:{onShow:function(){y();a.dialog.showPage("GrammTab");q()},allowedTabCommands:{spell:!0,grammar:!0},defaultTabCommand:"spell"},spellthes:{onShow:function(){a.dialog.showPage("Thesaurus");u();q()},allowedTabCommands:{spell:!0,thes:!0},defaultTabCommand:"spell"}},I=function(b){var d=
35
- (new function(a){var b={};return{getCmdByTab:function(d){for(var h in a)b[a[h]]=h;return b[d]}}}(a.cmd)).getCmdByTab(CKEDITOR.config.wsc_cmd);p();b.selectPage(d);a.sendData(b)},y=function(){a.dialog.hidePage("Thesaurus")},u=function(){a.dialog.hidePage("GrammTab")},q=function(){a.dialog.showPage("SpellTab")},p=function(){var b=a.dialog.getContentElement(a.dialog._.currentTabId,"bottomGroup").getElement();b.removeStyle("display");b.removeStyle("position");b.removeStyle("left");b.show()},O=function(){var b=
36
- a.dialog.getContentElement(a.dialog._.currentTabId,"bottomGroup").getElement(),d=document.activeElement,c;b.setStyles({display:"block",position:"absolute",left:"-9999px"});setTimeout(function(){b.removeStyle("display");b.removeStyle("position");b.removeStyle("left");b.hide();a.dialog._.editor.focusManager.currentActive.focusNext();c=g.misc.findFocusable(a.dialog.parts.contents);if(g.misc.hasClass(d,"cke_dialog_tab")||g.misc.hasClass(d,"cke_dialog_contents_body")||!g.misc.isVisible(d))for(var e=0,
37
- f;e<c.count();e++){if(f=c.getItem(e),g.misc.isVisible(f.$)){try{f.$.focus()}catch(h){}break}}else try{d.focus()}catch(k){}},0)},D=function(){var b=a.dialog.getContentElement(a.dialog._.currentTabId,"BlockFinishChecking").getElement(),d=document.activeElement,c;b.setStyles({display:"block",position:"absolute",left:"-9999px"});setTimeout(function(){b.removeStyle("display");b.removeStyle("position");b.removeStyle("left");b.hide();a.dialog._.editor.focusManager.currentActive.focusNext();c=g.misc.findFocusable(a.dialog.parts.contents);
38
- if(g.misc.hasClass(d,"cke_dialog_tab")||g.misc.hasClass(d,"cke_dialog_contents_body")||!g.misc.isVisible(d))for(var e=0,f;e<c.count();e++){if(f=c.getItem(e),g.misc.isVisible(f.$)){try{f.$.focus()}catch(h){}break}}else try{d.focus()}catch(k){}},0)};CKEDITOR.dialog.add("checkspell",function(b){function d(a){var c=parseInt(b.config.wsc_left,10),d=parseInt(b.config.wsc_top,10),e=parseInt(b.config.wsc_width,10),g=parseInt(b.config.wsc_height,10),m=CKEDITOR.document.getWindow().getViewPaneSize();a.getPosition();
39
- var n=a.getSize(),r=0;if(!a._.resized){var r=n.height-a.parts.contents.getSize("height",!(CKEDITOR.env.gecko||CKEDITOR.env.opera||CKEDITOR.env.ie&&CKEDITOR.env.quirks)),E=n.width-a.parts.contents.getSize("width",1);if(e<f.minWidth||isNaN(e))e=f.minWidth;e>m.width-E&&(e=m.width-E);if(g<f.minHeight||isNaN(g))g=f.minHeight;g>m.height-r&&(g=m.height-r);n.width=e+E;n.height=g+r;a._.fromResizeEvent=!1;a.resize(e,g);setTimeout(function(){a._.fromResizeEvent=!1;CKEDITOR.dialog.fire("resize",{dialog:a,width:e,
40
- height:g},b)},300)}a._.moved||(r=isNaN(c)&&isNaN(d)?0:1,isNaN(c)&&(c=(m.width-n.width)/2),0>c&&(c=0),c>m.width-n.width&&(c=m.width-n.width),isNaN(d)&&(d=(m.height-n.height)/2),0>d&&(d=0),d>m.height-n.height&&(d=m.height-n.height),a.move(c,d,r))}function c(){b.wsc={};(function(a){var b={separator:"\x3c$\x3e",getDataType:function(a){return"undefined"===typeof a?"undefined":null===a?"null":Object.prototype.toString.call(a).slice(8,-1)},convertDataToString:function(a){return this.getDataType(a).toLowerCase()+
41
- this.separator+a},restoreDataFromString:function(a){var b=a,c;a=this.backCompatibility(a);if("string"===typeof a)switch(b=a.indexOf(this.separator),c=a.substring(0,b),b=a.substring(b+this.separator.length),c){case "boolean":b="true"===b;break;case "number":b=parseFloat(b);break;case "array":b=""===b?[]:b.split(",");break;case "null":b=null;break;case "undefined":b=void 0}return b},backCompatibility:function(a){var b=a,c;"string"===typeof a&&(c=a.indexOf(this.separator),0>c&&(b=parseFloat(a),isNaN(b)&&
42
- ("["===a[0]&&"]"===a[a.length-1]?(a=a.replace("[",""),a=a.replace("]",""),b=""===a?[]:a.split(",")):b="true"===a||"false"===a?"true"===a:a),b=this.convertDataToString(b)));return b}},c={get:function(a){return b.restoreDataFromString(window.localStorage.getItem(a))},set:function(a,c){var d=b.convertDataToString(c);window.localStorage.setItem(a,d)},del:function(a){window.localStorage.removeItem(a)},clear:function(){window.localStorage.clear()}},d={expiration:31622400,get:function(a){return b.restoreDataFromString(this.getCookie(a))},
43
- set:function(a,c){var d=b.convertDataToString(c);this.setCookie(a,d,{expires:this.expiration})},del:function(a){this.deleteCookie(a)},getCookie:function(a){return(a=document.cookie.match(new RegExp("(?:^|; )"+a.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"\x3d([^;]*)")))?decodeURIComponent(a[1]):void 0},setCookie:function(a,b,c){c=c||{};var d=c.expires;if("number"===typeof d&&d){var e=new Date;e.setTime(e.getTime()+1E3*d);d=c.expires=e}d&&d.toUTCString&&(c.expires=d.toUTCString());b=encodeURIComponent(b);
44
- a=a+"\x3d"+b;for(var h in c)b=c[h],a+="; "+h,!0!==b&&(a+="\x3d"+b);document.cookie=a},deleteCookie:function(a){this.setCookie(a,null,{expires:-1})},clear:function(){for(var a=document.cookie.split(";"),b=0;b<a.length;b++){var c=a[b],d=c.indexOf("\x3d"),c=-1<d?c.substr(0,d):c;this.deleteCookie(c)}}},e=window.localStorage?c:d;a.DataStorage={getData:function(a){return e.get(a)},setData:function(a,b){e.set(a,b)},deleteData:function(a){e.del(a)},clear:function(){e.clear()}}})(b.wsc);b.wsc.operationWithUDN=
45
- function(b,c){g.postMessage.send({message:{udn:c,id:"operationWithUDN",udnCmd:b},target:a.targetFromFrame[a.iframeNumber+"_"+a.dialog._.currentTabId]})};b.wsc.getLocalStorageUDN=function(){var a=b.wsc.DataStorage.getData("scayt_user_dictionary_name");if(a)return a};b.wsc.getLocalStorageUD=function(){var a=b.wsc.DataStorage.getData("scayt_user_dictionary");if(a)return a};b.wsc.addWords=function(a,c){var d=b.config.wsc.DefaultParams.serviceHost+b.config.wsc.DefaultParams.ssrvHost+"?cmd\x3ddictionary\x26format\x3djson\x26customerid\x3d1%3AncttD3-fIoSf2-huzwE4-Y5muI2-mD0Tt-kG9Wz-UEDFC-tYu243-1Uq474-d9Z2l3\x26action\x3daddword\x26word\x3d"+
46
- a+"\x26callback\x3dtoString\x26synchronization\x3dtrue",e=document.createElement("script");e.type="text/javascript";e.src=d;document.getElementsByTagName("head")[0].appendChild(e);e.onload=c;e.onreadystatechange=function(){"loaded"===this.readyState&&c()}};b.wsc.cgiOrigin=function(){var a=b.config.wsc.DefaultParams.serviceHost.split("/");return a[0]+"//"+a[2]};b.wsc.isSsrvSame=!1}var e=function(c){this.getElement().focus();a.div_overlay.setEnable();c=a.dialog._.currentTabId;var d=a.iframeNumber+"_"+
47
- c,e=a.textNode[c].getValue(),f=this.getElement().getAttribute("title-cmd");g.postMessage.send({message:{cmd:f,tabId:c,new_word:e},target:a.targetFromFrame[d],id:"cmd_outer__page"});"ChangeTo"!=f&&"ChangeAll"!=f||b.fire("saveSnapshot");"FinishChecking"==f&&b.config.wsc_onFinish.call(CKEDITOR.document.getWindow().getFrame())},f={minWidth:560,minHeight:444};return{title:b.config.wsc_dialogTitle||b.lang.wsc.title,minWidth:f.minWidth,minHeight:f.minHeight,buttons:[CKEDITOR.dialog.cancelButton],onLoad:function(){a.dialog=
48
- this;y();u();q();b.plugins.scayt&&c()},onShow:function(){a.dialog=this;b.lockSelection(b.getSelection());a.TextAreaNumber="cke_textarea_"+b.name;g.postMessage.init(H);a.dataTemp=b.getData();a.OverlayPlace=a.dialog.parts.tabs.getParent().$;if(CKEDITOR&&CKEDITOR.config){a.wsc_customerId=b.config.wsc_customerId;a.cust_dic_ids=b.config.wsc_customDictionaryIds;a.userDictionaryName=b.config.wsc_userDictionaryName;a.defaultLanguage=CKEDITOR.config.defaultLanguage;var c="file:"==document.location.protocol?
49
- "http:":document.location.protocol,c=b.config.wsc_customLoaderScript||c+"//www.webspellchecker.net/spellcheck31/lf/22/js/wsc_fck2plugin.js";d(this);CKEDITOR.scriptLoader.load(c,function(c){CKEDITOR.config&&CKEDITOR.config.wsc&&CKEDITOR.config.wsc.DefaultParams?(a.serverLocationHash=CKEDITOR.config.wsc.DefaultParams.serviceHost,a.logotype=CKEDITOR.config.wsc.DefaultParams.logoPath,a.loadIcon=CKEDITOR.config.wsc.DefaultParams.iconPath,a.loadIconEmptyEditor=CKEDITOR.config.wsc.DefaultParams.iconPathEmptyEditor,
50
- a.LangComparer=new CKEDITOR.config.wsc.DefaultParams._SP_FCK_LangCompare):(a.serverLocationHash=DefaultParams.serviceHost,a.logotype=DefaultParams.logoPath,a.loadIcon=DefaultParams.iconPath,a.loadIconEmptyEditor=DefaultParams.iconPathEmptyEditor,a.LangComparer=new _SP_FCK_LangCompare);a.pluginPath=CKEDITOR.getUrl(b.plugins.wsc.path);a.iframeNumber=a.TextAreaNumber;a.templatePath=a.pluginPath+"dialogs/tmp.html";a.LangComparer.setDefaulLangCode(a.defaultLanguage);a.currentLang=b.config.wsc_lang||a.LangComparer.getSPLangCode(b.langCode)||
51
- "en_US";a.interfaceLang=b.config.wsc_interfaceLang;a.selectingLang=a.currentLang;a.div_overlay=new C({opacity:"1",background:"#fff url("+a.loadIcon+") no-repeat 50% 50%",target:a.OverlayPlace});var d=a.dialog.parts.tabs.getId(),d=CKEDITOR.document.getById(d);d.setStyle("width","97%");d.getElementsByTag("DIV").count()||d.append(a.buildSelectLang(a.dialog.getParentEditor().name));a.div_overlay_no_check=new C({opacity:"1",id:"no_check_over",background:"#fff url("+a.loadIconEmptyEditor+") no-repeat 50% 50%",
52
- target:a.OverlayPlace});c&&(I(a.dialog),a.dialog.setupContent(a.dialog));b.plugins.scayt&&(b.wsc.isSsrvSame=function(){var a=CKEDITOR.config.wsc.DefaultParams.serviceHost.replace("lf/22/js/../../../","").split("//")[1],c=CKEDITOR.config.wsc.DefaultParams.ssrvHost,d=b.config.scayt_srcUrl,e,f,h,g,l;window.SCAYT&&window.SCAYT.CKSCAYT&&(h=SCAYT.CKSCAYT.prototype.basePath,h.split("//"),g=h.split("//")[1].split("/")[0],l=h.split(g+"/")[1].replace("/lf/scayt3/ckscayt/","")+"/script/ssrv.cgi");!d||h||b.config.scayt_servicePath||
53
- (d.split("//"),e=d.split("//")[1].split("/")[0],f=d.split(e+"/")[1].replace("/lf/scayt3/ckscayt/ckscayt.js","")+"/script/ssrv.cgi");return"//"+a+c==="//"+(b.config.scayt_serviceHost||g||e)+"/"+(b.config.scayt_servicePath||l||f)}());if(window.SCAYT&&b.wsc){var e=b.wsc.cgiOrigin();b.wsc.syncIsDone=!1;c=function(a){a.origin===e&&(a=JSON.parse(a.data),a.ud&&"undefined"!==a.ud?b.wsc.ud=a.ud:"undefined"===a.ud&&(b.wsc.ud=void 0),a.udn&&"undefined"!==a.udn?b.wsc.udn=a.udn:"undefined"===a.udn&&(b.wsc.udn=
54
- void 0),b.wsc.syncIsDone||(f(b.wsc.ud),b.wsc.syncIsDone=!0))};var f=function(c){c=b.wsc.getLocalStorageUD();var d;c instanceof Array&&(d=c.toString());void 0!==d&&""!==d&&setTimeout(function(){b.wsc.addWords(d,function(){I(a.dialog);a.dialog.setupContent(a.dialog)})},400)};window.addEventListener?addEventListener("message",c,!1):window.attachEvent("onmessage",c);setTimeout(function(){var a=b.wsc.getLocalStorageUDN();void 0!==a&&b.wsc.operationWithUDN("restore",a)},500)}})}else a.dialog.hide()},onHide:function(){b.unlockSelection();
55
- a.dataTemp="";a.sessionid="";g.postMessage.unbindHandler(H)},contents:[{id:"SpellTab",label:"SpellChecker",accessKey:"S",elements:[{type:"html",id:"banner",label:"banner",style:"",html:"\x3cdiv\x3e\x3c/div\x3e"},{type:"html",id:"Content",label:"spellContent",html:"",setup:function(b){b=a.iframeNumber+"_"+b._.currentTabId;var c=document.getElementById(b);a.targetFromFrame[b]=c.contentWindow}},{type:"hbox",id:"bottomGroup",style:"width:560px; margin: 0 auto;",widths:["50%","50%"],className:"wsc-spelltab-bottom",
56
- children:[{type:"hbox",id:"leftCol",align:"left",width:"50%",children:[{type:"vbox",id:"rightCol1",widths:["50%","50%"],children:[{type:"text",id:"ChangeTo_label",label:a.LocalizationLabel.ChangeTo_label.text+":",labelLayout:"horizontal",labelStyle:"font: 12px/25px arial, sans-serif;",width:"140px","default":"",onShow:function(){a.textNode.SpellTab=this;a.LocalizationLabel.ChangeTo_label.instance=this},onHide:function(){this.reset()}},{type:"hbox",id:"rightCol",align:"right",width:"30%",children:[{type:"vbox",
57
- id:"rightCol_col__left",children:[{type:"text",id:"labelSuggestions",label:a.LocalizationLabel.Suggestions.text+":",onShow:function(){a.LocalizationLabel.Suggestions.instance=this;this.getInputElement().setStyles({display:"none"})}},{type:"html",id:"logo",html:"",setup:function(b){this.getElement().$.src=a.logotype;this.getElement().getParent().setStyles({"text-align":"left"})}}]},{type:"select",id:"list_of_suggestions",labelStyle:"font: 12px/25px arial, sans-serif;",size:"6",inputStyle:"width: 140px; height: auto;",
58
- items:[["loading..."]],onShow:function(){B=this},onChange:function(){a.textNode.SpellTab.setValue(this.getValue())}}]}]}]},{type:"hbox",id:"rightCol",align:"right",width:"50%",children:[{type:"vbox",id:"rightCol_col__left",widths:["50%","50%","50%","50%"],children:[{type:"button",id:"ChangeTo_button",label:a.LocalizationButton.ChangeTo_button.text,title:"Change to",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd","ChangeTo");a.LocalizationButton.ChangeTo_button.instance=
59
- this},onClick:e},{type:"button",id:"ChangeAll",label:a.LocalizationButton.ChangeAll.text,title:"Change All",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id);a.LocalizationButton.ChangeAll.instance=this},onClick:e},{type:"button",id:"AddWord",label:a.LocalizationButton.AddWord.text,title:"Add word",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id);a.LocalizationButton.AddWord.instance=this},onClick:e},{type:"button",
60
- id:"FinishChecking_button",label:a.LocalizationButton.FinishChecking_button.text,title:"Finish Checking",style:"width: 100%;margin-top: 9px;",onLoad:function(){this.getElement().setAttribute("title-cmd","FinishChecking");a.LocalizationButton.FinishChecking_button.instance=this},onClick:e}]},{type:"vbox",id:"rightCol_col__right",widths:["50%","50%","50%"],children:[{type:"button",id:"IgnoreWord",label:a.LocalizationButton.IgnoreWord.text,title:"Ignore word",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",
61
- this.id);a.LocalizationButton.IgnoreWord.instance=this},onClick:e},{type:"button",id:"IgnoreAllWords",label:a.LocalizationButton.IgnoreAllWords.text,title:"Ignore all words",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id);a.LocalizationButton.IgnoreAllWords.instance=this},onClick:e},{type:"button",id:"Options",label:a.LocalizationButton.Options.text,title:"Option",style:"width: 100%;",onLoad:function(){a.LocalizationButton.Options.instance=this;"file:"==
62
- document.location.protocol&&this.disable()},onClick:function(){this.getElement().focus();"file:"==document.location.protocol?alert("WSC: Options functionality is disabled when runing from file system"):(z=document.activeElement,b.openDialog("options"))}}]}]}]},{type:"hbox",id:"BlockFinishChecking",style:"width:560px; margin: 0 auto;",widths:["70%","30%"],onShow:function(){this.getElement().setStyles({display:"block",position:"absolute",left:"-9999px"})},onHide:p,children:[{type:"hbox",id:"leftCol",
63
- align:"left",width:"70%",children:[{type:"vbox",id:"rightCol1",setup:function(){this.getChild()[0].getElement().$.src=a.logotype;this.getChild()[0].getElement().getParent().setStyles({"text-align":"center"})},children:[{type:"html",id:"logo",html:""}]}]},{type:"hbox",id:"rightCol",align:"right",width:"30%",children:[{type:"vbox",id:"rightCol_col__left",children:[{type:"button",id:"Option_button",label:a.LocalizationButton.Options.text,title:"Option",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",
64
- this.id);"file:"==document.location.protocol&&this.disable()},onClick:function(){this.getElement().focus();"file:"==document.location.protocol?alert("WSC: Options functionality is disabled when runing from file system"):(z=document.activeElement,b.openDialog("options"))}},{type:"button",id:"FinishChecking_button_block",label:a.LocalizationButton.FinishChecking_button_block.text,title:"Finish Checking",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd","FinishChecking")},
65
- onClick:e}]}]}]}]},{id:"GrammTab",label:"Grammar",accessKey:"G",elements:[{type:"html",id:"banner",label:"banner",style:"",html:"\x3cdiv\x3e\x3c/div\x3e"},{type:"html",id:"Content",label:"GrammarContent",html:"",setup:function(){var b=a.iframeNumber+"_"+a.dialog._.currentTabId,c=document.getElementById(b);a.targetFromFrame[b]=c.contentWindow}},{type:"vbox",id:"bottomGroup",style:"width:560px; margin: 0 auto;",children:[{type:"hbox",id:"leftCol",widths:["66%","34%"],children:[{type:"vbox",children:[{type:"text",
66
- id:"text",label:"Change to:",labelLayout:"horizontal",labelStyle:"font: 12px/25px arial, sans-serif;",inputStyle:"float: right; width: 200px;","default":"",onShow:function(){a.textNode.GrammTab=this},onHide:function(){this.reset()}},{type:"html",id:"html_text",html:"\x3cdiv style\x3d'min-height: 17px; line-height: 17px; padding: 5px; text-align: left;background: #F1F1F1;color: #595959; white-space: normal!important;'\x3e\x3c/div\x3e",onShow:function(b){a.textNodeInfo.GrammTab=this}},{type:"html",
67
- id:"radio",html:"",onShow:function(){a.grammerSuggest=this}}]},{type:"vbox",children:[{type:"button",id:"ChangeTo_button",label:"Change to",title:"Change to",style:"width: 133px; float: right;",onLoad:function(){this.getElement().setAttribute("title-cmd","ChangeTo")},onClick:e},{type:"button",id:"IgnoreWord",label:"Ignore word",title:"Ignore word",style:"width: 133px; float: right;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id)},onClick:e},{type:"button",id:"IgnoreAllWords",
68
- label:"Ignore Problem",title:"Ignore Problem",style:"width: 133px; float: right;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id)},onClick:e},{type:"button",id:"FinishChecking_button",label:a.LocalizationButton.FinishChecking_button.text,title:"Finish Checking",style:"width: 133px; float: right; margin-top: 9px;",onLoad:function(){this.getElement().setAttribute("title-cmd","FinishChecking")},onClick:e}]}]}]},{type:"hbox",id:"BlockFinishChecking",style:"width:560px; margin: 0 auto;",
69
- widths:["70%","30%"],onShow:function(){this.getElement().setStyles({display:"block",position:"absolute",left:"-9999px"})},onHide:p,children:[{type:"hbox",id:"leftCol",align:"left",width:"70%",children:[{type:"vbox",id:"rightCol1",children:[{type:"html",id:"logo",html:"",setup:function(){this.getElement().$.src=a.logotype;this.getElement().getParent().setStyles({"text-align":"center"})}}]}]},{type:"hbox",id:"rightCol",align:"right",width:"30%",children:[{type:"vbox",id:"rightCol_col__left",children:[{type:"button",
70
- id:"FinishChecking_button_block",label:a.LocalizationButton.FinishChecking_button_block.text,title:"Finish Checking",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd","FinishChecking")},onClick:e}]}]}]}]},{id:"Thesaurus",label:"Thesaurus",accessKey:"T",elements:[{type:"html",id:"banner",label:"banner",style:"",html:"\x3cdiv\x3e\x3c/div\x3e"},{type:"html",id:"Content",label:"spellContent",html:"",setup:function(){var b=a.iframeNumber+"_"+a.dialog._.currentTabId,c=document.getElementById(b);
71
- a.targetFromFrame[b]=c.contentWindow}},{type:"vbox",id:"bottomGroup",style:"width:560px; margin: -10px auto; overflow: hidden;",children:[{type:"hbox",widths:["75%","25%"],children:[{type:"vbox",children:[{type:"hbox",widths:["65%","35%"],children:[{type:"text",id:"ChangeTo_label",label:a.LocalizationLabel.ChangeTo_label.text+":",labelLayout:"horizontal",inputStyle:"width: 160px;",labelStyle:"font: 12px/25px arial, sans-serif;","default":"",onShow:function(b){a.textNode.Thesaurus=this;a.LocalizationLabel.ChangeTo_label.instance=
72
- this},onHide:function(){this.reset()}},{type:"button",id:"ChangeTo_button",label:a.LocalizationButton.ChangeTo_button.text,title:"Change to",style:"width: 121px; margin-top: 1px;",onLoad:function(){this.getElement().setAttribute("title-cmd","ChangeTo");a.LocalizationButton.ChangeTo_button.instance=this},onClick:e}]},{type:"hbox",children:[{type:"select",id:"Categories",label:a.LocalizationLabel.Categories.text+":",labelStyle:"font: 12px/25px arial, sans-serif;",size:"5",inputStyle:"width: 180px; height: auto;",
73
- items:[],onShow:function(){a.selectNode.Categories=this;a.LocalizationLabel.Categories.instance=this},onChange:function(){a.buildOptionSynonyms(this.getValue())}},{type:"select",id:"Synonyms",label:a.LocalizationLabel.Synonyms.text+":",labelStyle:"font: 12px/25px arial, sans-serif;",size:"5",inputStyle:"width: 180px; height: auto;",items:[],onShow:function(){a.selectNode.Synonyms=this;a.textNode.Thesaurus.setValue(this.getValue());a.LocalizationLabel.Synonyms.instance=this},onChange:function(b){a.textNode.Thesaurus.setValue(this.getValue())}}]}]},
74
- {type:"vbox",width:"120px",style:"margin-top:46px;",children:[{type:"html",id:"logotype",label:"WebSpellChecker.net",html:"",setup:function(){this.getElement().$.src=a.logotype;this.getElement().getParent().setStyles({"text-align":"center"})}},{type:"button",id:"FinishChecking_button",label:a.LocalizationButton.FinishChecking_button.text,title:"Finish Checking",style:"width: 100%; float: right; margin-top: 9px;",onLoad:function(){this.getElement().setAttribute("title-cmd","FinishChecking")},onClick:e}]}]}]},
75
- {type:"hbox",id:"BlockFinishChecking",style:"width:560px; margin: 0 auto;",widths:["70%","30%"],onShow:function(){this.getElement().setStyles({display:"block",position:"absolute",left:"-9999px"})},children:[{type:"hbox",id:"leftCol",align:"left",width:"70%",children:[{type:"vbox",id:"rightCol1",children:[{type:"html",id:"logo",html:"",setup:function(){this.getElement().$.src=a.logotype;this.getElement().getParent().setStyles({"text-align":"center"})}}]}]},{type:"hbox",id:"rightCol",align:"right",
76
- width:"30%",children:[{type:"vbox",id:"rightCol_col__left",children:[{type:"button",id:"FinishChecking_button_block",label:a.LocalizationButton.FinishChecking_button_block.text,title:"Finish Checking",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd","FinishChecking")},onClick:e}]}]}]}]}]}});var z=null;CKEDITOR.dialog.add("options",function(b){var d=null,c={},e={},f=null,h=null;g.cookie.get("udn");g.cookie.get("osp");b=function(a){h=this.getElement().getAttribute("title-cmd");
77
- a=[];a[0]=e.IgnoreAllCapsWords;a[1]=e.IgnoreWordsNumbers;a[2]=e.IgnoreMixedCaseWords;a[3]=e.IgnoreDomainNames;a=a.toString().replace(/,/g,"");g.cookie.set("osp",a);g.cookie.set("udnCmd",h?h:"ignore");"delete"!=h&&(a="",""!==t.getValue()&&(a=t.getValue()),g.cookie.set("udn",a));g.postMessage.send({id:"options_dic_send"})};var k=function(){f.getElement().setHtml(a.LocalizationComing.error);f.getElement().show()};return{title:a.LocalizationComing.Options,minWidth:430,minHeight:130,resizable:CKEDITOR.DIALOG_RESIZE_NONE,
78
- contents:[{id:"OptionsTab",label:"Options",accessKey:"O",elements:[{type:"hbox",id:"options_error",children:[{type:"html",style:"display: block;text-align: center;white-space: normal!important; font-size: 12px;color:red",html:"\x3cdiv\x3e\x3c/div\x3e",onShow:function(){f=this}}]},{type:"vbox",id:"Options_content",children:[{type:"hbox",id:"Options_manager",widths:["52%","48%"],children:[{type:"fieldset",label:"Spell Checking Options",style:"border: none;margin-top: 13px;padding: 10px 0 10px 10px",
79
- onShow:function(){this.getInputElement().$.children[0].innerHTML=a.LocalizationComing.SpellCheckingOptions},children:[{type:"vbox",id:"Options_checkbox",children:[{type:"checkbox",id:"IgnoreAllCapsWords",label:"Ignore All-Caps Words",labelStyle:"margin-left: 5px; font: 12px/16px arial, sans-serif;display: inline-block;white-space: normal;",style:"float:left; min-height: 16px;","default":"",onClick:function(){e[this.id]=this.getValue()?1:0}},{type:"checkbox",id:"IgnoreWordsNumbers",label:"Ignore Words with Numbers",
80
- labelStyle:"margin-left: 5px; font: 12px/16px arial, sans-serif;display: inline-block;white-space: normal;",style:"float:left; min-height: 16px;","default":"",onClick:function(){e[this.id]=this.getValue()?1:0}},{type:"checkbox",id:"IgnoreMixedCaseWords",label:"Ignore Mixed-Case Words",labelStyle:"margin-left: 5px; font: 12px/16px arial, sans-serif;display: inline-block;white-space: normal;",style:"float:left; min-height: 16px;","default":"",onClick:function(){e[this.id]=this.getValue()?1:0}},{type:"checkbox",
81
- id:"IgnoreDomainNames",label:"Ignore Domain Names",labelStyle:"margin-left: 5px; font: 12px/16px arial, sans-serif;display: inline-block;white-space: normal;",style:"float:left; min-height: 16px;","default":"",onClick:function(){e[this.id]=this.getValue()?1:0}}]}]},{type:"vbox",id:"Options_DictionaryName",children:[{type:"text",id:"DictionaryName",style:"margin-bottom: 10px",label:"Dictionary Name:",labelLayout:"vertical",labelStyle:"font: 12px/25px arial, sans-serif;","default":"",onLoad:function(){t=
82
- this;var b=a.userDictionaryName?a.userDictionaryName:(g.cookie.get("udn"),this.getValue());this.setValue(b)},onShow:function(){t=this;var b=g.cookie.get("udn")?g.cookie.get("udn"):this.getValue();this.setValue(b);this.setLabel(a.LocalizationComing.DictionaryName)},onHide:function(){this.reset()}},{type:"hbox",id:"Options_buttons",children:[{type:"vbox",id:"Options_leftCol_col",widths:["50%","50%"],children:[{type:"button",id:"create",label:"Create",title:"Create",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",
83
- this.id)},onShow:function(){(this.getElement().getFirst()||this.getElement()).setText(a.LocalizationComing.Create)},onClick:b},{type:"button",id:"restore",label:"Restore",title:"Restore",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id)},onShow:function(){(this.getElement().getFirst()||this.getElement()).setText(a.LocalizationComing.Restore)},onClick:b}]},{type:"vbox",id:"Options_rightCol_col",widths:["50%","50%"],children:[{type:"button",id:"rename",label:"Rename",
84
- title:"Rename",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id)},onShow:function(){(this.getElement().getFirst()||this.getElement()).setText(a.LocalizationComing.Rename)},onClick:b},{type:"button",id:"delete",label:"Remove",title:"Remove",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id)},onShow:function(){(this.getElement().getFirst()||this.getElement()).setText(a.LocalizationComing.Remove)},onClick:b}]}]}]}]},{type:"hbox",
85
- id:"Options_text",children:[{type:"html",style:"text-align: justify;margin-top: 15px;white-space: normal!important; font-size: 12px;color:#777;",html:"\x3cdiv\x3e"+a.LocalizationComing.OptionsTextIntro+"\x3c/div\x3e",onShow:function(){this.getElement().setText(a.LocalizationComing.OptionsTextIntro)}}]}]}]}],buttons:[CKEDITOR.dialog.okButton,CKEDITOR.dialog.cancelButton],onOk:function(){var a=[];a[0]=e.IgnoreAllCapsWords;a[1]=e.IgnoreWordsNumbers;a[2]=e.IgnoreMixedCaseWords;a[3]=e.IgnoreDomainNames;
86
- a=a.toString().replace(/,/g,"");g.cookie.set("osp",a);g.postMessage.send({id:"options_checkbox_send"});f.getElement().hide();f.getElement().setHtml(" ")},onLoad:function(){d=this;c.IgnoreAllCapsWords=d.getContentElement("OptionsTab","IgnoreAllCapsWords");c.IgnoreWordsNumbers=d.getContentElement("OptionsTab","IgnoreWordsNumbers");c.IgnoreMixedCaseWords=d.getContentElement("OptionsTab","IgnoreMixedCaseWords");c.IgnoreDomainNames=d.getContentElement("OptionsTab","IgnoreDomainNames")},onShow:function(){g.postMessage.init(k);
87
- var b=g.cookie.get("osp").split("");e.IgnoreAllCapsWords=b[0];e.IgnoreWordsNumbers=b[1];e.IgnoreMixedCaseWords=b[2];e.IgnoreDomainNames=b[3];parseInt(e.IgnoreAllCapsWords,10)?c.IgnoreAllCapsWords.setValue("checked",!1):c.IgnoreAllCapsWords.setValue("",!1);parseInt(e.IgnoreWordsNumbers,10)?c.IgnoreWordsNumbers.setValue("checked",!1):c.IgnoreWordsNumbers.setValue("",!1);parseInt(e.IgnoreMixedCaseWords,10)?c.IgnoreMixedCaseWords.setValue("checked",!1):c.IgnoreMixedCaseWords.setValue("",!1);parseInt(e.IgnoreDomainNames,
88
- 10)?c.IgnoreDomainNames.setValue("checked",!1):c.IgnoreDomainNames.setValue("",!1);e.IgnoreAllCapsWords=c.IgnoreAllCapsWords.getValue()?1:0;e.IgnoreWordsNumbers=c.IgnoreWordsNumbers.getValue()?1:0;e.IgnoreMixedCaseWords=c.IgnoreMixedCaseWords.getValue()?1:0;e.IgnoreDomainNames=c.IgnoreDomainNames.getValue()?1:0;c.IgnoreAllCapsWords.getElement().$.lastChild.innerHTML=a.LocalizationComing.IgnoreAllCapsWords;c.IgnoreWordsNumbers.getElement().$.lastChild.innerHTML=a.LocalizationComing.IgnoreWordsWithNumbers;
89
- c.IgnoreMixedCaseWords.getElement().$.lastChild.innerHTML=a.LocalizationComing.IgnoreMixedCaseWords;c.IgnoreDomainNames.getElement().$.lastChild.innerHTML=a.LocalizationComing.IgnoreDomainNames},onHide:function(){g.postMessage.unbindHandler(k);if(z)try{z.focus()}catch(a){}}}});CKEDITOR.dialog.on("resize",function(b){b=b.data;var d=b.dialog,c=CKEDITOR.document.getById(a.iframeNumber+"_"+d._.currentTabId);"checkspell"==d._.name&&(a.bnr?c&&c.setSize("height",b.height-310):c&&c.setSize("height",b.height-
90
- 220),d._.fromResizeEvent&&!d._.resized&&(d._.resized=!0),d._.fromResizeEvent=!0)});CKEDITOR.on("dialogDefinition",function(b){if("checkspell"===b.data.name){var d=b.data.definition;a.onLoadOverlay=new C({opacity:"1",background:"#fff",target:d.dialog.parts.tabs.getParent().$});a.onLoadOverlay.setEnable();d.dialog.on("cancel",function(b){d.dialog.getParentEditor().config.wsc_onClose.call(this.document.getWindow().getFrame());a.div_overlay.setDisable();a.onLoadOverlay.setDisable();return!1},this,null,
91
- -1)}})})();
@@ -1,11 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
- CKEDITOR.dialog.add("checkspell",function(a){function c(a,c){var d=0;return function(){"function"==typeof window.doSpell?("undefined"!=typeof e&&window.clearInterval(e),l(a)):180==d++&&window._cancelOnError(c)}}function l(c){var f=new window._SP_FCK_LangCompare,b=CKEDITOR.getUrl(a.plugins.wsc.path+"dialogs/"),e=b+"tmpFrameset.html";window.gFCKPluginName="wsc";f.setDefaulLangCode(a.config.defaultLanguage);window.doSpell({ctrl:g,lang:a.config.wsc_lang||f.getSPLangCode(a.langCode),intLang:a.config.wsc_uiLang||
6
- f.getSPLangCode(a.langCode),winType:d,onCancel:function(){c.hide()},onFinish:function(b){a.focus();c.getParentEditor().setData(b.value);c.hide()},staticFrame:e,framesetPath:e,iframePath:b+"ciframe.html",schemaURI:b+"wsc.css",userDictionaryName:a.config.wsc_userDictionaryName,customDictionaryName:a.config.wsc_customDictionaryIds&&a.config.wsc_customDictionaryIds.split(","),domainName:a.config.wsc_domainName});CKEDITOR.document.getById(h).setStyle("display","none");CKEDITOR.document.getById(d).setStyle("display",
7
- "block")}var b=CKEDITOR.tools.getNextNumber(),d="cke_frame_"+b,g="cke_data_"+b,h="cke_error_"+b,e,b=document.location.protocol||"http:",k=a.lang.wsc.notAvailable,m='\x3ctextarea style\x3d"display: none" id\x3d"'+g+'" rows\x3d"10" cols\x3d"40"\x3e \x3c/textarea\x3e\x3cdiv id\x3d"'+h+'" style\x3d"display:none;color:red;font-size:16px;font-weight:bold;padding-top:160px;text-align:center;z-index:11;"\x3e\x3c/div\x3e\x3ciframe src\x3d"" style\x3d"width:100%;background-color:#f1f1e3;" frameborder\x3d"0" name\x3d"'+
8
- d+'" id\x3d"'+d+'" allowtransparency\x3d"1"\x3e\x3c/iframe\x3e',n=a.config.wsc_customLoaderScript||b+"//loader.webspellchecker.net/sproxy_fck/sproxy.php?plugin\x3dfck2\x26customerid\x3d"+a.config.wsc_customerId+"\x26cmd\x3dscript\x26doc\x3dwsc\x26schema\x3d22";a.config.wsc_customLoaderScript&&(k+='\x3cp style\x3d"color:#000;font-size:11px;font-weight: normal;text-align:center;padding-top:10px"\x3e'+a.lang.wsc.errorLoading.replace(/%s/g,a.config.wsc_customLoaderScript)+"\x3c/p\x3e");window._cancelOnError=
9
- function(c){if("undefined"==typeof window.WSC_Error){CKEDITOR.document.getById(d).setStyle("display","none");var b=CKEDITOR.document.getById(h);b.setStyle("display","block");b.setHtml(c||a.lang.wsc.notAvailable)}};return{title:a.config.wsc_dialogTitle||a.lang.wsc.title,minWidth:485,minHeight:380,buttons:[CKEDITOR.dialog.cancelButton],onShow:function(){var b=this.getContentElement("general","content").getElement();b.setHtml(m);b.getChild(2).setStyle("height",this._.contentSize.height+"px");"function"!=
10
- typeof window.doSpell&&CKEDITOR.document.getHead().append(CKEDITOR.document.createElement("script",{attributes:{type:"text/javascript",src:n}}));b=a.getData();CKEDITOR.document.getById(g).setValue(b);e=window.setInterval(c(this,k),250)},onHide:function(){window.ooo=void 0;window.int_framsetLoaded=void 0;window.framesetLoaded=void 0;window.is_window_opened=!1},contents:[{id:"general",label:a.config.wsc_dialogTitle||a.lang.wsc.title,padding:0,elements:[{type:"html",id:"content",html:""}]}]}});
11
- CKEDITOR.dialog.on("resize",function(a){a=a.data;var c=a.dialog;"checkspell"==c._.name&&((c=(c=c.getContentElement("general","content").getElement())&&c.getChild(2))&&c.setSize("height",a.height),c&&c.setSize("width",a.width))});
@@ -1,137 +0,0 @@
1
- /**
2
- * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- // This file contains style definitions that can be used by CKEditor plugins.
7
- //
8
- // The most common use for it is the "stylescombo" plugin which shows the Styles drop-down
9
- // list containing all styles in the editor toolbar. Other plugins, like
10
- // the "div" plugin, use a subset of the styles for their features.
11
- //
12
- // If you do not have plugins that depend on this file in your editor build, you can simply
13
- // ignore it. Otherwise it is strongly recommended to customize this file to match your
14
- // website requirements and design properly.
15
- //
16
- // For more information refer to: https://ckeditor.com/docs/ckeditor4/latest/guide/dev_styles.html#style-rules
17
-
18
- CKEDITOR.stylesSet.add( 'default', [
19
- /* Block styles */
20
-
21
- // These styles are already available in the "Format" drop-down list ("format" plugin),
22
- // so they are not needed here by default. You may enable them to avoid
23
- // placing the "Format" combo in the toolbar, maintaining the same features.
24
- /*
25
- { name: 'Paragraph', element: 'p' },
26
- { name: 'Heading 1', element: 'h1' },
27
- { name: 'Heading 2', element: 'h2' },
28
- { name: 'Heading 3', element: 'h3' },
29
- { name: 'Heading 4', element: 'h4' },
30
- { name: 'Heading 5', element: 'h5' },
31
- { name: 'Heading 6', element: 'h6' },
32
- { name: 'Preformatted Text',element: 'pre' },
33
- { name: 'Address', element: 'address' },
34
- */
35
-
36
- { name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } },
37
- { name: 'Subtitle', element: 'h3', styles: { 'color': '#aaa', 'font-style': 'italic' } },
38
- {
39
- name: 'Special Container',
40
- element: 'div',
41
- styles: {
42
- padding: '5px 10px',
43
- background: '#eee',
44
- border: '1px solid #ccc'
45
- }
46
- },
47
-
48
- /* Inline styles */
49
-
50
- // These are core styles available as toolbar buttons. You may opt enabling
51
- // some of them in the Styles drop-down list, removing them from the toolbar.
52
- // (This requires the "stylescombo" plugin.)
53
- /*
54
- { name: 'Strong', element: 'strong', overrides: 'b' },
55
- { name: 'Emphasis', element: 'em' , overrides: 'i' },
56
- { name: 'Underline', element: 'u' },
57
- { name: 'Strikethrough', element: 'strike' },
58
- { name: 'Subscript', element: 'sub' },
59
- { name: 'Superscript', element: 'sup' },
60
- */
61
-
62
- { name: 'Marker', element: 'span', attributes: { 'class': 'marker' } },
63
-
64
- { name: 'Big', element: 'big' },
65
- { name: 'Small', element: 'small' },
66
- { name: 'Typewriter', element: 'tt' },
67
-
68
- { name: 'Computer Code', element: 'code' },
69
- { name: 'Keyboard Phrase', element: 'kbd' },
70
- { name: 'Sample Text', element: 'samp' },
71
- { name: 'Variable', element: 'var' },
72
-
73
- { name: 'Deleted Text', element: 'del' },
74
- { name: 'Inserted Text', element: 'ins' },
75
-
76
- { name: 'Cited Work', element: 'cite' },
77
- { name: 'Inline Quotation', element: 'q' },
78
-
79
- { name: 'Language: RTL', element: 'span', attributes: { 'dir': 'rtl' } },
80
- { name: 'Language: LTR', element: 'span', attributes: { 'dir': 'ltr' } },
81
-
82
- /* Object styles */
83
-
84
- {
85
- name: 'Styled Image (left)',
86
- element: 'img',
87
- attributes: { 'class': 'left' }
88
- },
89
-
90
- {
91
- name: 'Styled Image (right)',
92
- element: 'img',
93
- attributes: { 'class': 'right' }
94
- },
95
-
96
- {
97
- name: 'Compact Table',
98
- element: 'table',
99
- attributes: {
100
- cellpadding: '5',
101
- cellspacing: '0',
102
- border: '1',
103
- bordercolor: '#ccc'
104
- },
105
- styles: {
106
- 'border-collapse': 'collapse'
107
- }
108
- },
109
-
110
- { name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } },
111
- { name: 'Square Bulleted List', element: 'ul', styles: { 'list-style-type': 'square' } },
112
-
113
- /* Widget styles */
114
-
115
- { name: 'Clean Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-clean' } },
116
- { name: 'Grayscale Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-grayscale' } },
117
-
118
- { name: 'Featured Snippet', type: 'widget', widget: 'codeSnippet', attributes: { 'class': 'code-featured' } },
119
-
120
- { name: 'Featured Formula', type: 'widget', widget: 'mathjax', attributes: { 'class': 'math-featured' } },
121
-
122
- { name: '240p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-240p' }, group: 'size' },
123
- { name: '360p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-360p' }, group: 'size' },
124
- { name: '480p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-480p' }, group: 'size' },
125
- { name: '720p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-720p' }, group: 'size' },
126
- { name: '1080p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-1080p' }, group: 'size' },
127
-
128
- // Adding space after the style name is an intended workaround. For now, there
129
- // is no option to create two styles with the same name for different widget types. See https://dev.ckeditor.com/ticket/16664.
130
- { name: '240p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-240p' }, group: 'size' },
131
- { name: '360p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-360p' }, group: 'size' },
132
- { name: '480p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-480p' }, group: 'size' },
133
- { name: '720p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-720p' }, group: 'size' },
134
- { name: '1080p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-1080p' }, group: 'size' }
135
-
136
- ] );
137
-
@@ -1,3 +0,0 @@
1
- //= require ckeditor/basepath
2
- //= require ckeditor/ckeditor
3
- //= require ckeditor/jquery