fullstack-ckeditor 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (256) hide show
  1. data/Gemfile +8 -0
  2. data/Gemfile.lock +94 -0
  3. data/README.md +28 -0
  4. data/Rakefile +53 -0
  5. data/VERSION +1 -0
  6. data/app/assets/javascripts/fullstack/ckeditor.js.coffee +6 -0
  7. data/app/assets/javascripts/fullstack/ckeditor/ckeditor.js +873 -0
  8. data/app/inputs/markup_input.rb +12 -0
  9. data/app/models/ckeditor/asset.rb +4 -0
  10. data/app/models/ckeditor/attachment_file.rb +10 -0
  11. data/app/models/ckeditor/picture.rb +10 -0
  12. data/fullstack-ckeditor.gemspec +299 -0
  13. data/lib/fullstack-ckeditor.rb +23 -0
  14. data/lib/fullstack/ckeditor.rb +5 -0
  15. data/lib/fullstack/ckeditor/engine.rb +9 -0
  16. data/lib/generators/fullstack/ckeditor/install_generator.rb +12 -0
  17. data/lib/generators/fullstack/ckeditor/templates/ckeditor/config.js +10 -0
  18. data/lib/generators/fullstack/ckeditor/templates/ckeditor/contents.css +99 -0
  19. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/af.js +5 -0
  20. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ar.js +5 -0
  21. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/bg.js +5 -0
  22. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/bn.js +5 -0
  23. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/bs.js +5 -0
  24. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ca.js +5 -0
  25. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/cs.js +5 -0
  26. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/cy.js +5 -0
  27. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/da.js +5 -0
  28. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/de.js +5 -0
  29. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/el.js +5 -0
  30. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/en-au.js +5 -0
  31. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/en-ca.js +5 -0
  32. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/en-gb.js +5 -0
  33. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/en.js +5 -0
  34. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/eo.js +5 -0
  35. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/es.js +5 -0
  36. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/et.js +5 -0
  37. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/eu.js +5 -0
  38. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/fa.js +5 -0
  39. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/fi.js +5 -0
  40. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/fo.js +5 -0
  41. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/fr-ca.js +5 -0
  42. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/fr.js +5 -0
  43. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/gl.js +5 -0
  44. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/gu.js +5 -0
  45. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/he.js +5 -0
  46. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/hi.js +5 -0
  47. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/hr.js +5 -0
  48. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/hu.js +5 -0
  49. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/is.js +5 -0
  50. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/it.js +5 -0
  51. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ja.js +5 -0
  52. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ka.js +5 -0
  53. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/km.js +5 -0
  54. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ko.js +5 -0
  55. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ku.js +5 -0
  56. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/lt.js +5 -0
  57. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/lv.js +5 -0
  58. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/mk.js +5 -0
  59. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/mn.js +5 -0
  60. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ms.js +5 -0
  61. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/nb.js +5 -0
  62. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/nl.js +5 -0
  63. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/no.js +5 -0
  64. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/pl.js +5 -0
  65. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/pt-br.js +5 -0
  66. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/pt.js +5 -0
  67. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ro.js +5 -0
  68. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ru.js +5 -0
  69. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/sk.js +5 -0
  70. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/sl.js +5 -0
  71. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/sr-latn.js +5 -0
  72. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/sr.js +5 -0
  73. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/sv.js +5 -0
  74. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/th.js +5 -0
  75. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/tr.js +5 -0
  76. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ug.js +5 -0
  77. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/uk.js +5 -0
  78. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/vi.js +5 -0
  79. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/zh-cn.js +5 -0
  80. data/lib/generators/fullstack/ckeditor/templates/ckeditor/lang/zh.js +5 -0
  81. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -0
  82. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
  83. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +9 -0
  84. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -0
  85. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +9 -0
  86. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -0
  87. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +9 -0
  88. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -0
  89. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +10 -0
  90. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +10 -0
  91. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +9 -0
  92. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +10 -0
  93. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +10 -0
  94. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +9 -0
  95. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +9 -0
  96. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +10 -0
  97. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +10 -0
  98. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +9 -0
  99. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +9 -0
  100. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +9 -0
  101. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -0
  102. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +9 -0
  103. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +10 -0
  104. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +9 -0
  105. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +10 -0
  106. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +9 -0
  107. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +10 -0
  108. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -0
  109. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +9 -0
  110. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -0
  111. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +10 -0
  112. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +9 -0
  113. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +9 -0
  114. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -0
  115. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +9 -0
  116. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +9 -0
  117. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +9 -0
  118. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +10 -0
  119. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +9 -0
  120. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +10 -0
  121. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +10 -0
  122. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +9 -0
  123. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +9 -0
  124. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +9 -0
  125. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
  126. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/about/dialogs/about.js +6 -0
  127. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  128. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
  129. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -0
  130. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  131. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/div/dialogs/div.js +9 -0
  132. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/fakeobjects/images/spacer.gif +0 -0
  133. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/find/dialogs/find.js +24 -0
  134. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/flash/dialogs/flash.js +23 -0
  135. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/flash/images/placeholder.png +0 -0
  136. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/button.js +8 -0
  137. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/checkbox.js +8 -0
  138. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/form.js +8 -0
  139. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -0
  140. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/radio.js +8 -0
  141. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/select.js +20 -0
  142. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/textarea.js +8 -0
  143. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/textfield.js +10 -0
  144. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  145. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/icons.png +0 -0
  146. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/iframe/dialogs/iframe.js +10 -0
  147. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  148. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/image/dialogs/image.js +41 -0
  149. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/image/images/noimage.png +0 -0
  150. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/link/dialogs/anchor.js +8 -0
  151. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/link/dialogs/link.js +36 -0
  152. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/link/images/anchor.png +0 -0
  153. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
  154. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/magicline/images/icon.png +0 -0
  155. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  156. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/pastefromword/filter/default.js +31 -0
  157. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/preview/preview.html +10 -0
  158. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/scayt/LICENSE.md +28 -0
  159. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/scayt/README.md +25 -0
  160. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/scayt/dialogs/options.js +19 -0
  161. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
  162. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  163. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  164. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  165. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  166. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  167. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  168. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  169. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  170. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  171. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  172. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  173. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/dialogs/smiley.js +10 -0
  174. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  175. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  176. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  177. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  178. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  179. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  180. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  181. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  182. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  183. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/heart.gif +0 -0
  184. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  185. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  186. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  187. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  188. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  189. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  190. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  191. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  192. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  193. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  194. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  195. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  196. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  197. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
  198. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/ca.js +13 -0
  199. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
  200. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
  201. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
  202. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
  203. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
  204. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
  205. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
  206. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/fa.js +13 -0
  207. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
  208. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
  209. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/he.js +13 -0
  210. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
  211. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
  212. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/ku.js +14 -0
  213. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
  214. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
  215. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
  216. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
  217. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
  218. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
  219. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
  220. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
  221. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
  222. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
  223. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -0
  224. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/table/dialogs/table.js +20 -0
  225. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/tabletools/dialogs/tableCell.js +16 -0
  226. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/templates/dialogs/templates.css +84 -0
  227. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/templates/dialogs/templates.js +10 -0
  228. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/templates/templates/default.js +6 -0
  229. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  230. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  231. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  232. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/wsc/LICENSE.md +28 -0
  233. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/wsc/README.md +25 -0
  234. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
  235. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  236. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/wsc/dialogs/wsc.css +82 -0
  237. data/lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/wsc/dialogs/wsc.js +11 -0
  238. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/dialog.css +5 -0
  239. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/dialog_ie.css +5 -0
  240. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/dialog_ie7.css +5 -0
  241. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/dialog_ie8.css +5 -0
  242. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/dialog_iequirks.css +5 -0
  243. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/dialog_opera.css +5 -0
  244. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/editor.css +5 -0
  245. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/editor_gecko.css +5 -0
  246. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/editor_ie.css +5 -0
  247. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/editor_ie7.css +5 -0
  248. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/editor_ie8.css +5 -0
  249. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/editor_iequirks.css +5 -0
  250. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/icons.png +0 -0
  251. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/images/arrow.png +0 -0
  252. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/images/close.png +0 -0
  253. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/images/mini.png +0 -0
  254. data/lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/readme.md +51 -0
  255. data/lib/generators/fullstack/ckeditor/templates/ckeditor/styles.js +112 -0
  256. metadata +352 -0
@@ -0,0 +1,12 @@
1
+ class MarkupInput < FormtasticBootstrap::Inputs::TextInput
2
+
3
+ def input_html_options
4
+ super.merge(:class => "markup-ckeditor")
5
+ end
6
+
7
+ def wrapper_html_options
8
+ super.merge(:class => "mb1")
9
+ end
10
+
11
+
12
+ end
@@ -0,0 +1,4 @@
1
+ class Ckeditor::Asset < ActiveRecord::Base
2
+ include Ckeditor::Orm::ActiveRecord::AssetBase
3
+ include Ckeditor::Backend::Paperclip
4
+ end
@@ -0,0 +1,10 @@
1
+ class Ckeditor::AttachmentFile < Ckeditor::Asset
2
+ has_attached :data
3
+
4
+ validates_attachment_size :data, :less_than => 100.megabytes
5
+ validates_attachment_presence :data
6
+
7
+ def url_thumb
8
+ @url_thumb ||= Ckeditor::Utils.filethumb(filename)
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ class Ckeditor::Picture < Ckeditor::Asset
2
+ has_attached :data, :styles => { :content => '800>', :thumb => '118x100#' }
3
+
4
+ validates_attachment_size :data, :less_than => 2.megabytes
5
+ validates_attachment_presence :data
6
+
7
+ def url_content
8
+ url(:content)
9
+ end
10
+ end
@@ -0,0 +1,299 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "fullstack-ckeditor"
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["mcasimir"]
12
+ s.date = "2013-01-22"
13
+ s.description = "ckeditor gem for fullstack-admin"
14
+ s.email = "maurizio.cas@gmail.com"
15
+ s.extra_rdoc_files = [
16
+ "README.md"
17
+ ]
18
+ s.files = [
19
+ "Gemfile",
20
+ "Gemfile.lock",
21
+ "README.md",
22
+ "Rakefile",
23
+ "VERSION",
24
+ "app/assets/javascripts/fullstack/ckeditor.js.coffee",
25
+ "app/assets/javascripts/fullstack/ckeditor/ckeditor.js",
26
+ "app/inputs/markup_input.rb",
27
+ "app/models/ckeditor/asset.rb",
28
+ "app/models/ckeditor/attachment_file.rb",
29
+ "app/models/ckeditor/picture.rb",
30
+ "fullstack-ckeditor.gemspec",
31
+ "lib/fullstack-ckeditor.rb",
32
+ "lib/fullstack/ckeditor.rb",
33
+ "lib/fullstack/ckeditor/engine.rb",
34
+ "lib/generators/fullstack/ckeditor/install_generator.rb",
35
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/config.js",
36
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/contents.css",
37
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/af.js",
38
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ar.js",
39
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/bg.js",
40
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/bn.js",
41
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/bs.js",
42
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ca.js",
43
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/cs.js",
44
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/cy.js",
45
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/da.js",
46
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/de.js",
47
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/el.js",
48
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/en-au.js",
49
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/en-ca.js",
50
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/en-gb.js",
51
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/en.js",
52
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/eo.js",
53
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/es.js",
54
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/et.js",
55
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/eu.js",
56
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/fa.js",
57
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/fi.js",
58
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/fo.js",
59
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/fr-ca.js",
60
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/fr.js",
61
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/gl.js",
62
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/gu.js",
63
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/he.js",
64
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/hi.js",
65
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/hr.js",
66
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/hu.js",
67
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/is.js",
68
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/it.js",
69
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ja.js",
70
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ka.js",
71
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/km.js",
72
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ko.js",
73
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ku.js",
74
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/lt.js",
75
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/lv.js",
76
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/mk.js",
77
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/mn.js",
78
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ms.js",
79
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/nb.js",
80
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/nl.js",
81
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/no.js",
82
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/pl.js",
83
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/pt-br.js",
84
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/pt.js",
85
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ro.js",
86
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ru.js",
87
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/sk.js",
88
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/sl.js",
89
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/sr-latn.js",
90
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/sr.js",
91
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/sv.js",
92
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/th.js",
93
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/tr.js",
94
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ug.js",
95
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/uk.js",
96
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/vi.js",
97
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/zh-cn.js",
98
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/zh.js",
99
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js",
100
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt",
101
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js",
102
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js",
103
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js",
104
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js",
105
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js",
106
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/da.js",
107
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/de.js",
108
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/el.js",
109
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/en.js",
110
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js",
111
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/es.js",
112
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/et.js",
113
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js",
114
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js",
115
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js",
116
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js",
117
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/he.js",
118
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js",
119
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js",
120
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js",
121
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/it.js",
122
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js",
123
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js",
124
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js",
125
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js",
126
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js",
127
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js",
128
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js",
129
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js",
130
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/no.js",
131
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js",
132
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js",
133
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js",
134
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js",
135
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js",
136
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js",
137
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js",
138
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js",
139
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js",
140
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js",
141
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js",
142
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js",
143
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js",
144
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/about/dialogs/about.js",
145
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/about/dialogs/logo_ckeditor.png",
146
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/clipboard/dialogs/paste.js",
147
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/colordialog/dialogs/colordialog.js",
148
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/dialog/dialogDefinition.js",
149
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/div/dialogs/div.js",
150
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/fakeobjects/images/spacer.gif",
151
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/find/dialogs/find.js",
152
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/flash/dialogs/flash.js",
153
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/flash/images/placeholder.png",
154
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/button.js",
155
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/checkbox.js",
156
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/form.js",
157
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/hiddenfield.js",
158
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/radio.js",
159
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/select.js",
160
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/textarea.js",
161
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/dialogs/textfield.js",
162
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/forms/images/hiddenfield.gif",
163
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/icons.png",
164
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/iframe/dialogs/iframe.js",
165
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/iframe/images/placeholder.png",
166
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/image/dialogs/image.js",
167
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/image/images/noimage.png",
168
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/link/dialogs/anchor.js",
169
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/link/dialogs/link.js",
170
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/link/images/anchor.png",
171
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/liststyle/dialogs/liststyle.js",
172
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/magicline/images/icon.png",
173
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/pagebreak/images/pagebreak.gif",
174
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/pastefromword/filter/default.js",
175
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/preview/preview.html",
176
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/scayt/LICENSE.md",
177
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/scayt/README.md",
178
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/scayt/dialogs/options.js",
179
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/scayt/dialogs/toolbar.css",
180
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_address.png",
181
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_blockquote.png",
182
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_div.png",
183
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_h1.png",
184
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_h2.png",
185
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_h3.png",
186
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_h4.png",
187
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_h5.png",
188
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_h6.png",
189
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_p.png",
190
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/showblocks/images/block_pre.png",
191
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/dialogs/smiley.js",
192
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/angel_smile.gif",
193
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/angry_smile.gif",
194
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/broken_heart.gif",
195
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/confused_smile.gif",
196
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/cry_smile.gif",
197
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/devil_smile.gif",
198
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/embaressed_smile.gif",
199
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/embarrassed_smile.gif",
200
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/envelope.gif",
201
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/heart.gif",
202
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/kiss.gif",
203
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/lightbulb.gif",
204
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/omg_smile.gif",
205
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/regular_smile.gif",
206
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/sad_smile.gif",
207
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/shades_smile.gif",
208
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/teeth_smile.gif",
209
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/thumbs_down.gif",
210
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/thumbs_up.gif",
211
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/tongue_smile.gif",
212
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/tounge_smile.gif",
213
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif",
214
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/smiley/images/wink_smile.gif",
215
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt",
216
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/ca.js",
217
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/cs.js",
218
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/cy.js",
219
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/de.js",
220
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/el.js",
221
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/en.js",
222
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/eo.js",
223
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/et.js",
224
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/fa.js",
225
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/fi.js",
226
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/fr.js",
227
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/he.js",
228
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/hr.js",
229
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/it.js",
230
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/ku.js",
231
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/lv.js",
232
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/nb.js",
233
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/nl.js",
234
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/no.js",
235
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js",
236
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/sk.js",
237
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/sv.js",
238
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/tr.js",
239
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/ug.js",
240
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js",
241
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/specialchar/dialogs/specialchar.js",
242
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/table/dialogs/table.js",
243
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/tabletools/dialogs/tableCell.js",
244
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/templates/dialogs/templates.css",
245
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/templates/dialogs/templates.js",
246
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/templates/templates/default.js",
247
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/templates/templates/images/template1.gif",
248
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/templates/templates/images/template2.gif",
249
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/templates/templates/images/template3.gif",
250
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/wsc/LICENSE.md",
251
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/wsc/README.md",
252
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/wsc/dialogs/ciframe.html",
253
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/wsc/dialogs/tmpFrameset.html",
254
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/wsc/dialogs/wsc.css",
255
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/plugins/wsc/dialogs/wsc.js",
256
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/dialog.css",
257
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/dialog_ie.css",
258
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/dialog_ie7.css",
259
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/dialog_ie8.css",
260
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/dialog_iequirks.css",
261
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/dialog_opera.css",
262
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/editor.css",
263
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/editor_gecko.css",
264
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/editor_ie.css",
265
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/editor_ie7.css",
266
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/editor_ie8.css",
267
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/editor_iequirks.css",
268
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/icons.png",
269
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/images/arrow.png",
270
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/images/close.png",
271
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/images/mini.png",
272
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/skins/moono/readme.md",
273
+ "lib/generators/fullstack/ckeditor/templates/ckeditor/styles.js"
274
+ ]
275
+ s.homepage = "http://github.com/mcasimir/kaminari-bootstrap"
276
+ s.licenses = ["MIT"]
277
+ s.require_paths = ["lib"]
278
+ s.rubygems_version = "1.8.24"
279
+ s.summary = "ckeditor gem for fullstack-admin"
280
+
281
+ if s.respond_to? :specification_version then
282
+ s.specification_version = 3
283
+
284
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
285
+ s.add_runtime_dependency(%q<rails>, [">= 0"])
286
+ s.add_development_dependency(%q<bundler>, [">= 0"])
287
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
288
+ else
289
+ s.add_dependency(%q<rails>, [">= 0"])
290
+ s.add_dependency(%q<bundler>, [">= 0"])
291
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
292
+ end
293
+ else
294
+ s.add_dependency(%q<rails>, [">= 0"])
295
+ s.add_dependency(%q<bundler>, [">= 0"])
296
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
297
+ end
298
+ end
299
+
@@ -0,0 +1,23 @@
1
+ # Author:: Maurizio Casimirri (mailto:maurizio.cas@gmail.com)
2
+ # Copyright:: Copyright (c) 2012 Maurizio Casimirri
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining
5
+ # a copy of this software and associated documentation files (the
6
+ # "Software"), to deal in the Software without restriction, including
7
+ # without limitation the rights to use, copy, modify, merge, publish,
8
+ # distribute, sublicense, and/or sell copies of the Software, and to
9
+ # permit persons to whom the Software is furnished to do so, subject to
10
+ # the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be
13
+ # included in all copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+
23
+ require 'fullstack/ckeditor'
@@ -0,0 +1,5 @@
1
+ require 'fullstack/ckeditor/engine'
2
+ module Fullstack
3
+ module Ckeditor
4
+ end
5
+ end
@@ -0,0 +1,9 @@
1
+ require 'rails'
2
+
3
+ module Fullstack
4
+ module Ckeditor
5
+ class Engine < ::Rails::Engine
6
+
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,12 @@
1
+ module Fullstack
2
+ module Ckeditor
3
+ class InstallGenerator < Rails::Generators::NamedBase
4
+ source_root File.expand_path('../templates', __FILE__)
5
+
6
+ def install_assets
7
+ directory "ckeditor", Rails.root.join("public", "ckeditor")
8
+ end
9
+
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ * For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+
6
+ CKEDITOR.editorConfig = function( config ) {
7
+ // Define changes to default configuration here. For example:
8
+ // config.language = 'fr';
9
+ // config.uiColor = '#AADC6E';
10
+ };
@@ -0,0 +1,99 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+
6
+ body
7
+ {
8
+ /* Font */
9
+ font-family: sans-serif, Arial, Verdana, "Trebuchet MS";
10
+ font-size: 12px;
11
+
12
+ /* Text color */
13
+ color: #333;
14
+
15
+ /* Remove the background color to make it transparent */
16
+ background-color: #fff;
17
+
18
+ margin: 20px;
19
+ }
20
+
21
+ .cke_editable
22
+ {
23
+ font-size: 13px;
24
+ line-height: 1.6em;
25
+ }
26
+
27
+ blockquote
28
+ {
29
+ font-style: italic;
30
+ font-family: Georgia, Times, "Times New Roman", serif;
31
+ padding: 2px 0;
32
+ border-style: solid;
33
+ border-color: #ccc;
34
+ border-width: 0;
35
+ }
36
+
37
+ .cke_contents_ltr blockquote
38
+ {
39
+ padding-left: 20px;
40
+ padding-right: 8px;
41
+ border-left-width: 5px;
42
+ }
43
+
44
+ .cke_contents_rtl blockquote
45
+ {
46
+ padding-left: 8px;
47
+ padding-right: 20px;
48
+ border-right-width: 5px;
49
+ }
50
+
51
+ a
52
+ {
53
+ color: #0782C1;
54
+ }
55
+
56
+ ol,ul,dl
57
+ {
58
+ /* IE7: reset rtl list margin. (#7334) */
59
+ *margin-right: 0px;
60
+ /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/
61
+ padding: 0 40px;
62
+ }
63
+
64
+ h1,h2,h3,h4,h5,h6
65
+ {
66
+ font-weight: normal;
67
+ line-height: 1.2em;
68
+ }
69
+
70
+ hr
71
+ {
72
+ border: 0px;
73
+ border-top: 1px solid #ccc;
74
+ }
75
+
76
+ img.right {
77
+ border: 1px solid #ccc;
78
+ float: right;
79
+ margin-left: 15px;
80
+ padding: 5px;
81
+ }
82
+
83
+ img.left {
84
+ border: 1px solid #ccc;
85
+ float: left;
86
+ margin-right: 15px;
87
+ padding: 5px;
88
+ }
89
+
90
+ img:hover {
91
+ opacity: .9;
92
+ filter: alpha(opacity = 90);
93
+ }
94
+
95
+ pre
96
+ {
97
+ white-space: pre-wrap; /* CSS 2.1 */
98
+ word-wrap: break-word; /* IE7 */
99
+ }