ckeditor 3.4.0.pre → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (654) hide show
  1. data/README.rdoc +37 -21
  2. data/Rakefile +7 -6
  3. data/app/controllers/ckeditor_controller.rb +12 -12
  4. data/app/helpers/ckeditor_helper.rb +19 -2
  5. data/config/routes.rb +4 -4
  6. data/examples/s3/s3.yml +2 -0
  7. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/USAGE +1 -1
  8. data/generators/ckeditor_install/ckeditor_install_generator.rb +28 -0
  9. data/generators/ckeditor_install/templates/README +0 -0
  10. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor.rb +2 -0
  11. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/CHANGES.html +0 -0
  12. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/INSTALL.html +0 -0
  13. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/LICENSE.html +0 -0
  14. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/ajax.html +0 -0
  15. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/api.html +0 -0
  16. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/api_dialog.html +0 -0
  17. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/api_dialog/my_dialog.js +0 -0
  18. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/asp/advanced.asp +0 -0
  19. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/asp/events.asp +0 -0
  20. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/asp/index.html +0 -0
  21. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/asp/replace.asp +0 -0
  22. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/asp/replaceall.asp +0 -0
  23. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/asp/sample_posteddata.asp +0 -0
  24. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/asp/standalone.asp +0 -0
  25. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/assets/output_xhtml.css +0 -0
  26. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/autogrow.html +0 -0
  27. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/divreplace.html +0 -0
  28. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/enterkey.html +0 -0
  29. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/fullpage.html +0 -0
  30. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/index.html +0 -0
  31. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/jqueryadapter.html +0 -0
  32. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/output_html.html +0 -0
  33. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/output_xhtml.html +0 -0
  34. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/php/advanced.php +0 -0
  35. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/php/events.php +0 -0
  36. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/php/replace.php +0 -0
  37. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/php/replaceall.php +0 -0
  38. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/php/standalone.php +0 -0
  39. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/replacebyclass.html +0 -0
  40. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/replacebycode.html +0 -0
  41. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/sample.css +0 -0
  42. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/sample.js +0 -0
  43. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/sample_posteddata.php +0 -0
  44. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/sharedspaces.html +0 -0
  45. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/skins.html +0 -0
  46. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/ui_color.html +0 -0
  47. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_samples/ui_languages.html +0 -0
  48. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/adapters/jquery.js +0 -0
  49. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/_bootstrap.js +0 -0
  50. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/ajax.js +0 -0
  51. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/ckeditor.js +0 -0
  52. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/ckeditor_base.js +0 -0
  53. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/ckeditor_basic.js +0 -0
  54. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/command.js +0 -0
  55. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/commanddefinition.js +0 -0
  56. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/config.js +0 -0
  57. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dataprocessor.js +0 -0
  58. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom.js +0 -0
  59. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/comment.js +0 -0
  60. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/document.js +0 -0
  61. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/documentfragment.js +0 -0
  62. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/domobject.js +0 -0
  63. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/element.js +0 -0
  64. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/elementpath.js +0 -0
  65. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/event.js +0 -0
  66. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/node.js +0 -0
  67. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/nodelist.js +0 -0
  68. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/range.js +0 -0
  69. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/rangelist.js +0 -0
  70. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/text.js +0 -0
  71. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/walker.js +0 -0
  72. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/window.js +0 -0
  73. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/dtd.js +0 -0
  74. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/editor.js +0 -0
  75. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/editor_basic.js +0 -0
  76. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/env.js +0 -0
  77. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/event.js +0 -0
  78. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/eventInfo.js +0 -0
  79. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/focusmanager.js +0 -0
  80. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/htmlparser.js +0 -0
  81. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/htmlparser/basicwriter.js +0 -0
  82. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/htmlparser/cdata.js +0 -0
  83. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/htmlparser/comment.js +0 -0
  84. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/htmlparser/element.js +0 -0
  85. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/htmlparser/filter.js +0 -0
  86. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/htmlparser/fragment.js +0 -0
  87. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/htmlparser/text.js +0 -0
  88. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/imagecacher.js +0 -0
  89. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/lang.js +0 -0
  90. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/loader.js +0 -0
  91. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/plugindefinition.js +0 -0
  92. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/plugins.js +0 -0
  93. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/resourcemanager.js +0 -0
  94. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/scriptloader.js +0 -0
  95. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/skins.js +0 -0
  96. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/themes.js +0 -0
  97. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/tools.js +0 -0
  98. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/ui.js +0 -0
  99. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/core/xml.js +0 -0
  100. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/_languages.js +0 -0
  101. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/_translationstatus.txt +0 -0
  102. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/af.js +0 -0
  103. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/ar.js +0 -0
  104. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/bg.js +0 -0
  105. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/bn.js +0 -0
  106. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/bs.js +0 -0
  107. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/ca.js +0 -0
  108. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/cs.js +0 -0
  109. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/cy.js +0 -0
  110. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/da.js +0 -0
  111. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/de.js +0 -0
  112. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/el.js +0 -0
  113. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/en-au.js +0 -0
  114. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/en-ca.js +0 -0
  115. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/en-gb.js +0 -0
  116. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/en.js +0 -0
  117. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/eo.js +0 -0
  118. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/es.js +0 -0
  119. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/et.js +0 -0
  120. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/eu.js +0 -0
  121. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/fa.js +0 -0
  122. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/fi.js +0 -0
  123. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/fo.js +0 -0
  124. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/fr-ca.js +0 -0
  125. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/fr.js +0 -0
  126. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/gl.js +0 -0
  127. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/gu.js +0 -0
  128. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/he.js +0 -0
  129. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/hi.js +0 -0
  130. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/hr.js +0 -0
  131. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/hu.js +0 -0
  132. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/is.js +0 -0
  133. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/it.js +0 -0
  134. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/ja.js +0 -0
  135. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/km.js +0 -0
  136. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/ko.js +0 -0
  137. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/lt.js +0 -0
  138. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/lv.js +0 -0
  139. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/mn.js +0 -0
  140. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/ms.js +0 -0
  141. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/nb.js +0 -0
  142. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/nl.js +0 -0
  143. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/no.js +0 -0
  144. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/pl.js +0 -0
  145. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/pt-br.js +0 -0
  146. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/pt.js +0 -0
  147. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/ro.js +0 -0
  148. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/ru.js +0 -0
  149. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/sk.js +0 -0
  150. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/sl.js +0 -0
  151. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/sr-latn.js +0 -0
  152. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/sr.js +0 -0
  153. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/sv.js +0 -0
  154. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/th.js +0 -0
  155. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/tr.js +0 -0
  156. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/uk.js +0 -0
  157. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/vi.js +0 -0
  158. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/zh-cn.js +0 -0
  159. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/lang/zh.js +0 -0
  160. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
  161. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/a11yhelp/lang/en.js +0 -0
  162. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/a11yhelp/lang/he.js +0 -0
  163. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/a11yhelp/plugin.js +0 -0
  164. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/about/dialogs/about.js +0 -0
  165. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
  166. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/about/plugin.js +0 -0
  167. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/ajax_save/plugin.js +0 -0
  168. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/attachment/dialogs/attachment.js +0 -0
  169. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/attachment/images/attachment.png +0 -0
  170. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/attachment/lang/en.js +0 -0
  171. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/attachment/lang/ru.js +0 -0
  172. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/attachment/lang/uk.js +0 -0
  173. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/attachment/plugin.js +0 -0
  174. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/autogrow/plugin.js +0 -0
  175. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/basicstyles/plugin.js +0 -0
  176. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/bidi/plugin.js +0 -0
  177. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/blockquote/plugin.js +0 -0
  178. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/button/plugin.js +0 -0
  179. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -0
  180. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/clipboard/plugin.js +0 -0
  181. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/colorbutton/plugin.js +0 -0
  182. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +0 -0
  183. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/colordialog/plugin.js +0 -0
  184. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/contextmenu/plugin.js +0 -0
  185. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -0
  186. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/dialog/plugin.js +0 -0
  187. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/dialogadvtab/plugin.js +0 -0
  188. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/dialogui/plugin.js +0 -0
  189. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/div/dialogs/div.js +0 -0
  190. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/div/plugin.js +0 -0
  191. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/domiterator/plugin.js +0 -0
  192. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/editingblock/plugin.js +0 -0
  193. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/elementspath/plugin.js +0 -0
  194. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/embed/dialogs/embed.js +0 -0
  195. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/embed/images/embed.png +0 -0
  196. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/embed/lang/en.js +0 -0
  197. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/embed/lang/ru.js +0 -0
  198. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/embed/lang/uk.js +0 -0
  199. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/embed/plugin.js +0 -0
  200. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/enterkey/plugin.js +0 -0
  201. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/entities/plugin.js +0 -0
  202. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/fakeobjects/plugin.js +0 -0
  203. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/filebrowser/plugin.js +0 -0
  204. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/find/dialogs/find.js +0 -0
  205. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/find/plugin.js +0 -0
  206. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/flash/dialogs/flash.js +0 -0
  207. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
  208. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/flash/plugin.js +0 -0
  209. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/floatpanel/plugin.js +0 -0
  210. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/font/plugin.js +0 -0
  211. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/format/plugin.js +0 -0
  212. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/dialogs/button.js +0 -0
  213. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/dialogs/checkbox.js +0 -0
  214. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/dialogs/form.js +0 -0
  215. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +0 -0
  216. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/dialogs/radio.js +0 -0
  217. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/dialogs/select.js +0 -0
  218. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/dialogs/textarea.js +0 -0
  219. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/dialogs/textfield.js +0 -0
  220. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
  221. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/plugin.js +0 -0
  222. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/horizontalrule/plugin.js +0 -0
  223. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -0
  224. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/htmlwriter/plugin.js +0 -0
  225. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/iframedialog/plugin.js +0 -0
  226. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/image/dialogs/image.js +0 -0
  227. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/image/plugin.js +0 -0
  228. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/indent/plugin.js +0 -0
  229. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/justify/plugin.js +0 -0
  230. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/keystrokes/plugin.js +0 -0
  231. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/link/dialogs/anchor.js +0 -0
  232. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/link/dialogs/link.js +0 -0
  233. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
  234. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/link/plugin.js +0 -0
  235. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/list/plugin.js +0 -0
  236. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/listblock/plugin.js +0 -0
  237. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +0 -0
  238. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/liststyle/plugin.js +0 -0
  239. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/maximize/plugin.js +0 -0
  240. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/menu/plugin.js +0 -0
  241. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/menubutton/plugin.js +0 -0
  242. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/newpage/plugin.js +0 -0
  243. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
  244. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/pagebreak/plugin.js +0 -0
  245. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/panel/plugin.js +0 -0
  246. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/panelbutton/plugin.js +0 -0
  247. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/pastefromword/filter/default.js +0 -0
  248. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/pastefromword/plugin.js +0 -0
  249. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +0 -0
  250. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/pastetext/plugin.js +0 -0
  251. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/popup/plugin.js +0 -0
  252. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/preview/plugin.js +0 -0
  253. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/print/plugin.js +0 -0
  254. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/removeformat/plugin.js +0 -0
  255. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/resize/plugin.js +0 -0
  256. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/richcombo/plugin.js +0 -0
  257. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/save/plugin.js +0 -0
  258. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/scayt/dialogs/options.js +0 -0
  259. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +0 -0
  260. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/scayt/plugin.js +0 -0
  261. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/selection/plugin.js +0 -0
  262. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
  263. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
  264. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
  265. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
  266. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
  267. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
  268. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
  269. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
  270. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
  271. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
  272. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
  273. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/plugin.js +0 -0
  274. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showborders/plugin.js +0 -0
  275. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/dialogs/smiley.js +0 -0
  276. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
  277. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
  278. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
  279. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
  280. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
  281. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
  282. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
  283. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
  284. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
  285. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
  286. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
  287. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
  288. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
  289. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
  290. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
  291. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
  292. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
  293. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
  294. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
  295. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  296. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/wink_smile.gif +0 -0
  297. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/plugin.js +0 -0
  298. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/sourcearea/plugin.js +0 -0
  299. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +0 -0
  300. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/specialchar/plugin.js +0 -0
  301. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/styles/plugin.js +0 -0
  302. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/styles/styles/default.js +0 -0
  303. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/stylescombo/plugin.js +0 -0
  304. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/tab/plugin.js +0 -0
  305. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/table/dialogs/table.js +0 -0
  306. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/table/plugin.js +0 -0
  307. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/tableresize/plugin.js +0 -0
  308. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -0
  309. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/tabletools/plugin.js +0 -0
  310. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/templates/dialogs/templates.js +0 -0
  311. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/templates/plugin.js +0 -0
  312. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/templates/templates/default.js +0 -0
  313. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
  314. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
  315. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
  316. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/toolbar/plugin.js +0 -0
  317. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +0 -0
  318. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/lang/en.js +0 -0
  319. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/plugin.js +0 -0
  320. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
  321. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  322. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  323. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  324. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  325. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +0 -0
  326. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/yui/yui.js +0 -0
  327. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/undo/plugin.js +0 -0
  328. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +0 -0
  329. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +0 -0
  330. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.css +0 -0
  331. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.js +0 -0
  332. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/wsc/plugin.js +0 -0
  333. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/plugins/wysiwygarea/plugin.js +0 -0
  334. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/dialog.css +0 -0
  335. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/editor.css +0 -0
  336. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/elementspath.css +0 -0
  337. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/icons.css +0 -0
  338. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/icons.png +0 -0
  339. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
  340. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
  341. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
  342. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/mini.gif +0 -0
  343. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/noimage.png +0 -0
  344. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/sprites.png +0 -0
  345. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
  346. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
  347. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/mainui.css +0 -0
  348. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/menu.css +0 -0
  349. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/panel.css +0 -0
  350. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/presets.css +0 -0
  351. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/reset.css +0 -0
  352. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/richcombo.css +0 -0
  353. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/skin.js +0 -0
  354. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/templates.css +0 -0
  355. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/toolbar.css +0 -0
  356. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/dialog.css +0 -0
  357. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/editor.css +0 -0
  358. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/elementspath.css +0 -0
  359. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/icons.css +0 -0
  360. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/icons.png +0 -0
  361. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
  362. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
  363. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
  364. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
  365. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
  366. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
  367. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/sprites_ie6.png +0 -0
  368. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/mainui.css +0 -0
  369. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/menu.css +0 -0
  370. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/panel.css +0 -0
  371. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/presets.css +0 -0
  372. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/reset.css +0 -0
  373. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/richcombo.css +0 -0
  374. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/skin.js +0 -0
  375. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/templates.css +0 -0
  376. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/toolbar.css +0 -0
  377. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/dialog.css +0 -0
  378. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/editor.css +0 -0
  379. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/elementspath.css +0 -0
  380. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/icons.css +0 -0
  381. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/icons.png +0 -0
  382. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
  383. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
  384. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
  385. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/mini.gif +0 -0
  386. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/noimage.png +0 -0
  387. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/sprites.png +0 -0
  388. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
  389. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/toolbar_start.gif +0 -0
  390. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/mainui.css +0 -0
  391. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/menu.css +0 -0
  392. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/panel.css +0 -0
  393. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/presets.css +0 -0
  394. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/reset.css +0 -0
  395. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/richcombo.css +0 -0
  396. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/skin.js +0 -0
  397. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/templates.css +0 -0
  398. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/toolbar.css +0 -0
  399. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/_source/themes/default/theme.js +0 -0
  400. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/adapters/jquery.js +0 -0
  401. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/ckeditor.js +0 -0
  402. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/ckeditor.pack +0 -0
  403. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/ckeditor_basic.js +0 -0
  404. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/ckeditor_basic_source.js +0 -0
  405. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/ckeditor_source.js +0 -0
  406. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/config.js +0 -0
  407. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/contents.css +0 -0
  408. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/css/ckfinder.css +0 -0
  409. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/css/fck_dialog.css +0 -0
  410. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/css/fck_editor.css +0 -0
  411. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/css/swfupload.css +0 -0
  412. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/images/add.gif +0 -0
  413. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/images/cancelbutton.gif +0 -0
  414. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/images/ckfnothumb.gif +0 -0
  415. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/images/doc.gif +0 -0
  416. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/images/mp3.gif +0 -0
  417. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/images/pdf.gif +0 -0
  418. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/images/rar.gif +0 -0
  419. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/images/refresh.gif +0 -0
  420. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/images/select_files.png +0 -0
  421. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/images/spacer.gif +0 -0
  422. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/images/swf.gif +0 -0
  423. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/images/toolbar.start.gif +0 -0
  424. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/images/xls.gif +0 -0
  425. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/_languages.js +0 -0
  426. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/_translationstatus.txt +0 -0
  427. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/af.js +0 -0
  428. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/ar.js +0 -0
  429. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/bg.js +0 -0
  430. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/bn.js +0 -0
  431. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/bs.js +0 -0
  432. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/ca.js +0 -0
  433. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/cs.js +0 -0
  434. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/cy.js +0 -0
  435. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/da.js +0 -0
  436. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/de.js +0 -0
  437. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/el.js +0 -0
  438. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/en-au.js +0 -0
  439. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/en-ca.js +0 -0
  440. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/en-gb.js +0 -0
  441. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/en.js +0 -0
  442. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/eo.js +0 -0
  443. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/es.js +0 -0
  444. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/et.js +0 -0
  445. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/eu.js +0 -0
  446. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/fa.js +0 -0
  447. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/fi.js +0 -0
  448. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/fo.js +0 -0
  449. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/fr-ca.js +0 -0
  450. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/fr.js +0 -0
  451. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/gl.js +0 -0
  452. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/gu.js +0 -0
  453. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/he.js +0 -0
  454. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/hi.js +0 -0
  455. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/hr.js +0 -0
  456. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/hu.js +0 -0
  457. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/is.js +0 -0
  458. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/it.js +0 -0
  459. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/ja.js +0 -0
  460. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/km.js +0 -0
  461. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/ko.js +0 -0
  462. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/lt.js +0 -0
  463. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/lv.js +0 -0
  464. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/mn.js +0 -0
  465. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/ms.js +0 -0
  466. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/nb.js +0 -0
  467. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/nl.js +0 -0
  468. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/no.js +0 -0
  469. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/pl.js +0 -0
  470. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/pt-br.js +0 -0
  471. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/pt.js +0 -0
  472. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/ro.js +0 -0
  473. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/ru.js +0 -0
  474. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/sk.js +0 -0
  475. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/sl.js +0 -0
  476. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/sr-latn.js +0 -0
  477. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/sr.js +0 -0
  478. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/sv.js +0 -0
  479. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/th.js +0 -0
  480. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/tr.js +0 -0
  481. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/uk.js +0 -0
  482. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/vi.js +0 -0
  483. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/zh-cn.js +0 -0
  484. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/lang/zh.js +0 -0
  485. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
  486. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/a11yhelp/lang/en.js +0 -0
  487. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/a11yhelp/lang/he.js +0 -0
  488. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/about/dialogs/about.js +0 -0
  489. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  490. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/ajax_save/plugin.js +0 -0
  491. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/attachment/dialogs/attachment.js +0 -0
  492. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/attachment/images/attachment.png +0 -0
  493. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/attachment/lang/en.js +0 -0
  494. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/attachment/lang/ru.js +0 -0
  495. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/attachment/lang/uk.js +0 -0
  496. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/attachment/plugin.js +0 -0
  497. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/autogrow/plugin.js +0 -0
  498. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/clipboard/dialogs/paste.js +0 -0
  499. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -0
  500. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/dialog/dialogDefinition.js +0 -0
  501. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/div/dialogs/div.js +0 -0
  502. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/embed/dialogs/embed.js +0 -0
  503. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/embed/images/embed.png +0 -0
  504. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/embed/lang/en.js +0 -0
  505. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/embed/lang/ru.js +0 -0
  506. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/embed/lang/uk.js +0 -0
  507. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/embed/plugin.js +0 -0
  508. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/find/dialogs/find.js +0 -0
  509. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/flash/dialogs/flash.js +0 -0
  510. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/flash/images/placeholder.png +0 -0
  511. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/forms/dialogs/button.js +0 -0
  512. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/forms/dialogs/checkbox.js +0 -0
  513. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/forms/dialogs/form.js +0 -0
  514. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -0
  515. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/forms/dialogs/radio.js +0 -0
  516. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/forms/dialogs/select.js +0 -0
  517. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/forms/dialogs/textarea.js +0 -0
  518. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/forms/dialogs/textfield.js +0 -0
  519. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  520. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/iframedialog/plugin.js +0 -0
  521. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/image/dialogs/image.js +0 -0
  522. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/link/dialogs/anchor.js +0 -0
  523. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/link/dialogs/link.js +0 -0
  524. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/link/images/anchor.gif +0 -0
  525. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -0
  526. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  527. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/pastefromword/filter/default.js +0 -0
  528. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -0
  529. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/scayt/dialogs/options.js +0 -0
  530. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -0
  531. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  532. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  533. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  534. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  535. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  536. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  537. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  538. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  539. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  540. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  541. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  542. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/dialogs/smiley.js +0 -0
  543. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  544. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  545. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  546. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  547. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  548. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  549. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  550. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  551. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/heart.gif +0 -0
  552. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  553. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  554. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  555. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  556. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  557. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  558. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  559. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  560. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  561. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  562. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  563. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  564. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -0
  565. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/styles/styles/default.js +0 -0
  566. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/table/dialogs/table.js +0 -0
  567. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/tableresize/plugin.js +0 -0
  568. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -0
  569. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/templates/dialogs/templates.js +0 -0
  570. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/templates/templates/default.js +0 -0
  571. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  572. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  573. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  574. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -0
  575. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/lang/en.js +0 -0
  576. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/plugin.js +0 -0
  577. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  578. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  579. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  580. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  581. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  582. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -0
  583. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/yui/yui.js +0 -0
  584. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -0
  585. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -0
  586. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/wsc/dialogs/wsc.css +0 -0
  587. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/plugins/wsc/dialogs/wsc.js +0 -0
  588. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/kama/dialog.css +0 -0
  589. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/kama/editor.css +0 -0
  590. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/kama/icons.png +0 -0
  591. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  592. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  593. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  594. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/mini.gif +0 -0
  595. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/noimage.png +0 -0
  596. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/sprites.png +0 -0
  597. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  598. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  599. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/kama/skin.js +0 -0
  600. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/kama/templates.css +0 -0
  601. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/office2003/dialog.css +0 -0
  602. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/office2003/editor.css +0 -0
  603. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/office2003/icons.png +0 -0
  604. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  605. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  606. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  607. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/mini.gif +0 -0
  608. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/noimage.png +0 -0
  609. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/sprites.png +0 -0
  610. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  611. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/office2003/skin.js +0 -0
  612. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/office2003/templates.css +0 -0
  613. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/v2/dialog.css +0 -0
  614. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/v2/editor.css +0 -0
  615. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/v2/icons.png +0 -0
  616. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  617. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  618. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  619. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/mini.gif +0 -0
  620. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/noimage.png +0 -0
  621. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/sprites.png +0 -0
  622. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  623. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  624. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/v2/skin.js +0 -0
  625. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/skins/v2/templates.css +0 -0
  626. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/swfupload/fileprogress.js +0 -0
  627. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/swfupload/handlers.js +0 -0
  628. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/swfupload/mootools-1.2.3-core-yc.js +0 -0
  629. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/swfupload/querystring.js +0 -0
  630. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/swfupload/swfupload.js +0 -0
  631. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/swfupload/swfupload.queue.js +0 -0
  632. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/swfupload/swfupload.swf +0 -0
  633. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/swfupload/swfupload.swfobject.js +0 -0
  634. data/{lib/generators/ckeditor/base → generators/ckeditor_install}/templates/ckeditor/themes/default/theme.js +0 -0
  635. data/{lib/generators/ckeditor/migration → generators/ckeditor_migration}/USAGE +1 -1
  636. data/generators/ckeditor_migration/ckeditor_migration_generator.rb +36 -0
  637. data/{lib/generators/ckeditor/migration → generators/ckeditor_migration}/templates/models/attachment_fu/asset.rb +0 -0
  638. data/{lib/generators/ckeditor/migration → generators/ckeditor_migration}/templates/models/attachment_fu/attachment_file.rb +0 -0
  639. data/{lib/generators/ckeditor/migration → generators/ckeditor_migration}/templates/models/attachment_fu/migration.rb +0 -0
  640. data/{lib/generators/ckeditor/migration → generators/ckeditor_migration}/templates/models/attachment_fu/picture.rb +0 -0
  641. data/{lib/generators/ckeditor/migration → generators/ckeditor_migration}/templates/models/paperclip/asset.rb +2 -0
  642. data/{lib/generators/ckeditor/migration → generators/ckeditor_migration}/templates/models/paperclip/attachment_file.rb +0 -0
  643. data/{lib/generators/ckeditor/migration → generators/ckeditor_migration}/templates/models/paperclip/migration.rb +0 -0
  644. data/{lib/generators/ckeditor/migration → generators/ckeditor_migration}/templates/models/paperclip/picture.rb +0 -0
  645. data/lib/ckeditor.rb +18 -4
  646. data/lib/ckeditor/safe_buffer.rb +34 -0
  647. data/lib/ckeditor/utils.rb +6 -2
  648. data/lib/ckeditor/version.rb +1 -1
  649. metadata +672 -661
  650. data/CHANGELOG +0 -15
  651. data/lib/ckeditor/engine.rb +0 -21
  652. data/lib/generators/ckeditor/base/base_generator.rb +0 -20
  653. data/lib/generators/ckeditor/migration/migration_generator.rb +0 -46
  654. data/lib/tasks/ckeditor_tasks.rake +0 -3
@@ -10,18 +10,45 @@ CKEditor version: 3.4 (http://ckeditor.com)
10
10
 
11
11
  SWFUpload version: 2.2.0.1 Core (http://swfupload.org)
12
12
 
13
- Rails version: 3.0.0.rc
14
-
15
- Demo appication (Rails 2.3.x):
16
- http://github.com/galetahub/rails-ckeditor-demo-app
13
+ {Demo appication (Rails 2.3.8)}[http://github.com/galetahub/rails-ckeditor-demo-app]
17
14
 
18
15
  ==Install
19
16
 
20
- ===Rails 3
17
+ ===Rails 2.3.8
18
+
19
+ Via gem:
20
+ config.gem 'ckeditor', '3.4.0'
21
+
22
+ Via plugin
23
+ ./script/plugin install git://github.com/galetahub/rails-ckeditor.git
24
+
25
+ Next step is generate ckeditor js files and configuration file
26
+ Check "config/initializers/ckeditor.rb" for more configuration options:
27
+
28
+ ./script/generate ckeditor_install
29
+
30
+ Generate ckeditor models for file upload support:
31
+ For paperclip:
32
+
33
+ ./script/generate ckeditor_migration
34
+
35
+ For attachment_fu:
36
+ ./script/generate ckeditor_migration --backend=attachment_fu
37
+
38
+ Don't forget about migration:
39
+
40
+ rake db:migarte
41
+
42
+ In your environment:
43
+
44
+ config.load_paths += %W( #{RAILS_ROOT}/app/models/ckeditor )
45
+
46
+ ===Rails 3.0.0
21
47
 
22
- In your appication "Gemfile":
23
48
  gem 'ckeditor', '3.4.0.pre'
24
- or
49
+
50
+ Or
51
+
25
52
  gem 'ckeditor', :git => 'git://github.com/galetahub/rails-ckeditor.git', :branch => 'rails3'
26
53
 
27
54
  Next step is generate ckeditor js files and configuration file
@@ -41,21 +68,10 @@ For attachment_fu:
41
68
  Don't forget about migration:
42
69
 
43
70
  rake db:migarte
71
+
72
+ In your application.rb:
44
73
 
45
- ===Rails 2.3.x
46
-
47
- Install plugin:
48
-
49
- ./script/plugin install git://github.com/galetahub/rails-ckeditor.git
50
-
51
- Generate ckeditor core files:
52
-
53
- rake ckeditor:install
54
-
55
- This rake generated file config/ckeditor.yml:
56
- rake ckeditor:config
57
-
58
- For attachment_fu option "swf_file_post_name" must be "uploaded_data".
74
+ config.autoload_paths += %W( #{config.root}/app/models/ckeditor )
59
75
 
60
76
  ==Usage
61
77
 
data/Rakefile CHANGED
@@ -7,20 +7,19 @@ require File.join(File.dirname(__FILE__), 'lib', 'ckeditor', 'version')
7
7
  desc 'Default: run unit tests.'
8
8
  task :default => :test
9
9
 
10
- desc 'Test the rails-ckeditor plugin.'
10
+ desc 'Test the ckeditor plugin.'
11
11
  Rake::TestTask.new(:test) do |t|
12
12
  t.libs << 'lib'
13
- t.libs << 'test'
14
13
  t.pattern = 'test/**/*_test.rb'
15
14
  t.verbose = true
16
15
  end
17
16
 
18
- desc 'Generate documentation for the rails-ckeditor plugin.'
17
+ desc 'Generate documentation for the ckeditor plugin.'
19
18
  Rake::RDocTask.new(:rdoc) do |rdoc|
20
19
  rdoc.rdoc_dir = 'rdoc'
21
- rdoc.title = 'Rails Ckeditor'
20
+ rdoc.title = 'Ckeditor'
22
21
  rdoc.options << '--line-numbers' << '--inline-source'
23
- rdoc.rdoc_files.include('README.textile')
22
+ rdoc.rdoc_files.include('README')
24
23
  rdoc.rdoc_files.include('lib/**/*.rb')
25
24
  end
26
25
 
@@ -34,8 +33,10 @@ begin
34
33
  gemspec.email = "galeta.igor@gmail.com"
35
34
  gemspec.homepage = "http://github.com/galetahub/rails-ckeditor"
36
35
  gemspec.authors = ["Igor Galeta"]
37
- gemspec.files = FileList["[A-Z]*", "{app,config,lib}/**/*"]
36
+ gemspec.files = FileList["[A-Z]*", "{app,config,lib,generators,examples}/**/*"]
38
37
  gemspec.rubyforge_project = "ckeditor"
38
+
39
+ gemspec.add_dependency('mime-types', '>= 1.16')
39
40
  end
40
41
 
41
42
  Jeweler::GemcutterTasks.new
@@ -27,15 +27,20 @@ class CkeditorController < ApplicationController
27
27
  def create
28
28
  @kind = params[:kind] || 'file'
29
29
 
30
- @record = case @kind.downcase
31
- when 'file' then Ckeditor.file_model.new
32
- when 'image' then Ckeditor.image_model.new
33
- end
34
-
35
- unless params[:CKEditor].blank?
30
+ unless params[:CKEditor].blank?
36
31
  params[@swf_file_post_name] = params.delete(:upload)
37
32
  end
38
33
 
34
+ klass = case @kind.downcase
35
+ # TODO: fix issue TypeError (can't dup NilClass)
36
+ #when 'file' then Ckeditor.file_model
37
+ #when 'image' then Ckeditor.image_model
38
+ when 'file' then Ckeditor::AttachmentFile
39
+ when 'image' then Ckeditor::Picture
40
+ end
41
+
42
+ @record = klass.new
43
+
39
44
  options = {}
40
45
 
41
46
  params.each do |k, v|
@@ -48,7 +53,7 @@ class CkeditorController < ApplicationController
48
53
 
49
54
  if @record.valid? && @record.save
50
55
  @text = params[:CKEditor].blank? ? @record.to_json(:only=>[:id, :type], :methods=>[:url, :content_type, :size, :filename, :format_created_at], :root => "asset") : %Q"<script type='text/javascript'>
51
- window.parent.CKEDITOR.tools.callFunction(#{params[:CKEditorFuncNum]}, '#{escape_single_quotes(@record.url_content)}');
56
+ window.parent.CKEDITOR.tools.callFunction(#{params[:CKEditorFuncNum]}, '#{Ckeditor::Utils.escape_single_quotes(@record.url_content)}');
52
57
  </script>"
53
58
 
54
59
  render :text => @text
@@ -80,9 +85,4 @@ class CkeditorController < ApplicationController
80
85
  @file_types_description ||= "Images"
81
86
  @file_upload_limit ||= 10
82
87
  end
83
-
84
- def escape_single_quotes(str)
85
- str.gsub('\\','\0\0').gsub('</','<\/').gsub(/\r\n|\n|\r/, "\\n").gsub(/["']/) { |m| "\\#{m}" }
86
- end
87
-
88
88
  end
@@ -6,9 +6,10 @@ module CkeditorHelper
6
6
  else '/ckeditor/create/default'
7
7
  end
8
8
 
9
- session_key = Rails.application.config.send(:session_options)[:key]
9
+ session_key = ActionController::Base.session_options[:key]
10
+
11
+ options = ActionController::Routing::Routes.recognize_path(path, :method => :post)
10
12
 
11
- options = Rails.application.routes.recognize_path(path, :method => :post)
12
13
  options[:protocol] = "http://"
13
14
  options[session_key] = Rack::Utils.escape(cookies[session_key])
14
15
 
@@ -18,4 +19,20 @@ module CkeditorHelper
18
19
 
19
20
  url_for(options)
20
21
  end
22
+
23
+ def file_image_tag(filename, path)
24
+ extname = File.extname(filename)
25
+
26
+ image = case extname.to_s
27
+ when '.swf' then '/javascripts/ckeditor/images/swf.gif'
28
+ when '.pdf' then '/javascripts/ckeditor/images/pdf.gif'
29
+ when '.doc', '.txt' then '/javascripts/ckeditor/images/doc.gif'
30
+ when '.mp3' then '/javascripts/ckeditor/images/mp3.gif'
31
+ when '.rar', '.zip', '.tg' then '/javascripts/ckeditor/images/rar.gif'
32
+ when '.xls' then '/javascripts/ckeditor/images/xls.gif'
33
+ else '/javascripts/ckeditor/images/ckfnothumb.gif'
34
+ end
35
+
36
+ image_tag(image, :alt=>path, :title=>filename, :onerror=>"this.src='/javascripts/ckeditor/images/ckfnothumb.gif'", :class=>'image')
37
+ end
21
38
  end
@@ -1,5 +1,5 @@
1
- Rails.application.routes.draw do |map|
2
- match 'ckeditor/images', :to => 'ckeditor#images'
3
- match 'ckeditor/files', :to => 'ckeditor#files'
4
- match 'ckeditor/create/:kind', :to => 'ckeditor#create'
1
+ ActionController::Routing::Routes.draw do |map|
2
+ map.connect 'ckeditor/images', :controller => 'ckeditor', :action => 'images'
3
+ map.connect 'ckeditor/files', :controller => 'ckeditor', :action => 'files'
4
+ map.connect 'ckeditor/create/:kind', :controller => 'ckeditor', :action => 'create'
5
5
  end
@@ -0,0 +1,2 @@
1
+ access_key_id: "YOUR KEY ID"
2
+ secret_access_key: "YOUR SECRET KEY"
@@ -4,4 +4,4 @@ CKEditor
4
4
  # Copy ckeditor's core files into 'public/javascripts'
5
5
  # and generate configuration file in 'config/initializers/ckeditor.rb'
6
6
 
7
- rails generate ckeditor:base
7
+ ./script/generate ckeditor_install
@@ -0,0 +1,28 @@
1
+ require 'fileutils'
2
+
3
+ class CkeditorInstallGenerator < Rails::Generator::Base
4
+
5
+ def manifest
6
+ record do |m|
7
+ copy_initializer(m)
8
+ copy_javascripts(m)
9
+
10
+ m.readme "README"
11
+ end
12
+ end
13
+
14
+ private
15
+
16
+ def copy_initializer(m)
17
+ m.directory "config/initializers"
18
+ m.template "ckeditor.rb", "config/initializers/ckeditor.rb"
19
+ end
20
+
21
+ def copy_javascripts(m)
22
+ src_dir = File.join(@source_root, 'ckeditor')
23
+ dst_dir = File.join(RAILS_ROOT, 'public', 'javascripts')
24
+
25
+ FileUtils.cp_r src_dir, dst_dir, :verbose => true
26
+ end
27
+
28
+ end
@@ -51,4 +51,6 @@ if Object.const_defined?("Ckeditor")
51
51
  #config.file_manager_image_model = "Ckeditor::Picture"
52
52
  #config.file_manager_file_model = "Ckeditor::AttachmentFile"
53
53
  end
54
+
55
+ Ckeditor.insert
54
56
  end