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,141 @@
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 DIV &mdash; CKEditor Sample</title>
9
+ <meta charset="utf-8">
10
+ <script src="../ckeditor.js"></script>
11
+ <link href="sample.css" rel="stylesheet">
12
+ <style>
13
+
14
+ div.editable
15
+ {
16
+ border: solid 2px Transparent;
17
+ padding-left: 15px;
18
+ padding-right: 15px;
19
+ }
20
+
21
+ div.editable:hover
22
+ {
23
+ border-color: black;
24
+ }
25
+
26
+ </style>
27
+ <script>
28
+
29
+ // Uncomment the following code to test the "Timeout Loading Method".
30
+ // CKEDITOR.loadFullCoreTimeout = 5;
31
+
32
+ window.onload = function() {
33
+ // Listen to the double click event.
34
+ if ( window.addEventListener )
35
+ document.body.addEventListener( 'dblclick', onDoubleClick, false );
36
+ else if ( window.attachEvent )
37
+ document.body.attachEvent( 'ondblclick', onDoubleClick );
38
+
39
+ };
40
+
41
+ function onDoubleClick( ev ) {
42
+ // Get the element which fired the event. This is not necessarily the
43
+ // element to which the event has been attached.
44
+ var element = ev.target || ev.srcElement;
45
+
46
+ // Find out the div that holds this element.
47
+ var name;
48
+
49
+ do {
50
+ element = element.parentNode;
51
+ }
52
+ while ( element && ( name = element.nodeName.toLowerCase() ) &&
53
+ ( name != 'div' || element.className.indexOf( 'editable' ) == -1 ) && name != 'body' );
54
+
55
+ if ( name == 'div' && element.className.indexOf( 'editable' ) != -1 )
56
+ replaceDiv( element );
57
+ }
58
+
59
+ var editor;
60
+
61
+ function replaceDiv( div ) {
62
+ if ( editor )
63
+ editor.destroy();
64
+
65
+ editor = CKEDITOR.replace( div );
66
+ }
67
+
68
+ </script>
69
+ </head>
70
+ <body>
71
+ <h1 class="samples">
72
+ <a href="index.html">CKEditor Samples</a> &raquo; Replace DIV with CKEditor on the Fly
73
+ </h1>
74
+ <div class="description">
75
+ <p>
76
+ This sample shows how to automatically replace <code>&lt;div&gt;</code> elements
77
+ with a CKEditor instance on the fly, following user's doubleclick. The content
78
+ that was previously placed inside the <code>&lt;div&gt;</code> element will now
79
+ be moved into CKEditor editing area.
80
+ </p>
81
+ <p>
82
+ For details on how to create this setup check the source code of this sample page.
83
+ </p>
84
+ </div>
85
+ <p>
86
+ Double-click any of the following <code>&lt;div&gt;</code> elements to transform them into
87
+ editor instances.
88
+ </p>
89
+ <div class="editable">
90
+ <h3>
91
+ Part 1
92
+ </h3>
93
+ <p>
94
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
95
+ semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
96
+ rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
97
+ nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
98
+ eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
99
+ </p>
100
+ </div>
101
+ <div class="editable">
102
+ <h3>
103
+ Part 2
104
+ </h3>
105
+ <p>
106
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
107
+ semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
108
+ rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
109
+ nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
110
+ eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
111
+ </p>
112
+ <p>
113
+ Donec velit. Mauris massa. Vestibulum non nulla. Nam suscipit arcu nec elit. Phasellus
114
+ sollicitudin iaculis ante. Ut non mauris et sapien tincidunt adipiscing. Vestibulum
115
+ vitae leo. Suspendisse nec mi tristique nulla laoreet vulputate.
116
+ </p>
117
+ </div>
118
+ <div class="editable">
119
+ <h3>
120
+ Part 3
121
+ </h3>
122
+ <p>
123
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
124
+ semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
125
+ rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
126
+ nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
127
+ eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
128
+ </p>
129
+ </div>
130
+ <div id="footer">
131
+ <hr>
132
+ <p>
133
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
134
+ </p>
135
+ <p id="copy">
136
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
137
+ Knabben. All rights reserved.
138
+ </p>
139
+ </div>
140
+ </body>
141
+ </html>
@@ -0,0 +1,99 @@
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>ENTER Key Configuration &mdash; CKEditor Sample</title>
9
+ <meta charset="utf-8">
10
+ <script src="../ckeditor.js"></script>
11
+ <link href="sample.css" rel="stylesheet">
12
+ <script>
13
+
14
+ var editor;
15
+
16
+ function changeEnter() {
17
+ // If we already have an editor, let's destroy it first.
18
+ if ( editor )
19
+ editor.destroy( true );
20
+
21
+ // Create the editor again, with the appropriate settings.
22
+ editor = CKEDITOR.replace( 'editor1', {
23
+ enterMode: Number( document.getElementById( 'xEnter' ).value ),
24
+ shiftEnterMode: Number( document.getElementById( 'xShiftEnter' ).value )
25
+ });
26
+ }
27
+
28
+ window.onload = changeEnter;
29
+
30
+ </script>
31
+ </head>
32
+ <body>
33
+ <h1 class="samples">
34
+ <a href="index.html">CKEditor Samples</a> &raquo; ENTER Key Configuration
35
+ </h1>
36
+ <div class="description">
37
+ <p>
38
+ This sample shows how to configure the <em>Enter</em> and <em>Shift+Enter</em> keys
39
+ to perform actions specified in the
40
+ <a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.enterMode"><code>enterMode</code></a>
41
+ and <a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.shiftEnterMode"><code>shiftEnterMode</code></a>
42
+ parameters, respectively.
43
+ You can choose from the following options:
44
+ </p>
45
+ <ul class="samples">
46
+ <li><strong><code>ENTER_P</code></strong> &ndash; new <code>&lt;p&gt;</code> paragraphs are created;</li>
47
+ <li><strong><code>ENTER_BR</code></strong> &ndash; lines are broken with <code>&lt;br&gt;</code> elements;</li>
48
+ <li><strong><code>ENTER_DIV</code></strong> &ndash; new <code>&lt;div&gt;</code> blocks are created.</li>
49
+ </ul>
50
+ <p>
51
+ The sample code below shows how to configure CKEditor to create a <code>&lt;div&gt;</code> block when <em>Enter</em> key is pressed.
52
+ </p>
53
+ <pre class="samples">
54
+ CKEDITOR.replace( '<em>textarea_id</em>', {
55
+ <strong>enterMode : CKEDITOR.ENTER_DIV</strong>
56
+ });</pre>
57
+ <p>
58
+ Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
59
+ the <code>&lt;textarea&gt;</code> element to be replaced.
60
+ </p>
61
+ </div>
62
+ <div style="float: left; margin-right: 20px">
63
+ When <em>Enter</em> is pressed:<br>
64
+ <select id="xEnter" onchange="changeEnter();">
65
+ <option selected="selected" value="1">Create a new &lt;P&gt; (recommended)</option>
66
+ <option value="3">Create a new &lt;DIV&gt;</option>
67
+ <option value="2">Break the line with a &lt;BR&gt;</option>
68
+ </select>
69
+ </div>
70
+ <div style="float: left">
71
+ When <em>Shift+Enter</em> is pressed:<br>
72
+ <select id="xShiftEnter" onchange="changeEnter();">
73
+ <option value="1">Create a new &lt;P&gt;</option>
74
+ <option value="3">Create a new &lt;DIV&gt;</option>
75
+ <option selected="selected" value="2">Break the line with a &lt;BR&gt; (recommended)</option>
76
+ </select>
77
+ </div>
78
+ <br style="clear: both">
79
+ <form action="sample_posteddata.php" method="post">
80
+ <p>
81
+ <br>
82
+ <textarea cols="80" id="editor1" name="editor1" rows="10">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;.</textarea>
83
+ </p>
84
+ <p>
85
+ <input type="submit" value="Submit">
86
+ </p>
87
+ </form>
88
+ <div id="footer">
89
+ <hr>
90
+ <p>
91
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
92
+ </p>
93
+ <p id="copy">
94
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
95
+ Knabben. All rights reserved.
96
+ </p>
97
+ </div>
98
+ </body>
99
+ </html>
@@ -0,0 +1,109 @@
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>Full Page Editing with Document Properties 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; Full Page Editing with Document Properties Plugin
16
+ </h1>
17
+ <div class="description">
18
+ <p>
19
+ This sample shows how to configure CKEditor to edit entire HTML pages, from the
20
+ <code>&lt;html&gt;</code> tag to the <code>&lt;/html&gt;</code> tag.
21
+ </p>
22
+ <p>
23
+ The <strong>Document Properties</strong> (<code>docprops</code>) plugin is also turned on.
24
+ This plugin allows you to set the metadata of the page, including the page encoding, margins,
25
+ meta tags, or background.
26
+ </p>
27
+ <p>
28
+ The CKEditor instance below is inserted with a JavaScript call using the following code:
29
+ </p>
30
+ <pre class="samples">
31
+ CKEDITOR.replace( '<em>textarea_id</em>',
32
+ {
33
+ <strong>fullPage : true,
34
+ extraPlugins : 'docprops'</strong>
35
+ });</pre>
36
+ <p>
37
+ Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
38
+ the <code>&lt;textarea&gt;</code> element to be replaced.
39
+ </p>
40
+ </div>
41
+ <form action="sample_posteddata.php" method="post">
42
+ <label for="editor1">
43
+ CKEditor using the <code>docprops</code> plugin and working in the Full Page mode:
44
+ </label>
45
+ <textarea cols="80" id="editor1" name="editor1" rows="10">
46
+ &lt;h1&gt;
47
+ &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;
48
+ &lt;p&gt;
49
+ &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;
50
+ &lt;table align="right" cellpadding="1" cellspacing="1" style="width: 200px;"&gt;
51
+ &lt;caption&gt;
52
+ &lt;strong&gt;International Names&lt;/strong&gt;&lt;/caption&gt;
53
+ &lt;tbody&gt;
54
+ &lt;tr&gt;
55
+ &lt;td&gt;
56
+ Chinese&lt;/td&gt;
57
+ &lt;td&gt;
58
+ &lt;i&gt;小紅帽&lt;/i&gt;&lt;/td&gt;
59
+ &lt;/tr&gt;
60
+ &lt;tr&gt;
61
+ &lt;td&gt;
62
+ Italian&lt;/td&gt;
63
+ &lt;td&gt;
64
+ &lt;i&gt;Cappuccetto Rosso&lt;/i&gt;&lt;/td&gt;
65
+ &lt;/tr&gt;
66
+ &lt;tr&gt;
67
+ &lt;td&gt;
68
+ Spanish&lt;/td&gt;
69
+ &lt;td&gt;
70
+ &lt;i&gt;Caperucita Roja&lt;/i&gt;&lt;/td&gt;
71
+ &lt;/tr&gt;
72
+ &lt;/tbody&gt;
73
+ &lt;/table&gt;
74
+ &lt;p&gt;
75
+ 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;
76
+ &lt;p&gt;
77
+ 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;
78
+ &lt;p&gt;
79
+ 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;
80
+ To which the wolf replies, &quot;The better to eat you with,&quot; and swallows her whole, too.&lt;/p&gt;
81
+ &lt;p&gt;
82
+ 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;
83
+ &lt;p&gt;
84
+ 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;
85
+ </textarea>
86
+ <script>
87
+
88
+ CKEDITOR.replace( 'editor1', {
89
+ fullPage : true,
90
+ extraPlugins : 'docprops'
91
+ });
92
+
93
+ </script>
94
+ <p>
95
+ <input type="submit" value="Submit">
96
+ </p>
97
+ </form>
98
+ <div id="footer">
99
+ <hr>
100
+ <p>
101
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
102
+ </p>
103
+ <p id="copy">
104
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
105
+ Knabben. All rights reserved.
106
+ </p>
107
+ </div>
108
+ </body>
109
+ </html>
@@ -0,0 +1,133 @@
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>CKEditor Samples</title>
9
+ <meta charset="utf-8">
10
+ <link rel="stylesheet" href="sample.css">
11
+ </head>
12
+ <body>
13
+ <h1 class="samples">
14
+ CKEditor Samples
15
+ </h1>
16
+ <div class="twoColumns">
17
+ <div class="twoColumnsLeft">
18
+ <h2 class="samples">
19
+ Basic Samples
20
+ </h2>
21
+ <dl class="samples">
22
+ <dt><a class="samples" href="replacebyclass.html">Replace textarea elements by class name</a></dt>
23
+ <dd>Automatic replacement of all textarea elements of a given class with a CKEditor instance.</dd>
24
+
25
+ <dt><a class="samples" href="replacebycode.html">Replace textarea elements by code</a></dt>
26
+ <dd>Replacement of textarea elements with CKEditor instances by using a JavaScript call.</dd>
27
+
28
+ <dt><a class="samples" href="divarea.html">Replace textarea with a "DIV-based" editor</a> <span class="new">New!</span></dt>
29
+ <dd>Using <code>div</code> instead of <code>iframe</code> for rich editing.</dd>
30
+
31
+ <dt><a class="samples" href="fullpage.html">Full page support with the Document Properties plugin</a></dt>
32
+ <dd>CKEditor inserted with a JavaScript call and used to edit the whole page from <code>&lt;html&gt;</code> to <code>&lt;/html&gt;</code>.</dd>
33
+ </dl>
34
+
35
+ <h2 class="samples">
36
+ Basic Customization
37
+ </h2>
38
+ <dl class="samples">
39
+ <dt><a class="samples" href="uicolor.html">User Interface color</a></dt>
40
+ <dd>Changing CKEditor User Interface color and adding a toolbar button that lets the user set the UI color.</dd>
41
+
42
+ <dt><a class="samples" href="uilanguages.html">User Interface languages</a></dt>
43
+ <dd>Changing CKEditor User Interface language and adding a drop-down list that lets the user choose the UI language.</dd>
44
+ </dl>
45
+
46
+ <h2 class="samples">
47
+ Additional plugins
48
+ </h2>
49
+ <dl class="samples">
50
+ <dt><a class="samples" href="autogrow.html">AutoGrow plugin</a></dt>
51
+ <dd>Using the AutoGrow plugin in order to make the editor grow to fit the size of its content.</dd>
52
+
53
+ <dt><a class="samples" href="bbcode.html">Output for BBCode</a></dt>
54
+ <dd>Configuring CKEditor to produce BBCode tags instead of HTML.</dd>
55
+
56
+ <dt><a class="samples" href="stylesheetparser.html">Stylesheet Parser plugin</a></dt>
57
+ <dd>Using the Stylesheet Parser plugin to fill the Styles drop-down list based on the CSS classes available in the document stylesheet.</dd>
58
+
59
+ <dt><a class="samples" href="devtools.html">Developer Tools plugin</a></dt>
60
+ <dd>Using the Developer Tools plugin to display information about dialog window UI elements to allow for easier customization.</dd>
61
+
62
+ <dt><a class="samples" href="placeholder.html">Placeholder plugin</a></dt>
63
+ <dd>Using the Placeholder plugin to create uneditable sections that can only be created and modified with a proper dialog window.</dd>
64
+
65
+ <dt><a class="samples" href="tableresize.html">TableResize plugin</a></dt>
66
+ <dd>Using the TableResize plugin to enable table column resizing.</dd>
67
+
68
+ <dt><a class="samples" href="magicline.html">Magicline plugin</a> <span class="new">New!</span></dt>
69
+ <dd>Using the Magicline plugin to access difficult focus spaces.</dd>
70
+ </dl>
71
+ </div>
72
+ <div class="twoColumnsRight">
73
+ <h2 class="samples">
74
+ Inline editing <span class="new">New!</span>
75
+ </h2>
76
+ <dl class="samples">
77
+ <dt><a class="samples" href="inlineall.html">Massive inline editor creation</a> <span class="new">New!</span></dt>
78
+ <dd>Turn all elements with <code>contentEditable = true</code> attribute into inline editors.</dd>
79
+
80
+ <dt><a class="samples" href="inlinebycode.html">Convert element into an inline editor by code</a> <span class="new">New!</span></dt>
81
+ <dd>Conversion of DOM elements into inline CKEditor instances by using a JavaScript call.</dd>
82
+ </dl>
83
+
84
+ <h2 class="samples">
85
+ Advanced Samples
86
+ </h2>
87
+ <dl class="samples">
88
+ <dt><a class="samples" href="divreplace.html">Replace DIV elements on the fly</a></dt>
89
+ <dd>Transforming a <code>div</code> element into an instance of CKEditor with a mouse click.</dd>
90
+
91
+ <dt><a class="samples" href="appendto.html">Append editor instances</a></dt>
92
+ <dd>Appending editor instances to existing DOM elements.</dd>
93
+
94
+ <dt><a class="samples" href="ajax.html">Create and destroy editor instances for Ajax applications</a></dt>
95
+ <dd>Creating and destroying CKEditor instances on the fly and saving the contents entered into the editor window.</dd>
96
+
97
+ <dt><a class="samples" href="api.html">Basic usage of the API</a></dt>
98
+ <dd>Using the CKEditor JavaScript API to interact with the editor at runtime.</dd>
99
+
100
+ <dt><a class="samples" href="apidialog.html">Using the JavaScript API to customize dialog windows</a></dt>
101
+ <dd>Using the dialog windows API to customize dialog windows without changing the original editor code.</dd>
102
+
103
+ <dt><a class="samples" href="enterkey.html">Using the "Enter" key in CKEditor</a></dt>
104
+ <dd>Configuring the behavior of <em>Enter</em> and <em>Shift+Enter</em> keys.</dd>
105
+
106
+ <dt><a class="samples" href="outputxhtml.html">Output XHTML</a></dt>
107
+ <dd>Configuring CKEditor to produce XHTML 1.1 compliant code.</dd>
108
+
109
+ <dt><a class="samples" href="outputhtml.html">Output HTML</a></dt>
110
+ <dd>Configuring CKEditor to produce legacy HTML 4 code.</dd>
111
+
112
+ <dt><a class="samples" href="outputforflash.html">Output for Flash</a></dt>
113
+ <dd>Configuring CKEditor to produce HTML code that can be used with Adobe Flash.</dd>
114
+
115
+ <dt><a class="samples" href="readonly.html">Read-only mode</a></dt>
116
+ <dd>Using the readOnly API to block introducing changes to the editor contents.</dd>
117
+
118
+ <dt><a class="samples" href="tabindex.html">"Tab" key-based navigation</a> <span class="new">New!</span></dt>
119
+ <dd>Navigating among editor instances with tab key.</dd>
120
+ </dl>
121
+ </div>
122
+ </div>
123
+ <div id="footer">
124
+ <hr>
125
+ <p>
126
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
127
+ </p>
128
+ <p id="copy">
129
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
130
+ </p>
131
+ </div>
132
+ </body>
133
+ </html>