frontendeditor_ckeditor 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (430) hide show
  1. data/README.md +29 -0
  2. data/Rakefile +1 -0
  3. data/lib/frontendeditor_ckeditor/engine.rb +8 -0
  4. data/lib/frontendeditor_ckeditor/version.rb +3 -0
  5. data/lib/frontendeditor_ckeditor.rb +3 -0
  6. data/vendor/assets/javascripts/ckeditor/API-CHANGES.md +195 -0
  7. data/vendor/assets/javascripts/ckeditor/LICENSE.md +1274 -0
  8. data/vendor/assets/javascripts/ckeditor/ckeditor.js +847 -0
  9. data/vendor/assets/javascripts/ckeditor/ckeditor_actions.coffee +37 -0
  10. data/vendor/assets/javascripts/ckeditor/config.js +11 -0
  11. data/vendor/assets/javascripts/ckeditor/contents.css +25 -0
  12. data/vendor/assets/javascripts/ckeditor/init_ckeditor.coffee +6 -0
  13. data/vendor/assets/javascripts/ckeditor/lang/_languages.js +7 -0
  14. data/vendor/assets/javascripts/ckeditor/lang/_translationstatus.txt +63 -0
  15. data/vendor/assets/javascripts/ckeditor/lang/af.js +5 -0
  16. data/vendor/assets/javascripts/ckeditor/lang/ar.js +5 -0
  17. data/vendor/assets/javascripts/ckeditor/lang/bg.js +5 -0
  18. data/vendor/assets/javascripts/ckeditor/lang/bn.js +5 -0
  19. data/vendor/assets/javascripts/ckeditor/lang/bs.js +5 -0
  20. data/vendor/assets/javascripts/ckeditor/lang/ca.js +5 -0
  21. data/vendor/assets/javascripts/ckeditor/lang/cs.js +5 -0
  22. data/vendor/assets/javascripts/ckeditor/lang/cy.js +5 -0
  23. data/vendor/assets/javascripts/ckeditor/lang/da.js +5 -0
  24. data/vendor/assets/javascripts/ckeditor/lang/de.js +5 -0
  25. data/vendor/assets/javascripts/ckeditor/lang/el.js +5 -0
  26. data/vendor/assets/javascripts/ckeditor/lang/en-au.js +5 -0
  27. data/vendor/assets/javascripts/ckeditor/lang/en-ca.js +5 -0
  28. data/vendor/assets/javascripts/ckeditor/lang/en-gb.js +5 -0
  29. data/vendor/assets/javascripts/ckeditor/lang/en.js +5 -0
  30. data/vendor/assets/javascripts/ckeditor/lang/eo.js +5 -0
  31. data/vendor/assets/javascripts/ckeditor/lang/es.js +5 -0
  32. data/vendor/assets/javascripts/ckeditor/lang/et.js +5 -0
  33. data/vendor/assets/javascripts/ckeditor/lang/eu.js +5 -0
  34. data/vendor/assets/javascripts/ckeditor/lang/fa.js +5 -0
  35. data/vendor/assets/javascripts/ckeditor/lang/fi.js +5 -0
  36. data/vendor/assets/javascripts/ckeditor/lang/fo.js +5 -0
  37. data/vendor/assets/javascripts/ckeditor/lang/fr-ca.js +5 -0
  38. data/vendor/assets/javascripts/ckeditor/lang/fr.js +5 -0
  39. data/vendor/assets/javascripts/ckeditor/lang/gl.js +5 -0
  40. data/vendor/assets/javascripts/ckeditor/lang/gu.js +5 -0
  41. data/vendor/assets/javascripts/ckeditor/lang/he.js +5 -0
  42. data/vendor/assets/javascripts/ckeditor/lang/hi.js +5 -0
  43. data/vendor/assets/javascripts/ckeditor/lang/hr.js +5 -0
  44. data/vendor/assets/javascripts/ckeditor/lang/hu.js +5 -0
  45. data/vendor/assets/javascripts/ckeditor/lang/is.js +5 -0
  46. data/vendor/assets/javascripts/ckeditor/lang/it.js +5 -0
  47. data/vendor/assets/javascripts/ckeditor/lang/ja.js +5 -0
  48. data/vendor/assets/javascripts/ckeditor/lang/ka.js +5 -0
  49. data/vendor/assets/javascripts/ckeditor/lang/km.js +5 -0
  50. data/vendor/assets/javascripts/ckeditor/lang/ko.js +5 -0
  51. data/vendor/assets/javascripts/ckeditor/lang/lt.js +5 -0
  52. data/vendor/assets/javascripts/ckeditor/lang/lv.js +5 -0
  53. data/vendor/assets/javascripts/ckeditor/lang/mk.js +5 -0
  54. data/vendor/assets/javascripts/ckeditor/lang/mn.js +5 -0
  55. data/vendor/assets/javascripts/ckeditor/lang/ms.js +5 -0
  56. data/vendor/assets/javascripts/ckeditor/lang/nb.js +5 -0
  57. data/vendor/assets/javascripts/ckeditor/lang/nl.js +5 -0
  58. data/vendor/assets/javascripts/ckeditor/lang/no.js +5 -0
  59. data/vendor/assets/javascripts/ckeditor/lang/pl.js +5 -0
  60. data/vendor/assets/javascripts/ckeditor/lang/pt-br.js +5 -0
  61. data/vendor/assets/javascripts/ckeditor/lang/pt.js +5 -0
  62. data/vendor/assets/javascripts/ckeditor/lang/ro.js +5 -0
  63. data/vendor/assets/javascripts/ckeditor/lang/ru.js +5 -0
  64. data/vendor/assets/javascripts/ckeditor/lang/sk.js +5 -0
  65. data/vendor/assets/javascripts/ckeditor/lang/sl.js +5 -0
  66. data/vendor/assets/javascripts/ckeditor/lang/sr-latn.js +5 -0
  67. data/vendor/assets/javascripts/ckeditor/lang/sr.js +5 -0
  68. data/vendor/assets/javascripts/ckeditor/lang/sv.js +5 -0
  69. data/vendor/assets/javascripts/ckeditor/lang/th.js +5 -0
  70. data/vendor/assets/javascripts/ckeditor/lang/tr.js +5 -0
  71. data/vendor/assets/javascripts/ckeditor/lang/ug.js +5 -0
  72. data/vendor/assets/javascripts/ckeditor/lang/uk.js +5 -0
  73. data/vendor/assets/javascripts/ckeditor/lang/vi.js +5 -0
  74. data/vendor/assets/javascripts/ckeditor/lang/zh-cn.js +5 -0
  75. data/vendor/assets/javascripts/ckeditor/lang/zh.js +5 -0
  76. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +9 -0
  77. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
  78. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +9 -0
  79. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +8 -0
  80. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +8 -0
  81. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +9 -0
  82. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +9 -0
  83. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +8 -0
  84. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +9 -0
  85. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +8 -0
  86. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +9 -0
  87. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +9 -0
  88. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +8 -0
  89. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +8 -0
  90. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +9 -0
  91. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +8 -0
  92. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +8 -0
  93. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +9 -0
  94. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +8 -0
  95. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +8 -0
  96. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +8 -0
  97. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +9 -0
  98. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +8 -0
  99. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +8 -0
  100. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
  101. data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
  102. data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  103. data/vendor/assets/javascripts/ckeditor/plugins/adobeair/plugin.js +9 -0
  104. data/vendor/assets/javascripts/ckeditor/plugins/ajax/plugin.js +6 -0
  105. data/vendor/assets/javascripts/ckeditor/plugins/autogrow/plugin.js +8 -0
  106. data/vendor/assets/javascripts/ckeditor/plugins/bbcode/plugin.js +22 -0
  107. data/vendor/assets/javascripts/ckeditor/plugins/bbcode/samples/bbcode.html +172 -0
  108. data/vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
  109. data/vendor/assets/javascripts/ckeditor/plugins/clipboard/samples/clipboard.html +210 -0
  110. data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -0
  111. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/_translationstatus.txt +27 -0
  112. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/bg.js +5 -0
  113. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/cs.js +5 -0
  114. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/cy.js +5 -0
  115. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/da.js +5 -0
  116. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/de.js +5 -0
  117. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/el.js +5 -0
  118. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/en.js +5 -0
  119. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/eo.js +5 -0
  120. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/et.js +5 -0
  121. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fa.js +5 -0
  122. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fi.js +5 -0
  123. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fr.js +5 -0
  124. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/gu.js +5 -0
  125. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/he.js +5 -0
  126. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/hr.js +5 -0
  127. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/it.js +5 -0
  128. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/nb.js +5 -0
  129. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/nl.js +5 -0
  130. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/no.js +5 -0
  131. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/pl.js +5 -0
  132. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/tr.js +5 -0
  133. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/ug.js +5 -0
  134. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/uk.js +5 -0
  135. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/vi.js +5 -0
  136. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/zh-cn.js +5 -0
  137. data/vendor/assets/javascripts/ckeditor/plugins/devtools/plugin.js +9 -0
  138. data/vendor/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  139. data/vendor/assets/javascripts/ckeditor/plugins/dialogadvtab/plugin.js +8 -0
  140. data/vendor/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -0
  141. data/vendor/assets/javascripts/ckeditor/plugins/divarea/plugin.js +5 -0
  142. data/vendor/assets/javascripts/ckeditor/plugins/docprops/dialogs/docprops.js +25 -0
  143. data/vendor/assets/javascripts/ckeditor/plugins/docprops/icons/docprops-rtl.png +0 -0
  144. data/vendor/assets/javascripts/ckeditor/plugins/docprops/icons/docprops.png +0 -0
  145. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/af.js +3 -0
  146. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ar.js +2 -0
  147. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/bg.js +3 -0
  148. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/bn.js +3 -0
  149. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/bs.js +3 -0
  150. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ca.js +3 -0
  151. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/cs.js +3 -0
  152. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/cy.js +3 -0
  153. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/da.js +3 -0
  154. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/de.js +3 -0
  155. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/el.js +3 -0
  156. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/en-au.js +3 -0
  157. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/en-ca.js +3 -0
  158. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/en-gb.js +3 -0
  159. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/en.js +3 -0
  160. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/eo.js +3 -0
  161. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/es.js +3 -0
  162. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/et.js +3 -0
  163. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/eu.js +3 -0
  164. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fa.js +2 -0
  165. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fi.js +3 -0
  166. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fo.js +3 -0
  167. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fr-ca.js +3 -0
  168. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fr.js +3 -0
  169. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/gl.js +3 -0
  170. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/gu.js +3 -0
  171. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/he.js +2 -0
  172. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/hi.js +3 -0
  173. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/hr.js +3 -0
  174. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/hu.js +3 -0
  175. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/is.js +3 -0
  176. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/it.js +3 -0
  177. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ja.js +2 -0
  178. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ka.js +3 -0
  179. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/km.js +3 -0
  180. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ko.js +2 -0
  181. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/lt.js +3 -0
  182. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/lv.js +3 -0
  183. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/mk.js +3 -0
  184. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/mn.js +3 -0
  185. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ms.js +3 -0
  186. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/nb.js +3 -0
  187. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/nl.js +3 -0
  188. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/no.js +3 -0
  189. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/pl.js +3 -0
  190. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/pt-br.js +3 -0
  191. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/pt.js +3 -0
  192. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ro.js +3 -0
  193. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ru.js +3 -0
  194. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sk.js +3 -0
  195. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sl.js +3 -0
  196. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sr-latn.js +3 -0
  197. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sr.js +3 -0
  198. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sv.js +2 -0
  199. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/th.js +3 -0
  200. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/tr.js +3 -0
  201. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ug.js +3 -0
  202. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/uk.js +3 -0
  203. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/vi.js +3 -0
  204. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/zh-cn.js +2 -0
  205. data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/zh.js +2 -0
  206. data/vendor/assets/javascripts/ckeditor/plugins/docprops/plugin.js +6 -0
  207. data/vendor/assets/javascripts/ckeditor/plugins/fakeobjects/images/spacer.gif +0 -0
  208. data/vendor/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +25 -0
  209. data/vendor/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +23 -0
  210. data/vendor/assets/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  211. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +8 -0
  212. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +8 -0
  213. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +8 -0
  214. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -0
  215. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +8 -0
  216. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +20 -0
  217. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +8 -0
  218. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +10 -0
  219. data/vendor/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  220. data/vendor/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  221. data/vendor/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +10 -0
  222. data/vendor/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  223. data/vendor/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +8 -0
  224. data/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +41 -0
  225. data/vendor/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
  226. data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +8 -0
  227. data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +36 -0
  228. data/vendor/assets/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
  229. data/vendor/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
  230. data/vendor/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
  231. data/vendor/assets/javascripts/ckeditor/plugins/magicline/samples/sample.html +544 -0
  232. data/vendor/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  233. data/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +30 -0
  234. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +6 -0
  235. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/icons/createplaceholder.png +0 -0
  236. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/icons/editplaceholder.png +0 -0
  237. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/_translationstatus.txt +26 -0
  238. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/bg.js +5 -0
  239. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/cs.js +5 -0
  240. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/cy.js +5 -0
  241. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/da.js +5 -0
  242. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/de.js +5 -0
  243. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/el.js +5 -0
  244. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/en.js +5 -0
  245. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/eo.js +5 -0
  246. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/et.js +5 -0
  247. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fa.js +5 -0
  248. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fi.js +5 -0
  249. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fr.js +5 -0
  250. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/he.js +5 -0
  251. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/hr.js +5 -0
  252. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/it.js +5 -0
  253. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/nb.js +5 -0
  254. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/nl.js +5 -0
  255. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/no.js +5 -0
  256. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/pl.js +5 -0
  257. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/tr.js +5 -0
  258. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/ug.js +5 -0
  259. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/uk.js +5 -0
  260. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/vi.js +5 -0
  261. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/zh-cn.js +5 -0
  262. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/plugin.js +10 -0
  263. data/vendor/assets/javascripts/ckeditor/plugins/preview/preview.html +10 -0
  264. data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +19 -0
  265. data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
  266. data/vendor/assets/javascripts/ckeditor/plugins/selectionmark/plugin.js +9 -0
  267. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  268. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  269. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  270. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  271. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  272. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  273. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  274. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  275. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  276. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  277. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  278. data/vendor/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +10 -0
  279. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  280. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  281. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  282. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  283. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  284. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  285. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  286. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  287. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  288. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  289. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  290. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  291. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  292. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  293. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  294. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  295. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  296. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  297. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  298. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  299. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  300. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
  301. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
  302. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
  303. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
  304. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
  305. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
  306. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
  307. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
  308. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +13 -0
  309. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
  310. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
  311. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
  312. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
  313. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
  314. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
  315. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
  316. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
  317. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
  318. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
  319. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -0
  320. data/vendor/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +7 -0
  321. data/vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +20 -0
  322. data/vendor/assets/javascripts/ckeditor/plugins/tableresize/plugin.js +13 -0
  323. data/vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +18 -0
  324. data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +84 -0
  325. data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +10 -0
  326. data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
  327. data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  328. data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  329. data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  330. data/vendor/assets/javascripts/ckeditor/plugins/toolbar/samples/toolbar.html +80 -0
  331. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +10 -0
  332. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/icons/uicolor.png +0 -0
  333. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/_translationstatus.txt +27 -0
  334. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/bg.js +5 -0
  335. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/cs.js +5 -0
  336. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/cy.js +5 -0
  337. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/da.js +5 -0
  338. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/de.js +5 -0
  339. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/el.js +5 -0
  340. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/en.js +5 -0
  341. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/eo.js +5 -0
  342. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/et.js +5 -0
  343. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fa.js +5 -0
  344. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fi.js +5 -0
  345. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fr.js +5 -0
  346. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/he.js +5 -0
  347. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/hr.js +5 -0
  348. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/it.js +5 -0
  349. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/mk.js +5 -0
  350. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/nb.js +5 -0
  351. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/nl.js +5 -0
  352. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/no.js +5 -0
  353. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/pl.js +5 -0
  354. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/tr.js +5 -0
  355. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/ug.js +5 -0
  356. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/uk.js +5 -0
  357. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/vi.js +5 -0
  358. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/zh-cn.js +5 -0
  359. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/plugin.js +5 -0
  360. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  361. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  362. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  363. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  364. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +15 -0
  365. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/yui.js +225 -0
  366. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
  367. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  368. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +82 -0
  369. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +11 -0
  370. data/vendor/assets/javascripts/ckeditor/plugins/xml/plugin.js +7 -0
  371. data/vendor/assets/javascripts/ckeditor/samples/ajax.html +82 -0
  372. data/vendor/assets/javascripts/ckeditor/samples/api.html +210 -0
  373. data/vendor/assets/javascripts/ckeditor/samples/apidialog.html +164 -0
  374. data/vendor/assets/javascripts/ckeditor/samples/appendto.html +92 -0
  375. data/vendor/assets/javascripts/ckeditor/samples/assets/apidialog/my_dialog.js +5 -0
  376. data/vendor/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
  377. data/vendor/assets/javascripts/ckeditor/samples/assets/outputforflash/outputforflash.fla +0 -0
  378. data/vendor/assets/javascripts/ckeditor/samples/assets/outputforflash/outputforflash.swf +0 -0
  379. data/vendor/assets/javascripts/ckeditor/samples/assets/outputforflash/swfobject.js +18 -0
  380. data/vendor/assets/javascripts/ckeditor/samples/assets/outputxhtml/outputxhtml.css +204 -0
  381. data/vendor/assets/javascripts/ckeditor/samples/assets/posteddata.php +59 -0
  382. data/vendor/assets/javascripts/ckeditor/samples/assets/sample.css +3 -0
  383. data/vendor/assets/javascripts/ckeditor/samples/assets/stylesheetparser/sample.css +70 -0
  384. data/vendor/assets/javascripts/ckeditor/samples/autogrow.html +96 -0
  385. data/vendor/assets/javascripts/ckeditor/samples/bbcode.html +106 -0
  386. data/vendor/assets/javascripts/ckeditor/samples/devtools.html +80 -0
  387. data/vendor/assets/javascripts/ckeditor/samples/divarea.html +96 -0
  388. data/vendor/assets/javascripts/ckeditor/samples/divreplace.html +141 -0
  389. data/vendor/assets/javascripts/ckeditor/samples/enterkey.html +99 -0
  390. data/vendor/assets/javascripts/ckeditor/samples/fullpage.html +109 -0
  391. data/vendor/assets/javascripts/ckeditor/samples/index.html +133 -0
  392. data/vendor/assets/javascripts/ckeditor/samples/inlineall.html +338 -0
  393. data/vendor/assets/javascripts/ckeditor/samples/inlinebycode.html +138 -0
  394. data/vendor/assets/javascripts/ckeditor/samples/magicline.html +198 -0
  395. data/vendor/assets/javascripts/ckeditor/samples/outputforflash.html +246 -0
  396. data/vendor/assets/javascripts/ckeditor/samples/outputhtml.html +228 -0
  397. data/vendor/assets/javascripts/ckeditor/samples/outputxhtml.html +217 -0
  398. data/vendor/assets/javascripts/ckeditor/samples/placeholder.html +69 -0
  399. data/vendor/assets/javascripts/ckeditor/samples/readonly.html +73 -0
  400. data/vendor/assets/javascripts/ckeditor/samples/replacebyclass.html +95 -0
  401. data/vendor/assets/javascripts/ckeditor/samples/replacebycode.html +93 -0
  402. data/vendor/assets/javascripts/ckeditor/samples/sample.css +261 -0
  403. data/vendor/assets/javascripts/ckeditor/samples/sample_posteddata.php +16 -0
  404. data/vendor/assets/javascripts/ckeditor/samples/stylesheetparser.html +77 -0
  405. data/vendor/assets/javascripts/ckeditor/samples/tabindex.html +80 -0
  406. data/vendor/assets/javascripts/ckeditor/samples/tableresize.html +101 -0
  407. data/vendor/assets/javascripts/ckeditor/samples/uicolor.html +137 -0
  408. data/vendor/assets/javascripts/ckeditor/samples/uilanguages.html +119 -0
  409. data/vendor/assets/javascripts/ckeditor/styles.js +86 -0
  410. data/vendor/assets/stylesheets/ckeditor/skins/kama/dialog.css +5 -0
  411. data/vendor/assets/stylesheets/ckeditor/skins/kama/dialog_ie.css +5 -0
  412. data/vendor/assets/stylesheets/ckeditor/skins/kama/dialog_ie7.css +5 -0
  413. data/vendor/assets/stylesheets/ckeditor/skins/kama/dialog_ie8.css +5 -0
  414. data/vendor/assets/stylesheets/ckeditor/skins/kama/dialog_iequirks.css +5 -0
  415. data/vendor/assets/stylesheets/ckeditor/skins/kama/dialog_opera.css +5 -0
  416. data/vendor/assets/stylesheets/ckeditor/skins/kama/editor.css +5 -0
  417. data/vendor/assets/stylesheets/ckeditor/skins/kama/editor_ie.css +5 -0
  418. data/vendor/assets/stylesheets/ckeditor/skins/kama/editor_ie7.css +5 -0
  419. data/vendor/assets/stylesheets/ckeditor/skins/kama/editor_ie8.css +5 -0
  420. data/vendor/assets/stylesheets/ckeditor/skins/kama/editor_iequirks.css +5 -0
  421. data/vendor/assets/stylesheets/ckeditor/skins/kama/icons.png +0 -0
  422. data/vendor/assets/stylesheets/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  423. data/vendor/assets/stylesheets/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  424. data/vendor/assets/stylesheets/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  425. data/vendor/assets/stylesheets/ckeditor/skins/kama/images/mini.gif +0 -0
  426. data/vendor/assets/stylesheets/ckeditor/skins/kama/images/sprites.png +0 -0
  427. data/vendor/assets/stylesheets/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  428. data/vendor/assets/stylesheets/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  429. data/vendor/assets/stylesheets/ckeditor/skins/kama/readme.md +26 -0
  430. metadata +490 -0
@@ -0,0 +1,59 @@
1
+ <!DOCTYPE html>
2
+ <?php
3
+ /*
4
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
5
+ For licensing, see LICENSE.html or http://ckeditor.com/license
6
+ */
7
+ ?>
8
+ <html>
9
+ <head>
10
+ <meta charset="utf-8">
11
+ <title>Sample &mdash; CKEditor</title>
12
+ <link rel="stylesheet" href="sample.css">
13
+ </head>
14
+ <body>
15
+ <h1 class="samples">
16
+ CKEditor &mdash; Posted Data
17
+ </h1>
18
+ <table border="1" cellspacing="0" id="outputSample">
19
+ <colgroup><col width="120"></colgroup>
20
+ <thead>
21
+ <tr>
22
+ <th>Field&nbsp;Name</th>
23
+ <th>Value</th>
24
+ </tr>
25
+ </thead>
26
+ <?php
27
+
28
+ if ( isset( $_POST ) )
29
+ $postArray = &$_POST ; // 4.1.0 or later, use $_POST
30
+ else
31
+ $postArray = &$HTTP_POST_VARS ; // prior to 4.1.0, use HTTP_POST_VARS
32
+
33
+ foreach ( $postArray as $sForm => $value )
34
+ {
35
+ if ( get_magic_quotes_gpc() )
36
+ $postedValue = htmlspecialchars( stripslashes( $value ) ) ;
37
+ else
38
+ $postedValue = htmlspecialchars( $value ) ;
39
+
40
+ ?>
41
+ <tr>
42
+ <th style="vertical-align: top"><?php echo $sForm?></th>
43
+ <td><pre class="samples"><?php echo $postedValue?></pre></td>
44
+ </tr>
45
+ <?php
46
+ }
47
+ ?>
48
+ </table>
49
+ <div id="footer">
50
+ <hr>
51
+ <p>
52
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
53
+ </p>
54
+ <p id="copy">
55
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
56
+ </p>
57
+ </div>
58
+ </body>
59
+ </html>
@@ -0,0 +1,3 @@
1
+ /**
2
+ * Required by tests (dom/document.html).
3
+ */
@@ -0,0 +1,70 @@
1
+ body
2
+ {
3
+ font-family: Arial, Verdana, sans-serif;
4
+ font-size: 12px;
5
+ color: #222;
6
+ background-color: #fff;
7
+ }
8
+
9
+ /* preserved spaces for rtl list item bullets. (#6249)*/
10
+ ol,ul,dl
11
+ {
12
+ padding-right:40px;
13
+ }
14
+
15
+ h1,h2,h3,h4
16
+ {
17
+ font-family: Georgia, Times, serif;
18
+ }
19
+
20
+ h1.lightBlue
21
+ {
22
+ color: #00A6C7;
23
+ font-size: 1.8em;
24
+ font-weight:normal;
25
+ }
26
+
27
+ h3.green
28
+ {
29
+ color: #739E39;
30
+ font-weight:normal;
31
+ }
32
+
33
+ span.markYellow { background-color: yellow; }
34
+ span.markGreen { background-color: lime; }
35
+
36
+ img.left
37
+ {
38
+ padding: 5px;
39
+ margin-right: 5px;
40
+ float:left;
41
+ border:2px solid #DDD;
42
+ }
43
+
44
+ img.right
45
+ {
46
+ padding: 5px;
47
+ margin-right: 5px;
48
+ float:right;
49
+ border:2px solid #DDD;
50
+ }
51
+
52
+ a.green
53
+ {
54
+ color:#739E39;
55
+ }
56
+
57
+ table.grey
58
+ {
59
+ background-color : #F5F5F5;
60
+ }
61
+
62
+ table.grey th
63
+ {
64
+ background-color : #DDD;
65
+ }
66
+
67
+ ul.square
68
+ {
69
+ list-style-type : square;
70
+ }
@@ -0,0 +1,96 @@
1
+ <!DOCTYPE html>
2
+ <!--
3
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
4
+ For licensing, see LICENSE.html or http://ckeditor.com/license
5
+ -->
6
+ <html>
7
+ <head>
8
+ <title>AutoGrow Plugin &mdash; CKEditor Sample</title>
9
+ <meta charset="utf-8">
10
+ <script src="../ckeditor.js"></script>
11
+ <link rel="stylesheet" href="sample.css">
12
+ </head>
13
+ <body>
14
+ <h1 class="samples">
15
+ <a href="index.html">CKEditor Samples</a> &raquo; Using AutoGrow Plugin
16
+ </h1>
17
+ <div class="description">
18
+ <p>
19
+ This sample shows how to configure CKEditor instances to use the
20
+ <strong>AutoGrow</strong> (<code>autogrow</code>) plugin that lets the editor window expand
21
+ and shrink depending on the amount and size of content entered in the editing area.
22
+ </p>
23
+ <p>
24
+ In its default implementation the <strong>AutoGrow feature</strong> can expand the
25
+ CKEditor window infinitely in order to avoid introducing scrollbars to the editing area.
26
+ </p>
27
+ <p>
28
+ It is also possible to set a maximum height for the editor window. Once CKEditor
29
+ editing area reaches the value in pixels specified in the
30
+ <code><a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.autoGrow_maxHeight">autoGrow_maxHeight</a></code>
31
+ configuration setting, scrollbars will be added and the editor window will no longer expand.
32
+ </p>
33
+ <p>
34
+ To add a CKEditor instance using the <code>autogrow</code> plugin and its
35
+ <code>autoGrow_maxHeight</code> attribute, insert the following JavaScript call to your code:
36
+ </p>
37
+ <pre class="samples">
38
+ CKEDITOR.replace( '<em>textarea_id</em>', {
39
+ <strong>extraPlugins: 'autogrow',</strong>
40
+ autoGrow_maxHeight: 800,
41
+
42
+ // Remove the Resize plugin as it does not make sense to use it in conjunction with the AutoGrow plugin.
43
+ removePlugins: 'resize'
44
+ });</pre>
45
+ <p>
46
+ Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
47
+ the <code>&lt;textarea&gt;</code> element to be replaced with CKEditor. The maximum height should
48
+ be given in pixels.
49
+ </p>
50
+ </div>
51
+ <form action="sample_posteddata.php" method="post">
52
+ <p>
53
+ <label for="editor1">
54
+ CKEditor using the <code>autogrow</code> plugin with its default configuration:
55
+ </label>
56
+ <textarea cols="80" 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>
57
+ <script>
58
+
59
+ CKEDITOR.replace( 'editor1', {
60
+ extraPlugins: 'autogrow',
61
+ removePlugins: 'resize'
62
+ });
63
+
64
+ </script>
65
+ </p>
66
+ <p>
67
+ <label for="editor2">
68
+ CKEditor using the <code>autogrow</code> plugin with maximum height set to 400 pixels:
69
+ </label>
70
+ <textarea cols="80" id="editor2" name="editor2" 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>
71
+ <script>
72
+
73
+ CKEDITOR.replace( 'editor2', {
74
+ extraPlugins: 'autogrow',
75
+ autoGrow_maxHeight: 400,
76
+ removePlugins: 'resize'
77
+ });
78
+
79
+ </script>
80
+ </p>
81
+ <p>
82
+ <input type="submit" value="Submit">
83
+ </p>
84
+ </form>
85
+ <div id="footer">
86
+ <hr>
87
+ <p>
88
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
89
+ </p>
90
+ <p id="copy">
91
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
92
+ Knabben. All rights reserved.
93
+ </p>
94
+ </div>
95
+ </body>
96
+ </html>
@@ -0,0 +1,106 @@
1
+ <!DOCTYPE html>
2
+ <!--
3
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
4
+ For licensing, see LICENSE.html or http://ckeditor.com/license
5
+ -->
6
+ <html>
7
+ <head>
8
+ <title>BBCode Plugin &mdash; CKEditor Sample</title>
9
+ <meta charset="utf-8">
10
+ <script src="../ckeditor.js"></script>
11
+ <link rel="stylesheet" href="sample.css">
12
+ </head>
13
+ <body>
14
+ <h1 class="samples">
15
+ <a href="index.html">CKEditor Samples</a> &raquo; BBCode Plugin
16
+ </h1>
17
+ <div class="description">
18
+ <p>
19
+ This sample shows how to configure CKEditor to output <a href="http://en.wikipedia.org/wiki/BBCode">BBCode</a> format instead of HTML.
20
+ Please note that the editor configuration was modified to reflect what is needed in a BBCode editing environment.
21
+ Smiley images, for example, were stripped to the emoticons that are commonly used in some BBCode dialects.
22
+ </p>
23
+ <p>
24
+ Please note that currently there is no standard for the BBCode markup language, so its implementation
25
+ for different platforms (message boards, blogs etc.) can vary. This means that before using CKEditor to
26
+ output BBCode you may need to adjust the implementation to your own environment.
27
+ </p>
28
+ <p>
29
+ A snippet of the configuration code can be seen below; check the source of this page for
30
+ a full definition:
31
+ </p>
32
+ <pre class="samples">
33
+ CKEDITOR.replace( 'editor1', {
34
+ <strong>extraPlugins: 'bbcode',</strong>
35
+ toolbar: [
36
+ [ 'Source', '-', 'Save', 'NewPage', '-', 'Undo', 'Redo' ],
37
+ [ 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat' ],
38
+ [ 'Link', 'Unlink', 'Image' ],
39
+ '/',
40
+ [ 'FontSize', 'Bold', 'Italic', 'Underline' ],
41
+ [ 'NumberedList', 'BulletedList', '-', 'Blockquote' ],
42
+ [ 'TextColor', '-', 'Smiley', 'SpecialChar', '-', 'Maximize' ]
43
+ ],
44
+ ... <i>some other configurations omitted here</i>
45
+ }); </pre>
46
+ </div>
47
+ <form action="sample_posteddata.php" method="post">
48
+ <p>
49
+ <label for="editor1">
50
+ Editor 1:
51
+ </label>
52
+ <textarea cols="80" id="editor1" name="editor1" rows="10">This is some [b]sample text[/b]. You are using [url=http://ckeditor.com/]CKEditor[/url].</textarea>
53
+ <script>
54
+
55
+ // Replace the <textarea id="editor"> with an CKEditor
56
+ // instance, using the "bbcode" plugin, shaping some of the
57
+ // editor configuration to fit BBCode environment.
58
+ CKEDITOR.replace( 'editor1', {
59
+ extraPlugins: 'bbcode',
60
+ // Remove unused plugins.
61
+ removePlugins: 'bidi,button,dialogadvtab,div,filebrowser,flash,format,forms,horizontalrule,iframe,indent,justify,liststyle,pagebreak,showborders,stylescombo,table,tabletools,templates',
62
+ // Width and height are not supported in the BBCode format, so object resizing is disabled.
63
+ disableObjectResizing: true,
64
+ // Define font sizes in percent values.
65
+ fontSize_sizes: "30/30%;50/50%;100/100%;120/120%;150/150%;200/200%;300/300%",
66
+ toolbar: [
67
+ [ 'Source', '-', 'Save', 'NewPage', '-', 'Undo', 'Redo' ],
68
+ [ 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat' ],
69
+ [ 'Link', 'Unlink', 'Image', 'Smiley', 'SpecialChar' ],
70
+ '/',
71
+ [ 'Bold', 'Italic', 'Underline' ],
72
+ [ 'FontSize' ],
73
+ [ 'TextColor' ],
74
+ [ 'NumberedList', 'BulletedList', '-', 'Blockquote' ],
75
+ [ 'Maximize' ]
76
+ ],
77
+ // Strip CKEditor smileys to those commonly used in BBCode.
78
+ smiley_images: [
79
+ 'regular_smile.gif', 'sad_smile.gif', 'wink_smile.gif', 'teeth_smile.gif', 'tounge_smile.gif',
80
+ 'embaressed_smile.gif', 'omg_smile.gif', 'whatchutalkingabout_smile.gif', 'angel_smile.gif', 'shades_smile.gif',
81
+ 'cry_smile.gif', 'kiss.gif'
82
+ ],
83
+ smiley_descriptions: [
84
+ 'smiley', 'sad', 'wink', 'laugh', 'cheeky', 'blush', 'surprise',
85
+ 'indecision', 'angel', 'cool', 'crying', 'kiss'
86
+ ]
87
+ });
88
+
89
+ </script>
90
+ </p>
91
+ <p>
92
+ <input type="submit" value="Submit">
93
+ </p>
94
+ </form>
95
+ <div id="footer">
96
+ <hr>
97
+ <p>
98
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
99
+ </p>
100
+ <p id="copy">
101
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
102
+ Knabben. All rights reserved.
103
+ </p>
104
+ </div>
105
+ </body>
106
+ </html>
@@ -0,0 +1,80 @@
1
+ <!DOCTYPE html>
2
+ <!--
3
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
4
+ For licensing, see LICENSE.html or http://ckeditor.com/license
5
+ -->
6
+ <html>
7
+ <head>
8
+ <title>Using DevTools Plugin &mdash; CKEditor Sample</title>
9
+ <meta charset="utf-8">
10
+ <script src="../ckeditor.js"></script>
11
+ <link rel="stylesheet" href="sample.css">
12
+ </head>
13
+ <body>
14
+ <h1 class="samples">
15
+ <a href="index.html">CKEditor Samples</a> &raquo; Using the Developer Tools Plugin
16
+ </h1>
17
+ <div class="description">
18
+ <p>
19
+ This sample shows how to configure CKEditor instances to use the
20
+ <strong>Developer Tools</strong> (<code>devtools</code>) plugin that displays
21
+ information about dialog window elements, including the name of the dialog window,
22
+ tab, and UI element. Please note that the tooltip also contains a link to the
23
+ <a href="http://docs.cksource.com/ckeditor_api/">CKEditor JavaScript API</a>
24
+ documentation for each of the selected elements.
25
+ </p>
26
+ <p>
27
+ This plugin is aimed at developers who would like to customize their CKEditor
28
+ instances and create their own plugins. By default it is turned off; it is
29
+ usually useful to only turn it on in the development phase. Note that it works with
30
+ all CKEditor dialog windows, including the ones that were created by custom plugins.
31
+ </p>
32
+ <p>
33
+ To add a CKEditor instance using the <strong>devtools</strong> plugin, insert
34
+ the following JavaScript call into your code:
35
+ </p>
36
+ <pre class="samples">
37
+ CKEDITOR.replace( '<em>textarea_id</em>', {
38
+ <strong>extraPlugins: 'devtools'</strong>
39
+ });</pre>
40
+ <p>
41
+ Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
42
+ the <code>&lt;textarea&gt;</code> element to be replaced with CKEditor.
43
+ </p>
44
+ </div>
45
+ <form action="sample_posteddata.php" method="post">
46
+ <p>
47
+ <label for="editor1">
48
+ Editor 1:
49
+ </label>
50
+ <textarea cols="80" 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>
51
+ <script>
52
+
53
+ // This call can be placed at any point after the
54
+ // <textarea>, or inside a <head><script> in a
55
+ // window.onload event handler.
56
+
57
+ // Replace the <textarea id="editor"> with an CKEditor
58
+ // instance, using default configurations.
59
+ CKEDITOR.replace( 'editor1', {
60
+ extraPlugins : 'devtools'
61
+ });
62
+
63
+ </script>
64
+ </p>
65
+ <p>
66
+ <input type="submit" value="Submit">
67
+ </p>
68
+ </form>
69
+ <div id="footer">
70
+ <hr>
71
+ <p>
72
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
73
+ </p>
74
+ <p id="copy">
75
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
76
+ Knabben. All rights reserved.
77
+ </p>
78
+ </div>
79
+ </body>
80
+ </html>
@@ -0,0 +1,96 @@
1
+ <!DOCTYPE html>
2
+ <!--
3
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
4
+ For licensing, see LICENSE.html or http://ckeditor.com/license
5
+ -->
6
+ <html>
7
+ <head>
8
+ <title>Replace Textarea with a "DIV-based" editor &mdash; CKEditor Sample</title>
9
+ <meta charset="utf-8">
10
+ <script src="../ckeditor.js"></script>
11
+ <link href="sample.css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <h1 class="samples">
15
+ <a href="index.html">CKEditor Samples</a> &raquo; Replace Textarea with a "DIV-based" editor
16
+ </h1>
17
+ <form action="sample_posteddata.php" method="post">
18
+ <div class="description">
19
+ <p>
20
+ This editor is using a <code>&lt;div&gt;</code> element-based editing area, provided by the <strong>Divarea</strong> plugin.
21
+ </p>
22
+ <pre class="samples">
23
+ CKEDITOR.replace( '<em>textarea_id</em>', {
24
+ extraPlugins : 'divarea'
25
+ });</pre>
26
+ </div>
27
+ <textarea cols="80" id="editor1" name="editor1" rows="10">
28
+ &lt;h1&gt;
29
+ &lt;img alt="" src="http://a.cksource.com/c/1/inc/img/demo-little-red.jpg" style="margin-left: 10px; margin-right: 10px; float: left; width: 120px; height: 168px;" /&gt;Little Red Riding Hood&lt;/h1&gt;
30
+ &lt;p&gt;
31
+ &quot;&lt;b&gt;Little Red Riding Hood&lt;/b&gt;&quot; is a famous &lt;a href="http://en.wikipedia.org/wiki/Fairy_tale" title="Fairy tale"&gt;fairy tale&lt;/a&gt; about a young girl&#39;s encounter with a wolf. The story has been changed considerably in its history and subject to numerous modern adaptations and readings.&lt;/p&gt;
32
+ &lt;table align="right" cellpadding="1" cellspacing="1" style="width: 200px;"&gt;
33
+ &lt;caption&gt;
34
+ &lt;strong&gt;International Names&lt;/strong&gt;&lt;/caption&gt;
35
+ &lt;tbody&gt;
36
+ &lt;tr&gt;
37
+ &lt;td&gt;
38
+ Chinese&lt;/td&gt;
39
+ &lt;td&gt;
40
+ &lt;i&gt;小紅帽&lt;/i&gt;&lt;/td&gt;
41
+ &lt;/tr&gt;
42
+ &lt;tr&gt;
43
+ &lt;td&gt;
44
+ Italian&lt;/td&gt;
45
+ &lt;td&gt;
46
+ &lt;i&gt;Cappuccetto Rosso&lt;/i&gt;&lt;/td&gt;
47
+ &lt;/tr&gt;
48
+ &lt;tr&gt;
49
+ &lt;td&gt;
50
+ Spanish&lt;/td&gt;
51
+ &lt;td&gt;
52
+ &lt;i&gt;Caperucita Roja&lt;/i&gt;&lt;/td&gt;
53
+ &lt;/tr&gt;
54
+ &lt;/tbody&gt;
55
+ &lt;/table&gt;
56
+ &lt;p&gt;
57
+ The version most widely known today is based on the &lt;a href="http://en.wikipedia.org/wiki/Brothers_Grimm" title="Brothers Grimm"&gt;Brothers Grimm&lt;/a&gt; variant. It is about a girl called Little Red Riding Hood, after the red &lt;a href="http://en.wikipedia.org/wiki/Hood_%28headgear%29" title="Hood (headgear)"&gt;hooded&lt;/a&gt; &lt;a href="http://en.wikipedia.org/wiki/Cape" title="Cape"&gt;cape&lt;/a&gt; or &lt;a href="http://en.wikipedia.org/wiki/Cloak" title="Cloak"&gt;cloak&lt;/a&gt; she wears. The girl walks through the woods to deliver food to her sick grandmother.&lt;/p&gt;
58
+ &lt;p&gt;
59
+ A wolf wants to eat the girl but is afraid to do so in public. He approaches the girl, and she na&iuml;vely tells him where she is going. He suggests the girl pick some flowers, which she does. In the meantime, he goes to the grandmother&#39;s house and gains entry by pretending to be the girl. He swallows the grandmother whole, and waits for the girl, disguised as the grandmother.&lt;/p&gt;
60
+ &lt;p&gt;
61
+ When the girl arrives, she notices he looks very strange to be her grandma. In most retellings, this eventually culminates with Little Red Riding Hood saying, &quot;My, what big teeth you have!&quot;&lt;br /&gt;
62
+ To which the wolf replies, &quot;The better to eat you with,&quot; and swallows her whole, too.&lt;/p&gt;
63
+ &lt;p&gt;
64
+ A &lt;a href="http://en.wikipedia.org/wiki/Hunter" title="Hunter"&gt;hunter&lt;/a&gt;, however, comes to the rescue and cuts the wolf open. Little Red Riding Hood and her grandmother emerge unharmed. They fill the wolf&#39;s body with heavy stones, which drown him when he falls into a well. Other versions of the story have had the grandmother shut in the closet instead of eaten, and some have Little Red Riding Hood saved by the hunter as the wolf advances on her rather than after she is eaten.&lt;/p&gt;
65
+ &lt;p&gt;
66
+ The tale makes the clearest contrast between the safe world of the village and the dangers of the &lt;a href="http://en.wikipedia.org/wiki/Enchanted_forest" title="Enchanted forest"&gt;forest&lt;/a&gt;, conventional antitheses that are essentially medieval, though no written versions are as old as that.&lt;/p&gt;
67
+ </textarea>
68
+ <script>
69
+
70
+ // This call can be placed at any point after the
71
+ // <textarea>, or inside a <head><script> in a
72
+ // window.onload event handler.
73
+
74
+ // Replace the <textarea id="editor"> with an CKEditor
75
+ // instance, using default configurations.
76
+ CKEDITOR.replace( 'editor1', {
77
+ extraPlugins : 'divarea'
78
+ });
79
+
80
+ </script>
81
+ <p>
82
+ <input type="submit" value="Submit">
83
+ </p>
84
+ </form>
85
+ <div id="footer">
86
+ <hr>
87
+ <p>
88
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
89
+ </p>
90
+ <p id="copy">
91
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
92
+ Knabben. All rights reserved.
93
+ </p>
94
+ </div>
95
+ </body>
96
+ </html>