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,217 @@
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>XHTML Compliant Output &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; Producing XHTML Compliant Output
16
+ </h1>
17
+ <div class="description">
18
+ <p>
19
+ This sample shows how to configure CKEditor to output valid
20
+ <a class="samples" href="http://www.w3.org/TR/xhtml11/">XHTML 1.1</a> code.
21
+ Deprecated elements (<code>&lt;font&gt;</code>, <code>&lt;u&gt;</code>) or attributes
22
+ (<code>size</code>, <code>face</code>) will be replaced with XHTML compliant code.
23
+ </p>
24
+ <p>
25
+ To add a CKEditor instance outputting valid XHTML code, load the editor using a standard
26
+ JavaScript call and define CKEditor features to use the XHTML compliant elements and styles.
27
+ </p>
28
+ <p>
29
+ A snippet of the configuration code can be seen below; check the source of this page for
30
+ full definition:
31
+ </p>
32
+ <pre class="samples">
33
+ CKEDITOR.replace( '<em>textarea_id</em>', {
34
+ contentsCss: 'assets/outputxhtml.css',
35
+
36
+ coreStyles_bold: {
37
+ element: 'span',
38
+ attributes: { 'class': 'Bold' }
39
+ },
40
+ coreStyles_italic: {
41
+ element: 'span',
42
+ attributes: { 'class': 'Italic' }
43
+ },
44
+
45
+ ...
46
+ });</pre>
47
+ </div>
48
+ <form action="sample_posteddata.php" method="post">
49
+ <p>
50
+ <label for="editor1">
51
+ Editor 1:
52
+ </label>
53
+ <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;span class="Bold"&gt;sample text&lt;/span&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
54
+ <script>
55
+
56
+ CKEDITOR.replace( 'editor1', {
57
+ /*
58
+ * Style sheet for the contents
59
+ */
60
+ contentsCss: 'assets/outputxhtml/outputxhtml.css',
61
+
62
+ /*
63
+ * Core styles.
64
+ */
65
+ coreStyles_bold: {
66
+ element: 'span',
67
+ attributes: { 'class': 'Bold' }
68
+ },
69
+ coreStyles_italic: {
70
+ element: 'span',
71
+ attributes: { 'class': 'Italic' }
72
+ },
73
+ coreStyles_underline: {
74
+ element: 'span',
75
+ attributes: { 'class': 'Underline' }
76
+ },
77
+ coreStyles_strike: {
78
+ element: 'span',
79
+ attributes: { 'class': 'StrikeThrough' },
80
+ overrides: 'strike'
81
+ },
82
+ coreStyles_subscript: {
83
+ element: 'span',
84
+ attributes: { 'class': 'Subscript' },
85
+ overrides: 'sub'
86
+ },
87
+ coreStyles_superscript: {
88
+ element: 'span',
89
+ attributes: { 'class': 'Superscript' },
90
+ overrides: 'sup'
91
+ },
92
+
93
+ /*
94
+ * Font face.
95
+ */
96
+
97
+ // List of fonts available in the toolbar combo. Each font definition is
98
+ // separated by a semi-colon (;). We are using class names here, so each font
99
+ // is defined by {Combo Label}/{Class Name}.
100
+ font_names : 'Comic Sans MS/FontComic;Courier New/FontCourier;Times New Roman/FontTimes',
101
+
102
+ // Define the way font elements will be applied to the document. The "span"
103
+ // element will be used. When a font is selected, the font name defined in the
104
+ // above list is passed to this definition with the name "Font", being it
105
+ // injected in the "class" attribute.
106
+ // We must also instruct the editor to replace span elements that are used to
107
+ // set the font (Overrides).
108
+ font_style: {
109
+ element: 'span',
110
+ attributes: { 'class': '#(family)' },
111
+ overrides: [
112
+ {
113
+ element: 'span',
114
+ attributes: {
115
+ 'class': /^Font(?:Comic|Courier|Times)$/
116
+ }
117
+ }
118
+ ]
119
+ },
120
+
121
+ /*
122
+ * Font sizes.
123
+ */
124
+ fontSize_sizes: 'Smaller/FontSmaller;Larger/FontLarger;8pt/FontSmall;14pt/FontBig;Double Size/FontDouble',
125
+ fontSize_style: {
126
+ element: 'span',
127
+ attributes: { 'class' : '#(size)' },
128
+ overrides: [
129
+ {
130
+ element: 'span',
131
+ attributes: {
132
+ 'class' : /^Font(?:Smaller|Larger|Small|Big|Double)$/
133
+ }
134
+ }
135
+ ]
136
+ } ,
137
+
138
+ /*
139
+ * Font colors.
140
+ */
141
+ colorButton_enableMore : false,
142
+
143
+ colorButton_colors: 'FontColor1/FF9900,FontColor2/0066CC,FontColor3/F00',
144
+ colorButton_foreStyle: {
145
+ element: 'span',
146
+ attributes: { 'class' : '#(color)' },
147
+ overrides: [
148
+ {
149
+ element: 'span',
150
+ attributes: {
151
+ 'class': /^FontColor(?:1|2|3)$/
152
+ }
153
+ }
154
+ ]
155
+ },
156
+
157
+ colorButton_backStyle: {
158
+ element : 'span',
159
+ attributes: { 'class': '#(color)BG' },
160
+ overrides: [
161
+ {
162
+ element : 'span',
163
+ attributes : {
164
+ 'class' : /^FontColor(?:1|2|3)BG$/
165
+ }
166
+ }
167
+ ]
168
+ },
169
+
170
+ /*
171
+ * Indentation.
172
+ */
173
+ indentClasses: [ 'Indent1', 'Indent2', 'Indent3' ],
174
+
175
+ /*
176
+ * Paragraph justification.
177
+ */
178
+ justifyClasses: [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyFull' ],
179
+
180
+ /*
181
+ * Styles combo.
182
+ */
183
+ stylesSet: [
184
+ { name: 'Strong Emphasis', element: 'strong' },
185
+ { name: 'Emphasis', element: 'em' },
186
+
187
+ { name: 'Computer Code', element: 'code' },
188
+ { name: 'Keyboard Phrase', element: 'kbd' },
189
+ { name: 'Sample Text', element: 'samp' },
190
+ { name: 'Variable', element: 'var' },
191
+
192
+ { name: 'Deleted Text', element: 'del' },
193
+ { name: 'Inserted Text', element: 'ins' },
194
+
195
+ { name: 'Cited Work', element: 'cite' },
196
+ { name: 'Inline Quotation', element: 'q' }
197
+ ]
198
+ });
199
+
200
+ </script>
201
+ </p>
202
+ <p>
203
+ <input type="submit" value="Submit">
204
+ </p>
205
+ </form>
206
+ <div id="footer">
207
+ <hr>
208
+ <p>
209
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
210
+ </p>
211
+ <p id="copy">
212
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
213
+ Knabben. All rights reserved.
214
+ </p>
215
+ </div>
216
+ </body>
217
+ </html>
@@ -0,0 +1,69 @@
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>Placeholder 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 Placeholder Plugin
16
+ </h1>
17
+ <div class="description">
18
+ <p>
19
+ This sample shows how to configure CKEditor instances to use the
20
+ <strong>Placeholder</strong> plugin that lets you insert read-only elements
21
+ into your content. To enter and modify read-only text, use the
22
+ <strong>Create Placeholder</strong> button and its matching dialog window.
23
+ </p>
24
+ <p>
25
+ To add a CKEditor instance that uses the <code>placeholder</code> plugin and a related
26
+ <strong>Create Placeholder</strong> toolbar button, insert the following JavaScript
27
+ call to your code:
28
+ </p>
29
+ <pre class="samples">
30
+ CKEDITOR.replace( '<em>textarea_id</em>', {
31
+ <strong>extraPlugins: 'placeholder',</strong>
32
+ toolbar: [ [ 'Source', 'Bold' ], [<strong>'CreatePlaceholder'</strong>] ]
33
+ });</pre>
34
+ <p>
35
+ Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
36
+ the <code>&lt;textarea&gt;</code> element to be replaced with CKEditor.
37
+ </p>
38
+ </div>
39
+ <form action="sample_posteddata.php" method="post">
40
+ <p>
41
+ <label for="editor1">
42
+ CKEditor using the <code>placeholder</code> plugin with its default configuration:
43
+ </label>
44
+ <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is a [[sample placeholder]]. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;. &lt;/p&gt;</textarea>
45
+ <script>
46
+
47
+ CKEDITOR.replace( 'editor1', {
48
+ extraPlugins: 'placeholder',
49
+ toolbar: [ [ 'Source', 'CreatePlaceholder' ] ]
50
+ });
51
+
52
+ </script>
53
+ </p>
54
+ <p>
55
+ <input type="submit" value="Submit">
56
+ </p>
57
+ </form>
58
+ <div id="footer">
59
+ <hr>
60
+ <p>
61
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
62
+ </p>
63
+ <p id="copy">
64
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
65
+ Knabben. All rights reserved.
66
+ </p>
67
+ </div>
68
+ </body>
69
+ </html>
@@ -0,0 +1,73 @@
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 the CKEditor Read-Only API &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;
15
+
16
+ // The instanceReady event is fired, when an instance of CKEditor has finished
17
+ // its initialization.
18
+ CKEDITOR.on( 'instanceReady', function( ev ) {
19
+ editor = ev.editor;
20
+
21
+ // Show this "on" button.
22
+ document.getElementById( 'readOnlyOn' ).style.display = '';
23
+
24
+ // Event fired when the readOnly property changes.
25
+ editor.on( 'readOnly', function() {
26
+ document.getElementById( 'readOnlyOn' ).style.display = this.readOnly ? 'none' : '';
27
+ document.getElementById( 'readOnlyOff' ).style.display = this.readOnly ? '' : 'none';
28
+ });
29
+ });
30
+
31
+ function toggleReadOnly( isReadOnly ) {
32
+ // Change the read-only state of the editor.
33
+ // http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setReadOnly
34
+ editor.setReadOnly( isReadOnly );
35
+ }
36
+
37
+ </script>
38
+ </head>
39
+ <body>
40
+ <h1 class="samples">
41
+ <a href="index.html">CKEditor Samples</a> &raquo; Using the CKEditor Read-Only API
42
+ </h1>
43
+ <div class="description">
44
+ <p>
45
+ This sample shows how to use the
46
+ <code><a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setReadOnly">setReadOnly</a></code>
47
+ API to put editor into the read-only state that makes it impossible for users to change the editor contents.
48
+ </p>
49
+ <p>
50
+ For details on how to create this setup check the source code of this sample page.
51
+ </p>
52
+ </div>
53
+ <form action="sample_posteddata.php" method="post">
54
+ <p>
55
+ <textarea class="ckeditor" id="editor1" name="editor1" cols="100" 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>
56
+ </p>
57
+ <p>
58
+ <input id="readOnlyOn" onclick="toggleReadOnly();" type="button" value="Make it read-only" style="display:none">
59
+ <input id="readOnlyOff" onclick="toggleReadOnly( false );" type="button" value="Make it editable again" style="display:none">
60
+ </p>
61
+ </form>
62
+ <div id="footer">
63
+ <hr>
64
+ <p>
65
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
66
+ </p>
67
+ <p id="copy">
68
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
69
+ Knabben. All rights reserved.
70
+ </p>
71
+ </div>
72
+ </body>
73
+ </html>
@@ -0,0 +1,95 @@
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 Textareas by Class Name &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; Replace Textarea Elements by Class Name
16
+ </h1>
17
+ <div class="description">
18
+ <p>
19
+ This sample shows how to automatically replace all <code>&lt;textarea&gt;</code> elements
20
+ of a given class with a CKEditor instance.
21
+ </p>
22
+ <p>
23
+ To replace a <code>&lt;textarea&gt;</code> element, simply assign it the <code>ckeditor</code>
24
+ class, as in the code below:
25
+ </p>
26
+ <pre class="samples">
27
+ &lt;textarea <strong>class="ckeditor</strong>" name="editor1"&gt;&lt;/textarea&gt;
28
+ </pre>
29
+ <p>
30
+ Note that other <code>&lt;textarea&gt;</code> attributes (like <code>id</code> or <code>name</code>) need to be adjusted to your document.
31
+ </p>
32
+ </div>
33
+ <form action="sample_posteddata.php" method="post">
34
+ <p>
35
+ <label for="editor1">
36
+ Editor 1:
37
+ </label>
38
+ <textarea class="ckeditor" cols="80" id="editor1" name="editor1" rows="10">
39
+ &lt;h1&gt;
40
+ &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;
41
+ &lt;p&gt;
42
+ &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;
43
+ &lt;table align="right" cellpadding="1" cellspacing="1" style="width: 200px;"&gt;
44
+ &lt;caption&gt;
45
+ &lt;strong&gt;International Names&lt;/strong&gt;&lt;/caption&gt;
46
+ &lt;tbody&gt;
47
+ &lt;tr&gt;
48
+ &lt;td&gt;
49
+ Chinese&lt;/td&gt;
50
+ &lt;td&gt;
51
+ &lt;i&gt;小紅帽&lt;/i&gt;&lt;/td&gt;
52
+ &lt;/tr&gt;
53
+ &lt;tr&gt;
54
+ &lt;td&gt;
55
+ Italian&lt;/td&gt;
56
+ &lt;td&gt;
57
+ &lt;i&gt;Cappuccetto Rosso&lt;/i&gt;&lt;/td&gt;
58
+ &lt;/tr&gt;
59
+ &lt;tr&gt;
60
+ &lt;td&gt;
61
+ Spanish&lt;/td&gt;
62
+ &lt;td&gt;
63
+ &lt;i&gt;Caperucita Roja&lt;/i&gt;&lt;/td&gt;
64
+ &lt;/tr&gt;
65
+ &lt;/tbody&gt;
66
+ &lt;/table&gt;
67
+ &lt;p&gt;
68
+ 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;
69
+ &lt;p&gt;
70
+ 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;
71
+ &lt;p&gt;
72
+ 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;
73
+ To which the wolf replies, &quot;The better to eat you with,&quot; and swallows her whole, too.&lt;/p&gt;
74
+ &lt;p&gt;
75
+ 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;
76
+ &lt;p&gt;
77
+ 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;
78
+ </textarea>
79
+ </p>
80
+ <p>
81
+ <input type="submit" value="Submit">
82
+ </p>
83
+ </form>
84
+ <div id="footer">
85
+ <hr>
86
+ <p>
87
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
88
+ </p>
89
+ <p id="copy">
90
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
91
+ Knabben. All rights reserved.
92
+ </p>
93
+ </div>
94
+ </body>
95
+ </html>