drg_default_html_editor 0.5.50.3 → 0.7.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (543) hide show
  1. checksums.yaml +5 -5
  2. data/app/assets/images/arrow.png +0 -0
  3. data/app/assets/images/close.png +0 -0
  4. data/app/assets/images/lock-open.png +0 -0
  5. data/app/assets/images/lock.png +0 -0
  6. data/app/assets/images/refresh.png +0 -0
  7. data/app/assets/images/spinner.gif +0 -0
  8. data/app/assets/javascripts/ckeditor/CHANGES.md +2040 -415
  9. data/app/assets/javascripts/ckeditor/LICENSE.md +180 -8
  10. data/app/assets/javascripts/ckeditor/README.md +5 -5
  11. data/app/assets/javascripts/ckeditor/SECURITY.md +10 -0
  12. data/app/assets/javascripts/ckeditor/adapters/jquery.js +8 -8
  13. data/app/assets/javascripts/ckeditor/bender-runner.config.json +16 -0
  14. data/app/assets/javascripts/ckeditor/build-config.js +68 -47
  15. data/app/assets/javascripts/ckeditor/ckeditor.js +1420 -974
  16. data/app/assets/javascripts/ckeditor/config.js +7 -2
  17. data/app/assets/javascripts/ckeditor/contents.css +83 -9
  18. data/app/assets/javascripts/ckeditor/lang/af.js +4 -4
  19. data/app/assets/javascripts/ckeditor/lang/ar.js +4 -4
  20. data/app/assets/javascripts/ckeditor/lang/az.js +5 -0
  21. data/app/assets/javascripts/ckeditor/lang/bg.js +4 -4
  22. data/app/assets/javascripts/ckeditor/lang/bn.js +4 -4
  23. data/app/assets/javascripts/ckeditor/lang/bs.js +4 -4
  24. data/app/assets/javascripts/ckeditor/lang/ca.js +4 -4
  25. data/app/assets/javascripts/ckeditor/lang/cs.js +4 -4
  26. data/app/assets/javascripts/ckeditor/lang/cy.js +4 -4
  27. data/app/assets/javascripts/ckeditor/lang/da.js +4 -4
  28. data/app/assets/javascripts/ckeditor/lang/de-ch.js +5 -0
  29. data/app/assets/javascripts/ckeditor/lang/de.js +4 -4
  30. data/app/assets/javascripts/ckeditor/lang/el.js +4 -4
  31. data/app/assets/javascripts/ckeditor/lang/en-au.js +4 -4
  32. data/app/assets/javascripts/ckeditor/lang/en-ca.js +4 -4
  33. data/app/assets/javascripts/ckeditor/lang/en-gb.js +4 -4
  34. data/app/assets/javascripts/ckeditor/lang/en.js +4 -4
  35. data/app/assets/javascripts/ckeditor/lang/eo.js +4 -4
  36. data/app/assets/javascripts/ckeditor/lang/es-mx.js +5 -0
  37. data/app/assets/javascripts/ckeditor/lang/es.js +4 -4
  38. data/app/assets/javascripts/ckeditor/lang/et.js +4 -4
  39. data/app/assets/javascripts/ckeditor/lang/eu.js +4 -4
  40. data/app/assets/javascripts/ckeditor/lang/fa.js +4 -4
  41. data/app/assets/javascripts/ckeditor/lang/fi.js +4 -4
  42. data/app/assets/javascripts/ckeditor/lang/fo.js +4 -4
  43. data/app/assets/javascripts/ckeditor/lang/fr-ca.js +4 -4
  44. data/app/assets/javascripts/ckeditor/lang/fr.js +4 -4
  45. data/app/assets/javascripts/ckeditor/lang/gl.js +4 -4
  46. data/app/assets/javascripts/ckeditor/lang/gu.js +4 -4
  47. data/app/assets/javascripts/ckeditor/lang/he.js +4 -4
  48. data/app/assets/javascripts/ckeditor/lang/hi.js +4 -4
  49. data/app/assets/javascripts/ckeditor/lang/hr.js +4 -4
  50. data/app/assets/javascripts/ckeditor/lang/hu.js +4 -4
  51. data/app/assets/javascripts/ckeditor/lang/id.js +4 -4
  52. data/app/assets/javascripts/ckeditor/lang/is.js +4 -4
  53. data/app/assets/javascripts/ckeditor/lang/it.js +4 -4
  54. data/app/assets/javascripts/ckeditor/lang/ja.js +4 -4
  55. data/app/assets/javascripts/ckeditor/lang/ka.js +4 -4
  56. data/app/assets/javascripts/ckeditor/lang/km.js +4 -4
  57. data/app/assets/javascripts/ckeditor/lang/ko.js +4 -4
  58. data/app/assets/javascripts/ckeditor/lang/ku.js +4 -4
  59. data/app/assets/javascripts/ckeditor/lang/lt.js +4 -4
  60. data/app/assets/javascripts/ckeditor/lang/lv.js +4 -4
  61. data/app/assets/javascripts/ckeditor/lang/mk.js +4 -4
  62. data/app/assets/javascripts/ckeditor/lang/mn.js +4 -4
  63. data/app/assets/javascripts/ckeditor/lang/ms.js +4 -4
  64. data/app/assets/javascripts/ckeditor/lang/nb.js +4 -4
  65. data/app/assets/javascripts/ckeditor/lang/nl.js +4 -4
  66. data/app/assets/javascripts/ckeditor/lang/no.js +4 -4
  67. data/app/assets/javascripts/ckeditor/lang/oc.js +5 -0
  68. data/app/assets/javascripts/ckeditor/lang/pl.js +4 -4
  69. data/app/assets/javascripts/ckeditor/lang/pt-br.js +4 -4
  70. data/app/assets/javascripts/ckeditor/lang/pt.js +4 -4
  71. data/app/assets/javascripts/ckeditor/lang/ro.js +4 -4
  72. data/app/assets/javascripts/ckeditor/lang/ru.js +4 -4
  73. data/app/assets/javascripts/ckeditor/lang/si.js +4 -4
  74. data/app/assets/javascripts/ckeditor/lang/sk.js +4 -4
  75. data/app/assets/javascripts/ckeditor/lang/sl.js +4 -4
  76. data/app/assets/javascripts/ckeditor/lang/sq.js +4 -4
  77. data/app/assets/javascripts/ckeditor/lang/sr-latn.js +4 -4
  78. data/app/assets/javascripts/ckeditor/lang/sr.js +4 -4
  79. data/app/assets/javascripts/ckeditor/lang/sv.js +4 -4
  80. data/app/assets/javascripts/ckeditor/lang/th.js +4 -4
  81. data/app/assets/javascripts/ckeditor/lang/tr.js +4 -4
  82. data/app/assets/javascripts/ckeditor/lang/tt.js +4 -4
  83. data/app/assets/javascripts/ckeditor/lang/ug.js +4 -4
  84. data/app/assets/javascripts/ckeditor/lang/uk.js +4 -4
  85. data/app/assets/javascripts/ckeditor/lang/vi.js +4 -4
  86. data/app/assets/javascripts/ckeditor/lang/zh-cn.js +4 -4
  87. data/app/assets/javascripts/ckeditor/lang/zh.js +4 -4
  88. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -7
  89. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +2 -2
  90. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +11 -0
  91. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +10 -9
  92. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +11 -0
  93. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +8 -7
  94. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +10 -10
  95. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -11
  96. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +7 -7
  97. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -9
  98. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +13 -0
  99. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +11 -10
  100. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +7 -7
  101. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +11 -0
  102. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +7 -6
  103. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +7 -6
  104. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +7 -7
  105. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +13 -0
  106. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +9 -8
  107. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +9 -9
  108. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +12 -0
  109. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +7 -7
  110. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +8 -8
  111. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +12 -0
  112. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +8 -8
  113. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +11 -11
  114. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +8 -8
  115. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +7 -6
  116. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +7 -7
  117. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +7 -6
  118. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -9
  119. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +6 -7
  120. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +9 -9
  121. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +7 -7
  122. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +5 -5
  123. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +7 -6
  124. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +8 -8
  125. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +8 -9
  126. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +7 -6
  127. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +7 -7
  128. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +10 -9
  129. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +7 -6
  130. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -9
  131. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +6 -6
  132. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +10 -9
  133. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +12 -0
  134. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +10 -10
  135. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -8
  136. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +10 -10
  137. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +10 -10
  138. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +7 -7
  139. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +8 -8
  140. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +8 -9
  141. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +9 -9
  142. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +10 -9
  143. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +10 -9
  144. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +10 -9
  145. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +9 -10
  146. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +7 -6
  147. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +8 -8
  148. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +10 -9
  149. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +8 -7
  150. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +8 -8
  151. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +7 -7
  152. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -7
  153. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +7 -8
  154. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -5
  155. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  156. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  157. data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +9 -9
  158. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.css +20 -0
  159. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +12 -11
  160. data/app/assets/javascripts/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg +25 -0
  161. data/app/assets/javascripts/ckeditor/plugins/copyformatting/cursors/cursor.svg +14 -0
  162. data/app/assets/javascripts/ckeditor/plugins/copyformatting/styles/copyformatting.css +45 -0
  163. data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +2 -2
  164. data/app/assets/javascripts/ckeditor/plugins/dialog/styles/dialog.css +18 -0
  165. data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -8
  166. data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +24 -22
  167. data/app/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  168. data/app/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
  169. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image-org.js +44 -0
  170. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +1286 -43
  171. data/app/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
  172. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -5
  173. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +28 -24
  174. data/app/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
  175. data/app/assets/javascripts/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  176. data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +8 -8
  177. data/app/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
  178. data/app/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  179. data/app/assets/javascripts/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
  180. data/app/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
  181. data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  182. data/app/assets/javascripts/ckeditor/plugins/pastefromgdocs/filter/default.js +8 -0
  183. data/app/assets/javascripts/ckeditor/plugins/pastefromlibreoffice/filter/default.js +11 -0
  184. data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +40 -29
  185. data/app/assets/javascripts/ckeditor/plugins/pastetools/filter/common.js +24 -0
  186. data/app/assets/javascripts/ckeditor/plugins/pastetools/filter/image.js +12 -0
  187. data/app/assets/javascripts/ckeditor/plugins/preview/images/pagebreak.gif +0 -0
  188. data/app/assets/javascripts/ckeditor/plugins/preview/styles/screen.css +10 -0
  189. data/app/assets/javascripts/ckeditor/plugins/scayt/CHANGELOG.md +4 -0
  190. data/app/assets/javascripts/ckeditor/plugins/scayt/README.md +63 -7
  191. data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/dialog.css +23 -0
  192. data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +32 -17
  193. data/app/assets/javascripts/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +25 -0
  194. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  195. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  196. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  197. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  198. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  199. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  200. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  201. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  202. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  203. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  204. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  205. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +2 -2
  206. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/af.js +13 -0
  207. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +3 -3
  208. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/az.js +10 -0
  209. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +4 -4
  210. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +2 -2
  211. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +3 -3
  212. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +2 -2
  213. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/da.js +11 -0
  214. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +13 -0
  215. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +11 -11
  216. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +5 -5
  217. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +13 -0
  218. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +13 -0
  219. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +3 -3
  220. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +3 -3
  221. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +2 -2
  222. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +13 -0
  223. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +2 -2
  224. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +9 -11
  225. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eu.js +13 -0
  226. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +2 -2
  227. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +3 -3
  228. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +2 -2
  229. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +10 -9
  230. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +2 -2
  231. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +2 -2
  232. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +11 -11
  233. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +2 -2
  234. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +11 -11
  235. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +3 -3
  236. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +2 -2
  237. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +3 -3
  238. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ko.js +10 -0
  239. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +2 -2
  240. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lt.js +13 -0
  241. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +2 -2
  242. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +2 -2
  243. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +2 -2
  244. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +2 -2
  245. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/oc.js +12 -0
  246. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +3 -3
  247. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +2 -2
  248. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +11 -11
  249. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ro.js +13 -0
  250. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +2 -2
  251. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +3 -3
  252. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +2 -2
  253. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +10 -10
  254. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +5 -5
  255. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js +13 -0
  256. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sr.js +13 -0
  257. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +2 -2
  258. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +3 -3
  259. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +2 -2
  260. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tt.js +6 -6
  261. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +3 -3
  262. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +2 -2
  263. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +2 -2
  264. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +3 -3
  265. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js +7 -10
  266. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +12 -12
  267. data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +20 -19
  268. data/app/assets/javascripts/ckeditor/plugins/tableselection/styles/tableselection.css +36 -0
  269. data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +16 -15
  270. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +2 -2
  271. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +9 -8
  272. data/app/assets/javascripts/ckeditor/plugins/templates/templatedefinition.js +4 -0
  273. data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +5 -4
  274. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  275. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  276. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  277. data/app/assets/javascripts/ckeditor/plugins/widget/images/handle.png +0 -0
  278. data/app/assets/javascripts/ckeditor/samples/css/samples.css +1637 -0
  279. data/app/assets/javascripts/ckeditor/samples/img/github-top.png +0 -0
  280. data/app/assets/javascripts/ckeditor/samples/img/header-bg.png +0 -0
  281. data/app/assets/javascripts/ckeditor/samples/img/header-separator.png +0 -0
  282. data/app/assets/javascripts/ckeditor/samples/img/logo.png +0 -0
  283. data/app/assets/javascripts/ckeditor/samples/img/logo.svg +13 -0
  284. data/app/assets/javascripts/ckeditor/samples/img/navigation-tip.png +0 -0
  285. data/app/assets/javascripts/ckeditor/samples/index.html +115 -113
  286. data/app/assets/javascripts/ckeditor/samples/js/sample.js +53 -0
  287. data/app/assets/javascripts/ckeditor/samples/js/sf.js +17 -0
  288. data/app/assets/javascripts/ckeditor/samples/{ajax.html → old/ajax.html} +10 -7
  289. data/app/assets/javascripts/ckeditor/samples/{api.html → old/api.html} +19 -16
  290. data/app/assets/javascripts/ckeditor/samples/{appendto.html → old/appendto.html} +12 -9
  291. data/app/assets/javascripts/ckeditor/samples/old/assets/inlineall/logo.png +0 -0
  292. data/app/assets/javascripts/ckeditor/samples/{assets → old/assets}/outputxhtml/outputxhtml.css +2 -2
  293. data/app/assets/javascripts/ckeditor/samples/{assets → old/assets}/posteddata.php +6 -5
  294. data/app/assets/javascripts/ckeditor/samples/old/assets/sample.jpg +0 -0
  295. data/app/assets/javascripts/ckeditor/samples/old/assets/uilanguages/languages.js +7 -0
  296. data/app/assets/javascripts/ckeditor/samples/{datafiltering.html → old/datafiltering.html} +125 -18
  297. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/dialog/assets/my_dialog.js +3 -3
  298. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/dialog/dialog.html +14 -11
  299. data/app/assets/javascripts/ckeditor/samples/{divreplace.html → old/divreplace.html} +10 -7
  300. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/enterkey/enterkey.html +14 -11
  301. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/htmlwriter/outputhtml.html +14 -11
  302. data/app/assets/javascripts/ckeditor/samples/old/index.html +129 -0
  303. data/app/assets/javascripts/ckeditor/samples/{inlineall.html → old/inlineall.html} +16 -13
  304. data/app/assets/javascripts/ckeditor/samples/{inlinebycode.html → old/inlinebycode.html} +11 -8
  305. data/app/assets/javascripts/ckeditor/samples/{inlinetextarea.html → old/inlinetextarea.html} +12 -9
  306. data/app/assets/javascripts/ckeditor/samples/{jquery.html → old/jquery.html} +13 -10
  307. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/magicline/magicline.html +11 -8
  308. data/app/assets/javascripts/ckeditor/samples/{readonly.html → old/readonly.html} +13 -10
  309. data/app/assets/javascripts/ckeditor/samples/{replacebyclass.html → old/replacebyclass.html} +10 -7
  310. data/app/assets/javascripts/ckeditor/samples/{replacebycode.html → old/replacebycode.html} +10 -7
  311. data/app/assets/javascripts/ckeditor/samples/{sample.css → old/sample.css} +6 -14
  312. data/app/assets/javascripts/ckeditor/samples/{sample.js → old/sample.js} +2 -2
  313. data/app/assets/javascripts/ckeditor/samples/{sample_posteddata.php → old/sample_posteddata.php} +2 -2
  314. data/app/assets/javascripts/ckeditor/samples/{tabindex.html → old/tabindex.html} +10 -7
  315. data/app/assets/javascripts/ckeditor/samples/{plugins → old}/toolbar/toolbar.html +15 -12
  316. data/app/assets/javascripts/ckeditor/samples/{uicolor.html → old/uicolor.html} +11 -8
  317. data/app/assets/javascripts/ckeditor/samples/{uilanguages.html → old/uilanguages.html} +13 -10
  318. data/app/assets/javascripts/ckeditor/samples/old/wysiwygarea/fullpage.html +80 -0
  319. data/app/assets/javascripts/ckeditor/samples/{xhtmlstyle.html → old/xhtmlstyle.html} +12 -9
  320. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/css/fontello.css +55 -0
  321. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt +10 -0
  322. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/config.json +28 -0
  323. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.eot +0 -0
  324. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.svg +14 -0
  325. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.ttf +0 -0
  326. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.woff +0 -0
  327. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/index.html +447 -0
  328. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js +13 -0
  329. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +9 -0
  330. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js +33 -0
  331. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js +14 -0
  332. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE +19 -0
  333. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css +325 -0
  334. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js +288 -0
  335. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js +25 -0
  336. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css +36 -0
  337. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css +38 -0
  338. data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js +16 -0
  339. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog.css +5 -0
  340. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie.css +5 -0
  341. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie8.css +5 -0
  342. data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_iequirks.css +5 -0
  343. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor.css +5 -0
  344. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_gecko.css +5 -0
  345. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie.css +5 -0
  346. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie8.css +5 -0
  347. data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_iequirks.css +5 -0
  348. data/app/assets/javascripts/ckeditor/skins/moono-lisa/icons.png +0 -0
  349. data/app/assets/javascripts/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
  350. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/arrow.png +0 -0
  351. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/close.png +0 -0
  352. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/close.png +0 -0
  353. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
  354. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock.png +0 -0
  355. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/refresh.png +0 -0
  356. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/lock-open.png +0 -0
  357. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/lock.png +0 -0
  358. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/refresh.png +0 -0
  359. data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/spinner.gif +0 -0
  360. data/app/assets/javascripts/ckeditor/skins/{moono → moono-lisa}/readme.md +11 -16
  361. data/app/assets/javascripts/ckeditor/styles.js +43 -17
  362. data/app/assets/javascripts/ckeditor/vendor/promise.js +13 -0
  363. data/app/assets/javascripts/drg_default_html_editor_cms.js +1 -4
  364. data/app/assets/stylesheets/drg_default_html_editor_cms.css +3 -3
  365. data/app/{controllers/dc_elfinder_controller.rb → models/drgcms_form_fields/ckeditor.rb} +33 -32
  366. data/lib/drg_default_html_editor/version.rb +1 -1
  367. data/lib/drg_default_html_editor.rb +2 -3
  368. data/lib/tasks/drg_default_html_editor_tasks.rake +16 -4
  369. metadata +169 -249
  370. data/app/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -24
  371. data/app/assets/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  372. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -8
  373. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -8
  374. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -8
  375. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -8
  376. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -8
  377. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -20
  378. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -8
  379. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -10
  380. data/app/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  381. data/app/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +0 -10
  382. data/app/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  383. data/app/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -10
  384. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  385. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
  386. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  387. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
  388. data/app/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  389. data/app/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
  390. data/app/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  391. data/app/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
  392. data/app/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  393. data/app/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
  394. data/app/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  395. data/app/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
  396. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  397. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  398. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
  399. data/app/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  400. data/app/assets/javascripts/ckeditor/plugins/smiley/images/envelope.png +0 -0
  401. data/app/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  402. data/app/assets/javascripts/ckeditor/plugins/smiley/images/heart.png +0 -0
  403. data/app/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  404. data/app/assets/javascripts/ckeditor/plugins/smiley/images/kiss.png +0 -0
  405. data/app/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  406. data/app/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
  407. data/app/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  408. data/app/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
  409. data/app/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  410. data/app/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
  411. data/app/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  412. data/app/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
  413. data/app/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  414. data/app/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
  415. data/app/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  416. data/app/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
  417. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  418. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
  419. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  420. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
  421. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  422. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
  423. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  424. data/app/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  425. data/app/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
  426. data/app/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  427. data/app/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
  428. data/app/assets/javascripts/ckeditor/plugins/wsc/LICENSE.md +0 -28
  429. data/app/assets/javascripts/ckeditor/plugins/wsc/README.md +0 -25
  430. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -66
  431. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  432. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
  433. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -74
  434. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +0 -11
  435. data/app/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
  436. data/app/assets/javascripts/ckeditor/samples/assets/sample.jpg +0 -0
  437. data/app/assets/javascripts/ckeditor/samples/assets/uilanguages/languages.js +0 -7
  438. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
  439. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
  440. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +0 -18
  441. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputforflash.html +0 -280
  442. data/app/assets/javascripts/ckeditor/samples/plugins/wysiwygarea/fullpage.html +0 -77
  443. data/app/assets/javascripts/ckeditor/skins/moono/dialog.css +0 -5
  444. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +0 -5
  445. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +0 -5
  446. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +0 -5
  447. data/app/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +0 -5
  448. data/app/assets/javascripts/ckeditor/skins/moono/editor.css +0 -5
  449. data/app/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +0 -5
  450. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie.css +0 -5
  451. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +0 -5
  452. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +0 -5
  453. data/app/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +0 -5
  454. data/app/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
  455. data/app/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
  456. data/app/assets/javascripts/ckeditor/skins/moono/images/arrow.png +0 -0
  457. data/app/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
  458. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  459. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  460. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  461. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  462. data/app/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
  463. data/app/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
  464. data/app/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
  465. data/app/assets/javascripts/elfinder/Changelog +0 -494
  466. data/app/assets/javascripts/elfinder/LICENSE.md +0 -15
  467. data/app/assets/javascripts/elfinder/README.md +0 -209
  468. data/app/assets/javascripts/elfinder/bower.json +0 -28
  469. data/app/assets/javascripts/elfinder/composer.json +0 -39
  470. data/app/assets/javascripts/elfinder/css/elfinder.full.css +0 -3034
  471. data/app/assets/javascripts/elfinder/css/elfinder.min.css +0 -9
  472. data/app/assets/javascripts/elfinder/css/theme.css +0 -68
  473. data/app/assets/javascripts/elfinder/elfinder.html +0 -61
  474. data/app/assets/javascripts/elfinder/img/arrows-active.png +0 -0
  475. data/app/assets/javascripts/elfinder/img/arrows-normal.png +0 -0
  476. data/app/assets/javascripts/elfinder/img/crop.gif +0 -0
  477. data/app/assets/javascripts/elfinder/img/dialogs.png +0 -0
  478. data/app/assets/javascripts/elfinder/img/icons-big.png +0 -0
  479. data/app/assets/javascripts/elfinder/img/icons-small.png +0 -0
  480. data/app/assets/javascripts/elfinder/img/logo.png +0 -0
  481. data/app/assets/javascripts/elfinder/img/progress.gif +0 -0
  482. data/app/assets/javascripts/elfinder/img/quicklook-bg.png +0 -0
  483. data/app/assets/javascripts/elfinder/img/quicklook-icons.png +0 -0
  484. data/app/assets/javascripts/elfinder/img/resize.png +0 -0
  485. data/app/assets/javascripts/elfinder/img/spinner-mini.gif +0 -0
  486. data/app/assets/javascripts/elfinder/img/toolbar.png +0 -0
  487. data/app/assets/javascripts/elfinder/img/volume_icon_box.png +0 -0
  488. data/app/assets/javascripts/elfinder/img/volume_icon_dropbox.png +0 -0
  489. data/app/assets/javascripts/elfinder/img/volume_icon_ftp.png +0 -0
  490. data/app/assets/javascripts/elfinder/img/volume_icon_googledrive.png +0 -0
  491. data/app/assets/javascripts/elfinder/img/volume_icon_local.png +0 -0
  492. data/app/assets/javascripts/elfinder/img/volume_icon_onedrive.png +0 -0
  493. data/app/assets/javascripts/elfinder/img/volume_icon_sql.png +0 -0
  494. data/app/assets/javascripts/elfinder/js/elfinder.full.js +0 -23025
  495. data/app/assets/javascripts/elfinder/js/elfinder.min.js +0 -20
  496. data/app/assets/javascripts/elfinder/js/extras/encoding-japanese.min.js +0 -35
  497. data/app/assets/javascripts/elfinder/js/extras/quicklook.googledocs.js +0 -69
  498. data/app/assets/javascripts/elfinder/js/i18n/elfinder.LANG.js +0 -479
  499. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ar.js +0 -375
  500. data/app/assets/javascripts/elfinder/js/i18n/elfinder.bg.js +0 -412
  501. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ca.js +0 -375
  502. data/app/assets/javascripts/elfinder/js/i18n/elfinder.cs.js +0 -469
  503. data/app/assets/javascripts/elfinder/js/i18n/elfinder.da.js +0 -374
  504. data/app/assets/javascripts/elfinder/js/i18n/elfinder.de.js +0 -457
  505. data/app/assets/javascripts/elfinder/js/i18n/elfinder.el.js +0 -374
  506. data/app/assets/javascripts/elfinder/js/i18n/elfinder.es.js +0 -433
  507. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fa.js +0 -374
  508. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fallback.js +0 -11
  509. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fo.js +0 -419
  510. data/app/assets/javascripts/elfinder/js/i18n/elfinder.fr.js +0 -419
  511. data/app/assets/javascripts/elfinder/js/i18n/elfinder.he.js +0 -375
  512. data/app/assets/javascripts/elfinder/js/i18n/elfinder.hr.js +0 -434
  513. data/app/assets/javascripts/elfinder/js/i18n/elfinder.hu.js +0 -447
  514. data/app/assets/javascripts/elfinder/js/i18n/elfinder.id.js +0 -373
  515. data/app/assets/javascripts/elfinder/js/i18n/elfinder.it.js +0 -448
  516. data/app/assets/javascripts/elfinder/js/i18n/elfinder.jp.js +0 -474
  517. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ko.js +0 -374
  518. data/app/assets/javascripts/elfinder/js/i18n/elfinder.nl.js +0 -419
  519. data/app/assets/javascripts/elfinder/js/i18n/elfinder.no.js +0 -374
  520. data/app/assets/javascripts/elfinder/js/i18n/elfinder.pl.js +0 -455
  521. data/app/assets/javascripts/elfinder/js/i18n/elfinder.pt_BR.js +0 -438
  522. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ro.js +0 -417
  523. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ru.js +0 -440
  524. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sk.js +0 -469
  525. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sl.js +0 -374
  526. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sr.js +0 -374
  527. data/app/assets/javascripts/elfinder/js/i18n/elfinder.sv.js +0 -375
  528. data/app/assets/javascripts/elfinder/js/i18n/elfinder.tr.js +0 -468
  529. data/app/assets/javascripts/elfinder/js/i18n/elfinder.ug_CN.js +0 -374
  530. data/app/assets/javascripts/elfinder/js/i18n/elfinder.uk.js +0 -391
  531. data/app/assets/javascripts/elfinder/js/i18n/elfinder.vi.js +0 -374
  532. data/app/assets/javascripts/elfinder/js/i18n/elfinder.zh_CN.js +0 -467
  533. data/app/assets/javascripts/elfinder/js/i18n/elfinder.zh_TW.js +0 -472
  534. data/app/assets/javascripts/elfinder/js/proxy/elFinderSupportVer1.js +0 -420
  535. data/app/assets/javascripts/elfinder/main.default.js +0 -94
  536. data/app/assets/javascripts/elfinder/package.json +0 -13
  537. data/app/assets/javascripts/elfinder/sounds/rm.wav +0 -0
  538. data/config/initializers/load_patches.rb +0 -30
  539. data/config/routes.rb +0 -2
  540. data/lib/drg_default_html_editor.rb~ +0 -6
  541. data/lib/patches/drgcms_form_field.rb +0 -121
  542. data/lib/patches/patch_for_elfinder.rb +0 -115
  543. data/lib/tasks/drg_default_html_editor_copy_assets.rake +0 -18
@@ -1,74 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
- (function(){function y(a){if(!a)throw"Languages-by-groups list are required for construct selectbox";var c=[],d="",f;for(f in a)for(var g in a[f]){var h=a[f][g];"en_US"==h?d=h:c.push(h)}c.sort();d&&c.unshift(d);return{getCurrentLangGroup:function(c){a:{for(var d in a)for(var f in a[d])if(f.toUpperCase()===c.toUpperCase()){c=d;break a}c=""}return c},setLangList:function(){var c={},d;for(d in a)for(var f in a[d])c[a[d][f]]=f;return c}()}}var e=function(){var a=function(a,b,f){var f=f||{},g=f.expires;
6
- if("number"==typeof g&&g){var h=new Date;h.setTime(h.getTime()+1E3*g);g=f.expires=h}g&&g.toUTCString&&(f.expires=g.toUTCString());var b=encodeURIComponent(b),a=a+"="+b,e;for(e in f)b=f[e],a+="; "+e,!0!==b&&(a+="="+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,f=a.fn||null,g=a.id||"",e=a.target||window,i=a.message||{id:g};a.message&&"[object Object]"==
7
- b.call(a.message)&&(a.message.id||(a.message.id=g),i=a.message);a=window.JSON.stringify(i,f);e.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(RegExp("(?:^|; )"+a.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)")))?decodeURIComponent(a[1]):void 0},remove:function(c){a(c,"",{expires:-1})}},
8
- 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){return!(0===a.offsetWidth||0==a.offsetHeight||"none"===(document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null).display:a.currentStyle?a.currentStyle.display:a.style.display))},hasClass:function(a,b){return!(!a.className||!a.className.match(RegExp("(\\s|^)"+b+"(\\s|$)")))}}}}(),
9
- 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=null;a.targetFromFrame={};a.onLoadOverlay=null;a.LocalizationComing={};a.OverlayPlace=null;a.LocalizationButton={ChangeTo:{instance:null,
10
- text:"Change to"},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:{instance:null,text:"Finish Checking"}};a.LocalizationLabel={ChangeTo:{instance:null,text:"Change to"},Suggestions:{instance:null,text:"Suggestions"}};var z=function(b){var c,d;for(d in b)c=b[d].instance.getElement().getFirst()||
11
- b[d].instance.getElement(),c.setText(a.LocalizationComing[d])},A=function(b){for(var c in b){if(!b[c].instance.setLabel)break;b[c].instance.setLabel(a.LocalizationComing[c])}},j,q;a.framesetHtml=function(b){return"<iframe id="+a.iframeNumber+"_"+b+' frameborder="0" allowtransparency="1" style="width:100%;border: 1px solid #AEB3B9;overflow: auto;background:#fff; border-radius: 3px;"></iframe>'};a.setIframe=function(b,c){var d;d=a.framesetHtml(c);var f=a.iframeNumber+"_"+c;b.getElement().setHtml(d);
12
- d=document.getElementById(f);d=d.contentWindow?d.contentWindow:d.contentDocument.document?d.contentDocument.document:d.contentDocument;d.document.open();d.document.write('<!DOCTYPE html><html><head><meta charset="UTF-8"><title>iframe</title><style>html,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;}</style></head><body><div id="content" class="main-box"></div><iframe src="" frameborder="0" id="spelltext" name="spelltext" style="display:none; width: 100%" ></iframe><iframe src="" frameborder="0" id="loadsuggestfirst" name="loadsuggestfirst" style="display:none; width: 100%" ></iframe><iframe src="" frameborder="0" id="loadspellsuggestall" name="loadspellsuggestall" style="display:none; width: 100%" ></iframe><iframe src="" frameborder="0" id="loadOptionsForm" name="loadOptionsForm" style="display:none; width: 100%" ></iframe><script>(function(window) {var ManagerPostMessage = function() {var _init = function(handler) {if (document.addEventListener) {window.addEventListener("message", handler, false);} else {window.attachEvent("onmessage", handler);};};var _sendCmd = function(o) {var str,type = Object.prototype.toString,fn = o.fn || null,id = o.id || "",target = o.target || window,message = o.message || { "id": id };if (o.message && type.call(o.message) == "[object Object]") {(o.message["id"]) ? o.message["id"] : o.message["id"] = id;message = o.message;};str = JSON.stringify(message, fn);target.postMessage(str, "*");};return {init: _init,send: _sendCmd};};var manageMessageTmp = new ManagerPostMessage;var appString = (function(){var spell = parent.CKEDITOR.config.wsc.DefaultParams.scriptPath;var serverUrl = parent.CKEDITOR.config.wsc.DefaultParams.serviceHost;return serverUrl + spell;})();function loadScript(src, callback) {var scriptTag = document.createElement("script");scriptTag.type = "text/javascript";callback ? callback : callback = function() {};if(scriptTag.readyState) {scriptTag.onreadystatechange = function() {if (scriptTag.readyState == "loaded" ||scriptTag.readyState == "complete") {scriptTag.onreadystatechange = null;setTimeout(function(){scriptTag.parentNode.removeChild(scriptTag)},1);callback();}};}else{scriptTag.onload = function() {setTimeout(function(){scriptTag.parentNode.removeChild(scriptTag)},1);callback();};};scriptTag.src = src;document.getElementsByTagName("head")[0].appendChild(scriptTag);};window.onload = function(){loadScript(appString, function(){manageMessageTmp.send({"id": "iframeOnload","target": window.parent});});}})(this);<\/script></body></html>');
13
- d.document.close()};a.setCurrentIframe=function(b){a.setIframe(a.dialog._.contents[b].Content,b)};a.setHeightBannerFrame=function(){var b=a.dialog.getContentElement("SpellTab","banner").getElement(),c=a.dialog.getContentElement("GrammTab","banner").getElement(),d=a.dialog.getContentElement("Thesaurus","banner").getElement();b.setStyle("height","90px");c.setStyle("height","90px");d.setStyle("height","90px")};a.setHeightFrame=function(){document.getElementById(a.iframeNumber+"_"+a.dialog._.currentTabId).style.height=
14
- "240px"};a.sendData=function(b){var c=b._.currentTabId,d=b._.contents[c].Content,f,g;a.setIframe(d,c);var e=function(e){e=e||window.event;e.data.getTarget().is("a")&&c!=b._.currentTabId&&(c=b._.currentTabId,d=b._.contents[c].Content,f=a.iframeNumber+"_"+c,a.div_overlay.setEnable(),d.getElement().getChildCount()?u(a.targetFromFrame[f],a.cmd[c]):(a.setIframe(d,c),g=document.getElementById(f),a.targetFromFrame[f]=g.contentWindow))};b.parts.tabs.removeListener("click",e);b.parts.tabs.on("click",e)};a.buildSelectLang=
15
- function(a){var c=new CKEDITOR.dom.element("div"),d=new CKEDITOR.dom.element("select"),a="wscLang"+a;c.addClass("cke_dialog_ui_input_select");c.setAttribute("role","presentation");c.setStyles({height:"auto",position:"absolute",right:"0",top:"-1px",width:"160px","white-space":"normal"});d.setAttribute("id",a);d.addClass("cke_dialog_ui_input_select");d.setStyles({width:"160px"});c.append(d);return c};a.buildOptionLang=function(b,c){var d=document.getElementById("wscLang"+c),f=document.createDocumentFragment(),
16
- g,e,i=[];if(0===d.options.length){for(g in b)i.push([g,b[g]]);i.sort();for(var k=0;k<i.length;k++)g=document.createElement("option"),g.setAttribute("value",i[k][1]),e=document.createTextNode(i[k][0]),g.appendChild(e),i[k][1]==a.selectingLang&&g.setAttribute("selected","selected"),f.appendChild(g);d.appendChild(f)}};a.buildOptionSynonyms=function(b){b=a.selectNodeResponce[b];a.selectNode.synonyms.clear();for(var c=0;c<b.length;c++)a.selectNode.synonyms.add(b[c],b[c]);a.selectNode.synonyms.getInputElement().$.firstChild.selected=
17
- !0;a.textNode.Thesaurus.setValue(a.selectNode.synonyms.getInputElement().getValue())};var r=function(a){var c=document,d=a.target||c.body,f=a.id||"overlayBlock",e=a.opacity||"0.9",a=a.background||"#f1f1f1",h=c.getElementById(f),i=h||c.createElement("div");i.style.cssText="position: absolute;top:30px;bottom:41px;left:1px;right:1px;z-index: 10020;padding:0;margin:0;background:"+a+";opacity: "+e+";filter: alpha(opacity="+100*e+");display: none;";i.id=f;h||d.appendChild(i);return{setDisable:function(){i.style.display=
18
- "none"},setEnable:function(){i.style.display="block"}}},B=function(b,c,d){var f=new CKEDITOR.dom.element("div"),e=new CKEDITOR.dom.element("input"),h=new CKEDITOR.dom.element("label"),i="wscGrammerSuggest"+b+"_"+c;f.addClass("cke_dialog_ui_input_radio");f.setAttribute("role","presentation");f.setStyles({width:"97%",padding:"5px","white-space":"normal"});e.setAttributes({type:"radio",value:c,name:"wscGrammerSuggest",id:i});e.setStyles({"float":"left"});e.on("click",function(b){a.textNode.GrammTab.setValue(b.sender.getValue())});
19
- d&&e.setAttribute("checked",!0);e.addClass("cke_dialog_ui_radio_input");h.appendText(b);h.setAttribute("for",i);h.setStyles({display:"block","line-height":"16px","margin-left":"18px","white-space":"normal"});f.append(e);f.append(h);return f},v=function(a){a=a||"true";null!==a&&"false"==a&&m()},n=function(b){var c=new y(b),b="wscLang"+a.dialog.getParentEditor().name,b=document.getElementById(b),d=a.iframeNumber+"_"+a.dialog._.currentTabId;a.buildOptionLang(c.setLangList,a.dialog.getParentEditor().name);
20
- w[c.getCurrentLangGroup(a.selectingLang)]();v(a.show_grammar);b.onchange=function(){w[c.getCurrentLangGroup(this.value)]();v(a.show_grammar);a.div_overlay.setEnable();a.selectingLang=this.value;e.postMessage.send({message:{changeLang:a.selectingLang,text:a.dataTemp},target:a.targetFromFrame[d],id:"selectionLang_outer__page"})}},C=function(b){if("no_any_suggestions"==b){b="No suggestions";a.LocalizationButton.ChangeTo.instance.disable();a.LocalizationButton.ChangeAll.instance.disable();var c=function(b){b=
21
- a.LocalizationButton[b].instance;b.getElement().hasClass("cke_disabled")?b.getElement().setStyle("color","#a0a0a0"):b.disable()};c("ChangeTo");c("ChangeAll")}else a.LocalizationButton.ChangeTo.instance.enable(),a.LocalizationButton.ChangeAll.instance.enable(),a.LocalizationButton.ChangeTo.instance.getElement().setStyle("color","#333"),a.LocalizationButton.ChangeAll.instance.getElement().setStyle("color","#333");return b},E={iframeOnload:function(){a.div_overlay.setEnable();var b=a.dialog._.currentTabId;
22
- u(a.targetFromFrame[a.iframeNumber+"_"+b],a.cmd[b])},suggestlist:function(b){delete b.id;a.div_overlay_no_check.setDisable();s();n(a.langList);var c=C(b.word),d="";c instanceof Array&&(c=b.word[0]);d=c=c.split(",");q.clear();a.textNode.SpellTab.setValue(d[0]);for(b=0;b<d.length;b++)q.add(d[b],d[b]);l();a.div_overlay.setDisable()},grammerSuggest:function(b){delete b.id;delete b.mocklangs;s();n(a.langList);var c=b.grammSuggest[0];a.grammerSuggest.getElement().setHtml("");a.textNode.GrammTab.reset();
23
- a.textNode.GrammTab.setValue(c);a.textNodeInfo.GrammTab.getElement().setHtml("");a.textNodeInfo.GrammTab.getElement().setText(b.info);for(var b=b.grammSuggest,c=b.length,d=!0,f=0;f<c;f++)a.grammerSuggest.getElement().append(B(b[f],b[f],d)),d=!1;l();a.div_overlay.setDisable()},thesaurusSuggest:function(b){delete b.id;delete b.mocklangs;s();n(a.langList);a.selectNodeResponce=b;a.textNode.Thesaurus.reset();a.selectNode.categories.clear();for(var c in b)a.selectNode.categories.add(c,c);b=a.selectNode.categories.getInputElement().getChildren().$[0].value;
24
- a.selectNode.categories.getInputElement().getChildren().$[0].selected=!0;a.buildOptionSynonyms(b);l();a.div_overlay.setDisable()},finish:function(b){delete b.id;D();b=a.dialog.getContentElement(a.dialog._.currentTabId,"BlockFinishChecking").getElement();b.removeStyle("display");b.removeStyle("position");b.removeStyle("left");b.show();a.div_overlay.setDisable()},settext:function(b){delete b.id;a.dialog.getParentEditor().getCommand("checkspell");var c=a.dialog.getParentEditor();try{c.focus()}catch(d){}c.setData(b.text,
25
- function(){a.dataTemp="";c.unlockSelection();c.fire("saveSnapshot");a.dialog.hide()})},ReplaceText:function(b){delete b.id;a.div_overlay.setEnable();a.dataTemp=b.text;a.selectingLang=b.currentLang;window.setTimeout(function(){try{a.div_overlay.setDisable()}catch(b){}},500);z(a.LocalizationButton);A(a.LocalizationLabel)},options_checkbox_send:function(b){delete b.id;b={osp:e.cookie.get("osp"),udn:e.cookie.get("udn"),cust_dic_ids:a.cust_dic_ids};e.postMessage.send({message:b,target:a.targetFromFrame[a.iframeNumber+
26
- "_"+a.dialog._.currentTabId],id:"options_outer__page"})},getOptions:function(b){var c=b.DefOptions.udn;a.LocalizationComing=b.DefOptions.localizationButtonsAndText;a.show_grammar=b.show_grammar;a.langList=b.lang;if(a.bnr=b.bannerId){a.setHeightBannerFrame();var d=b.banner;a.dialog.getContentElement(a.dialog._.currentTabId,"banner").getElement().setHtml(d)}else a.setHeightFrame();"undefined"==c&&(a.userDictionaryName?(c=a.userDictionaryName,d={osp:e.cookie.get("osp"),udn:a.userDictionaryName,cust_dic_ids:a.cust_dic_ids,
27
- id:"options_dic_send",udnCmd:"create"},e.postMessage.send({message:d,target:a.targetFromFrame[void 0]})):c="");e.cookie.set("osp",b.DefOptions.osp);e.cookie.set("udn",c);e.cookie.set("cust_dic_ids",b.DefOptions.cust_dic_ids);e.postMessage.send({id:"giveOptions"})},options_dic_send:function(){var b={osp:e.cookie.get("osp"),udn:e.cookie.get("udn"),cust_dic_ids:a.cust_dic_ids,id:"options_dic_send",udnCmd:e.cookie.get("udnCmd")};e.postMessage.send({message:b,target:a.targetFromFrame[a.iframeNumber+"_"+
28
- a.dialog._.currentTabId]})},data:function(a){delete a.id},giveOptions:function(){},setOptionsConfirmF:function(){},setOptionsConfirmT:function(){j.setValue("")},clickBusy:function(){a.div_overlay.setEnable()},suggestAllCame:function(){a.div_overlay.setDisable();a.div_overlay_no_check.setDisable()},TextCorrect:function(){n(a.langList)}},x=function(a){a=a||window.event;if((a=window.JSON.parse(a.data))&&a.id)E[a.id](a)},u=function(b,c,d,f){c=c||CKEDITOR.config.wsc_cmd;d=d||a.dataTemp;e.postMessage.send({message:{customerId:a.wsc_customerId,
29
- text:d,txt_ctrl:a.TextAreaNumber,cmd:c,cust_dic_ids:a.cust_dic_ids,udn:a.userDictionaryName,slang:a.selectingLang,reset_suggest:f||!1},target:b,id:"data_outer__page"});a.div_overlay.setEnable()},w={superset:function(){a.dialog.showPage("Thesaurus");a.dialog.showPage("GrammTab");o()},usual:function(){t();m();o()},rtl:function(){t();m();o()}},F=function(b){var c=new function(a){var b={};return{getCmdByTab:function(c){for(var e in a)b[a[e]]=e;return b[c]}}}(a.cmd);b.selectPage(c.getCmdByTab(CKEDITOR.config.wsc_cmd));
30
- a.sendData(b)},t=function(){a.dialog.hidePage("Thesaurus")},m=function(){a.dialog.hidePage("GrammTab")},o=function(){a.dialog.showPage("SpellTab")},l=function(){var b=a.dialog.getContentElement(a.dialog._.currentTabId,"bottomGroup").getElement();b.removeStyle("display");b.removeStyle("position");b.removeStyle("left");b.show()},D=function(){var b=a.dialog.getContentElement(a.dialog._.currentTabId,"bottomGroup").getElement(),c=document.activeElement,d;b.setStyles({display:"block",position:"absolute",
31
- left:"-9999px"});setTimeout(function(){b.removeStyle("display");b.removeStyle("position");b.removeStyle("left");b.hide();a.dialog._.editor.focusManager.currentActive.focusNext();d=e.misc.findFocusable(a.dialog.parts.contents);if(!e.misc.hasClass(c,"cke_dialog_tab")&&!e.misc.hasClass(c,"cke_dialog_contents_body")&&e.misc.isVisible(c))try{c.focus()}catch(f){}else for(var g=0,h;g<d.count();g++)if(h=d.getItem(g),e.misc.isVisible(h.$)){try{h.$.focus()}catch(i){}break}},0)},s=function(){var b=a.dialog.getContentElement(a.dialog._.currentTabId,
32
- "BlockFinishChecking").getElement(),c=document.activeElement,d;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();d=e.misc.findFocusable(a.dialog.parts.contents);if(!e.misc.hasClass(c,"cke_dialog_tab")&&!e.misc.hasClass(c,"cke_dialog_contents_body")&&e.misc.isVisible(c))try{c.focus()}catch(f){}else for(var g=0,h;g<d.count();g++)if(h=
33
- d.getItem(g),e.misc.isVisible(h.$)){try{h.$.focus()}catch(i){}break}},0)};CKEDITOR.dialog.add("checkspell",function(b){var c=function(){this.getElement().focus();a.div_overlay.setEnable();var c=a.dialog._.currentTabId,f=a.iframeNumber+"_"+c,g=a.textNode[c].getValue(),h=this.getElement().getAttribute("title-cmd");e.postMessage.send({message:{cmd:h,tabId:c,new_word:g},target:a.targetFromFrame[f],id:"cmd_outer__page"});("ChangeTo"==h||"ChangeAll"==h)&&b.fire("saveSnapshot");"FinishChecking"==h&&b.config.wsc_onFinish.call(CKEDITOR.document.getWindow().getFrame())};
34
- return{title:b.config.wsc_dialogTitle||b.lang.wsc.title,minWidth:560,minHeight:444,buttons:[CKEDITOR.dialog.cancelButton],onLoad:function(){a.dialog=this;t();m();o()},onShow:function(){b.lockSelection(b.getSelection());a.TextAreaNumber="cke_textarea_"+CKEDITOR.currentInstance.name;e.postMessage.init(x);a.dataTemp=CKEDITOR.currentInstance.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;
35
- a.userDictionaryName=b.config.wsc_userDictionaryName;a.defaultLanguage=CKEDITOR.config.defaultLanguage;var c="file:"==document.location.protocol?"http:":document.location.protocol;CKEDITOR.scriptLoader.load(b.config.wsc_customLoaderScript||c+"//loader.webspellchecker.net/sproxy_fck/sproxy.php?plugin=fck2&customerid="+a.wsc_customerId+"&cmd=script&doc=wsc&schema=22",function(c){CKEDITOR.config&&CKEDITOR.config.wsc&&CKEDITOR.config.wsc.DefaultParams?(a.serverLocationHash=CKEDITOR.config.wsc.DefaultParams.serviceHost,
36
- a.logotype=CKEDITOR.config.wsc.DefaultParams.logoPath,a.loadIcon=CKEDITOR.config.wsc.DefaultParams.iconPath,a.loadIconEmptyEditor=CKEDITOR.config.wsc.DefaultParams.iconPathEmptyEditor,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);
37
- 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);a.selectingLang=a.currentLang;a.div_overlay=new r({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));
38
- a.div_overlay_no_check=new r({opacity:"1",id:"no_check_over",background:"#fff url("+a.loadIconEmptyEditor+") no-repeat 50% 50%",target:a.OverlayPlace});c&&(F(a.dialog),a.dialog.setupContent(a.dialog))})}else a.dialog.hide()},onHide:function(){var c=CKEDITOR.plugins.scayt,f=b.scayt;b.unlockSelection();c&&(f&&c.state[b.name]&&f.setMarkupPaused)&&f.setMarkupPaused(!1);a.dataTemp="";e.postMessage.unbindHandler(x)},contents:[{id:"SpellTab",label:"SpellChecker",accessKey:"S",elements:[{type:"html",id:"banner",
39
- label:"banner",style:"",html:"<div></div>"},{type:"html",id:"Content",label:"spellContent",html:"",setup:function(b){var b=a.iframeNumber+"_"+b._.currentTabId,c=document.getElementById(b);a.targetFromFrame[b]=c.contentWindow}},{type:"hbox",id:"bottomGroup",style:"width:560px; margin: 0 auto;",widths:["50%","50%"],children:[{type:"hbox",id:"leftCol",align:"left",width:"50%",children:[{type:"vbox",id:"rightCol1",widths:["50%","50%"],children:[{type:"text",id:"text",label:a.LocalizationLabel.ChangeTo.text+
40
- ":",labelLayout:"horizontal",labelStyle:"font: 12px/25px arial, sans-serif;",width:"140px","default":"",onShow:function(){a.textNode.SpellTab=this;a.LocalizationLabel.ChangeTo.instance=this},onHide:function(){this.reset()}},{type:"hbox",id:"rightCol",align:"right",width:"30%",children:[{type:"vbox",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:"block",
41
- position:"absolute",left:"-9999px"})}},{type:"html",id:"logo",html:'<img width="99" height="68" border="0" src="" title="WebSpellChecker.net" alt="WebSpellChecker.net" style="display: inline-block;">',setup:function(){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;",items:[["loading..."]],onShow:function(){q=
42
- this},onHide:function(){this.clear()},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",label:a.LocalizationButton.ChangeTo.text,title:"Change to",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id);a.LocalizationButton.ChangeTo.instance=this},onClick:c},{type:"button",
43
- 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:c},{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:c},{type:"button",id:"FinishChecking",label:a.LocalizationButton.FinishChecking.text,
44
- title:"Finish Checking",style:"width: 100%;margin-top: 9px;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id);a.LocalizationButton.FinishChecking.instance=this},onClick:c}]},{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",this.id);a.LocalizationButton.IgnoreWord.instance=this},
45
- onClick:c},{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:c},{type:"button",id:"option",label:a.LocalizationButton.Options.text,title:"Option",style:"width: 100%;",onLoad:function(){a.LocalizationButton.Options.instance=this;"file:"==document.location.protocol&&this.disable()},onClick:function(){this.getElement().focus();
46
- "file:"==document.location.protocol?alert("WSC: Options functionality is disabled when runing from file system"):(p=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:l,children:[{type:"hbox",id:"leftCol",align:"left",width:"70%",children:[{type:"vbox",id:"rightCol1",setup:function(){this.getChild()[0].getElement().$.src=
47
- a.logotype;this.getChild()[0].getElement().getParent().setStyles({"text-align":"center"})},children:[{type:"html",id:"logo",html:'<img width="99" height="68" border="0" src="" title="WebSpellChecker.net" alt="WebSpellChecker.net" style="display: inline-block;">'}]}]},{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",
48
- 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"):(p=document.activeElement,b.openDialog("options"))}},{type:"button",id:"FinishChecking",label:a.LocalizationButton.FinishChecking.text,title:"Finish Checking",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id)},onClick:c}]}]}]}]},{id:"GrammTab",
49
- label:"Grammar",accessKey:"G",elements:[{type:"html",id:"banner",label:"banner",style:"",html:"<div></div>"},{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",id:"text",label:"Change to:",labelLayout:"horizontal",
50
- 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:"<div style='min-height: 17px; line-height: 17px; padding: 5px; text-align: left;background: #F1F1F1;color: #595959; white-space: normal!important;'></div>",onShow:function(){a.textNodeInfo.GrammTab=this}},{type:"html",id:"radio",html:"",onShow:function(){a.grammerSuggest=this}}]},{type:"vbox",
51
- children:[{type:"button",id:"ChangeTo",label:"Change to",title:"Change to",style:"width: 133px; float: right;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id)},onClick:c},{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:c},{type:"button",id:"IgnoreAllWords",label:"Ignore Problem",title:"Ignore Problem",style:"width: 133px; float: right;",onLoad:function(){this.getElement().setAttribute("title-cmd",
52
- this.id)},onClick:c},{type:"button",id:"FinishChecking",label:"Finish Checking",title:"Finish Checking",style:"width: 133px; float: right; margin-top: 9px;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id)},onClick:c}]}]}]},{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:l,children:[{type:"hbox",id:"leftCol",align:"left",width:"70%",
53
- children:[{type:"vbox",id:"rightCol1",children:[{type:"html",id:"logo",html:'<img width="99" height="68" border="0" src="" title="WebSpellChecker.net" alt="WebSpellChecker.net" style="display: inline-block;">',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",id:"FinishChecking",label:"Finish Checking",
54
- title:"Finish Checking",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id)},onClick:c}]}]}]}]},{id:"Thesaurus",label:"Thesaurus",accessKey:"T",elements:[{type:"html",id:"banner",label:"banner",style:"",html:"<div></div>"},{type:"html",id:"Content",label:"spellContent",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: -10px auto; overflow: hidden;",
55
- children:[{type:"hbox",widths:["75%","25%"],children:[{type:"vbox",children:[{type:"hbox",widths:["65%","35%"],children:[{type:"text",id:"ChangeTo",label:"Change to:",labelLayout:"horizontal",inputStyle:"width: 160px;",labelStyle:"font: 12px/25px arial, sans-serif;","default":"",onShow:function(){a.textNode.Thesaurus=this},onHide:function(){this.reset()}},{type:"button",id:"ChangeTo",label:"Change to",title:"Change to",style:"width: 121px; margin-top: 1px;",onLoad:function(){this.getElement().setAttribute("title-cmd",
56
- this.id)},onClick:c}]},{type:"hbox",children:[{type:"select",id:"categories",label:"Categories:",labelStyle:"font: 12px/25px arial, sans-serif;",size:"5",inputStyle:"width: 180px; height: auto;",items:[],onShow:function(){a.selectNode.categories=this},onHide:function(){this.clear()},onChange:function(){a.buildOptionSynonyms(this.getValue())}},{type:"select",id:"synonyms",label:"Synonyms:",labelStyle:"font: 12px/25px arial, sans-serif;",size:"5",inputStyle:"width: 180px; height: auto;",items:[],onShow:function(){a.selectNode.synonyms=
57
- this;a.textNode.Thesaurus.setValue(this.getValue())},onHide:function(){this.clear()},onChange:function(){a.textNode.Thesaurus.setValue(this.getValue())}}]}]},{type:"vbox",width:"120px",style:"margin-top:46px;",children:[{type:"html",id:"logotype",label:"WebSpellChecker.net",html:'<img width="99" height="68" border="0" src="" title="WebSpellChecker.net" alt="WebSpellChecker.net" style="display: inline-block;">',setup:function(){this.getElement().$.src=a.logotype;this.getElement().getParent().setStyles({"text-align":"center"})}},
58
- {type:"button",id:"FinishChecking",label:"Finish Checking",title:"Finish Checking",style:"width: 121px; float: right; margin-top: 9px;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id)},onClick:c}]}]}]},{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",
59
- id:"rightCol1",children:[{type:"html",id:"logo",html:'<img width="99" height="68" border="0" src="" title="WebSpellChecker.net" alt="WebSpellChecker.net" style="display: inline-block;">',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",id:"FinishChecking",label:"Finish Checking",title:"Finish Checking",
60
- style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",this.id)},onClick:c}]}]}]}]}]}});var p=null;CKEDITOR.dialog.add("options",function(){var b=null,c={},d={},f=null,g=null;e.cookie.get("udn");e.cookie.get("osp");var h=function(){g=this.getElement().getAttribute("title-cmd");var a=[];a[0]=d.IgnoreAllCapsWords;a[1]=d.IgnoreWordsNumbers;a[2]=d.IgnoreMixedCaseWords;a[3]=d.IgnoreDomainNames;a=a.toString().replace(/,/g,"");e.cookie.set("osp",a);e.cookie.set("udnCmd",g?g:"ignore");
61
- "delete"!=g&&(a="",""!==j.getValue()&&(a=j.getValue()),e.cookie.set("udn",a));e.postMessage.send({id:"options_dic_send"})},i=function(){f.getElement().setHtml(a.LocalizationComing.error);f.getElement().show()};return{title:a.LocalizationComing.Options,minWidth:430,minHeight:130,resizable:CKEDITOR.DIALOG_RESIZE_NONE,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",
62
- html:"<div></div>",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",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",
63
- 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(){d[this.id]=!this.getValue()?0:1}},{type:"checkbox",id:"IgnoreWordsNumbers",label:"Ignore Words with Numbers",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(){d[this.id]=!this.getValue()?0:1}},{type:"checkbox",
64
- 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(){d[this.id]=!this.getValue()?0:1}},{type:"checkbox",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(){d[this.id]=
65
- !this.getValue()?0:1}}]}]},{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(){j=this;this.setValue(a.userDictionaryName?a.userDictionaryName:(e.cookie.get("udn"),this.getValue()))},onShow:function(){j=this;this.setValue(!e.cookie.get("udn")?this.getValue():e.cookie.get("udn"));this.setLabel(a.LocalizationComing.DictionaryName)},
66
- 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",this.id)},onShow:function(){(this.getElement().getFirst()||this.getElement()).setText(a.LocalizationComing.Create)},onClick:h},{type:"button",id:"restore",label:"Restore",title:"Restore",style:"width: 100%;",onLoad:function(){this.getElement().setAttribute("title-cmd",
67
- this.id)},onShow:function(){(this.getElement().getFirst()||this.getElement()).setText(a.LocalizationComing.Restore)},onClick:h}]},{type:"vbox",id:"Options_rightCol_col",widths:["50%","50%"],children:[{type:"button",id:"rename",label:"Rename",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:h},{type:"button",id:"delete",label:"Remove",
68
- 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:h}]}]}]}]},{type:"hbox",id:"Options_text",children:[{type:"html",style:"text-align: justify;margin-top: 15px;white-space: normal!important; font-size: 12px;color:#777;",html:"<div>"+a.LocalizationComing.OptionsTextIntro+"</div>",onShow:function(){this.getElement().setText(a.LocalizationComing.OptionsTextIntro)}}]}]}]}],
69
- buttons:[CKEDITOR.dialog.okButton,CKEDITOR.dialog.cancelButton],onOk:function(){var a=[];a[0]=d.IgnoreAllCapsWords;a[1]=d.IgnoreWordsNumbers;a[2]=d.IgnoreMixedCaseWords;a[3]=d.IgnoreDomainNames;a=a.toString().replace(/,/g,"");e.cookie.set("osp",a);e.cookie.set("udn",j.getValue());e.postMessage.send({id:"options_checkbox_send"});f.getElement().hide();f.getElement().setHtml(" ")},onLoad:function(){b=this;c.IgnoreAllCapsWords=b.getContentElement("OptionsTab","IgnoreAllCapsWords");c.IgnoreWordsNumbers=
70
- b.getContentElement("OptionsTab","IgnoreWordsNumbers");c.IgnoreMixedCaseWords=b.getContentElement("OptionsTab","IgnoreMixedCaseWords");c.IgnoreDomainNames=b.getContentElement("OptionsTab","IgnoreDomainNames")},onShow:function(){e.postMessage.init(i);var b=e.cookie.get("osp").split("");d.IgnoreAllCapsWords=b[0];d.IgnoreWordsNumbers=b[1];d.IgnoreMixedCaseWords=b[2];d.IgnoreDomainNames=b[3];!parseInt(d.IgnoreAllCapsWords,10)?c.IgnoreAllCapsWords.setValue("",!1):c.IgnoreAllCapsWords.setValue("checked",
71
- !1);!parseInt(d.IgnoreWordsNumbers,10)?c.IgnoreWordsNumbers.setValue("",!1):c.IgnoreWordsNumbers.setValue("checked",!1);!parseInt(d.IgnoreMixedCaseWords,10)?c.IgnoreMixedCaseWords.setValue("",!1):c.IgnoreMixedCaseWords.setValue("checked",!1);!parseInt(d.IgnoreDomainNames,10)?c.IgnoreDomainNames.setValue("",!1):c.IgnoreDomainNames.setValue("checked",!1);d.IgnoreAllCapsWords=!c.IgnoreAllCapsWords.getValue()?0:1;d.IgnoreWordsNumbers=!c.IgnoreWordsNumbers.getValue()?0:1;d.IgnoreMixedCaseWords=!c.IgnoreMixedCaseWords.getValue()?
72
- 0:1;d.IgnoreDomainNames=!c.IgnoreDomainNames.getValue()?0:1;c.IgnoreAllCapsWords.getElement().$.lastChild.innerHTML=a.LocalizationComing.IgnoreAllCapsWords;c.IgnoreWordsNumbers.getElement().$.lastChild.innerHTML=a.LocalizationComing.IgnoreWordsWithNumbers;c.IgnoreMixedCaseWords.getElement().$.lastChild.innerHTML=a.LocalizationComing.IgnoreMixedCaseWords;c.IgnoreDomainNames.getElement().$.lastChild.innerHTML=a.LocalizationComing.IgnoreDomainNames},onHide:function(){e.postMessage.unbindHandler(i);if(p)try{p.focus()}catch(a){}}}});
73
- CKEDITOR.dialog.on("resize",function(b){var b=b.data,c=b.dialog,d=CKEDITOR.document.getById(a.iframeNumber+"_"+c._.currentTabId);"checkspell"==c._.name&&(a.bnr?d&&d.setSize("height",b.height-310):d&&d.setSize("height",b.height-220))});CKEDITOR.on("dialogDefinition",function(b){if("checkspell"===b.data.name){var c=b.data.definition;a.onLoadOverlay=new r({opacity:"1",background:"#fff",target:c.dialog.parts.tabs.getParent().$});a.onLoadOverlay.setEnable();c.dialog.on("cancel",function(){c.dialog.getParentEditor().config.wsc_onClose.call(this.document.getWindow().getFrame());
74
- a.div_overlay.setDisable();a.onLoadOverlay.setDisable();return!1},this,null,-1)}})})();
@@ -1,11 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2014, 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),j(a)):180==d++&&window._cancelOnError(c)}}function j(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:",i=a.lang.wsc.notAvailable,k='<textarea style="display: none" id="'+g+'" rows="10" cols="40"> </textarea><div id="'+h+'" style="display:none;color:red;font-size:16px;font-weight:bold;padding-top:160px;text-align:center;z-index:11;"></div><iframe src="" style="width:100%;background-color:#f1f1e3;" frameborder="0" name="'+d+'" id="'+d+'" allowtransparency="1"></iframe>',
8
- l=a.config.wsc_customLoaderScript||b+"//loader.webspellchecker.net/sproxy_fck/sproxy.php?plugin=fck2&customerid="+a.config.wsc_customerId+"&cmd=script&doc=wsc&schema=22";a.config.wsc_customLoaderScript&&(i+='<p style="color:#000;font-size:11px;font-weight: normal;text-align:center;padding-top:10px">'+a.lang.wsc.errorLoading.replace(/%s/g,a.config.wsc_customLoaderScript)+"</p>");window._cancelOnError=function(c){if("undefined"==typeof window.WSC_Error){CKEDITOR.document.getById(d).setStyle("display",
9
- "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(k);b.getChild(2).setStyle("height",this._.contentSize.height+"px");"function"!=typeof window.doSpell&&CKEDITOR.document.getHead().append(CKEDITOR.document.createElement("script",
10
- {attributes:{type:"text/javascript",src:l}}));b=a.getData();CKEDITOR.document.getById(g).setValue(b);e=window.setInterval(c(this,i),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){var a=a.data,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,7 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.md or http://ckeditor.com/license
4
- */
5
- var CKEDITOR_LANGS=function(){var c={af:"Afrikaans",ar:"Arabic",bg:"Bulgarian",bn:"Bengali/Bangla",bs:"Bosnian",ca:"Catalan",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English","en-au":"English (Australia)","en-ca":"English (Canadian)","en-gb":"English (United Kingdom)",eo:"Esperanto",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fo:"Faroese",fr:"French","fr-ca":"French (Canada)",gl:"Galician",gu:"Gujarati",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",id:"Indonesian",
6
- is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",km:"Khmer",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mk:"Macedonian",mn:"Mongolian",ms:"Malay",nb:"Norwegian Bokmal",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese (Portugal)","pt-br":"Portuguese (Brazil)",ro:"Romanian",ru:"Russian",si:"Sinhala",sk:"Slovak",sq:"Albanian",sl:"Slovenian",sr:"Serbian (Cyrillic)","sr-latn":"Serbian (Latin)",sv:"Swedish",th:"Thai",tr:"Turkish",tt:"Tatar",ug:"Uighur",uk:"Ukrainian",vi:"Vietnamese",
7
- zh:"Chinese Traditional","zh-cn":"Chinese Simplified"},b=[],a;for(a in CKEDITOR.lang.languages)b.push({code:a,name:c[a]||a});b.sort(function(a,b){return a.name<b.name?-1:1});return b}();
@@ -1,18 +0,0 @@
1
- var swfobject=function(){function u(){if(!s){try{var a=d.getElementsByTagName("body")[0].appendChild(d.createElement("span"));a.parentNode.removeChild(a)}catch(b){return}s=!0;for(var a=x.length,c=0;c<a;c++)x[c]()}}function L(a){s?a():x[x.length]=a}function M(a){if(typeof m.addEventListener!=i)m.addEventListener("load",a,!1);else if(typeof d.addEventListener!=i)d.addEventListener("load",a,!1);else if(typeof m.attachEvent!=i)U(m,"onload",a);else if("function"==typeof m.onload){var b=m.onload;m.onload=
2
- function(){b();a()}}else m.onload=a}function V(){var a=d.getElementsByTagName("body")[0],b=d.createElement(r);b.setAttribute("type",y);var c=a.appendChild(b);if(c){var f=0;(function(){if(typeof c.GetVariable!=i){var g=c.GetVariable("$version");g&&(g=g.split(" ")[1].split(","),e.pv=[parseInt(g[0],10),parseInt(g[1],10),parseInt(g[2],10)])}else if(10>f){f++;setTimeout(arguments.callee,10);return}a.removeChild(b);c=null;D()})()}else D()}function D(){var a=p.length;if(0<a)for(var b=0;b<a;b++){var c=p[b].id,
3
- f=p[b].callbackFn,g={success:!1,id:c};if(0<e.pv[0]){var d=n(c);if(d)if(z(p[b].swfVersion)&&!(e.wk&&312>e.wk))t(c,!0),f&&(g.success=!0,g.ref=E(c),f(g));else if(p[b].expressInstall&&F()){g={};g.data=p[b].expressInstall;g.width=d.getAttribute("width")||"0";g.height=d.getAttribute("height")||"0";d.getAttribute("class")&&(g.styleclass=d.getAttribute("class"));d.getAttribute("align")&&(g.align=d.getAttribute("align"));for(var h={},d=d.getElementsByTagName("param"),j=d.length,k=0;k<j;k++)"movie"!=d[k].getAttribute("name").toLowerCase()&&
4
- (h[d[k].getAttribute("name")]=d[k].getAttribute("value"));G(g,h,c,f)}else W(d),f&&f(g)}else if(t(c,!0),f){if((c=E(c))&&typeof c.SetVariable!=i)g.success=!0,g.ref=c;f(g)}}}function E(a){var b=null;if((a=n(a))&&"OBJECT"==a.nodeName)typeof a.SetVariable!=i?b=a:(a=a.getElementsByTagName(r)[0])&&(b=a);return b}function F(){return!A&&z("6.0.65")&&(e.win||e.mac)&&!(e.wk&&312>e.wk)}function G(a,b,c,f){A=!0;H=f||null;N={success:!1,id:c};var g=n(c);if(g){"OBJECT"==g.nodeName?(w=I(g),B=null):(w=g,B=c);a.id=
5
- O;if(typeof a.width==i||!/%$/.test(a.width)&&310>parseInt(a.width,10))a.width="310";if(typeof a.height==i||!/%$/.test(a.height)&&137>parseInt(a.height,10))a.height="137";d.title=d.title.slice(0,47)+" - Flash Player Installation";f=e.ie&&e.win?"ActiveX":"PlugIn";f="MMredirectURL="+m.location.toString().replace(/&/g,"%26")+"&MMplayerType="+f+"&MMdoctitle="+d.title;b.flashvars=typeof b.flashvars!=i?b.flashvars+("&"+f):f;e.ie&&(e.win&&4!=g.readyState)&&(f=d.createElement("div"),c+="SWFObjectNew",f.setAttribute("id",
6
- c),g.parentNode.insertBefore(f,g),g.style.display="none",function(){g.readyState==4?g.parentNode.removeChild(g):setTimeout(arguments.callee,10)}());J(a,b,c)}}function W(a){if(e.ie&&e.win&&4!=a.readyState){var b=d.createElement("div");a.parentNode.insertBefore(b,a);b.parentNode.replaceChild(I(a),b);a.style.display="none";(function(){4==a.readyState?a.parentNode.removeChild(a):setTimeout(arguments.callee,10)})()}else a.parentNode.replaceChild(I(a),a)}function I(a){var b=d.createElement("div");if(e.win&&
7
- e.ie)b.innerHTML=a.innerHTML;else if(a=a.getElementsByTagName(r)[0])if(a=a.childNodes)for(var c=a.length,f=0;f<c;f++)!(1==a[f].nodeType&&"PARAM"==a[f].nodeName)&&8!=a[f].nodeType&&b.appendChild(a[f].cloneNode(!0));return b}function J(a,b,c){var f,g=n(c);if(e.wk&&312>e.wk)return f;if(g)if(typeof a.id==i&&(a.id=c),e.ie&&e.win){var o="",h;for(h in a)a[h]!=Object.prototype[h]&&("data"==h.toLowerCase()?b.movie=a[h]:"styleclass"==h.toLowerCase()?o+=' class="'+a[h]+'"':"classid"!=h.toLowerCase()&&(o+=" "+
8
- h+'="'+a[h]+'"'));h="";for(var j in b)b[j]!=Object.prototype[j]&&(h+='<param name="'+j+'" value="'+b[j]+'" />');g.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+o+">"+h+"</object>";C[C.length]=a.id;f=n(a.id)}else{j=d.createElement(r);j.setAttribute("type",y);for(var k in a)a[k]!=Object.prototype[k]&&("styleclass"==k.toLowerCase()?j.setAttribute("class",a[k]):"classid"!=k.toLowerCase()&&j.setAttribute(k,a[k]));for(o in b)b[o]!=Object.prototype[o]&&"movie"!=o.toLowerCase()&&
9
- (a=j,h=o,k=b[o],c=d.createElement("param"),c.setAttribute("name",h),c.setAttribute("value",k),a.appendChild(c));g.parentNode.replaceChild(j,g);f=j}return f}function P(a){var b=n(a);b&&"OBJECT"==b.nodeName&&(e.ie&&e.win?(b.style.display="none",function(){if(4==b.readyState){var c=n(a);if(c){for(var f in c)"function"==typeof c[f]&&(c[f]=null);c.parentNode.removeChild(c)}}else setTimeout(arguments.callee,10)}()):b.parentNode.removeChild(b))}function n(a){var b=null;try{b=d.getElementById(a)}catch(c){}return b}
10
- function U(a,b,c){a.attachEvent(b,c);v[v.length]=[a,b,c]}function z(a){var b=e.pv,a=a.split(".");a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return b[0]>a[0]||b[0]==a[0]&&b[1]>a[1]||b[0]==a[0]&&b[1]==a[1]&&b[2]>=a[2]?!0:!1}function Q(a,b,c,f){if(!e.ie||!e.mac){var g=d.getElementsByTagName("head")[0];if(g){c=c&&"string"==typeof c?c:"screen";f&&(K=l=null);if(!l||K!=c)f=d.createElement("style"),f.setAttribute("type","text/css"),f.setAttribute("media",c),l=g.appendChild(f),
11
- e.ie&&(e.win&&typeof d.styleSheets!=i&&0<d.styleSheets.length)&&(l=d.styleSheets[d.styleSheets.length-1]),K=c;e.ie&&e.win?l&&typeof l.addRule==r&&l.addRule(a,b):l&&typeof d.createTextNode!=i&&l.appendChild(d.createTextNode(a+" {"+b+"}"))}}}function t(a,b){if(R){var c=b?"visible":"hidden";s&&n(a)?n(a).style.visibility=c:Q("#"+a,"visibility:"+c)}}function S(a){return null!=/[\\\"<>\.;]/.exec(a)&&typeof encodeURIComponent!=i?encodeURIComponent(a):a}var i="undefined",r="object",y="application/x-shockwave-flash",
12
- O="SWFObjectExprInst",m=window,d=document,q=navigator,T=!1,x=[function(){T?V():D()}],p=[],C=[],v=[],w,B,H,N,s=!1,A=!1,l,K,R=!0,e=function(){var a=typeof d.getElementById!=i&&typeof d.getElementsByTagName!=i&&typeof d.createElement!=i,b=q.userAgent.toLowerCase(),c=q.platform.toLowerCase(),f=c?/win/.test(c):/win/.test(b),c=c?/mac/.test(c):/mac/.test(b),b=/webkit/.test(b)?parseFloat(b.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,g=!+"\v1",e=[0,0,0],h=null;if(typeof q.plugins!=i&&typeof q.plugins["Shockwave Flash"]==
13
- r){if((h=q.plugins["Shockwave Flash"].description)&&!(typeof q.mimeTypes!=i&&q.mimeTypes[y]&&!q.mimeTypes[y].enabledPlugin))T=!0,g=!1,h=h.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),e[0]=parseInt(h.replace(/^(.*)\..*$/,"$1"),10),e[1]=parseInt(h.replace(/^.*\.(.*)\s.*$/,"$1"),10),e[2]=/[a-zA-Z]/.test(h)?parseInt(h.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}else if(typeof m.ActiveXObject!=i)try{var j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(j&&(h=j.GetVariable("$version")))g=!0,h=h.split(" ")[1].split(","),
14
- e=[parseInt(h[0],10),parseInt(h[1],10),parseInt(h[2],10)]}catch(k){}return{w3:a,pv:e,wk:b,ie:g,win:f,mac:c}}();(function(){e.w3&&((typeof d.readyState!=i&&"complete"==d.readyState||typeof d.readyState==i&&(d.getElementsByTagName("body")[0]||d.body))&&u(),s||(typeof d.addEventListener!=i&&d.addEventListener("DOMContentLoaded",u,!1),e.ie&&e.win&&(d.attachEvent("onreadystatechange",function(){"complete"==d.readyState&&(d.detachEvent("onreadystatechange",arguments.callee),u())}),m==top&&function(){if(!s){try{d.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,
15
- 0);return}u()}}()),e.wk&&function(){s||(/loaded|complete/.test(d.readyState)?u():setTimeout(arguments.callee,0))}(),M(u)))})();(function(){e.ie&&e.win&&window.attachEvent("onunload",function(){for(var a=v.length,b=0;b<a;b++)v[b][0].detachEvent(v[b][1],v[b][2]);a=C.length;for(b=0;b<a;b++)P(C[b]);for(var c in e)e[c]=null;e=null;for(var f in swfobject)swfobject[f]=null;swfobject=null})})();return{registerObject:function(a,b,c,f){if(e.w3&&a&&b){var d={};d.id=a;d.swfVersion=b;d.expressInstall=c;d.callbackFn=
16
- f;p[p.length]=d;t(a,!1)}else f&&f({success:!1,id:a})},getObjectById:function(a){if(e.w3)return E(a)},embedSWF:function(a,b,c,d,g,o,h,j,k,m){var n={success:!1,id:b};e.w3&&!(e.wk&&312>e.wk)&&a&&b&&c&&d&&g?(t(b,!1),L(function(){c+="";d+="";var e={};if(k&&typeof k===r)for(var l in k)e[l]=k[l];e.data=a;e.width=c;e.height=d;l={};if(j&&typeof j===r)for(var p in j)l[p]=j[p];if(h&&typeof h===r)for(var q in h)l.flashvars=typeof l.flashvars!=i?l.flashvars+("&"+q+"="+h[q]):q+"="+h[q];if(z(g))p=J(e,l,b),e.id==
17
- b&&t(b,!0),n.success=!0,n.ref=p;else{if(o&&F()){e.data=o;G(e,l,b,m);return}t(b,!0)}m&&m(n)})):m&&m(n)},switchOffAutoHideShow:function(){R=!1},ua:e,getFlashPlayerVersion:function(){return{major:e.pv[0],minor:e.pv[1],release:e.pv[2]}},hasFlashPlayerVersion:z,createSWF:function(a,b,c){if(e.w3)return J(a,b,c)},showExpressInstall:function(a,b,c,d){e.w3&&F()&&G(a,b,c,d)},removeSWF:function(a){e.w3&&P(a)},createCSS:function(a,b,c,d){e.w3&&Q(a,b,c,d)},addDomLoadEvent:L,addLoadEvent:M,getQueryParamValue:function(a){var b=
18
- d.location.search||d.location.hash;if(b){/\?/.test(b)&&(b=b.split("?")[1]);if(null==a)return S(b);for(var b=b.split("&"),c=0;c<b.length;c++)if(b[c].substring(0,b[c].indexOf("="))==a)return S(b[c].substring(b[c].indexOf("=")+1))}return""},expressInstallCallback:function(){if(A){var a=n(O);a&&w&&(a.parentNode.replaceChild(w,a),B&&(t(B,!0),e.ie&&e.win&&(w.style.display="block")),H&&H(N));A=!1}}}}();
@@ -1,280 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--
3
- Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.md or http://ckeditor.com/license
5
- -->
6
- <html>
7
- <head>
8
- <meta charset="utf-8">
9
- <title>Output for Flash &mdash; CKEditor Sample</title>
10
- <script src="../../../ckeditor.js"></script>
11
- <script src="../../../samples/sample.js"></script>
12
- <script src="assets/outputforflash/swfobject.js"></script>
13
- <link href="../../../samples/sample.css" rel="stylesheet">
14
- <meta name="ckeditor-sample-required-plugins" content="sourcearea">
15
- <meta name="ckeditor-sample-name" content="Output for Flash">
16
- <meta name="ckeditor-sample-group" content="Advanced Samples">
17
- <meta name="ckeditor-sample-description" content="Configuring CKEditor to produce HTML code that can be used with Adobe Flash.">
18
- <style>
19
-
20
- .alert
21
- {
22
- background: #ffa84c;
23
- padding: 10px 15px;
24
- font-weight: bold;
25
- display: block;
26
- margin-bottom: 20px;
27
- }
28
-
29
- </style>
30
- </head>
31
- <body>
32
- <h1 class="samples">
33
- <a href="../../../samples/index.html">CKEditor Samples</a> &raquo; Producing Flash Compliant HTML Output
34
- </h1>
35
- <div class="description">
36
- <p>
37
- This sample shows how to configure CKEditor to output
38
- HTML code that can be used with
39
- <a class="samples" href="http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00000922.html">
40
- Adobe Flash</a>.
41
- The code will contain a subset of standard HTML elements like <code>&lt;b&gt;</code>,
42
- <code>&lt;i&gt;</code>, and <code>&lt;p&gt;</code> as well as HTML attributes.
43
- </p>
44
- <p>
45
- To add a CKEditor instance outputting Flash compliant HTML code, load the editor using a standard
46
- JavaScript call, and define CKEditor features to use HTML elements and attributes.
47
- </p>
48
- <p>
49
- For details on how to create this setup check the source code of this sample page.
50
- </p>
51
- </div>
52
- <p>
53
- To see how it works, create some content in the editing area of CKEditor on the left
54
- and send it to the Flash object on the right side of the page by using the
55
- <strong>Send to Flash</strong> button.
56
- </p>
57
- <table style="width: 100%; border-spacing: 0; border-collapse:collapse;">
58
- <tr>
59
- <td style="width: 100%">
60
- <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;&lt;b&gt;&lt;font size=&quot;18&quot; style=&quot;font-size:18px;&quot;&gt;Flash and HTML&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It is possible to have &lt;a href=&quot;http://ckeditor.com&quot;&gt;CKEditor&lt;/a&gt; creating content that will be later loaded inside &lt;b&gt;Flash&lt;/b&gt; objects and animations.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Flash has a few limitations when dealing with HTML:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;It has limited support on tags.&lt;/li&gt;&lt;li&gt;There is no margin between block elements, like paragraphs.&lt;/li&gt;&lt;/ul&gt;</textarea>
61
- <script>
62
-
63
- if ( document.location.protocol == 'file:' )
64
- alert( 'Warning: This samples does not work when loaded from local filesystem' +
65
- 'due to security restrictions implemented in Flash.' +
66
- '\n\nPlease load the sample from a web server instead.' );
67
-
68
- var editor = CKEDITOR.replace( 'editor1', {
69
- /*
70
- * Ensure that htmlwriter plugin, which is required for this sample, is loaded.
71
- */
72
- extraPlugins: 'htmlwriter',
73
-
74
- height: 290,
75
- width: '100%',
76
- toolbar: [
77
- [ 'Source', '-', 'Bold', 'Italic', 'Underline', '-', 'BulletedList', '-', 'Link', 'Unlink' ],
78
- [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ],
79
- '/',
80
- [ 'Font', 'FontSize' ],
81
- [ 'TextColor', '-', 'About' ]
82
- ],
83
-
84
- /*
85
- * Style sheet for the contents
86
- */
87
- contentsCss: 'body {color:#000; background-color#FFF; font-family: Arial; font-size:80%;} p, ol, ul {margin-top: 0px; margin-bottom: 0px;}',
88
-
89
- /*
90
- * Quirks doctype
91
- */
92
- docType: '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">',
93
-
94
- /*
95
- * Core styles.
96
- */
97
- coreStyles_bold: { element: 'b' },
98
- coreStyles_italic: { element: 'i' },
99
- coreStyles_underline: { element: 'u' },
100
-
101
- /*
102
- * Font face.
103
- */
104
-
105
- // Define the way font elements will be applied to the document. The "font"
106
- // element will be used.
107
- font_style: {
108
- element: 'font',
109
- attributes: { 'face': '#(family)' }
110
- },
111
-
112
- /*
113
- * Font sizes.
114
- */
115
-
116
- // The CSS part of the font sizes isn't used by Flash, it is there to get the
117
- // font rendered correctly in CKEditor.
118
- fontSize_sizes: '8px/8;9px/9;10px/10;11px/11;12px/12;14px/14;16px/16;18px/18;20px/20;22px/22;24px/24;26px/26;28px/28;36px/36;48px/48;72px/72',
119
- fontSize_style: {
120
- element: 'font',
121
- attributes: { 'size': '#(size)' },
122
- styles: { 'font-size': '#(size)px' }
123
- } ,
124
-
125
- /*
126
- * Font colors.
127
- */
128
- colorButton_enableMore: true,
129
-
130
- colorButton_foreStyle: {
131
- element: 'font',
132
- attributes: { 'color': '#(color)' }
133
- },
134
-
135
- colorButton_backStyle: {
136
- element: 'font',
137
- styles: { 'background-color': '#(color)' }
138
- },
139
-
140
- on: { 'instanceReady': configureFlashOutput }
141
- });
142
-
143
- /*
144
- * Adjust the behavior of the dataProcessor to match the
145
- * requirements of Flash
146
- */
147
- function configureFlashOutput( ev ) {
148
- var editor = ev.editor,
149
- dataProcessor = editor.dataProcessor,
150
- htmlFilter = dataProcessor && dataProcessor.htmlFilter;
151
-
152
- // Out self closing tags the HTML4 way, like <br>.
153
- dataProcessor.writer.selfClosingEnd = '>';
154
-
155
- // Make output formatting match Flash expectations
156
- var dtd = CKEDITOR.dtd;
157
- for ( var e in CKEDITOR.tools.extend( {}, dtd.$nonBodyContent, dtd.$block, dtd.$listItem, dtd.$tableContent ) ) {
158
- dataProcessor.writer.setRules( e, {
159
- indent: false,
160
- breakBeforeOpen: false,
161
- breakAfterOpen: false,
162
- breakBeforeClose: false,
163
- breakAfterClose: false
164
- });
165
- }
166
- dataProcessor.writer.setRules( 'br', {
167
- indent: false,
168
- breakBeforeOpen: false,
169
- breakAfterOpen: false,
170
- breakBeforeClose: false,
171
- breakAfterClose: false
172
- });
173
-
174
- // Output properties as attributes, not styles.
175
- htmlFilter.addRules( {
176
- elements: {
177
- $: function( element ) {
178
- var style, match, width, height, align;
179
-
180
- // Output dimensions of images as width and height
181
- if ( element.name == 'img' ) {
182
- style = element.attributes.style;
183
-
184
- if ( style ) {
185
- // Get the width from the style.
186
- match = ( /(?:^|\s)width\s*:\s*(\d+)px/i ).exec( style );
187
- width = match && match[1];
188
-
189
- // Get the height from the style.
190
- match = ( /(?:^|\s)height\s*:\s*(\d+)px/i ).exec( style );
191
- height = match && match[1];
192
-
193
- if ( width ) {
194
- element.attributes.style = element.attributes.style.replace( /(?:^|\s)width\s*:\s*(\d+)px;?/i , '' );
195
- element.attributes.width = width;
196
- }
197
-
198
- if ( height ) {
199
- element.attributes.style = element.attributes.style.replace( /(?:^|\s)height\s*:\s*(\d+)px;?/i , '' );
200
- element.attributes.height = height;
201
- }
202
- }
203
- }
204
-
205
- // Output alignment of paragraphs using align
206
- if ( element.name == 'p' ) {
207
- style = element.attributes.style;
208
-
209
- if ( style ) {
210
- // Get the align from the style.
211
- match = ( /(?:^|\s)text-align\s*:\s*(\w*);?/i ).exec( style );
212
- align = match && match[1];
213
-
214
- if ( align ) {
215
- element.attributes.style = element.attributes.style.replace( /(?:^|\s)text-align\s*:\s*(\w*);?/i , '' );
216
- element.attributes.align = align;
217
- }
218
- }
219
- }
220
-
221
- if ( element.attributes.style === '' )
222
- delete element.attributes.style;
223
-
224
- return element;
225
- }
226
- }
227
- });
228
- }
229
-
230
- function sendToFlash() {
231
- var html = CKEDITOR.instances.editor1.getData() ;
232
-
233
- // Quick fix for link color.
234
- html = html.replace( /<a /g, '<font color="#0000FF"><u><a ' )
235
- html = html.replace( /<\/a>/g, '</a></u></font>' )
236
-
237
- var flash = document.getElementById( 'ckFlashContainer' ) ;
238
- flash.setData( html ) ;
239
- }
240
-
241
- CKEDITOR.domReady( function() {
242
- if ( !swfobject.hasFlashPlayerVersion( '8' ) ) {
243
- CKEDITOR.dom.element.createFromHtml( '<span class="alert">' +
244
- 'At least Adobe Flash Player 8 is required to run this sample. ' +
245
- 'You can download it from <a href="http://get.adobe.com/flashplayer">Adobe\'s website</a>.' +
246
- '</span>' ).insertBefore( editor.element );
247
- }
248
-
249
- swfobject.embedSWF(
250
- 'assets/outputforflash/outputforflash.swf',
251
- 'ckFlashContainer',
252
- '550',
253
- '400',
254
- '8',
255
- { wmode: 'transparent' }
256
- );
257
- });
258
-
259
- </script>
260
- <p>
261
- <input type="button" value="Send to Flash" onclick="sendToFlash();">
262
- </p>
263
- </td>
264
- <td style="vertical-align: top; padding-left: 20px">
265
- <div id="ckFlashContainer"></div>
266
- </td>
267
- </tr>
268
- </table>
269
- <div id="footer">
270
- <hr>
271
- <p>
272
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
273
- </p>
274
- <p id="copy">
275
- Copyright &copy; 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
276
- Knabben. All rights reserved.
277
- </p>
278
- </div>
279
- </body>
280
- </html>
@@ -1,77 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--
3
- Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.md or http://ckeditor.com/license
5
- -->
6
- <html>
7
- <head>
8
- <meta charset="utf-8">
9
- <title>Full Page Editing &mdash; CKEditor Sample</title>
10
- <script src="../../../ckeditor.js"></script>
11
- <script src="../../../samples/sample.js"></script>
12
- <link rel="stylesheet" href="../../../samples/sample.css">
13
- <meta name="ckeditor-sample-required-plugins" content="sourcearea">
14
- <meta name="ckeditor-sample-name" content="Full page support">
15
- <meta name="ckeditor-sample-group" content="Plugins">
16
- <meta name="ckeditor-sample-description" content="CKEditor inserted with a JavaScript call and used to edit the whole page from &lt;html&gt; to &lt;/html&gt;.">
17
- </head>
18
- <body>
19
- <h1 class="samples">
20
- <a href="../../../samples/index.html">CKEditor Samples</a> &raquo; Full Page Editing
21
- </h1>
22
- <div class="description">
23
- <p>
24
- This sample shows how to configure CKEditor to edit entire HTML pages, from the
25
- <code>&lt;html&gt;</code> tag to the <code>&lt;/html&gt;</code> tag.
26
- </p>
27
- <p>
28
- The CKEditor instance below is inserted with a JavaScript call using the following code:
29
- </p>
30
- <pre class="samples">
31
- CKEDITOR.replace( '<em>textarea_id</em>', {
32
- <strong>fullPage: true</strong>,
33
- <strong>allowedContent: true</strong>
34
- });
35
- </pre>
36
- <p>
37
- Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
38
- the <code>&lt;textarea&gt;</code> element to be replaced.
39
- </p>
40
- <p>
41
- The <code><em>allowedContent</em></code> in the code above is set to <code>true</code> to disable content filtering.
42
- Setting this option is not obligatory, but in full page mode there is a strong chance that one may want be able to freely enter any HTML content in source mode without any limitations.
43
- </p>
44
- </div>
45
- <form action="../../../samples/sample_posteddata.php" method="post">
46
- <label for="editor1">
47
- CKEditor output the entire page including content outside of
48
- <code>&lt;body&gt;</code> element, so content like meta and title can be changed:
49
- </label>
50
- <textarea cols="80" id="editor1" name="editor1" rows="10">
51
- &lt;h1&gt;&lt;img align=&quot;right&quot; alt=&quot;Saturn V carrying Apollo 11&quot; src=&quot;../../../samples/assets/sample.jpg&quot;/&gt; Apollo 11&lt;/h1&gt; &lt;p&gt;&lt;b&gt;Apollo 11&lt;/b&gt; was the spaceflight that landed the first humans, Americans &lt;a href=&quot;http://en.wikipedia.org/wiki/Neil_Armstrong&quot; title=&quot;Neil Armstrong&quot;&gt;Neil Armstrong&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/Buzz_Aldrin&quot; title=&quot;Buzz Aldrin&quot;&gt;Buzz Aldrin&lt;/a&gt;, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.&lt;/p&gt; &lt;p&gt;Armstrong spent about &lt;s&gt;three and a half&lt;/s&gt; two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&amp;nbsp;kg) of lunar material for return to Earth. A third member of the mission, &lt;a href=&quot;http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)&quot; title=&quot;Michael Collins (astronaut)&quot;&gt;Michael Collins&lt;/a&gt;, piloted the &lt;a href=&quot;http://en.wikipedia.org/wiki/Apollo_Command/Service_Module&quot; title=&quot;Apollo Command/Service Module&quot;&gt;command&lt;/a&gt; spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.&lt;/p&gt; &lt;h2&gt;Broadcasting and &lt;em&gt;quotes&lt;/em&gt; &lt;a id=&quot;quotes&quot; name=&quot;quotes&quot;&gt;&lt;/a&gt;&lt;/h2&gt; &lt;p&gt;Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;One small step for [a] man, one giant leap for mankind.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Apollo 11 effectively ended the &lt;a href=&quot;http://en.wikipedia.org/wiki/Space_Race&quot; title=&quot;Space Race&quot;&gt;Space Race&lt;/a&gt; and fulfilled a national goal proposed in 1961 by the late U.S. President &lt;a href=&quot;http://en.wikipedia.org/wiki/John_F._Kennedy&quot; title=&quot;John F. Kennedy&quot;&gt;John F. Kennedy&lt;/a&gt; in a speech before the United States Congress:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.&lt;/p&gt;&lt;/blockquote&gt; &lt;h2&gt;Technical details &lt;a id=&quot;tech-details&quot; name=&quot;tech-details&quot;&gt;&lt;/a&gt;&lt;/h2&gt; &lt;table align=&quot;right&quot; border=&quot;1&quot; bordercolor=&quot;#ccc&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse:collapse;margin:10px 0 10px 15px;&quot;&gt; &lt;caption&gt;&lt;strong&gt;Mission crew&lt;/strong&gt;&lt;/caption&gt; &lt;thead&gt; &lt;tr&gt; &lt;th scope=&quot;col&quot;&gt;Position&lt;/th&gt; &lt;th scope=&quot;col&quot;&gt;Astronaut&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;Commander&lt;/td&gt; &lt;td&gt;Neil A. Armstrong&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Command Module Pilot&lt;/td&gt; &lt;td&gt;Michael Collins&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Lunar Module Pilot&lt;/td&gt; &lt;td&gt;Edwin &amp;quot;Buzz&amp;quot; E. Aldrin, Jr.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;p&gt;Launched by a &lt;strong&gt;Saturn V&lt;/strong&gt; rocket from &lt;a href=&quot;http://en.wikipedia.org/wiki/Kennedy_Space_Center&quot; title=&quot;Kennedy Space Center&quot;&gt;Kennedy Space Center&lt;/a&gt; in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of &lt;a href=&quot;http://en.wikipedia.org/wiki/NASA&quot; title=&quot;NASA&quot;&gt;NASA&lt;/a&gt;&amp;#39;s Apollo program. The Apollo spacecraft had three parts:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Command Module&lt;/strong&gt; with a cabin for the three astronauts which was the only part which landed back on Earth&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Service Module&lt;/strong&gt; which supported the Command Module with propulsion, electrical power, oxygen and water&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Lunar Module&lt;/strong&gt; for landing on the Moon.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;After being sent to the Moon by the Saturn V&amp;#39;s upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the &lt;a href=&quot;http://en.wikipedia.org/wiki/Mare_Tranquillitatis&quot; title=&quot;Mare Tranquillitatis&quot;&gt;Sea of Tranquility&lt;/a&gt;. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the &lt;a href=&quot;http://en.wikipedia.org/wiki/Pacific_Ocean&quot; title=&quot;Pacific Ocean&quot;&gt;Pacific Ocean&lt;/a&gt; on July 24.&lt;/p&gt; &lt;hr/&gt; &lt;p style=&quot;text-align: right;&quot;&gt;&lt;small&gt;Source: &lt;a href=&quot;http://en.wikipedia.org/wiki/Apollo_11&quot;&gt;Wikipedia.org&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
52
- </textarea>
53
- <script>
54
-
55
- CKEDITOR.replace( 'editor1', {
56
- fullPage: true,
57
- allowedContent: true,
58
- extraPlugins: 'wysiwygarea'
59
- });
60
-
61
- </script>
62
- <p>
63
- <input type="submit" value="Submit">
64
- </p>
65
- </form>
66
- <div id="footer">
67
- <hr>
68
- <p>
69
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
70
- </p>
71
- <p id="copy">
72
- Copyright &copy; 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
73
- Knabben. All rights reserved.
74
- </p>
75
- </div>
76
- </body>
77
- </html>