ckeditor 3.3.2 → 3.4.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (722) hide show
  1. data/CHANGELOG +15 -0
  2. data/README.rdoc +26 -13
  3. data/Rakefile +6 -7
  4. data/app/controllers/ckeditor_controller.rb +12 -12
  5. data/app/helpers/ckeditor_helper.rb +2 -19
  6. data/config/routes.rb +4 -4
  7. data/lib/ckeditor.rb +4 -18
  8. data/lib/ckeditor/engine.rb +21 -0
  9. data/lib/ckeditor/utils.rb +2 -6
  10. data/lib/ckeditor/version.rb +3 -3
  11. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/USAGE +1 -1
  12. data/lib/generators/ckeditor/base/base_generator.rb +20 -0
  13. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor.rb +0 -2
  14. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/CHANGES.html +31 -0
  15. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/INSTALL.html +0 -0
  16. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/LICENSE.html +0 -0
  17. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/ajax.html +0 -0
  18. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/api.html +0 -0
  19. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/api_dialog.html +0 -0
  20. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/api_dialog/my_dialog.js +0 -0
  21. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/advanced.asp +0 -0
  22. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/events.asp +0 -0
  23. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/index.html +0 -0
  24. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/replace.asp +0 -0
  25. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/replaceall.asp +0 -0
  26. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/sample_posteddata.asp +0 -0
  27. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/standalone.asp +0 -0
  28. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/assets/output_xhtml.css +0 -0
  29. data/lib/generators/ckeditor/base/templates/ckeditor/_samples/autogrow.html +75 -0
  30. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/divreplace.html +0 -0
  31. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/enterkey.html +0 -0
  32. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/fullpage.html +0 -0
  33. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/index.html +1 -0
  34. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/jqueryadapter.html +0 -0
  35. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/output_html.html +0 -0
  36. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/output_xhtml.html +0 -0
  37. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/php/advanced.php +0 -0
  38. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/php/events.php +0 -0
  39. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/php/replace.php +0 -0
  40. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/php/replaceall.php +0 -0
  41. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/php/standalone.php +0 -0
  42. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/replacebyclass.html +0 -0
  43. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/replacebycode.html +0 -0
  44. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/sample.css +0 -0
  45. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/sample.js +0 -0
  46. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/sample_posteddata.php +0 -0
  47. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/sharedspaces.html +0 -0
  48. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/skins.html +0 -0
  49. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/ui_color.html +0 -0
  50. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/ui_languages.html +0 -0
  51. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/adapters/jquery.js +0 -0
  52. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/_bootstrap.js +0 -0
  53. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/ajax.js +0 -0
  54. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/ckeditor.js +0 -0
  55. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/ckeditor_base.js +4 -4
  56. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/ckeditor_basic.js +0 -0
  57. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/command.js +0 -0
  58. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/commanddefinition.js +0 -0
  59. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/config.js +17 -1
  60. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dataprocessor.js +0 -0
  61. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom.js +0 -0
  62. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/comment.js +0 -0
  63. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/document.js +0 -0
  64. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/documentfragment.js +0 -0
  65. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/domobject.js +0 -0
  66. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/element.js +0 -0
  67. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/elementpath.js +0 -0
  68. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/event.js +0 -0
  69. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/node.js +21 -0
  70. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/nodelist.js +0 -0
  71. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/range.js +28 -13
  72. data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/rangelist.js +163 -0
  73. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/text.js +0 -0
  74. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/walker.js +0 -0
  75. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/window.js +0 -0
  76. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dtd.js +0 -0
  77. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/editor.js +0 -0
  78. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/editor_basic.js +0 -0
  79. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/env.js +4 -2
  80. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/event.js +0 -0
  81. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/eventInfo.js +0 -0
  82. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/focusmanager.js +0 -0
  83. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser.js +0 -0
  84. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/basicwriter.js +0 -0
  85. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/cdata.js +0 -0
  86. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/comment.js +0 -0
  87. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/element.js +0 -0
  88. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/filter.js +0 -0
  89. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/fragment.js +0 -0
  90. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/text.js +0 -0
  91. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/imagecacher.js +0 -0
  92. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/lang.js +0 -0
  93. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/loader.js +3 -2
  94. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/plugindefinition.js +0 -0
  95. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/plugins.js +0 -0
  96. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/resourcemanager.js +0 -0
  97. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/scriptloader.js +0 -0
  98. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/skins.js +0 -0
  99. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/themes.js +0 -0
  100. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/tools.js +14 -0
  101. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/ui.js +0 -0
  102. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/xml.js +0 -0
  103. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/_languages.js +0 -0
  104. data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/_translationstatus.txt +60 -0
  105. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/af.js +11 -1
  106. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ar.js +11 -1
  107. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/bg.js +11 -1
  108. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/bn.js +11 -1
  109. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/bs.js +11 -1
  110. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ca.js +11 -1
  111. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/cs.js +11 -1
  112. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/cy.js +11 -1
  113. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/da.js +11 -1
  114. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/de.js +11 -1
  115. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/el.js +11 -1
  116. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/en-au.js +11 -1
  117. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/en-ca.js +11 -1
  118. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/en-gb.js +11 -1
  119. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/en.js +11 -1
  120. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/eo.js +11 -1
  121. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/es.js +11 -1
  122. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/et.js +11 -1
  123. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/eu.js +11 -1
  124. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/fa.js +11 -1
  125. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/fi.js +11 -1
  126. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/fo.js +11 -1
  127. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/fr-ca.js +11 -1
  128. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/fr.js +11 -1
  129. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/gl.js +11 -1
  130. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/gu.js +11 -1
  131. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/he.js +11 -1
  132. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/hi.js +11 -1
  133. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/hr.js +11 -1
  134. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/hu.js +11 -1
  135. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/is.js +11 -1
  136. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/it.js +11 -1
  137. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ja.js +11 -1
  138. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/km.js +11 -1
  139. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ko.js +11 -1
  140. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/lt.js +11 -1
  141. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/lv.js +11 -1
  142. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/mn.js +11 -1
  143. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ms.js +11 -1
  144. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/nb.js +11 -1
  145. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/nl.js +11 -1
  146. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/no.js +11 -1
  147. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/pl.js +11 -1
  148. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/pt-br.js +11 -1
  149. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/pt.js +11 -1
  150. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ro.js +11 -1
  151. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ru.js +11 -1
  152. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/sk.js +11 -1
  153. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/sl.js +11 -1
  154. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/sr-latn.js +11 -1
  155. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/sr.js +11 -1
  156. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/sv.js +11 -1
  157. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/th.js +11 -1
  158. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/tr.js +11 -1
  159. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/uk.js +11 -1
  160. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/vi.js +11 -1
  161. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/zh-cn.js +11 -1
  162. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/zh.js +11 -1
  163. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
  164. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/a11yhelp/lang/en.js +0 -0
  165. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/a11yhelp/lang/he.js +0 -0
  166. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/a11yhelp/plugin.js +0 -0
  167. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/about/dialogs/about.js +0 -0
  168. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
  169. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/about/plugin.js +0 -0
  170. data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/ajax_save/plugin.js +0 -0
  171. data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/attachment/dialogs/attachment.js +0 -0
  172. data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/attachment/images/attachment.png +0 -0
  173. data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/attachment/lang/en.js +0 -0
  174. data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/attachment/lang/ru.js +0 -0
  175. data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/attachment/lang/uk.js +0 -0
  176. data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/attachment/plugin.js +0 -0
  177. data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/autogrow/plugin.js +79 -0
  178. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/basicstyles/plugin.js +0 -0
  179. data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/bidi/plugin.js +244 -0
  180. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/blockquote/plugin.js +1 -1
  181. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/button/plugin.js +0 -0
  182. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -0
  183. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/clipboard/plugin.js +5 -6
  184. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/colorbutton/plugin.js +0 -0
  185. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +5 -4
  186. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/colordialog/plugin.js +0 -0
  187. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/contextmenu/plugin.js +0 -0
  188. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -0
  189. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/dialog/plugin.js +15 -9
  190. data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/dialogadvtab/plugin.js +207 -0
  191. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/dialogui/plugin.js +20 -18
  192. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/div/dialogs/div.js +0 -0
  193. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/div/plugin.js +1 -1
  194. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/domiterator/plugin.js +0 -0
  195. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/editingblock/plugin.js +0 -0
  196. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/elementspath/plugin.js +0 -0
  197. data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/embed/dialogs/embed.js +0 -0
  198. data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/embed/images/embed.png +0 -0
  199. data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/embed/lang/en.js +0 -0
  200. data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/embed/lang/ru.js +0 -0
  201. data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/embed/lang/uk.js +0 -0
  202. data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/embed/plugin.js +0 -0
  203. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/enterkey/plugin.js +11 -1
  204. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/entities/plugin.js +0 -0
  205. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/fakeobjects/plugin.js +0 -0
  206. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/filebrowser/plugin.js +6 -4
  207. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/find/dialogs/find.js +24 -6
  208. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/find/plugin.js +0 -0
  209. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/flash/dialogs/flash.js +2 -2
  210. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
  211. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/flash/plugin.js +2 -1
  212. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/floatpanel/plugin.js +0 -0
  213. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/font/plugin.js +0 -0
  214. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/format/plugin.js +0 -0
  215. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/button.js +0 -0
  216. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/checkbox.js +0 -0
  217. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/form.js +0 -0
  218. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +0 -0
  219. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/radio.js +0 -0
  220. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/select.js +0 -0
  221. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/textarea.js +0 -0
  222. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/textfield.js +0 -0
  223. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
  224. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/plugin.js +2 -2
  225. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/horizontalrule/plugin.js +0 -0
  226. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -0
  227. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/htmlwriter/plugin.js +0 -0
  228. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/iframedialog/plugin.js +0 -0
  229. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/image/dialogs/image.js +4 -1
  230. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/image/plugin.js +1 -1
  231. data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/indent/plugin.js +436 -0
  232. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/justify/plugin.js +35 -24
  233. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/keystrokes/plugin.js +0 -0
  234. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/link/dialogs/anchor.js +0 -0
  235. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/link/dialogs/link.js +1 -1
  236. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
  237. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/link/plugin.js +9 -7
  238. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/list/plugin.js +46 -14
  239. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/listblock/plugin.js +0 -0
  240. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +0 -0
  241. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/liststyle/plugin.js +3 -0
  242. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/maximize/plugin.js +0 -0
  243. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/menu/plugin.js +0 -0
  244. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/menubutton/plugin.js +0 -0
  245. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/newpage/plugin.js +0 -0
  246. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
  247. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/pagebreak/plugin.js +3 -3
  248. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/panel/plugin.js +0 -0
  249. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/panelbutton/plugin.js +0 -0
  250. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/pastefromword/filter/default.js +0 -0
  251. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/pastefromword/plugin.js +0 -0
  252. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +0 -0
  253. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/pastetext/plugin.js +0 -0
  254. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/popup/plugin.js +0 -0
  255. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/preview/plugin.js +0 -0
  256. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/print/plugin.js +0 -0
  257. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/removeformat/plugin.js +4 -2
  258. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/resize/plugin.js +0 -0
  259. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/richcombo/plugin.js +0 -0
  260. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/save/plugin.js +0 -0
  261. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/scayt/dialogs/options.js +0 -0
  262. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +0 -0
  263. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/scayt/plugin.js +3 -2
  264. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/selection/plugin.js +139 -55
  265. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
  266. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
  267. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
  268. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
  269. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
  270. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
  271. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
  272. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
  273. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
  274. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
  275. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
  276. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/plugin.js +0 -0
  277. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showborders/plugin.js +26 -0
  278. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/dialogs/smiley.js +1 -1
  279. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
  280. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
  281. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
  282. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
  283. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
  284. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
  285. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
  286. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
  287. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
  288. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
  289. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
  290. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
  291. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
  292. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
  293. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
  294. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
  295. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
  296. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
  297. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
  298. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  299. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/wink_smile.gif +0 -0
  300. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/plugin.js +0 -0
  301. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/sourcearea/plugin.js +0 -0
  302. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +9 -6
  303. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/specialchar/plugin.js +0 -0
  304. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/styles/plugin.js +27 -21
  305. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/styles/styles/default.js +0 -0
  306. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/stylescombo/plugin.js +0 -0
  307. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/tab/plugin.js +107 -1
  308. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/table/dialogs/table.js +84 -7
  309. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/table/plugin.js +1 -1
  310. data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/tableresize/plugin.js +450 -0
  311. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -0
  312. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/tabletools/plugin.js +53 -49
  313. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/templates/dialogs/templates.js +0 -0
  314. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/templates/plugin.js +0 -0
  315. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/templates/templates/default.js +0 -0
  316. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
  317. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
  318. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
  319. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/toolbar/plugin.js +1 -0
  320. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +0 -0
  321. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/lang/en.js +0 -0
  322. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/plugin.js +0 -0
  323. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
  324. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  325. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  326. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  327. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  328. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +0 -0
  329. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/yui/yui.js +0 -0
  330. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/undo/plugin.js +0 -0
  331. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +0 -0
  332. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +0 -0
  333. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.css +0 -0
  334. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.js +0 -0
  335. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/wsc/plugin.js +0 -0
  336. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/wysiwygarea/plugin.js +73 -9
  337. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/dialog.css +1 -1
  338. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/editor.css +0 -0
  339. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/elementspath.css +0 -0
  340. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/icons.css +12 -1
  341. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/icons.png +0 -0
  342. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
  343. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
  344. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
  345. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/mini.gif +0 -0
  346. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/noimage.png +0 -0
  347. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/sprites.png +0 -0
  348. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
  349. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
  350. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/mainui.css +0 -0
  351. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/menu.css +0 -0
  352. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/panel.css +0 -0
  353. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/presets.css +0 -0
  354. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/reset.css +0 -0
  355. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/richcombo.css +0 -0
  356. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/skin.js +0 -0
  357. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/templates.css +0 -0
  358. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/toolbar.css +0 -0
  359. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/dialog.css +1 -1
  360. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/editor.css +0 -0
  361. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/elementspath.css +0 -0
  362. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/icons.css +10 -0
  363. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/icons.png +0 -0
  364. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
  365. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
  366. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
  367. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
  368. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
  369. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
  370. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/sprites_ie6.png +0 -0
  371. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/mainui.css +0 -0
  372. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/menu.css +0 -0
  373. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/panel.css +0 -0
  374. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/presets.css +0 -0
  375. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/reset.css +0 -0
  376. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/richcombo.css +0 -0
  377. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/skin.js +0 -0
  378. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/templates.css +0 -0
  379. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/toolbar.css +0 -0
  380. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/dialog.css +1 -1
  381. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/editor.css +0 -0
  382. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/elementspath.css +0 -0
  383. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/icons.css +10 -0
  384. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/icons.png +0 -0
  385. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
  386. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
  387. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
  388. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/mini.gif +0 -0
  389. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/noimage.png +0 -0
  390. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/sprites.png +0 -0
  391. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
  392. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/toolbar_start.gif +0 -0
  393. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/mainui.css +0 -0
  394. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/menu.css +0 -0
  395. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/panel.css +0 -0
  396. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/presets.css +0 -0
  397. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/reset.css +0 -0
  398. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/richcombo.css +0 -0
  399. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/skin.js +0 -0
  400. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/templates.css +0 -0
  401. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/toolbar.css +0 -0
  402. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/themes/default/theme.js +0 -0
  403. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/adapters/jquery.js +0 -0
  404. data/lib/generators/ckeditor/base/templates/ckeditor/ckeditor.js +134 -0
  405. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/ckeditor.pack +3 -0
  406. data/lib/generators/ckeditor/base/templates/ckeditor/ckeditor_basic.js +8 -0
  407. data/lib/generators/ckeditor/base/templates/ckeditor/ckeditor_basic_source.js +20 -0
  408. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/ckeditor_source.js +1 -1
  409. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/config.js +3 -2
  410. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/contents.css +0 -0
  411. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/css/ckfinder.css +0 -0
  412. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/css/fck_dialog.css +0 -0
  413. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/css/fck_editor.css +0 -0
  414. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/css/swfupload.css +0 -0
  415. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/add.gif +0 -0
  416. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/cancelbutton.gif +0 -0
  417. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/ckfnothumb.gif +0 -0
  418. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/doc.gif +0 -0
  419. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/mp3.gif +0 -0
  420. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/pdf.gif +0 -0
  421. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/rar.gif +0 -0
  422. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/refresh.gif +0 -0
  423. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/select_files.png +0 -0
  424. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/spacer.gif +0 -0
  425. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/swf.gif +0 -0
  426. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/toolbar.start.gif +0 -0
  427. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/xls.gif +0 -0
  428. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/lang/_languages.js +0 -0
  429. data/lib/generators/ckeditor/base/templates/ckeditor/lang/_translationstatus.txt +60 -0
  430. data/lib/generators/ckeditor/base/templates/ckeditor/lang/af.js +6 -0
  431. data/lib/generators/ckeditor/base/templates/ckeditor/lang/ar.js +6 -0
  432. data/lib/generators/ckeditor/base/templates/ckeditor/lang/bg.js +6 -0
  433. data/lib/generators/ckeditor/base/templates/ckeditor/lang/bn.js +6 -0
  434. data/lib/generators/ckeditor/base/templates/ckeditor/lang/bs.js +6 -0
  435. data/lib/generators/ckeditor/base/templates/ckeditor/lang/ca.js +6 -0
  436. data/lib/generators/ckeditor/base/templates/ckeditor/lang/cs.js +6 -0
  437. data/lib/generators/ckeditor/base/templates/ckeditor/lang/cy.js +6 -0
  438. data/lib/generators/ckeditor/base/templates/ckeditor/lang/da.js +6 -0
  439. data/lib/generators/ckeditor/base/templates/ckeditor/lang/de.js +6 -0
  440. data/lib/generators/ckeditor/base/templates/ckeditor/lang/el.js +6 -0
  441. data/lib/generators/ckeditor/base/templates/ckeditor/lang/en-au.js +6 -0
  442. data/lib/generators/ckeditor/base/templates/ckeditor/lang/en-ca.js +6 -0
  443. data/lib/generators/ckeditor/base/templates/ckeditor/lang/en-gb.js +6 -0
  444. data/lib/generators/ckeditor/base/templates/ckeditor/lang/en.js +6 -0
  445. data/lib/generators/ckeditor/base/templates/ckeditor/lang/eo.js +6 -0
  446. data/lib/generators/ckeditor/base/templates/ckeditor/lang/es.js +6 -0
  447. data/lib/generators/ckeditor/base/templates/ckeditor/lang/et.js +6 -0
  448. data/lib/generators/ckeditor/base/templates/ckeditor/lang/eu.js +6 -0
  449. data/lib/generators/ckeditor/base/templates/ckeditor/lang/fa.js +6 -0
  450. data/lib/generators/ckeditor/base/templates/ckeditor/lang/fi.js +6 -0
  451. data/lib/generators/ckeditor/base/templates/ckeditor/lang/fo.js +6 -0
  452. data/lib/generators/ckeditor/base/templates/ckeditor/lang/fr-ca.js +6 -0
  453. data/lib/generators/ckeditor/base/templates/ckeditor/lang/fr.js +6 -0
  454. data/lib/generators/ckeditor/base/templates/ckeditor/lang/gl.js +6 -0
  455. data/lib/generators/ckeditor/base/templates/ckeditor/lang/gu.js +6 -0
  456. data/lib/generators/ckeditor/base/templates/ckeditor/lang/he.js +6 -0
  457. data/lib/generators/ckeditor/base/templates/ckeditor/lang/hi.js +6 -0
  458. data/lib/generators/ckeditor/base/templates/ckeditor/lang/hr.js +6 -0
  459. data/lib/generators/ckeditor/base/templates/ckeditor/lang/hu.js +6 -0
  460. data/lib/generators/ckeditor/base/templates/ckeditor/lang/is.js +6 -0
  461. data/lib/generators/ckeditor/base/templates/ckeditor/lang/it.js +6 -0
  462. data/lib/generators/ckeditor/base/templates/ckeditor/lang/ja.js +6 -0
  463. data/lib/generators/ckeditor/base/templates/ckeditor/lang/km.js +6 -0
  464. data/lib/generators/ckeditor/base/templates/ckeditor/lang/ko.js +6 -0
  465. data/lib/generators/ckeditor/base/templates/ckeditor/lang/lt.js +6 -0
  466. data/lib/generators/ckeditor/base/templates/ckeditor/lang/lv.js +6 -0
  467. data/lib/generators/ckeditor/base/templates/ckeditor/lang/mn.js +6 -0
  468. data/lib/generators/ckeditor/base/templates/ckeditor/lang/ms.js +6 -0
  469. data/lib/generators/ckeditor/base/templates/ckeditor/lang/nb.js +6 -0
  470. data/lib/generators/ckeditor/base/templates/ckeditor/lang/nl.js +6 -0
  471. data/lib/generators/ckeditor/base/templates/ckeditor/lang/no.js +6 -0
  472. data/lib/generators/ckeditor/base/templates/ckeditor/lang/pl.js +6 -0
  473. data/lib/generators/ckeditor/base/templates/ckeditor/lang/pt-br.js +6 -0
  474. data/lib/generators/ckeditor/base/templates/ckeditor/lang/pt.js +6 -0
  475. data/lib/generators/ckeditor/base/templates/ckeditor/lang/ro.js +6 -0
  476. data/lib/generators/ckeditor/base/templates/ckeditor/lang/ru.js +6 -0
  477. data/lib/generators/ckeditor/base/templates/ckeditor/lang/sk.js +6 -0
  478. data/lib/generators/ckeditor/base/templates/ckeditor/lang/sl.js +6 -0
  479. data/lib/generators/ckeditor/base/templates/ckeditor/lang/sr-latn.js +6 -0
  480. data/lib/generators/ckeditor/base/templates/ckeditor/lang/sr.js +6 -0
  481. data/lib/generators/ckeditor/base/templates/ckeditor/lang/sv.js +6 -0
  482. data/lib/generators/ckeditor/base/templates/ckeditor/lang/th.js +6 -0
  483. data/lib/generators/ckeditor/base/templates/ckeditor/lang/tr.js +6 -0
  484. data/lib/generators/ckeditor/base/templates/ckeditor/lang/uk.js +6 -0
  485. data/lib/generators/ckeditor/base/templates/ckeditor/lang/vi.js +6 -0
  486. data/lib/generators/ckeditor/base/templates/ckeditor/lang/zh-cn.js +6 -0
  487. data/lib/generators/ckeditor/base/templates/ckeditor/lang/zh.js +6 -0
  488. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
  489. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/a11yhelp/lang/en.js +0 -0
  490. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/a11yhelp/lang/he.js +0 -0
  491. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/about/dialogs/about.js +0 -0
  492. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  493. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/ajax_save/plugin.js +1 -0
  494. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/dialogs/attachment.js +1 -0
  495. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/images/attachment.png +0 -0
  496. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/lang/en.js +10 -0
  497. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/lang/ru.js +10 -0
  498. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/lang/uk.js +10 -0
  499. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/plugin.js +1 -0
  500. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/autogrow/plugin.js +6 -0
  501. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/clipboard/dialogs/paste.js +0 -0
  502. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/colordialog/dialogs/colordialog.js +7 -0
  503. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/dialog/dialogDefinition.js +0 -0
  504. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/div/dialogs/div.js +0 -0
  505. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/dialogs/embed.js +1 -0
  506. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/images/embed.png +0 -0
  507. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/lang/en.js +9 -0
  508. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/lang/ru.js +9 -0
  509. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/lang/uk.js +9 -0
  510. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/plugin.js +1 -0
  511. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/find/dialogs/find.js +9 -0
  512. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/flash/dialogs/flash.js +1 -1
  513. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/flash/images/placeholder.png +0 -0
  514. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/button.js +0 -0
  515. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/checkbox.js +0 -0
  516. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/form.js +0 -0
  517. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -0
  518. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/radio.js +0 -0
  519. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/select.js +0 -0
  520. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/textarea.js +0 -0
  521. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/textfield.js +0 -0
  522. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  523. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/iframedialog/plugin.js +0 -0
  524. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/image/dialogs/image.js +1 -1
  525. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/link/dialogs/anchor.js +0 -0
  526. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/link/dialogs/link.js +1 -1
  527. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/link/images/anchor.gif +0 -0
  528. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -0
  529. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  530. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/pastefromword/filter/default.js +0 -0
  531. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -0
  532. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/scayt/dialogs/options.js +0 -0
  533. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -0
  534. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  535. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  536. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  537. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  538. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  539. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  540. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  541. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  542. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  543. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  544. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  545. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/dialogs/smiley.js +1 -1
  546. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  547. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  548. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  549. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  550. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  551. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  552. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  553. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  554. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/heart.gif +0 -0
  555. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  556. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  557. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  558. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  559. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  560. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  561. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  562. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  563. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  564. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  565. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  566. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  567. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
  568. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/styles/styles/default.js +0 -0
  569. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/table/dialogs/table.js +9 -0
  570. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/tableresize/plugin.js +7 -0
  571. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -0
  572. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/templates/dialogs/templates.js +0 -0
  573. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/templates/templates/default.js +0 -0
  574. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  575. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  576. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  577. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -0
  578. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/lang/en.js +0 -0
  579. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/plugin.js +0 -0
  580. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  581. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  582. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  583. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  584. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  585. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -0
  586. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/yui/yui.js +0 -0
  587. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -0
  588. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -0
  589. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/wsc/dialogs/wsc.css +0 -0
  590. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/wsc/dialogs/wsc.js +0 -0
  591. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/dialog.css +1 -1
  592. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/editor.css +1 -1
  593. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/icons.png +0 -0
  594. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  595. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  596. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  597. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/mini.gif +0 -0
  598. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/noimage.png +0 -0
  599. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/sprites.png +0 -0
  600. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  601. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  602. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/skin.js +0 -0
  603. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/templates.css +0 -0
  604. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/dialog.css +1 -1
  605. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/editor.css +1 -1
  606. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/icons.png +0 -0
  607. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  608. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  609. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  610. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/mini.gif +0 -0
  611. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/noimage.png +0 -0
  612. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/sprites.png +0 -0
  613. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  614. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/skin.js +0 -0
  615. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/templates.css +0 -0
  616. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/dialog.css +1 -1
  617. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/editor.css +1 -1
  618. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/icons.png +0 -0
  619. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  620. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  621. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  622. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/mini.gif +0 -0
  623. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/noimage.png +0 -0
  624. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/sprites.png +0 -0
  625. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  626. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  627. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/skin.js +0 -0
  628. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/templates.css +0 -0
  629. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/fileprogress.js +0 -0
  630. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/handlers.js +0 -0
  631. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/mootools-1.2.3-core-yc.js +0 -0
  632. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/querystring.js +0 -0
  633. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/swfupload.js +0 -0
  634. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/swfupload.queue.js +0 -0
  635. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/swfupload.swf +0 -0
  636. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/swfupload.swfobject.js +0 -0
  637. data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/themes/default/theme.js +0 -0
  638. data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/USAGE +1 -1
  639. data/lib/generators/ckeditor/migration/migration_generator.rb +46 -0
  640. data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/attachment_fu/asset.rb +0 -0
  641. data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/attachment_fu/attachment_file.rb +0 -0
  642. data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/attachment_fu/migration.rb +0 -0
  643. data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/attachment_fu/picture.rb +0 -0
  644. data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/paperclip/asset.rb +0 -2
  645. data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/paperclip/attachment_file.rb +0 -0
  646. data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/paperclip/migration.rb +0 -0
  647. data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/paperclip/picture.rb +0 -0
  648. data/lib/tasks/ckeditor_tasks.rake +3 -0
  649. metadata +664 -654
  650. data/examples/s3/s3.yml +0 -2
  651. data/generators/ckeditor_install/ckeditor_install_generator.rb +0 -28
  652. data/generators/ckeditor_install/templates/README +0 -0
  653. data/generators/ckeditor_install/templates/ckeditor/_source/lang/_translationstatus.txt +0 -60
  654. data/generators/ckeditor_install/templates/ckeditor/_source/plugins/indent/plugin.js +0 -422
  655. data/generators/ckeditor_install/templates/ckeditor/ckeditor.js +0 -130
  656. data/generators/ckeditor_install/templates/ckeditor/ckeditor_basic.js +0 -8
  657. data/generators/ckeditor_install/templates/ckeditor/ckeditor_basic_source.js +0 -20
  658. data/generators/ckeditor_install/templates/ckeditor/lang/_translationstatus.txt +0 -60
  659. data/generators/ckeditor_install/templates/ckeditor/lang/af.js +0 -6
  660. data/generators/ckeditor_install/templates/ckeditor/lang/ar.js +0 -6
  661. data/generators/ckeditor_install/templates/ckeditor/lang/bg.js +0 -6
  662. data/generators/ckeditor_install/templates/ckeditor/lang/bn.js +0 -6
  663. data/generators/ckeditor_install/templates/ckeditor/lang/bs.js +0 -6
  664. data/generators/ckeditor_install/templates/ckeditor/lang/ca.js +0 -6
  665. data/generators/ckeditor_install/templates/ckeditor/lang/cs.js +0 -6
  666. data/generators/ckeditor_install/templates/ckeditor/lang/cy.js +0 -6
  667. data/generators/ckeditor_install/templates/ckeditor/lang/da.js +0 -6
  668. data/generators/ckeditor_install/templates/ckeditor/lang/de.js +0 -6
  669. data/generators/ckeditor_install/templates/ckeditor/lang/el.js +0 -6
  670. data/generators/ckeditor_install/templates/ckeditor/lang/en-au.js +0 -6
  671. data/generators/ckeditor_install/templates/ckeditor/lang/en-ca.js +0 -6
  672. data/generators/ckeditor_install/templates/ckeditor/lang/en-gb.js +0 -6
  673. data/generators/ckeditor_install/templates/ckeditor/lang/en.js +0 -6
  674. data/generators/ckeditor_install/templates/ckeditor/lang/eo.js +0 -6
  675. data/generators/ckeditor_install/templates/ckeditor/lang/es.js +0 -6
  676. data/generators/ckeditor_install/templates/ckeditor/lang/et.js +0 -6
  677. data/generators/ckeditor_install/templates/ckeditor/lang/eu.js +0 -6
  678. data/generators/ckeditor_install/templates/ckeditor/lang/fa.js +0 -6
  679. data/generators/ckeditor_install/templates/ckeditor/lang/fi.js +0 -6
  680. data/generators/ckeditor_install/templates/ckeditor/lang/fo.js +0 -6
  681. data/generators/ckeditor_install/templates/ckeditor/lang/fr-ca.js +0 -6
  682. data/generators/ckeditor_install/templates/ckeditor/lang/fr.js +0 -6
  683. data/generators/ckeditor_install/templates/ckeditor/lang/gl.js +0 -6
  684. data/generators/ckeditor_install/templates/ckeditor/lang/gu.js +0 -6
  685. data/generators/ckeditor_install/templates/ckeditor/lang/he.js +0 -6
  686. data/generators/ckeditor_install/templates/ckeditor/lang/hi.js +0 -6
  687. data/generators/ckeditor_install/templates/ckeditor/lang/hr.js +0 -6
  688. data/generators/ckeditor_install/templates/ckeditor/lang/hu.js +0 -6
  689. data/generators/ckeditor_install/templates/ckeditor/lang/is.js +0 -6
  690. data/generators/ckeditor_install/templates/ckeditor/lang/it.js +0 -6
  691. data/generators/ckeditor_install/templates/ckeditor/lang/ja.js +0 -6
  692. data/generators/ckeditor_install/templates/ckeditor/lang/km.js +0 -6
  693. data/generators/ckeditor_install/templates/ckeditor/lang/ko.js +0 -6
  694. data/generators/ckeditor_install/templates/ckeditor/lang/lt.js +0 -6
  695. data/generators/ckeditor_install/templates/ckeditor/lang/lv.js +0 -6
  696. data/generators/ckeditor_install/templates/ckeditor/lang/mn.js +0 -6
  697. data/generators/ckeditor_install/templates/ckeditor/lang/ms.js +0 -6
  698. data/generators/ckeditor_install/templates/ckeditor/lang/nb.js +0 -6
  699. data/generators/ckeditor_install/templates/ckeditor/lang/nl.js +0 -6
  700. data/generators/ckeditor_install/templates/ckeditor/lang/no.js +0 -6
  701. data/generators/ckeditor_install/templates/ckeditor/lang/pl.js +0 -6
  702. data/generators/ckeditor_install/templates/ckeditor/lang/pt-br.js +0 -6
  703. data/generators/ckeditor_install/templates/ckeditor/lang/pt.js +0 -6
  704. data/generators/ckeditor_install/templates/ckeditor/lang/ro.js +0 -6
  705. data/generators/ckeditor_install/templates/ckeditor/lang/ru.js +0 -6
  706. data/generators/ckeditor_install/templates/ckeditor/lang/sk.js +0 -6
  707. data/generators/ckeditor_install/templates/ckeditor/lang/sl.js +0 -6
  708. data/generators/ckeditor_install/templates/ckeditor/lang/sr-latn.js +0 -6
  709. data/generators/ckeditor_install/templates/ckeditor/lang/sr.js +0 -6
  710. data/generators/ckeditor_install/templates/ckeditor/lang/sv.js +0 -6
  711. data/generators/ckeditor_install/templates/ckeditor/lang/th.js +0 -6
  712. data/generators/ckeditor_install/templates/ckeditor/lang/tr.js +0 -6
  713. data/generators/ckeditor_install/templates/ckeditor/lang/uk.js +0 -6
  714. data/generators/ckeditor_install/templates/ckeditor/lang/vi.js +0 -6
  715. data/generators/ckeditor_install/templates/ckeditor/lang/zh-cn.js +0 -6
  716. data/generators/ckeditor_install/templates/ckeditor/lang/zh.js +0 -6
  717. data/generators/ckeditor_install/templates/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -7
  718. data/generators/ckeditor_install/templates/ckeditor/plugins/find/dialogs/find.js +0 -9
  719. data/generators/ckeditor_install/templates/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
  720. data/generators/ckeditor_install/templates/ckeditor/plugins/table/dialogs/table.js +0 -9
  721. data/generators/ckeditor_migration/ckeditor_migration_generator.rb +0 -36
  722. data/lib/ckeditor/safe_buffer.rb +0 -34
@@ -105,6 +105,10 @@ CKEDITOR.lang['sr-latn'] =
105
105
  targetTop : 'Topmost Window (_top)', // MISSING
106
106
  targetSelf : 'Same Window (_self)', // MISSING
107
107
  targetParent : 'Parent Window (_parent)', // MISSING
108
+ langDirLTR : 'Left to Right (LTR)', // MISSING
109
+ langDirRTL : 'Right to Left (RTL)', // MISSING
110
+ styles : 'Style', // MISSING
111
+ cssClasses : 'Stylesheet Classes', // MISSING
108
112
 
109
113
  // Put the voice-only part of the label in the span.
110
114
  unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
@@ -744,5 +748,11 @@ CKEDITOR.lang['sr-latn'] =
744
748
  },
745
749
 
746
750
  toolbarCollapse : 'Collapse Toolbar', // MISSING
747
- toolbarExpand : 'Expand Toolbar' // MISSING
751
+ toolbarExpand : 'Expand Toolbar', // MISSING
752
+
753
+ bidi :
754
+ {
755
+ ltr : 'Text direction from left to right', // MISSING
756
+ rtl : 'Text direction from right to left' // MISSING
757
+ }
748
758
  };
@@ -105,6 +105,10 @@ CKEDITOR.lang['sr'] =
105
105
  targetTop : 'Topmost Window (_top)', // MISSING
106
106
  targetSelf : 'Same Window (_self)', // MISSING
107
107
  targetParent : 'Parent Window (_parent)', // MISSING
108
+ langDirLTR : 'Left to Right (LTR)', // MISSING
109
+ langDirRTL : 'Right to Left (RTL)', // MISSING
110
+ styles : 'Style', // MISSING
111
+ cssClasses : 'Stylesheet Classes', // MISSING
108
112
 
109
113
  // Put the voice-only part of the label in the span.
110
114
  unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
@@ -744,5 +748,11 @@ CKEDITOR.lang['sr'] =
744
748
  },
745
749
 
746
750
  toolbarCollapse : 'Collapse Toolbar', // MISSING
747
- toolbarExpand : 'Expand Toolbar' // MISSING
751
+ toolbarExpand : 'Expand Toolbar', // MISSING
752
+
753
+ bidi :
754
+ {
755
+ ltr : 'Text direction from left to right', // MISSING
756
+ rtl : 'Text direction from right to left' // MISSING
757
+ }
748
758
  };
@@ -105,6 +105,10 @@ CKEDITOR.lang['sv'] =
105
105
  targetTop : 'Topmost Window (_top)', // MISSING
106
106
  targetSelf : 'Same Window (_self)', // MISSING
107
107
  targetParent : 'Parent Window (_parent)', // MISSING
108
+ langDirLTR : 'Left to Right (LTR)', // MISSING
109
+ langDirRTL : 'Right to Left (RTL)', // MISSING
110
+ styles : 'Style', // MISSING
111
+ cssClasses : 'Stylesheet Classes', // MISSING
108
112
 
109
113
  // Put the voice-only part of the label in the span.
110
114
  unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
@@ -744,5 +748,11 @@ CKEDITOR.lang['sv'] =
744
748
  },
745
749
 
746
750
  toolbarCollapse : 'Collapse Toolbar', // MISSING
747
- toolbarExpand : 'Expand Toolbar' // MISSING
751
+ toolbarExpand : 'Expand Toolbar', // MISSING
752
+
753
+ bidi :
754
+ {
755
+ ltr : 'Text direction from left to right', // MISSING
756
+ rtl : 'Text direction from right to left' // MISSING
757
+ }
748
758
  };
@@ -105,6 +105,10 @@ CKEDITOR.lang['th'] =
105
105
  targetTop : 'Topmost Window (_top)', // MISSING
106
106
  targetSelf : 'Same Window (_self)', // MISSING
107
107
  targetParent : 'Parent Window (_parent)', // MISSING
108
+ langDirLTR : 'Left to Right (LTR)', // MISSING
109
+ langDirRTL : 'Right to Left (RTL)', // MISSING
110
+ styles : 'Style', // MISSING
111
+ cssClasses : 'Stylesheet Classes', // MISSING
108
112
 
109
113
  // Put the voice-only part of the label in the span.
110
114
  unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
@@ -744,5 +748,11 @@ CKEDITOR.lang['th'] =
744
748
  },
745
749
 
746
750
  toolbarCollapse : 'Collapse Toolbar', // MISSING
747
- toolbarExpand : 'Expand Toolbar' // MISSING
751
+ toolbarExpand : 'Expand Toolbar', // MISSING
752
+
753
+ bidi :
754
+ {
755
+ ltr : 'Text direction from left to right', // MISSING
756
+ rtl : 'Text direction from right to left' // MISSING
757
+ }
748
758
  };
@@ -104,6 +104,10 @@ CKEDITOR.lang['tr'] =
104
104
  targetTop : 'Enüst Pencere (_top)',
105
105
  targetSelf : 'Aynı Pencere (_self)',
106
106
  targetParent : 'Ana Pencere (_parent)',
107
+ langDirLTR : 'Left to Right (LTR)', // MISSING
108
+ langDirRTL : 'Right to Left (RTL)', // MISSING
109
+ styles : 'Style', // MISSING
110
+ cssClasses : 'Stylesheet Classes', // MISSING
107
111
 
108
112
  // Put the voice-only part of the label in the span.
109
113
  unavailable : '%1<span class="cke_accessibility">, hazır değildir</span>'
@@ -743,5 +747,11 @@ CKEDITOR.lang['tr'] =
743
747
  },
744
748
 
745
749
  toolbarCollapse : 'Toolbar\'ı topla',
746
- toolbarExpand : 'Toolbar\'ı aç'
750
+ toolbarExpand : 'Toolbar\'ı aç',
751
+
752
+ bidi :
753
+ {
754
+ ltr : 'Text direction from left to right', // MISSING
755
+ rtl : 'Text direction from right to left' // MISSING
756
+ }
747
757
  };
@@ -105,6 +105,10 @@ CKEDITOR.lang['uk'] =
105
105
  targetTop : 'Topmost Window (_top)', // MISSING
106
106
  targetSelf : 'Same Window (_self)', // MISSING
107
107
  targetParent : 'Parent Window (_parent)', // MISSING
108
+ langDirLTR : 'Left to Right (LTR)', // MISSING
109
+ langDirRTL : 'Right to Left (RTL)', // MISSING
110
+ styles : 'Style', // MISSING
111
+ cssClasses : 'Stylesheet Classes', // MISSING
108
112
 
109
113
  // Put the voice-only part of the label in the span.
110
114
  unavailable : '%1<span class="cke_accessibility">, не доступне</span>'
@@ -744,5 +748,11 @@ CKEDITOR.lang['uk'] =
744
748
  },
745
749
 
746
750
  toolbarCollapse : 'Collapse Toolbar', // MISSING
747
- toolbarExpand : 'Expand Toolbar' // MISSING
751
+ toolbarExpand : 'Expand Toolbar', // MISSING
752
+
753
+ bidi :
754
+ {
755
+ ltr : 'Text direction from left to right', // MISSING
756
+ rtl : 'Text direction from right to left' // MISSING
757
+ }
748
758
  };
@@ -105,6 +105,10 @@ CKEDITOR.lang['vi'] =
105
105
  targetTop : 'Cửa sổ trên cùng (_top)',
106
106
  targetSelf : 'Tại trang (_self)',
107
107
  targetParent : 'Cửa sổ cha (_parent)',
108
+ langDirLTR : 'Left to Right (LTR)', // MISSING
109
+ langDirRTL : 'Right to Left (RTL)', // MISSING
110
+ styles : 'Style', // MISSING
111
+ cssClasses : 'Stylesheet Classes', // MISSING
108
112
 
109
113
  // Put the voice-only part of the label in the span.
110
114
  unavailable : '%1<span class="cke_accessibility">, không có</span>'
@@ -744,5 +748,11 @@ CKEDITOR.lang['vi'] =
744
748
  },
745
749
 
746
750
  toolbarCollapse : 'Thu gọn thanh công cụ',
747
- toolbarExpand : 'Mở rộng thnah công cụ'
751
+ toolbarExpand : 'Mở rộng thnah công cụ',
752
+
753
+ bidi :
754
+ {
755
+ ltr : 'Text direction from left to right', // MISSING
756
+ rtl : 'Text direction from right to left' // MISSING
757
+ }
748
758
  };
@@ -105,6 +105,10 @@ CKEDITOR.lang['zh-cn'] =
105
105
  targetTop : '整页 (_top)',
106
106
  targetSelf : '本窗口 (_self)',
107
107
  targetParent : '父窗口 (_parent)',
108
+ langDirLTR : 'Left to Right (LTR)', // MISSING
109
+ langDirRTL : 'Right to Left (RTL)', // MISSING
110
+ styles : 'Style', // MISSING
111
+ cssClasses : 'Stylesheet Classes', // MISSING
108
112
 
109
113
  // Put the voice-only part of the label in the span.
110
114
  unavailable : '%1<span class="cke_accessibility">, 不可用</span>'
@@ -744,5 +748,11 @@ CKEDITOR.lang['zh-cn'] =
744
748
  },
745
749
 
746
750
  toolbarCollapse : '折叠工具栏',
747
- toolbarExpand : '展开工具栏'
751
+ toolbarExpand : '展开工具栏',
752
+
753
+ bidi :
754
+ {
755
+ ltr : 'Text direction from left to right', // MISSING
756
+ rtl : 'Text direction from right to left' // MISSING
757
+ }
748
758
  };
@@ -105,6 +105,10 @@ CKEDITOR.lang['zh'] =
105
105
  targetTop : 'Topmost Window (_top)', // MISSING
106
106
  targetSelf : 'Same Window (_self)', // MISSING
107
107
  targetParent : 'Parent Window (_parent)', // MISSING
108
+ langDirLTR : 'Left to Right (LTR)', // MISSING
109
+ langDirRTL : 'Right to Left (RTL)', // MISSING
110
+ styles : 'Style', // MISSING
111
+ cssClasses : 'Stylesheet Classes', // MISSING
108
112
 
109
113
  // Put the voice-only part of the label in the span.
110
114
  unavailable : '%1<span class="cke_accessibility">, 已關閉</span>'
@@ -744,5 +748,11 @@ CKEDITOR.lang['zh'] =
744
748
  },
745
749
 
746
750
  toolbarCollapse : 'Collapse Toolbar', // MISSING
747
- toolbarExpand : 'Expand Toolbar' // MISSING
751
+ toolbarExpand : 'Expand Toolbar', // MISSING
752
+
753
+ bidi :
754
+ {
755
+ ltr : 'Text direction from left to right', // MISSING
756
+ rtl : 'Text direction from right to left' // MISSING
757
+ }
748
758
  };
@@ -0,0 +1,79 @@
1
+ /*
2
+ Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+
6
+ /**
7
+ * @file AutoGrow plugin
8
+ */
9
+ (function(){
10
+ var resizeEditor = function( editor )
11
+ {
12
+ var doc = editor.document,
13
+ currentHeight = editor.window.getViewPaneSize().height,
14
+ newHeight;
15
+
16
+ // We can not use documentElement to calculate the height for IE (#6061).
17
+ if ( CKEDITOR.env.ie )
18
+ newHeight = doc.getBody().$.scrollHeight + 24;
19
+ else
20
+ newHeight = doc.getDocumentElement().$.offsetHeight;
21
+
22
+ var min = editor.config.autoGrow_minHeight,
23
+ max = editor.config.autoGrow_maxHeight;
24
+ ( min == undefined ) && ( editor.config.autoGrow_minHeight = min = 200 );
25
+ if ( min )
26
+ newHeight = Math.max( newHeight, min );
27
+ if ( max )
28
+ newHeight = Math.min( newHeight, max );
29
+
30
+ if ( newHeight != currentHeight )
31
+ {
32
+ newHeight = editor.fire( 'autoGrow', { currentHeight : currentHeight, newHeight : newHeight } ).newHeight;
33
+ editor.resize( editor.container.getStyle( 'width' ), newHeight, true );
34
+ }
35
+ };
36
+ CKEDITOR.plugins.add( 'autogrow',
37
+ {
38
+ init : function( editor )
39
+ {
40
+ for ( var eventName in { contentDom:1, key:1, selectionChange:1, insertElement:1 } )
41
+ {
42
+ editor.on( eventName, function( evt )
43
+ {
44
+ // Some time is required for insertHtml, and it gives other events better performance as well.
45
+ if ( evt.editor.mode == 'wysiwyg' )
46
+ setTimeout( function(){ resizeEditor( evt.editor ); }, 100 );
47
+ });
48
+ }
49
+ }
50
+ });
51
+ })();
52
+ /**
53
+ * The minimum height to which the editor can reach using AutoGrow.
54
+ * @name CKEDITOR.config.autoGrow_minHeight
55
+ * @type Number
56
+ * @default 200
57
+ * @since 3.4
58
+ * @example
59
+ * config.autoGrow_minHeight = 300;
60
+ */
61
+
62
+ /**
63
+ * The maximum height to which the editor can reach using AutoGrow. Zero means unlimited.
64
+ * @name CKEDITOR.config.autoGrow_maxHeight
65
+ * @type Number
66
+ * @default 0
67
+ * @since 3.4
68
+ * @example
69
+ * config.autoGrow_maxHeight = 400;
70
+ */
71
+
72
+ /**
73
+ * Fired when the AutoGrow plugin is about to change the size of the editor.
74
+ * @name CKEDITOR#autogrow
75
+ * @event
76
+ * @param {Number} data.currentHeight The current height of the editor (before the resizing).
77
+ * @param {Number} data.newHeight The new height of the editor (after the resizing). It can be changed
78
+ * to determine another height to be used instead.
79
+ */
@@ -0,0 +1,244 @@
1
+ /*
2
+ Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+
6
+ (function()
7
+ {
8
+ var guardElements = { table:1, ul:1, ol:1, blockquote:1, div:1 };
9
+ var directSelectionGuardElements = {};
10
+ CKEDITOR.tools.extend( directSelectionGuardElements, guardElements, { tr:1, p:1, div:1, li:1 } );
11
+
12
+ function onSelectionChange( evt )
13
+ {
14
+ evt.editor.getCommand( 'bidirtl' ).setState( getState( evt.editor, evt.data.path, 'rtl' ) );
15
+ evt.editor.getCommand( 'bidiltr' ).setState( getState( evt.editor, evt.data.path, 'ltr' ) );
16
+ }
17
+
18
+ function getState( editor, path, dir )
19
+ {
20
+ var useComputedState = editor.config.useComputedState,
21
+ selectedElement;
22
+
23
+ useComputedState = useComputedState === undefined || useComputedState;
24
+
25
+ if ( useComputedState )
26
+ {
27
+ var selection = editor.getSelection(),
28
+ ranges = selection.getRanges();
29
+
30
+ selectedElement = ranges && ranges[ 0 ].getEnclosedNode();
31
+
32
+ // If this is not our element of interest, apply to fully selected elements from guardElements.
33
+ if ( !selectedElement || selectedElement
34
+ && !( selectedElement.type == CKEDITOR.NODE_ELEMENT && selectedElement.getName() in directSelectionGuardElements )
35
+ )
36
+ selectedElement = getFullySelected( selection, guardElements );
37
+ }
38
+
39
+ selectedElement = selectedElement || path.block || path.blockLimit;
40
+
41
+ if ( !selectedElement || selectedElement.getName() == 'body' )
42
+ return CKEDITOR.TRISTATE_OFF;
43
+
44
+ selectedElement = useComputedState ?
45
+ selectedElement.getComputedStyle( 'direction' ) :
46
+ selectedElement.getStyle( 'direction' ) || selectedElement.getAttribute( 'dir' );
47
+
48
+ return ( selectedElement == dir ) ?
49
+ CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF;
50
+ }
51
+
52
+ function switchDir( element, dir, editor )
53
+ {
54
+ var dirBefore = element.getComputedStyle( 'direction' ),
55
+ currentDir = element.getStyle( 'direction' ) || element.getAttribute( 'dir' ) || '';
56
+
57
+ element.removeStyle( 'direction' );
58
+
59
+ if ( currentDir.toLowerCase() == dir )
60
+ element.removeAttribute( 'dir' );
61
+ else
62
+ element.setAttribute( 'dir', dir );
63
+
64
+ // If the element direction changed, we need to switch the margins of
65
+ // the element and all its children, so it will get really reflected
66
+ // like a mirror. (#5910)
67
+ var dirAfter = element.getComputedStyle( 'direction' );
68
+ if ( dirAfter != dirBefore )
69
+ {
70
+ var range = new CKEDITOR.dom.range( element.getDocument() );
71
+ range.setStartBefore( element );
72
+ range.setEndAfter( element );
73
+
74
+ var walker = new CKEDITOR.dom.walker( range );
75
+
76
+ var node;
77
+ while ( ( node = walker.next() ) )
78
+ {
79
+ if ( node.type == CKEDITOR.NODE_ELEMENT )
80
+ {
81
+ // A child with dir defined is to be ignored.
82
+ if ( !node.equals( element ) && node.hasAttribute( 'dir' ) )
83
+ {
84
+ range.setStartAfter( node );
85
+ walker = new CKEDITOR.dom.walker( range );
86
+ continue;
87
+ }
88
+
89
+ // Switch the margins.
90
+ var marginLeft = node.getStyle( 'margin-right' ),
91
+ marginRight = node.getStyle( 'margin-left' );
92
+
93
+ marginLeft ? node.setStyle( 'margin-left', marginLeft ) : node.removeStyle( 'margin-left' );
94
+ marginRight ? node.setStyle( 'margin-right', marginRight ) : node.removeStyle( 'margin-right' );
95
+ }
96
+ }
97
+ }
98
+
99
+ editor.forceNextSelectionCheck();
100
+ }
101
+
102
+ function getFullySelected( selection, elements )
103
+ {
104
+ var selectedElement = selection.getCommonAncestor();
105
+ while( selectedElement.type == CKEDITOR.NODE_ELEMENT
106
+ && !( selectedElement.getName() in elements )
107
+ && selectedElement.getParent().getChildCount() == 1
108
+ )
109
+ selectedElement = selectedElement.getParent();
110
+
111
+ return selectedElement.type == CKEDITOR.NODE_ELEMENT
112
+ && ( selectedElement.getName() in elements )
113
+ && selectedElement;
114
+ }
115
+
116
+ function bidiCommand( dir )
117
+ {
118
+ return function( editor )
119
+ {
120
+ var selection = editor.getSelection(),
121
+ enterMode = editor.config.enterMode,
122
+ ranges = selection.getRanges();
123
+
124
+ if ( ranges && ranges.length )
125
+ {
126
+ // Apply do directly selected elements from guardElements.
127
+ var selectedElement = ranges[ 0 ].getEnclosedNode();
128
+
129
+ // If this is not our element of interest, apply to fully selected elements from guardElements.
130
+ if ( !selectedElement || selectedElement
131
+ && !( selectedElement.type == CKEDITOR.NODE_ELEMENT && selectedElement.getName() in directSelectionGuardElements )
132
+ )
133
+ selectedElement = getFullySelected( selection, guardElements );
134
+
135
+ if ( selectedElement )
136
+ {
137
+ if ( !selectedElement.isReadOnly() )
138
+ switchDir( selectedElement, dir, editor );
139
+ }
140
+ else
141
+ {
142
+ // Creates bookmarks for selection, as we may split some blocks.
143
+ var bookmarks = selection.createBookmarks();
144
+
145
+ var iterator,
146
+ block;
147
+
148
+ for ( var i = ranges.length - 1 ; i >= 0 ; i-- )
149
+ {
150
+ // Array of elements processed as guardElements.
151
+ var processedElements = [];
152
+ // Walker searching for guardElements.
153
+ var walker = new CKEDITOR.dom.walker( ranges[ i ] );
154
+ walker.evaluator = function( node ){
155
+ return node.type == CKEDITOR.NODE_ELEMENT
156
+ && node.getName() in guardElements
157
+ && !( node.getName() == ( enterMode == CKEDITOR.ENTER_P ) ? 'p' : 'div'
158
+ && node.getParent().type == CKEDITOR.NODE_ELEMENT
159
+ && node.getParent().getName() == 'blockquote'
160
+ );
161
+ };
162
+
163
+ while ( ( block = walker.next() ) )
164
+ {
165
+ switchDir( block, dir, editor );
166
+ processedElements.push( block );
167
+ }
168
+
169
+ iterator = ranges[ i ].createIterator();
170
+ iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR;
171
+
172
+ while ( ( block = iterator.getNextParagraph( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ) )
173
+ {
174
+ if ( block.isReadOnly() )
175
+ continue;
176
+
177
+ var _break = 0;
178
+
179
+ // Check if block have been already processed by the walker above.
180
+ for ( var ii = 0; ii < processedElements.length; ii++ )
181
+ {
182
+ var parent = block.getParent();
183
+
184
+ while( parent && parent.getName() != 'body' )
185
+ {
186
+ if ( ( parent.$.isSameNode && parent.$.isSameNode( processedElements[ ii ].$ ) )
187
+ || parent.$ == processedElements[ ii ].$ )
188
+ {
189
+ _break = 1;
190
+ break;
191
+ }
192
+ parent = parent.getParent();
193
+ }
194
+
195
+ if ( _break )
196
+ break;
197
+ }
198
+
199
+ if ( !_break )
200
+ {
201
+ switchDir( block, dir, editor );
202
+ }
203
+ }
204
+ }
205
+
206
+ editor.forceNextSelectionCheck();
207
+ // Restore selection position.
208
+ selection.selectBookmarks( bookmarks );
209
+ }
210
+
211
+ editor.focus();
212
+ }
213
+ };
214
+ }
215
+
216
+ CKEDITOR.plugins.add( 'bidi',
217
+ {
218
+ requires : [ 'styles', 'button' ],
219
+
220
+ init : function( editor )
221
+ {
222
+ // All buttons use the same code to register. So, to avoid
223
+ // duplications, let's use this tool function.
224
+ var addButtonCommand = function( buttonName, buttonLabel, commandName, commandExec )
225
+ {
226
+ editor.addCommand( commandName, new CKEDITOR.command( editor, { exec : commandExec }) );
227
+
228
+ editor.ui.addButton( buttonName,
229
+ {
230
+ label : buttonLabel,
231
+ command : commandName
232
+ });
233
+ };
234
+
235
+ var lang = editor.lang.bidi;
236
+
237
+ addButtonCommand( 'BidiLtr', lang.ltr, 'bidiltr', bidiCommand( 'ltr' ) );
238
+ addButtonCommand( 'BidiRtl', lang.rtl, 'bidirtl', bidiCommand( 'rtl' ) );
239
+
240
+ editor.on( 'selectionChange', onSelectionChange );
241
+ }
242
+ });
243
+
244
+ })();