glebtv-ckeditor 4.1.1.7 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (548) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/ckeditor/CHANGES.md +177 -82
  3. data/app/assets/javascripts/ckeditor/build-config.js +33 -12
  4. data/app/assets/javascripts/ckeditor/ckeditor.js +735 -687
  5. data/app/assets/javascripts/ckeditor/config.js.erb +3 -4
  6. data/app/assets/javascripts/ckeditor/contents.css +1 -1
  7. data/app/assets/javascripts/ckeditor/lang/en.js +1 -1
  8. data/app/assets/javascripts/ckeditor/lang/ru.js +1 -1
  9. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +1 -1
  10. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
  11. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +9 -0
  12. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -0
  13. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +10 -0
  14. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -0
  15. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +9 -0
  16. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -0
  17. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +10 -0
  18. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +10 -0
  19. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +1 -1
  20. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +10 -0
  21. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +10 -0
  22. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +9 -0
  23. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +9 -0
  24. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +10 -0
  25. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +10 -0
  26. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +11 -0
  27. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +10 -0
  28. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +9 -0
  29. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +9 -0
  30. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +9 -0
  31. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -0
  32. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +10 -0
  33. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +9 -0
  34. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +10 -0
  35. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +8 -0
  36. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +9 -0
  37. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +10 -0
  38. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +9 -0
  39. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +11 -0
  40. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -0
  41. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +9 -0
  42. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -0
  43. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +10 -0
  44. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +9 -0
  45. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +10 -0
  46. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -0
  47. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +10 -0
  48. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +9 -0
  49. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +6 -6
  50. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +8 -0
  51. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +10 -0
  52. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +10 -0
  53. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +9 -0
  54. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +9 -0
  55. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +9 -0
  56. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +10 -0
  57. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +9 -0
  58. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +10 -0
  59. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +9 -0
  60. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +10 -0
  61. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +9 -0
  62. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
  63. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +7 -0
  64. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  65. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  66. data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +8 -8
  67. data/app/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.min.css +1 -1
  68. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/beautify.min.js +1 -0
  69. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.min.js +1 -1
  70. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.min.js +5637 -1
  71. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.modes.min.js +1 -1
  72. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.search-addons.min.js +1 -1
  73. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/af.js +10 -0
  74. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ar.js +10 -0
  75. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bg.js +10 -0
  76. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bn.js +10 -0
  77. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bs.js +10 -0
  78. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ca.js +10 -0
  79. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/cs.js +10 -0
  80. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/cy.js +10 -0
  81. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/da.js +10 -0
  82. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/de.js +12 -0
  83. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/el.js +10 -0
  84. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-au.js +10 -0
  85. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-ca.js +10 -0
  86. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-gb.js +10 -0
  87. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/eo.js +10 -0
  88. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/es.js +10 -0
  89. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/et.js +10 -0
  90. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/eu.js +10 -0
  91. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fa.js +10 -0
  92. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fi.js +10 -0
  93. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fo.js +10 -0
  94. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fr-ca.js +10 -0
  95. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fr.js +10 -0
  96. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/gl.js +10 -0
  97. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/gu.js +10 -0
  98. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/he.js +10 -0
  99. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hi.js +10 -0
  100. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hr.js +10 -0
  101. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hu.js +10 -0
  102. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/is.js +10 -0
  103. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/it.js +10 -0
  104. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ja.js +10 -0
  105. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ka.js +10 -0
  106. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/km.js +10 -0
  107. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ko.js +10 -0
  108. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ku.js +10 -0
  109. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/lt.js +10 -0
  110. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/lv.js +10 -0
  111. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/mk.js +10 -0
  112. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/mn.js +10 -0
  113. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ms.js +10 -0
  114. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/nb.js +10 -0
  115. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/nl.js +10 -0
  116. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/no.js +10 -0
  117. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pl.js +10 -0
  118. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pt-br.js +10 -0
  119. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pt.js +10 -0
  120. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ro.js +10 -0
  121. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sk.js +10 -0
  122. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sl.js +10 -0
  123. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sr-latn.js +10 -0
  124. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sr.js +10 -0
  125. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sv.js +10 -0
  126. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/th.js +10 -0
  127. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/tr.js +10 -0
  128. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ug.js +10 -0
  129. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/uk.js +10 -0
  130. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/vi.js +10 -0
  131. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/zh-cn.js +10 -0
  132. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/zh.js +10 -0
  133. data/app/assets/javascripts/ckeditor/plugins/codemirror/plugin.js +322 -16
  134. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/eclipse.css +1 -1
  135. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/midnight.css +52 -0
  136. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/rubyblue.css +1 -1
  137. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -340
  138. data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
  139. data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -0
  140. data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +24 -0
  141. data/app/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +1 -1
  142. data/app/assets/javascripts/ckeditor/plugins/font/lang/af.js +14 -0
  143. data/app/assets/javascripts/ckeditor/plugins/font/lang/ar.js +14 -0
  144. data/app/assets/javascripts/ckeditor/plugins/font/lang/bg.js +14 -0
  145. data/app/assets/javascripts/ckeditor/plugins/font/lang/bn.js +14 -0
  146. data/app/assets/javascripts/ckeditor/plugins/font/lang/bs.js +14 -0
  147. data/app/assets/javascripts/ckeditor/plugins/font/lang/ca.js +14 -0
  148. data/app/assets/javascripts/ckeditor/plugins/font/lang/cs.js +14 -0
  149. data/app/assets/javascripts/ckeditor/plugins/font/lang/cy.js +14 -0
  150. data/app/assets/javascripts/ckeditor/plugins/font/lang/da.js +14 -0
  151. data/app/assets/javascripts/ckeditor/plugins/font/lang/de.js +14 -0
  152. data/app/assets/javascripts/ckeditor/plugins/font/lang/el.js +14 -0
  153. data/app/assets/javascripts/ckeditor/plugins/font/lang/en-au.js +14 -0
  154. data/app/assets/javascripts/ckeditor/plugins/font/lang/en-ca.js +14 -0
  155. data/app/assets/javascripts/ckeditor/plugins/font/lang/en-gb.js +14 -0
  156. data/app/assets/javascripts/ckeditor/plugins/font/lang/en.js +1 -1
  157. data/app/assets/javascripts/ckeditor/plugins/font/lang/eo.js +14 -0
  158. data/app/assets/javascripts/ckeditor/plugins/font/lang/es.js +14 -0
  159. data/app/assets/javascripts/ckeditor/plugins/font/lang/et.js +14 -0
  160. data/app/assets/javascripts/ckeditor/plugins/font/lang/eu.js +14 -0
  161. data/app/assets/javascripts/ckeditor/plugins/font/lang/fa.js +14 -0
  162. data/app/assets/javascripts/ckeditor/plugins/font/lang/fi.js +14 -0
  163. data/app/assets/javascripts/ckeditor/plugins/font/lang/fo.js +14 -0
  164. data/app/assets/javascripts/ckeditor/plugins/font/lang/fr-ca.js +14 -0
  165. data/app/assets/javascripts/ckeditor/plugins/font/lang/fr.js +14 -0
  166. data/app/assets/javascripts/ckeditor/plugins/font/lang/gl.js +14 -0
  167. data/app/assets/javascripts/ckeditor/plugins/font/lang/gu.js +14 -0
  168. data/app/assets/javascripts/ckeditor/plugins/font/lang/he.js +14 -0
  169. data/app/assets/javascripts/ckeditor/plugins/font/lang/hi.js +14 -0
  170. data/app/assets/javascripts/ckeditor/plugins/font/lang/hr.js +14 -0
  171. data/app/assets/javascripts/ckeditor/plugins/font/lang/hu.js +14 -0
  172. data/app/assets/javascripts/ckeditor/plugins/font/lang/id.js +14 -0
  173. data/app/assets/javascripts/ckeditor/plugins/font/lang/is.js +14 -0
  174. data/app/assets/javascripts/ckeditor/plugins/font/lang/it.js +14 -0
  175. data/app/assets/javascripts/ckeditor/plugins/font/lang/ja.js +14 -0
  176. data/app/assets/javascripts/ckeditor/plugins/font/lang/ka.js +14 -0
  177. data/app/assets/javascripts/ckeditor/plugins/font/lang/km.js +14 -0
  178. data/app/assets/javascripts/ckeditor/plugins/font/lang/ko.js +14 -0
  179. data/app/assets/javascripts/ckeditor/plugins/font/lang/ku.js +14 -0
  180. data/app/assets/javascripts/ckeditor/plugins/font/lang/lt.js +14 -0
  181. data/app/assets/javascripts/ckeditor/plugins/font/lang/lv.js +14 -0
  182. data/app/assets/javascripts/ckeditor/plugins/font/lang/mk.js +14 -0
  183. data/app/assets/javascripts/ckeditor/plugins/font/lang/mn.js +14 -0
  184. data/app/assets/javascripts/ckeditor/plugins/font/lang/ms.js +14 -0
  185. data/app/assets/javascripts/ckeditor/plugins/font/lang/nb.js +14 -0
  186. data/app/assets/javascripts/ckeditor/plugins/font/lang/nl.js +14 -0
  187. data/app/assets/javascripts/ckeditor/plugins/font/lang/no.js +14 -0
  188. data/app/assets/javascripts/ckeditor/plugins/font/lang/pl.js +14 -0
  189. data/app/assets/javascripts/ckeditor/plugins/font/lang/pt-br.js +14 -0
  190. data/app/assets/javascripts/ckeditor/plugins/font/lang/pt.js +14 -0
  191. data/app/assets/javascripts/ckeditor/plugins/font/lang/ro.js +14 -0
  192. data/app/assets/javascripts/ckeditor/plugins/font/lang/ru.js +1 -1
  193. data/app/assets/javascripts/ckeditor/plugins/font/lang/si.js +14 -0
  194. data/app/assets/javascripts/ckeditor/plugins/font/lang/sk.js +14 -0
  195. data/app/assets/javascripts/ckeditor/plugins/font/lang/sl.js +14 -0
  196. data/app/assets/javascripts/ckeditor/plugins/font/lang/sq.js +14 -0
  197. data/app/assets/javascripts/ckeditor/plugins/font/lang/sr-latn.js +14 -0
  198. data/app/assets/javascripts/ckeditor/plugins/font/lang/sr.js +14 -0
  199. data/app/assets/javascripts/ckeditor/plugins/font/lang/sv.js +14 -0
  200. data/app/assets/javascripts/ckeditor/plugins/font/lang/th.js +14 -0
  201. data/app/assets/javascripts/ckeditor/plugins/font/lang/tr.js +14 -0
  202. data/app/assets/javascripts/ckeditor/plugins/font/lang/ug.js +14 -0
  203. data/app/assets/javascripts/ckeditor/plugins/font/lang/uk.js +14 -0
  204. data/app/assets/javascripts/ckeditor/plugins/font/lang/vi.js +14 -0
  205. data/app/assets/javascripts/ckeditor/plugins/font/lang/zh-cn.js +14 -0
  206. data/app/assets/javascripts/ckeditor/plugins/font/lang/zh.js +14 -0
  207. data/app/assets/javascripts/ckeditor/plugins/font/plugin.js +2 -2
  208. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +8 -0
  209. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +8 -0
  210. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +8 -0
  211. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -0
  212. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +8 -0
  213. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +20 -0
  214. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +8 -0
  215. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +10 -0
  216. data/app/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  217. data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/docs/install.html +93 -0
  218. data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/docs/styles.css +59 -0
  219. data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/icon1.png +0 -0
  220. data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/icon2.png +0 -0
  221. data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/icon3.png +0 -0
  222. data/app/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  223. data/app/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
  224. data/app/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +10 -0
  225. data/app/assets/javascripts/ckeditor/plugins/iframe/icons/hidpi/iframe.png +0 -0
  226. data/app/assets/javascripts/ckeditor/plugins/iframe/icons/iframe.png +0 -0
  227. data/app/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  228. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/af.js +11 -0
  229. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ar.js +11 -0
  230. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/bg.js +11 -0
  231. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/bn.js +11 -0
  232. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/bs.js +11 -0
  233. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ca.js +11 -0
  234. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/cs.js +11 -0
  235. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/cy.js +11 -0
  236. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/da.js +11 -0
  237. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/de.js +11 -0
  238. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/el.js +11 -0
  239. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/en-au.js +11 -0
  240. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/en-ca.js +11 -0
  241. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/en-gb.js +11 -0
  242. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/en.js +11 -0
  243. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/eo.js +11 -0
  244. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/es.js +11 -0
  245. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/et.js +11 -0
  246. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/eu.js +11 -0
  247. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fa.js +11 -0
  248. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fi.js +11 -0
  249. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fo.js +11 -0
  250. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fr-ca.js +11 -0
  251. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fr.js +11 -0
  252. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/gl.js +11 -0
  253. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/gu.js +11 -0
  254. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/he.js +11 -0
  255. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/hi.js +11 -0
  256. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/hr.js +11 -0
  257. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/hu.js +11 -0
  258. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/id.js +11 -0
  259. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/is.js +11 -0
  260. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/it.js +11 -0
  261. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ja.js +11 -0
  262. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ka.js +11 -0
  263. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/km.js +11 -0
  264. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ko.js +11 -0
  265. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ku.js +11 -0
  266. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/lt.js +11 -0
  267. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/lv.js +11 -0
  268. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/mk.js +11 -0
  269. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/mn.js +11 -0
  270. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ms.js +11 -0
  271. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/nb.js +11 -0
  272. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/nl.js +11 -0
  273. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/no.js +11 -0
  274. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/pl.js +11 -0
  275. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/pt-br.js +11 -0
  276. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/pt.js +11 -0
  277. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ro.js +11 -0
  278. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ru.js +11 -0
  279. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/si.js +11 -0
  280. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sk.js +11 -0
  281. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sl.js +11 -0
  282. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sq.js +11 -0
  283. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sr-latn.js +11 -0
  284. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sr.js +11 -0
  285. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sv.js +11 -0
  286. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/th.js +11 -0
  287. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/tr.js +11 -0
  288. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ug.js +11 -0
  289. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/uk.js +11 -0
  290. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/vi.js +11 -0
  291. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/zh-cn.js +11 -0
  292. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/zh.js +11 -0
  293. data/app/assets/javascripts/ckeditor/plugins/iframe/plugin.js +83 -0
  294. data/app/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +3 -2
  295. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +1 -1
  296. data/app/assets/javascripts/ckeditor/plugins/{LoremIpsum/images → ipsum}/icon.png +0 -0
  297. data/app/assets/javascripts/ckeditor/plugins/ipsum/plugin.js +63 -0
  298. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +1 -1
  299. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +1 -1
  300. data/app/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
  301. data/app/assets/javascripts/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  302. data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
  303. data/app/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  304. data/app/assets/javascripts/ckeditor/plugins/map/example_usage.js +30 -0
  305. data/app/assets/javascripts/ckeditor/plugins/map/map.gif +0 -0
  306. data/app/assets/javascripts/ckeditor/plugins/map/plugin.js +187 -0
  307. data/app/assets/javascripts/ckeditor/plugins/mediaembed/icons/hidpi/mediaembed.png +0 -0
  308. data/app/assets/javascripts/ckeditor/plugins/mediaembed/icons/mediaembed.png +0 -0
  309. data/app/assets/javascripts/ckeditor/plugins/mediaembed/plugin.js +64 -0
  310. data/app/assets/javascripts/ckeditor/plugins/oembed/images/placeholder.png +0 -0
  311. data/app/assets/javascripts/ckeditor/plugins/oembed/libs/jquery.oembed.js +69 -67
  312. data/app/assets/javascripts/ckeditor/plugins/oembed/libs/jquery.oembed.min.js +56 -53
  313. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/images/icon.png +0 -0
  314. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/images/placeholder.png +0 -0
  315. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/de.js +23 -0
  316. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/en.js +23 -0
  317. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/fr.js +25 -0
  318. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/nl.js +23 -0
  319. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/pl.js +23 -0
  320. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/ru.js +23 -0
  321. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/libs/jquery.oembed.js +971 -0
  322. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/libs/jquery.oembed.min.js +11 -0
  323. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/plugin.js +373 -0
  324. data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  325. data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +21 -21
  326. data/app/assets/javascripts/ckeditor/plugins/preview/preview.html +10 -0
  327. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  328. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  329. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  330. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  331. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  332. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  333. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  334. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  335. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  336. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  337. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  338. data/app/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +10 -0
  339. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  340. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  341. data/app/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  342. data/app/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  343. data/app/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  344. data/app/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  345. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  346. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  347. data/app/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  348. data/app/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  349. data/app/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  350. data/app/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  351. data/app/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  352. data/app/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  353. data/app/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  354. data/app/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  355. data/app/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  356. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  357. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  358. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  359. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  360. data/app/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  361. data/app/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  362. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
  363. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +13 -0
  364. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +13 -0
  365. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
  366. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
  367. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
  368. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
  369. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
  370. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +1 -1
  371. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
  372. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
  373. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
  374. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
  375. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
  376. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
  377. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
  378. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +13 -0
  379. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +12 -0
  380. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
  381. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +12 -0
  382. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +13 -0
  383. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
  384. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +9 -0
  385. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
  386. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
  387. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
  388. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
  389. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
  390. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
  391. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
  392. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +13 -0
  393. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +13 -0
  394. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +13 -0
  395. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
  396. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +12 -0
  397. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
  398. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
  399. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
  400. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
  401. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
  402. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +12 -0
  403. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +14 -0
  404. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
  405. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +1 -1
  406. data/app/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +152 -0
  407. data/app/assets/javascripts/ckeditor/{samples/plugins/stylesheetparser → plugins/stylesheetparser/samples}/assets/sample.css +70 -70
  408. data/app/assets/javascripts/ckeditor/{samples/plugins/stylesheetparser → plugins/stylesheetparser/samples}/stylesheetparser.html +82 -82
  409. data/app/assets/javascripts/ckeditor/plugins/symbol/dialogs/lang/en.js +181 -0
  410. data/app/assets/javascripts/ckeditor/plugins/symbol/dialogs/symbol.js +18 -0
  411. data/app/assets/javascripts/ckeditor/plugins/symbol/icons/symbol.png +0 -0
  412. data/app/assets/javascripts/ckeditor/plugins/symbol/lang/en.js +1 -0
  413. data/app/assets/javascripts/ckeditor/plugins/symbol/plugin.js +15 -0
  414. data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +1 -1
  415. data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +1 -1
  416. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +84 -0
  417. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +10 -0
  418. data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
  419. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  420. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  421. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  422. data/app/assets/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +9 -0
  423. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  424. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  425. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  426. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  427. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +15 -0
  428. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/yui.js +225 -0
  429. data/app/assets/javascripts/ckeditor/plugins/wordcount/css/wordcount.css +3 -0
  430. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/ca.js +11 -0
  431. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/de.js +11 -0
  432. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/en.js +11 -0
  433. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/es.js +11 -0
  434. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/fr.js +9 -0
  435. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/no.js +8 -0
  436. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/pl.js +11 -0
  437. data/app/assets/javascripts/ckeditor/plugins/wordcount/plugin.js +193 -0
  438. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +17 -0
  439. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmp.html +118 -0
  440. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +63 -7
  441. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +11 -0
  442. data/app/assets/javascripts/ckeditor/plugins/youtube/images/icon.png +0 -0
  443. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/de.js +21 -0
  444. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/en.js +21 -0
  445. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/fr.js +21 -0
  446. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/hu.js +21 -0
  447. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/it.js +21 -0
  448. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/ja.js +21 -0
  449. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/pt.js +21 -0
  450. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/ru.js +21 -0
  451. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/tr.js +21 -0
  452. data/app/assets/javascripts/ckeditor/plugins/youtube/plugin.js +321 -0
  453. data/app/assets/javascripts/ckeditor/skins/moono/dialog.css +2 -2
  454. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +2 -2
  455. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +2 -2
  456. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +2 -2
  457. data/app/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +2 -2
  458. data/app/assets/javascripts/ckeditor/skins/moono/dialog_opera.css +2 -2
  459. data/app/assets/javascripts/ckeditor/skins/moono/editor.css +2 -2
  460. data/app/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +2 -2
  461. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie.css +2 -2
  462. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +2 -2
  463. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +2 -2
  464. data/app/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +2 -2
  465. data/app/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
  466. data/app/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
  467. data/app/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
  468. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  469. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  470. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  471. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  472. data/app/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
  473. data/app/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
  474. data/app/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
  475. data/app/assets/javascripts/ckeditor/styles.js +1 -1
  476. data/app/helpers/ckeditor/application_helper.rb +11 -0
  477. data/app/views/layouts/ckeditor/application.html.erb +17 -17
  478. data/lib/ckeditor/version.rb +2 -2
  479. metadata +422 -74
  480. data/app/assets/javascripts/ckeditor/plugins/LoremIpsum/images/icon1.png +0 -0
  481. data/app/assets/javascripts/ckeditor/plugins/LoremIpsum/plugin.js +0 -66
  482. data/app/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.ckeditor.css +0 -112
  483. data/app/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.css +0 -246
  484. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/dialog/dialog.js +0 -81
  485. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/closebrackets.js +0 -52
  486. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/closetag.js +0 -85
  487. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/continuecomment.js +0 -44
  488. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/continuelist.js +0 -25
  489. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/matchbrackets.js +0 -74
  490. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/brace-fold.js +0 -31
  491. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/foldcode.js +0 -32
  492. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/xml-fold.js +0 -64
  493. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/format/autoFormatAll.js +0 -43
  494. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/format/formatting.js +0 -114
  495. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/match-highlighter.js +0 -60
  496. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/search.js +0 -131
  497. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/searchcursor.js +0 -130
  498. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.js +0 -5516
  499. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/mode/css.js +0 -567
  500. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/mode/htmlmixed.js +0 -104
  501. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/mode/javascript.js +0 -437
  502. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/mode/xml.js +0 -328
  503. data/app/assets/javascripts/ckeditor/plugins/colorbutton/icons/bgcolor.png +0 -0
  504. data/app/assets/javascripts/ckeditor/plugins/colorbutton/icons/textcolor.png +0 -0
  505. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/en.js +0 -53
  506. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/ru.js +0 -53
  507. data/app/assets/javascripts/ckeditor/plugins/colorbutton/plugin.js +0 -277
  508. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/en.js +0 -11
  509. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/ru.js +0 -11
  510. data/app/assets/javascripts/ckeditor/plugins/colordialog/plugin.js +0 -65
  511. data/app/assets/javascripts/ckeditor/plugins/mediaembed/images/icon.png +0 -0
  512. data/app/assets/javascripts/ckeditor/plugins/panelbutton/plugin.js +0 -138
  513. data/app/assets/javascripts/ckeditor/samples/ajax.html +0 -82
  514. data/app/assets/javascripts/ckeditor/samples/api.html +0 -207
  515. data/app/assets/javascripts/ckeditor/samples/appendto.html +0 -57
  516. data/app/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
  517. data/app/assets/javascripts/ckeditor/samples/assets/outputxhtml/outputxhtml.css +0 -204
  518. data/app/assets/javascripts/ckeditor/samples/assets/posteddata.php +0 -59
  519. data/app/assets/javascripts/ckeditor/samples/assets/sample.css +0 -3
  520. data/app/assets/javascripts/ckeditor/samples/assets/sample.jpg +0 -0
  521. data/app/assets/javascripts/ckeditor/samples/assets/uilanguages/languages.js +0 -7
  522. data/app/assets/javascripts/ckeditor/samples/datafiltering.html +0 -401
  523. data/app/assets/javascripts/ckeditor/samples/divreplace.html +0 -141
  524. data/app/assets/javascripts/ckeditor/samples/index.html +0 -125
  525. data/app/assets/javascripts/ckeditor/samples/inlineall.html +0 -311
  526. data/app/assets/javascripts/ckeditor/samples/inlinebycode.html +0 -122
  527. data/app/assets/javascripts/ckeditor/samples/plugins/dialog/assets/my_dialog.js +0 -48
  528. data/app/assets/javascripts/ckeditor/samples/plugins/dialog/dialog.html +0 -187
  529. data/app/assets/javascripts/ckeditor/samples/plugins/enterkey/enterkey.html +0 -103
  530. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
  531. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
  532. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +0 -18
  533. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputforflash.html +0 -280
  534. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputhtml.html +0 -221
  535. data/app/assets/javascripts/ckeditor/samples/plugins/magicline/magicline.html +0 -207
  536. data/app/assets/javascripts/ckeditor/samples/plugins/toolbar/toolbar.html +0 -232
  537. data/app/assets/javascripts/ckeditor/samples/plugins/wysiwygarea/fullpage.html +0 -77
  538. data/app/assets/javascripts/ckeditor/samples/readonly.html +0 -73
  539. data/app/assets/javascripts/ckeditor/samples/replacebyclass.html +0 -57
  540. data/app/assets/javascripts/ckeditor/samples/replacebycode.html +0 -56
  541. data/app/assets/javascripts/ckeditor/samples/sample.css +0 -339
  542. data/app/assets/javascripts/ckeditor/samples/sample.js +0 -33
  543. data/app/assets/javascripts/ckeditor/samples/sample_posteddata.php +0 -16
  544. data/app/assets/javascripts/ckeditor/samples/tabindex.html +0 -75
  545. data/app/assets/javascripts/ckeditor/samples/uicolor.html +0 -69
  546. data/app/assets/javascripts/ckeditor/samples/uilanguages.html +0 -119
  547. data/app/assets/javascripts/ckeditor/samples/xhtmlstyle.html +0 -231
  548. data/app/assets/javascripts/ckeditor/skins/moono/images/mini.png +0 -0
@@ -1,11 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
- CKEDITOR.plugins.setLang( 'colordialog', 'en', {
6
- clear: 'Clear',
7
- highlight: 'Highlight',
8
- options: 'Color Options',
9
- selected: 'Selected Color',
10
- title: 'Select color'
11
- });
@@ -1,11 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
- CKEDITOR.plugins.setLang( 'colordialog', 'ru', {
6
- clear: 'Очистить',
7
- highlight: 'Под курсором',
8
- options: 'Настройки цвета',
9
- selected: 'Выбранный цвет',
10
- title: 'Выберите цвет'
11
- });
@@ -1,65 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
- * For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.colordialog = {
7
- requires: 'dialog',
8
- lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en-au,en-ca,en-gb,en,eo,es,et,eu,fa,fi,fo,fr-ca,fr,gl,gu,he,hi,hr,hu,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt-br,pt,ro,ru,sk,sl,sq,sr-latn,sr,sv,th,tr,ug,uk,vi,zh-cn,zh', // %REMOVE_LINE_CORE%
9
- init: function( editor ) {
10
- editor.addCommand( 'colordialog', new CKEDITOR.dialogCommand( 'colordialog' ) );
11
- CKEDITOR.dialog.add( 'colordialog', this.path + 'dialogs/colordialog.js' );
12
-
13
- /**
14
- * Open up color dialog and to receive the selected color.
15
- *
16
- * @param {Function} callback The callback when color dialog is closed
17
- * @param {String} callback.color The color value received if selected on the dialog.
18
- * @param [scope] The scope in which the callback will be bound.
19
- * @member CKEDITOR.editor
20
- */
21
- editor.getColorFromDialog = function( callback, scope ) {
22
- var onClose = function( evt ) {
23
- releaseHandlers( this );
24
- var color = evt.name == 'ok' ? this.getValueOf( 'picker', 'selectedColor' ) : null;
25
- callback.call( scope, color );
26
- };
27
- var releaseHandlers = function( dialog ) {
28
- dialog.removeListener( 'ok', onClose );
29
- dialog.removeListener( 'cancel', onClose );
30
- };
31
- var bindToDialog = function( dialog ) {
32
- dialog.on( 'ok', onClose );
33
- dialog.on( 'cancel', onClose );
34
- };
35
-
36
- editor.execCommand( 'colordialog' );
37
-
38
- if ( editor._.storedDialogs && editor._.storedDialogs.colordialog )
39
- bindToDialog( editor._.storedDialogs.colordialog );
40
- else {
41
- CKEDITOR.on( 'dialogDefinition', function( e ) {
42
- if ( e.data.name != 'colordialog' )
43
- return;
44
-
45
- var definition = e.data.definition;
46
-
47
- e.removeListener();
48
- definition.onLoad = CKEDITOR.tools.override( definition.onLoad,
49
- function( orginal ) {
50
- return function() {
51
- bindToDialog( this );
52
- definition.onLoad = orginal;
53
- if ( typeof orginal == 'function' )
54
- orginal.call( this );
55
- };
56
- } );
57
- } );
58
- }
59
- };
60
-
61
-
62
- }
63
- };
64
-
65
- CKEDITOR.plugins.add( 'colordialog', CKEDITOR.plugins.colordialog );
@@ -1,138 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
- * For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.plugins.add( 'panelbutton', {
7
- requires: 'button',
8
- onLoad: function() {
9
- function clickFn( editor ) {
10
- var _ = this._;
11
-
12
- if ( _.state == CKEDITOR.TRISTATE_DISABLED )
13
- return;
14
-
15
- this.createPanel( editor );
16
-
17
- if ( _.on ) {
18
- _.panel.hide();
19
- return;
20
- }
21
-
22
- _.panel.showBlock( this._.id, this.document.getById( this._.id ), 4 );
23
- }
24
-
25
- /**
26
- * @class
27
- * @extends CKEDITOR.ui.button
28
- * @todo class and methods
29
- */
30
- CKEDITOR.ui.panelButton = CKEDITOR.tools.createClass({
31
- base: CKEDITOR.ui.button,
32
-
33
- /**
34
- * Creates a panelButton class instance.
35
- *
36
- * @constructor
37
- */
38
- $: function( definition ) {
39
- // We don't want the panel definition in this object.
40
- var panelDefinition = definition.panel || {};
41
- delete definition.panel;
42
-
43
- this.base( definition );
44
-
45
- this.document = ( panelDefinition.parent && panelDefinition.parent.getDocument() ) || CKEDITOR.document;
46
-
47
- panelDefinition.block = {
48
- attributes: panelDefinition.attributes
49
- };
50
- panelDefinition.toolbarRelated = true;
51
-
52
- this.hasArrow = true;
53
-
54
- this.click = clickFn;
55
-
56
- this._ = {
57
- panelDefinition: panelDefinition
58
- };
59
- },
60
-
61
- statics: {
62
- handler: {
63
- create: function( definition ) {
64
- return new CKEDITOR.ui.panelButton( definition );
65
- }
66
- }
67
- },
68
-
69
- proto: {
70
- createPanel: function( editor ) {
71
- var _ = this._;
72
-
73
- if ( _.panel )
74
- return;
75
-
76
- var panelDefinition = this._.panelDefinition,
77
- panelBlockDefinition = this._.panelDefinition.block,
78
- panelParentElement = panelDefinition.parent || CKEDITOR.document.getBody(),
79
- panel = this._.panel = new CKEDITOR.ui.floatPanel( editor, panelParentElement, panelDefinition ),
80
- block = panel.addBlock( _.id, panelBlockDefinition ),
81
- me = this;
82
-
83
- panel.onShow = function() {
84
- if ( me.className )
85
- this.element.addClass( me.className + '_panel' );
86
-
87
- me.setState( CKEDITOR.TRISTATE_ON );
88
-
89
- _.on = 1;
90
-
91
- me.editorFocus && editor.focus();
92
-
93
- if ( me.onOpen )
94
- me.onOpen();
95
- };
96
-
97
- panel.onHide = function( preventOnClose ) {
98
- if ( me.className )
99
- this.element.getFirst().removeClass( me.className + '_panel' );
100
-
101
- me.setState( me.modes && me.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
102
-
103
- _.on = 0;
104
-
105
- if ( !preventOnClose && me.onClose )
106
- me.onClose();
107
- };
108
-
109
- panel.onEscape = function() {
110
- panel.hide( 1 );
111
- me.document.getById( _.id ).focus();
112
- };
113
-
114
- if ( this.onBlock )
115
- this.onBlock( panel, block );
116
-
117
- block.onHide = function() {
118
- _.on = 0;
119
- me.setState( CKEDITOR.TRISTATE_OFF );
120
- };
121
- }
122
- }
123
- });
124
-
125
- },
126
- beforeInit: function( editor ) {
127
- editor.ui.addHandler( CKEDITOR.UI_PANELBUTTON, CKEDITOR.ui.panelButton.handler );
128
- }
129
- });
130
-
131
- /**
132
- * Button UI element.
133
- *
134
- * @readonly
135
- * @property {String} [='panelbutton']
136
- * @member CKEDITOR
137
- */
138
- CKEDITOR.UI_PANELBUTTON = 'panelbutton';
@@ -1,82 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--
3
- Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.html or http://ckeditor.com/license
5
- -->
6
- <html>
7
- <head>
8
- <title>Ajax &mdash; CKEditor Sample</title>
9
- <meta charset="utf-8">
10
- <script src="../ckeditor.js"></script>
11
- <link rel="stylesheet" href="sample.css">
12
- <script>
13
-
14
- var editor, html = '';
15
-
16
- function createEditor() {
17
- if ( editor )
18
- return;
19
-
20
- // Create a new editor inside the <div id="editor">, setting its value to html
21
- var config = {};
22
- editor = CKEDITOR.appendTo( 'editor', config, html );
23
- }
24
-
25
- function removeEditor() {
26
- if ( !editor )
27
- return;
28
-
29
- // Retrieve the editor contents. In an Ajax application, this data would be
30
- // sent to the server or used in any other way.
31
- document.getElementById( 'editorcontents' ).innerHTML = html = editor.getData();
32
- document.getElementById( 'contents' ).style.display = '';
33
-
34
- // Destroy the editor.
35
- editor.destroy();
36
- editor = null;
37
- }
38
-
39
- </script>
40
- </head>
41
- <body>
42
- <h1 class="samples">
43
- <a href="index.html">CKEditor Samples</a> &raquo; Create and Destroy Editor Instances for Ajax Applications
44
- </h1>
45
- <div class="description">
46
- <p>
47
- This sample shows how to create and destroy CKEditor instances on the fly. After the removal of CKEditor the content created inside the editing
48
- area will be displayed in a <code>&lt;div&gt;</code> element.
49
- </p>
50
- <p>
51
- For details of how to create this setup check the source code of this sample page
52
- for JavaScript code responsible for the creation and destruction of a CKEditor instance.
53
- </p>
54
- </div>
55
- <p>Click the buttons to create and remove a CKEditor instance.</p>
56
- <p>
57
- <input onclick="createEditor();" type="button" value="Create Editor">
58
- <input onclick="removeEditor();" type="button" value="Remove Editor">
59
- </p>
60
- <!-- This div will hold the editor. -->
61
- <div id="editor">
62
- </div>
63
- <div id="contents" style="display: none">
64
- <p>
65
- Edited Contents:
66
- </p>
67
- <!-- This div will be used to display the editor contents. -->
68
- <div id="editorcontents">
69
- </div>
70
- </div>
71
- <div id="footer">
72
- <hr>
73
- <p>
74
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
75
- </p>
76
- <p id="copy">
77
- Copyright &copy; 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
78
- Knabben. All rights reserved.
79
- </p>
80
- </div>
81
- </body>
82
- </html>
@@ -1,207 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--
3
- Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.html or http://ckeditor.com/license
5
- -->
6
- <html>
7
- <head>
8
- <meta charset="utf-8">
9
- <title>API Usage &mdash; CKEditor Sample</title>
10
- <script src="../ckeditor.js"></script>
11
- <link href="sample.css" rel="stylesheet">
12
- <script>
13
-
14
- // The instanceReady event is fired, when an instance of CKEditor has finished
15
- // its initialization.
16
- CKEDITOR.on( 'instanceReady', function( ev ) {
17
- // Show the editor name and description in the browser status bar.
18
- document.getElementById( 'eMessage' ).innerHTML = 'Instance <code>' + ev.editor.name + '<\/code> loaded.';
19
-
20
- // Show this sample buttons.
21
- document.getElementById( 'eButtons' ).style.display = 'block';
22
- });
23
-
24
- function InsertHTML() {
25
- // Get the editor instance that we want to interact with.
26
- var editor = CKEDITOR.instances.editor1;
27
- var value = document.getElementById( 'htmlArea' ).value;
28
-
29
- // Check the active editing mode.
30
- if ( editor.mode == 'wysiwyg' )
31
- {
32
- // Insert HTML code.
33
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertHtml
34
- editor.insertHtml( value );
35
- }
36
- else
37
- alert( 'You must be in WYSIWYG mode!' );
38
- }
39
-
40
- function InsertText() {
41
- // Get the editor instance that we want to interact with.
42
- var editor = CKEDITOR.instances.editor1;
43
- var value = document.getElementById( 'txtArea' ).value;
44
-
45
- // Check the active editing mode.
46
- if ( editor.mode == 'wysiwyg' )
47
- {
48
- // Insert as plain text.
49
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertText
50
- editor.insertText( value );
51
- }
52
- else
53
- alert( 'You must be in WYSIWYG mode!' );
54
- }
55
-
56
- function SetContents() {
57
- // Get the editor instance that we want to interact with.
58
- var editor = CKEDITOR.instances.editor1;
59
- var value = document.getElementById( 'htmlArea' ).value;
60
-
61
- // Set editor contents (replace current contents).
62
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setData
63
- editor.setData( value );
64
- }
65
-
66
- function GetContents() {
67
- // Get the editor instance that you want to interact with.
68
- var editor = CKEDITOR.instances.editor1;
69
-
70
- // Get editor contents
71
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-getData
72
- alert( editor.getData() );
73
- }
74
-
75
- function ExecuteCommand( commandName ) {
76
- // Get the editor instance that we want to interact with.
77
- var editor = CKEDITOR.instances.editor1;
78
-
79
- // Check the active editing mode.
80
- if ( editor.mode == 'wysiwyg' )
81
- {
82
- // Execute the command.
83
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-execCommand
84
- editor.execCommand( commandName );
85
- }
86
- else
87
- alert( 'You must be in WYSIWYG mode!' );
88
- }
89
-
90
- function CheckDirty() {
91
- // Get the editor instance that we want to interact with.
92
- var editor = CKEDITOR.instances.editor1;
93
- // Checks whether the current editor contents present changes when compared
94
- // to the contents loaded into the editor at startup
95
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-checkDirty
96
- alert( editor.checkDirty() );
97
- }
98
-
99
- function ResetDirty() {
100
- // Get the editor instance that we want to interact with.
101
- var editor = CKEDITOR.instances.editor1;
102
- // Resets the "dirty state" of the editor (see CheckDirty())
103
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-resetDirty
104
- editor.resetDirty();
105
- alert( 'The "IsDirty" status has been reset' );
106
- }
107
-
108
- function Focus() {
109
- CKEDITOR.instances.editor1.focus();
110
- }
111
-
112
- function onFocus() {
113
- document.getElementById( 'eMessage' ).innerHTML = '<b>' + this.name + ' is focused </b>';
114
- }
115
-
116
- function onBlur() {
117
- document.getElementById( 'eMessage' ).innerHTML = this.name + ' lost focus';
118
- }
119
-
120
- </script>
121
-
122
- </head>
123
- <body>
124
- <h1 class="samples">
125
- <a href="index.html">CKEditor Samples</a> &raquo; Using CKEditor JavaScript API
126
- </h1>
127
- <div class="description">
128
- <p>
129
- This sample shows how to use the
130
- <a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.editor">CKEditor JavaScript API</a>
131
- to interact with the editor at runtime.
132
- </p>
133
- <p>
134
- For details on how to create this setup check the source code of this sample page.
135
- </p>
136
- </div>
137
-
138
- <!-- This <div> holds alert messages to be display in the sample page. -->
139
- <div id="alerts">
140
- <noscript>
141
- <p>
142
- <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
143
- support, like yours, you should still see the contents (HTML data) and you should
144
- be able to edit it normally, without a rich editor interface.
145
- </p>
146
- </noscript>
147
- </div>
148
- <form action="../../../samples/sample_posteddata.php" method="post">
149
- <textarea cols="100" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
150
-
151
- <script>
152
- // Replace the <textarea id="editor1"> with an CKEditor instance.
153
- CKEDITOR.replace( 'editor1', {
154
- on: {
155
- focus: onFocus,
156
- blur: onBlur,
157
-
158
- // Check for availability of corresponding plugins.
159
- pluginsLoaded: function( evt ) {
160
- var doc = CKEDITOR.document, ed = evt.editor;
161
- if ( !ed.getCommand( 'bold' ) )
162
- doc.getById( 'exec-bold' ).hide();
163
- if ( !ed.getCommand( 'link' ) )
164
- doc.getById( 'exec-link' ).hide();
165
- }
166
- }
167
- });
168
- </script>
169
-
170
- <p id="eMessage">
171
- </p>
172
-
173
- <div id="eButtons" style="display: none">
174
- <input id="exec-bold" onclick="ExecuteCommand('bold');" type="button" value="Execute &quot;bold&quot; Command">
175
- <input id="exec-link" onclick="ExecuteCommand('link');" type="button" value="Execute &quot;link&quot; Command">
176
- <input onclick="Focus();" type="button" value="Focus">
177
- <br><br>
178
- <input onclick="InsertHTML();" type="button" value="Insert HTML">
179
- <input onclick="SetContents();" type="button" value="Set Editor Contents">
180
- <input onclick="GetContents();" type="button" value="Get Editor Contents (XHTML)">
181
- <br>
182
- <textarea cols="100" id="htmlArea" rows="3">&lt;h2&gt;Test&lt;/h2&gt;&lt;p&gt;This is some &lt;a href="/Test1.html"&gt;sample&lt;/a&gt; HTML code.&lt;/p&gt;</textarea>
183
- <br>
184
- <br>
185
- <input onclick="InsertText();" type="button" value="Insert Text">
186
- <br>
187
- <textarea cols="100" id="txtArea" rows="3"> First line with some leading whitespaces.
188
-
189
- Second line of text preceded by two line breaks.</textarea>
190
- <br>
191
- <br>
192
- <input onclick="CheckDirty();" type="button" value="checkDirty()">
193
- <input onclick="ResetDirty();" type="button" value="resetDirty()">
194
- </div>
195
- </form>
196
- <div id="footer">
197
- <hr>
198
- <p>
199
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
200
- </p>
201
- <p id="copy">
202
- Copyright &copy; 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
203
- Knabben. All rights reserved.
204
- </p>
205
- </div>
206
- </body>
207
- </html>