esp-ckeditor 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (381) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/Gemfile +3 -0
  4. data/README.rdoc +5 -8
  5. data/bin/minify +140 -0
  6. data/esp-ckeditor.gemspec +22 -0
  7. data/lib/esp-ckeditor/version.rb +1 -1
  8. data/script/rails +6 -0
  9. data/spec/dummy/Rakefile +7 -0
  10. data/spec/dummy/app/assets/javascripts/application.js +7 -0
  11. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  12. data/spec/dummy/app/assets/stylesheets/reset.sass +131 -0
  13. data/spec/dummy/app/assets/stylesheets/screen.sass +12 -0
  14. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  15. data/spec/dummy/app/controllers/home_controller.rb +6 -0
  16. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  17. data/{app/assets/javascripts/esp-ckeditor/plugins/dialog/dialogDefinition.js → spec/dummy/app/mailers/.gitkeep} +0 -0
  18. data/spec/dummy/app/models/.gitkeep +0 -0
  19. data/spec/dummy/app/views/home/index.html.erb +1 -0
  20. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  21. data/spec/dummy/config.ru +4 -0
  22. data/spec/dummy/config/application.rb +50 -0
  23. data/spec/dummy/config/boot.rb +10 -0
  24. data/spec/dummy/config/database.yml +25 -0
  25. data/spec/dummy/config/environment.rb +5 -0
  26. data/spec/dummy/config/environments/development.rb +30 -0
  27. data/spec/dummy/config/environments/production.rb +60 -0
  28. data/spec/dummy/config/environments/test.rb +39 -0
  29. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  30. data/spec/dummy/config/initializers/inflections.rb +10 -0
  31. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  32. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  33. data/spec/dummy/config/initializers/session_store.rb +8 -0
  34. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  35. data/spec/dummy/config/locales/en.yml +5 -0
  36. data/spec/dummy/config/routes.rb +6 -0
  37. data/spec/dummy/lib/assets/.gitkeep +0 -0
  38. data/spec/dummy/log/.gitkeep +0 -0
  39. data/spec/dummy/public/404.html +26 -0
  40. data/spec/dummy/public/422.html +26 -0
  41. data/spec/dummy/public/500.html +26 -0
  42. data/spec/dummy/public/favicon.ico +0 -0
  43. data/spec/dummy/script/rails +6 -0
  44. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/_bootstrap.js +0 -0
  45. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/ckeditor.js +0 -0
  46. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/ckeditor_base.js +0 -0
  47. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/ckeditor_basic.js +0 -0
  48. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/command.js +0 -0
  49. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/commanddefinition.js +0 -0
  50. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/config.js +0 -0
  51. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dataprocessor.js +0 -0
  52. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom.js +0 -0
  53. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/comment.js +0 -0
  54. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/document.js +0 -0
  55. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/documentfragment.js +0 -0
  56. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/domobject.js +0 -0
  57. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/element.js +0 -0
  58. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/elementpath.js +0 -0
  59. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/event.js +0 -0
  60. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/node.js +0 -0
  61. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/nodelist.js +0 -0
  62. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/range.js +0 -0
  63. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/rangelist.js +0 -0
  64. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/text.js +0 -0
  65. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/walker.js +0 -0
  66. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/window.js +0 -0
  67. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dtd.js +0 -0
  68. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/editor.js +0 -0
  69. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/editor_basic.js +0 -0
  70. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/env.js +0 -0
  71. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/event.js +0 -0
  72. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/eventInfo.js +0 -0
  73. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/focusmanager.js +0 -0
  74. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser.js +0 -0
  75. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/basicwriter.js +0 -0
  76. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/cdata.js +0 -0
  77. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/comment.js +0 -0
  78. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/element.js +0 -0
  79. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/filter.js +0 -0
  80. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/fragment.js +0 -0
  81. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/text.js +0 -0
  82. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/lang.js +0 -0
  83. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/loader.js +0 -0
  84. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/plugindefinition.js +0 -0
  85. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/plugins.js +0 -0
  86. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/resourcemanager.js +0 -0
  87. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/scriptloader.js +0 -0
  88. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/skins.js +0 -0
  89. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/themes.js +0 -0
  90. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/tools.js +0 -0
  91. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/ui.js +0 -0
  92. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/lang/_languages.js +0 -0
  93. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/lang/en.js +0 -0
  94. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/lang/ru.js +0 -0
  95. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
  96. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/lang/en.js +0 -0
  97. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/lang/he.js +0 -0
  98. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/plugin.js +0 -0
  99. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/basicstyles/plugin.js +0 -0
  100. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/button/plugin.js +0 -0
  101. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -0
  102. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/clipboard/plugin.js +0 -0
  103. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/contextmenu/plugin.js +0 -0
  104. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -0
  105. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/dialog/plugin.js +0 -0
  106. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/dialogadvtab/plugin.js +0 -0
  107. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/dialogui/plugin.js +0 -0
  108. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/domiterator/plugin.js +0 -0
  109. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/editingblock/plugin.js +0 -0
  110. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/elementspath/plugin.js +0 -0
  111. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/enterkey/plugin.js +0 -0
  112. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/entities/plugin.js +0 -0
  113. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/dialogs/esp_attachment.js +0 -0
  114. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/images/esp_attachment.png +0 -0
  115. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/en.js +0 -0
  116. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/ru.js +0 -0
  117. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/uk.js +0 -0
  118. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/plugin.js +0 -0
  119. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/dialogs/esp_audio.js +0 -0
  120. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/images/esp_audio.png +0 -0
  121. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/images/placeholder.png +0 -0
  122. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/en.js +0 -0
  123. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/ru.js +0 -0
  124. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/uk.js +0 -0
  125. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/plugin.js +0 -0
  126. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_blockquote/dialogs/esp_blockquote.js +0 -0
  127. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_blockquote/plugin.js +0 -0
  128. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/dialogs/esp_image.js +0 -0
  129. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/images/esp_image.png +0 -0
  130. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/en.js +0 -0
  131. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/ru.js +0 -0
  132. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/uk.js +0 -0
  133. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/plugin.js +0 -0
  134. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/dialogs/esp_anchor.js +0 -0
  135. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/dialogs/esp_link.js +0 -0
  136. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/anchor.png +0 -0
  137. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_anchor.png +0 -0
  138. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_link.png +0 -0
  139. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_unlink.png +0 -0
  140. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/en.js +0 -0
  141. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/ru.js +0 -0
  142. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/uk.js +0 -0
  143. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/plugin.js +0 -0
  144. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_address.png +0 -0
  145. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_blockquote.png +0 -0
  146. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_div.png +0 -0
  147. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h1.png +0 -0
  148. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h2.png +0 -0
  149. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h3.png +0 -0
  150. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h4.png +0 -0
  151. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h5.png +0 -0
  152. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h6.png +0 -0
  153. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_p.png +0 -0
  154. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_pre.png +0 -0
  155. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/esp_showblocks.png +0 -0
  156. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/plugin.js +0 -0
  157. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/dialogs/esp_video.js +0 -0
  158. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/images/esp_video.png +0 -0
  159. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/images/placeholder.png +0 -0
  160. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/en.js +0 -0
  161. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/ru.js +0 -0
  162. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/uk.js +0 -0
  163. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/plugin.js +0 -0
  164. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/fakeobjects/plugin.js +0 -0
  165. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/filebrowser/plugin.js +0 -0
  166. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/find/dialogs/find.js +0 -0
  167. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/find/plugin.js +0 -0
  168. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/floatpanel/plugin.js +0 -0
  169. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/format/plugin.js +0 -0
  170. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -0
  171. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/htmlwriter/plugin.js +0 -0
  172. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/image/dialogs/image.js +0 -0
  173. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/image/plugin.js +0 -0
  174. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/indent/plugin.js +0 -0
  175. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/justify/plugin.js +0 -0
  176. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/keystrokes/plugin.js +0 -0
  177. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/list/plugin.js +0 -0
  178. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/listblock/plugin.js +0 -0
  179. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +0 -0
  180. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/liststyle/plugin.js +0 -0
  181. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/maximize/plugin.js +0 -0
  182. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/menu/plugin.js +0 -0
  183. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/panel/plugin.js +0 -0
  184. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/pastefromword/filter/default.js +0 -0
  185. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/pastefromword/plugin.js +0 -0
  186. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +0 -0
  187. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/pastetext/plugin.js +0 -0
  188. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/popup/plugin.js +0 -0
  189. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/removeformat/plugin.js +0 -0
  190. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/resize/plugin.js +0 -0
  191. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/richcombo/plugin.js +0 -0
  192. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/selection/plugin.js +0 -0
  193. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/showborders/plugin.js +0 -0
  194. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/sourcearea/plugin.js +0 -0
  195. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +0 -0
  196. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/specialchar/lang/en.js +0 -0
  197. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/specialchar/plugin.js +0 -0
  198. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/styles/plugin.js +0 -0
  199. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/styles/styles/default.js +0 -0
  200. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/stylescombo/plugin.js +0 -0
  201. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/tab/plugin.js +0 -0
  202. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/table/dialogs/table.js +0 -0
  203. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/table/plugin.js +0 -0
  204. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -0
  205. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/tabletools/plugin.js +0 -0
  206. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/toolbar/plugin.js +0 -0
  207. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/undo/plugin.js +0 -0
  208. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/wysiwygarea/plugin.js +0 -0
  209. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/dialog.css +0 -0
  210. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/editor.css +0 -0
  211. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/elementspath.css +0 -0
  212. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/icons.css +0 -0
  213. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/icons.png +0 -0
  214. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/icons_rtl.png +0 -0
  215. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
  216. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
  217. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
  218. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/mini.gif +0 -0
  219. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/noimage.png +0 -0
  220. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/sprites.png +0 -0
  221. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
  222. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
  223. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/mainui.css +0 -0
  224. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/menu.css +0 -0
  225. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/panel.css +0 -0
  226. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/presets.css +0 -0
  227. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/reset.css +0 -0
  228. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/richcombo.css +0 -0
  229. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/skin.js +0 -0
  230. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/templates.css +0 -0
  231. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/toolbar.css +0 -0
  232. data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/themes/default/theme.js +0 -0
  233. data/{app → vendor}/assets/javascripts/esp-ckeditor/ckeditor.js +0 -0
  234. data/{app → vendor}/assets/javascripts/esp-ckeditor/ckeditor.pack +0 -0
  235. data/{app → vendor}/assets/javascripts/esp-ckeditor/ckeditor_source.js +0 -0
  236. data/{app → vendor}/assets/javascripts/esp-ckeditor/ckpackager.jar +0 -0
  237. data/{app → vendor}/assets/javascripts/esp-ckeditor/ckpackager.txt +0 -0
  238. data/{app → vendor}/assets/javascripts/esp-ckeditor/config.js +0 -0
  239. data/{app → vendor}/assets/javascripts/esp-ckeditor/contents.css +0 -0
  240. data/{app → vendor}/assets/javascripts/esp-ckeditor/images/spacer.gif +0 -0
  241. data/{app/assets/javascripts/esp-ckeditor/application.js → vendor/assets/javascripts/esp-ckeditor/index.js} +0 -0
  242. data/{app → vendor}/assets/javascripts/esp-ckeditor/init_ckeditor.js +0 -0
  243. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
  244. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/a11yhelp/lang/en.js +0 -0
  245. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/a11yhelp/lang/he.js +0 -0
  246. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/a11yhelp/plugin.js +0 -0
  247. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/basicstyles/plugin.js +0 -0
  248. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/button/plugin.js +0 -0
  249. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/clipboard/dialogs/paste.js +0 -0
  250. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/clipboard/plugin.js +0 -0
  251. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/contextmenu/plugin.js +0 -0
  252. data/vendor/assets/javascripts/esp-ckeditor/plugins/dialog/dialogDefinition.js +0 -0
  253. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/dialog/plugin.js +0 -0
  254. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/dialogadvtab/plugin.js +0 -0
  255. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/dialogui/plugin.js +0 -0
  256. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/domiterator/plugin.js +0 -0
  257. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/editingblock/plugin.js +0 -0
  258. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/elementspath/plugin.js +0 -0
  259. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/enterkey/plugin.js +0 -0
  260. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/entities/plugin.js +0 -0
  261. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/dialogs/esp_attachment.js +0 -0
  262. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/images/esp_attachment.png +0 -0
  263. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/en.js +0 -0
  264. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/ru.js +0 -0
  265. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/uk.js +0 -0
  266. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/plugin.js +0 -0
  267. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/dialogs/esp_audio.js +0 -0
  268. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/images/esp_audio.png +0 -0
  269. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/images/placeholder.png +0 -0
  270. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/en.js +0 -0
  271. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/ru.js +0 -0
  272. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/uk.js +0 -0
  273. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/plugin.js +0 -0
  274. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_blockquote/dialogs/esp_blockquote.js +0 -0
  275. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_blockquote/plugin.js +0 -0
  276. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/dialogs/esp_image.js +0 -0
  277. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/images/esp_image.png +0 -0
  278. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/en.js +0 -0
  279. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/ru.js +0 -0
  280. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/uk.js +0 -0
  281. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/plugin.js +0 -0
  282. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/dialogs/esp_anchor.js +0 -0
  283. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/dialogs/esp_link.js +0 -0
  284. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/images/anchor.png +0 -0
  285. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_anchor.png +0 -0
  286. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_link.png +0 -0
  287. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_unlink.png +0 -0
  288. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/en.js +0 -0
  289. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/ru.js +0 -0
  290. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/uk.js +0 -0
  291. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/plugin.js +0 -0
  292. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_address.png +0 -0
  293. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_blockquote.png +0 -0
  294. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_div.png +0 -0
  295. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h1.png +0 -0
  296. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h2.png +0 -0
  297. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h3.png +0 -0
  298. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h4.png +0 -0
  299. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h5.png +0 -0
  300. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h6.png +0 -0
  301. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_p.png +0 -0
  302. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_pre.png +0 -0
  303. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/esp_showblocks.png +0 -0
  304. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/plugin.js +0 -0
  305. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/dialogs/esp_video.js +0 -0
  306. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/images/esp_video.png +0 -0
  307. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/images/placeholder.png +0 -0
  308. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/en.js +0 -0
  309. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/ru.js +0 -0
  310. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/uk.js +0 -0
  311. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/plugin.js +0 -0
  312. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/fakeobjects/plugin.js +0 -0
  313. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/filebrowser/plugin.js +0 -0
  314. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/find/dialogs/find.js +0 -0
  315. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/find/plugin.js +0 -0
  316. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/floatpanel/plugin.js +0 -0
  317. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/format/plugin.js +0 -0
  318. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/htmldataprocessor/plugin.js +0 -0
  319. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/htmlwriter/plugin.js +0 -0
  320. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/image/dialogs/image.js +0 -0
  321. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/image/plugin.js +0 -0
  322. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/indent/plugin.js +0 -0
  323. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/justify/plugin.js +0 -0
  324. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/keystrokes/plugin.js +0 -0
  325. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/list/plugin.js +0 -0
  326. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/listblock/plugin.js +0 -0
  327. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -0
  328. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/liststyle/plugin.js +0 -0
  329. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/maximize/plugin.js +0 -0
  330. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/menu/plugin.js +0 -0
  331. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/panel/plugin.js +0 -0
  332. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/pastefromword/filter/default.js +0 -0
  333. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/pastefromword/plugin.js +0 -0
  334. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -0
  335. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/pastetext/plugin.js +0 -0
  336. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/popup/plugin.js +0 -0
  337. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/removeformat/plugin.js +0 -0
  338. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/resize/plugin.js +0 -0
  339. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/richcombo/plugin.js +0 -0
  340. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/selection/plugin.js +0 -0
  341. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/showborders/plugin.js +0 -0
  342. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/sourcearea/plugin.js +0 -0
  343. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -0
  344. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/specialchar/lang/en.js +0 -0
  345. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/specialchar/plugin.js +0 -0
  346. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/styles/plugin.js +0 -0
  347. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/styles/styles/default.js +0 -0
  348. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/stylescombo/plugin.js +0 -0
  349. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/tab/plugin.js +0 -0
  350. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/table/dialogs/table.js +0 -0
  351. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/table/plugin.js +0 -0
  352. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -0
  353. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/tabletools/plugin.js +0 -0
  354. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/toolbar/plugin.js +0 -0
  355. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/undo/plugin.js +0 -0
  356. data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/wysiwygarea/plugin.js +0 -0
  357. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/dialog.css +0 -0
  358. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/editor.css +9 -9
  359. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/elementspath.css +0 -0
  360. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/icons.css +0 -0
  361. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/icons.png +0 -0
  362. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/icons_rtl.png +0 -0
  363. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  364. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/dialog_sides.png +0 -0
  365. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  366. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/mini.gif +0 -0
  367. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/noimage.png +0 -0
  368. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/sprites.png +0 -0
  369. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  370. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  371. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/mainui.css +0 -0
  372. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/menu.css +0 -0
  373. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/panel.css +0 -0
  374. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/presets.css +0 -0
  375. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/reset.css +0 -0
  376. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/richcombo.css +0 -0
  377. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/skin.js +0 -0
  378. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/templates.css +0 -0
  379. data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/toolbar.css +0 -0
  380. metadata +402 -393
  381. data/app/inputs/ckeditor_input.rb +0 -42
@@ -1,42 +0,0 @@
1
- class CkeditorInput < Formtastic::Inputs::TextInput
2
-
3
- include ActionView::Helpers::TagHelper
4
- include ActionView::Helpers::JavaScriptHelper
5
-
6
- def input_html_options
7
- input_html = (options.delete(:input_html) || {})
8
- super.merge(input_html).merge(:rows => nil)
9
- end
10
-
11
- def to_html
12
- hash = input_html_options.stringify_keys
13
- super + javascript_tag(js_replace(hash['id'], hash))
14
- end
15
-
16
- def js_replace(dom_id, options = {})
17
- js_options = applay_options(options)
18
- js = "if (CKEDITOR.instances['#{dom_id}']) {\nCKEDITOR.remove(CKEDITOR.instances['#{dom_id}']);\n}\n"
19
- js_options.blank? ? js += "CKEDITOR.replace('#{dom_id}');" : js += "CKEDITOR.replace('#{dom_id}', { #{js_options} });"
20
- end
21
-
22
- def applay_options(options)
23
- str = []
24
- options.each do |key, value|
25
- item = case value
26
- when String then
27
- value.split(//).first == '^' ? value.slice(1..-1) : "'#{value}'"
28
- when Hash then
29
- "{ #{applay_options(value)} }"
30
- when Array then
31
- arr = value.collect { |v| "'#{v}'" }
32
- "[ #{arr.join(',')} ]"
33
- when nil then
34
- next
35
- else value
36
- end
37
- str << %Q{'#{key}': #{item}}
38
- end
39
- str.sort.join(', ')
40
- end
41
-
42
- end