esp-ckeditor 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +32 -0
  3. data/Rakefile +28 -0
  4. data/app/assets/javascripts/esp-ckeditor/_source/core/_bootstrap.js +87 -0
  5. data/app/assets/javascripts/esp-ckeditor/_source/core/ckeditor.js +141 -0
  6. data/app/assets/javascripts/esp-ckeditor/_source/core/ckeditor_base.js +227 -0
  7. data/app/assets/javascripts/esp-ckeditor/_source/core/ckeditor_basic.js +238 -0
  8. data/app/assets/javascripts/esp-ckeditor/_source/core/command.js +209 -0
  9. data/app/assets/javascripts/esp-ckeditor/_source/core/commanddefinition.js +129 -0
  10. data/app/assets/javascripts/esp-ckeditor/_source/core/config.js +423 -0
  11. data/app/assets/javascripts/esp-ckeditor/_source/core/dataprocessor.js +65 -0
  12. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/comment.js +32 -0
  13. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/document.js +251 -0
  14. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/documentfragment.js +49 -0
  15. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/domobject.js +258 -0
  16. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/element.js +1691 -0
  17. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/elementpath.js +119 -0
  18. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/event.js +145 -0
  19. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/node.js +696 -0
  20. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/nodelist.js +26 -0
  21. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/range.js +2054 -0
  22. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/rangelist.js +213 -0
  23. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/text.js +128 -0
  24. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/walker.js +462 -0
  25. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/window.js +96 -0
  26. data/app/assets/javascripts/esp-ckeditor/_source/core/dom.js +20 -0
  27. data/app/assets/javascripts/esp-ckeditor/_source/core/dtd.js +266 -0
  28. data/app/assets/javascripts/esp-ckeditor/_source/core/editor.js +1060 -0
  29. data/app/assets/javascripts/esp-ckeditor/_source/core/editor_basic.js +186 -0
  30. data/app/assets/javascripts/esp-ckeditor/_source/core/env.js +305 -0
  31. data/app/assets/javascripts/esp-ckeditor/_source/core/event.js +342 -0
  32. data/app/assets/javascripts/esp-ckeditor/_source/core/eventInfo.js +120 -0
  33. data/app/assets/javascripts/esp-ckeditor/_source/core/focusmanager.js +152 -0
  34. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/basicwriter.js +145 -0
  35. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/cdata.js +43 -0
  36. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/comment.js +60 -0
  37. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/element.js +308 -0
  38. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/filter.js +288 -0
  39. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/fragment.js +518 -0
  40. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/text.js +53 -0
  41. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser.js +224 -0
  42. data/app/assets/javascripts/esp-ckeditor/_source/core/lang.js +157 -0
  43. data/app/assets/javascripts/esp-ckeditor/_source/core/loader.js +240 -0
  44. data/app/assets/javascripts/esp-ckeditor/_source/core/plugindefinition.js +83 -0
  45. data/app/assets/javascripts/esp-ckeditor/_source/core/plugins.js +103 -0
  46. data/app/assets/javascripts/esp-ckeditor/_source/core/resourcemanager.js +238 -0
  47. data/app/assets/javascripts/esp-ckeditor/_source/core/scriptloader.js +180 -0
  48. data/app/assets/javascripts/esp-ckeditor/_source/core/skins.js +184 -0
  49. data/app/assets/javascripts/esp-ckeditor/_source/core/themes.js +19 -0
  50. data/app/assets/javascripts/esp-ckeditor/_source/core/tools.js +763 -0
  51. data/app/assets/javascripts/esp-ckeditor/_source/core/ui.js +128 -0
  52. data/app/assets/javascripts/esp-ckeditor/_source/lang/_languages.js +27 -0
  53. data/app/assets/javascripts/esp-ckeditor/_source/lang/en.js +815 -0
  54. data/app/assets/javascripts/esp-ckeditor/_source/lang/ru.js +815 -0
  55. data/app/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +222 -0
  56. data/app/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/lang/en.js +108 -0
  57. data/app/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/lang/he.js +216 -0
  58. data/app/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/plugin.js +47 -0
  59. data/app/assets/javascripts/esp-ckeditor/_source/plugins/basicstyles/plugin.js +129 -0
  60. data/app/assets/javascripts/esp-ckeditor/_source/plugins/button/plugin.js +290 -0
  61. data/app/assets/javascripts/esp-ckeditor/_source/plugins/clipboard/dialogs/paste.js +223 -0
  62. data/app/assets/javascripts/esp-ckeditor/_source/plugins/clipboard/plugin.js +453 -0
  63. data/app/assets/javascripts/esp-ckeditor/_source/plugins/contextmenu/plugin.js +179 -0
  64. data/app/assets/javascripts/esp-ckeditor/_source/plugins/dialog/dialogDefinition.js +1166 -0
  65. data/app/assets/javascripts/esp-ckeditor/_source/plugins/dialog/plugin.js +3308 -0
  66. data/app/assets/javascripts/esp-ckeditor/_source/plugins/dialogadvtab/plugin.js +208 -0
  67. data/app/assets/javascripts/esp-ckeditor/_source/plugins/dialogui/plugin.js +1541 -0
  68. data/app/assets/javascripts/esp-ckeditor/_source/plugins/domiterator/plugin.js +361 -0
  69. data/app/assets/javascripts/esp-ckeditor/_source/plugins/editingblock/plugin.js +278 -0
  70. data/app/assets/javascripts/esp-ckeditor/_source/plugins/elementspath/plugin.js +218 -0
  71. data/app/assets/javascripts/esp-ckeditor/_source/plugins/enterkey/plugin.js +433 -0
  72. data/app/assets/javascripts/esp-ckeditor/_source/plugins/entities/plugin.js +250 -0
  73. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/dialogs/esp_attachment.js +234 -0
  74. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/images/esp_attachment.png +0 -0
  75. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/en.js +22 -0
  76. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/ru.js +22 -0
  77. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/uk.js +22 -0
  78. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/plugin.js +23 -0
  79. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/dialogs/esp_audio.js +207 -0
  80. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/images/esp_audio.png +0 -0
  81. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/images/placeholder.png +0 -0
  82. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/en.js +18 -0
  83. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/ru.js +18 -0
  84. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/uk.js +18 -0
  85. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/plugin.js +182 -0
  86. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_blockquote/dialogs/esp_blockquote.js +132 -0
  87. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_blockquote/plugin.js +235 -0
  88. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/dialogs/esp_image.js +1414 -0
  89. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/images/esp_image.png +0 -0
  90. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/en.js +9 -0
  91. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/ru.js +9 -0
  92. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/uk.js +9 -0
  93. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/plugin.js +80 -0
  94. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/dialogs/esp_anchor.js +145 -0
  95. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/dialogs/esp_link.js +1396 -0
  96. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/anchor.png +0 -0
  97. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_anchor.png +0 -0
  98. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_link.png +0 -0
  99. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_unlink.png +0 -0
  100. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/en.js +8 -0
  101. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/ru.js +8 -0
  102. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/uk.js +8 -0
  103. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/plugin.js +379 -0
  104. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_address.png +0 -0
  105. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_blockquote.png +0 -0
  106. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_div.png +0 -0
  107. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h1.png +0 -0
  108. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h2.png +0 -0
  109. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h3.png +0 -0
  110. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h4.png +0 -0
  111. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h5.png +0 -0
  112. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h6.png +0 -0
  113. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_p.png +0 -0
  114. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_pre.png +0 -0
  115. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/esp_showblocks.png +0 -0
  116. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/plugin.js +163 -0
  117. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/dialogs/esp_video.js +277 -0
  118. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/images/esp_video.png +0 -0
  119. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/images/placeholder.png +0 -0
  120. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/en.js +19 -0
  121. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/ru.js +19 -0
  122. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/uk.js +19 -0
  123. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/plugin.js +182 -0
  124. data/app/assets/javascripts/esp-ckeditor/_source/plugins/fakeobjects/plugin.js +175 -0
  125. data/app/assets/javascripts/esp-ckeditor/_source/plugins/filebrowser/plugin.js +534 -0
  126. data/app/assets/javascripts/esp-ckeditor/_source/plugins/find/dialogs/find.js +915 -0
  127. data/app/assets/javascripts/esp-ckeditor/_source/plugins/find/plugin.js +47 -0
  128. data/app/assets/javascripts/esp-ckeditor/_source/plugins/floatpanel/plugin.js +428 -0
  129. data/app/assets/javascripts/esp-ckeditor/_source/plugins/format/plugin.js +197 -0
  130. data/app/assets/javascripts/esp-ckeditor/_source/plugins/htmldataprocessor/plugin.js +596 -0
  131. data/app/assets/javascripts/esp-ckeditor/_source/plugins/htmlwriter/plugin.js +319 -0
  132. data/app/assets/javascripts/esp-ckeditor/_source/plugins/image/dialogs/image.js +1407 -0
  133. data/app/assets/javascripts/esp-ckeditor/_source/plugins/image/plugin.js +81 -0
  134. data/app/assets/javascripts/esp-ckeditor/_source/plugins/indent/plugin.js +461 -0
  135. data/app/assets/javascripts/esp-ckeditor/_source/plugins/justify/plugin.js +253 -0
  136. data/app/assets/javascripts/esp-ckeditor/_source/plugins/keystrokes/plugin.js +225 -0
  137. data/app/assets/javascripts/esp-ckeditor/_source/plugins/list/plugin.js +774 -0
  138. data/app/assets/javascripts/esp-ckeditor/_source/plugins/listblock/plugin.js +266 -0
  139. data/app/assets/javascripts/esp-ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +225 -0
  140. data/app/assets/javascripts/esp-ckeditor/_source/plugins/liststyle/plugin.js +66 -0
  141. data/app/assets/javascripts/esp-ckeditor/_source/plugins/maximize/plugin.js +353 -0
  142. data/app/assets/javascripts/esp-ckeditor/_source/plugins/menu/plugin.js +541 -0
  143. data/app/assets/javascripts/esp-ckeditor/_source/plugins/panel/plugin.js +400 -0
  144. data/app/assets/javascripts/esp-ckeditor/_source/plugins/pastefromword/filter/default.js +1367 -0
  145. data/app/assets/javascripts/esp-ckeditor/_source/plugins/pastefromword/plugin.js +141 -0
  146. data/app/assets/javascripts/esp-ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +67 -0
  147. data/app/assets/javascripts/esp-ckeditor/_source/plugins/pastetext/plugin.js +98 -0
  148. data/app/assets/javascripts/esp-ckeditor/_source/plugins/popup/plugin.js +64 -0
  149. data/app/assets/javascripts/esp-ckeditor/_source/plugins/removeformat/plugin.js +185 -0
  150. data/app/assets/javascripts/esp-ckeditor/_source/plugins/resize/plugin.js +168 -0
  151. data/app/assets/javascripts/esp-ckeditor/_source/plugins/richcombo/plugin.js +381 -0
  152. data/app/assets/javascripts/esp-ckeditor/_source/plugins/selection/plugin.js +1729 -0
  153. data/app/assets/javascripts/esp-ckeditor/_source/plugins/showborders/plugin.js +207 -0
  154. data/app/assets/javascripts/esp-ckeditor/_source/plugins/sourcearea/plugin.js +209 -0
  155. data/app/assets/javascripts/esp-ckeditor/_source/plugins/styles/plugin.js +1700 -0
  156. data/app/assets/javascripts/esp-ckeditor/_source/plugins/styles/styles/default.js +88 -0
  157. data/app/assets/javascripts/esp-ckeditor/_source/plugins/stylescombo/plugin.js +218 -0
  158. data/app/assets/javascripts/esp-ckeditor/_source/plugins/tab/plugin.js +367 -0
  159. data/app/assets/javascripts/esp-ckeditor/_source/plugins/table/dialogs/table.js +623 -0
  160. data/app/assets/javascripts/esp-ckeditor/_source/plugins/table/plugin.js +78 -0
  161. data/app/assets/javascripts/esp-ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +525 -0
  162. data/app/assets/javascripts/esp-ckeditor/_source/plugins/tabletools/plugin.js +1194 -0
  163. data/app/assets/javascripts/esp-ckeditor/_source/plugins/toolbar/plugin.js +545 -0
  164. data/app/assets/javascripts/esp-ckeditor/_source/plugins/undo/plugin.js +578 -0
  165. data/app/assets/javascripts/esp-ckeditor/_source/plugins/wysiwygarea/plugin.js +1347 -0
  166. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/dialog.css +988 -0
  167. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/editor.css +25 -0
  168. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/elementspath.css +73 -0
  169. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/icons.css +367 -0
  170. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/icons.png +0 -0
  171. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/icons_rtl.png +0 -0
  172. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
  173. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
  174. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
  175. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/mini.gif +0 -0
  176. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/noimage.png +0 -0
  177. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/sprites.png +0 -0
  178. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
  179. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
  180. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/mainui.css +209 -0
  181. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/menu.css +232 -0
  182. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/panel.css +227 -0
  183. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/presets.css +49 -0
  184. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/reset.css +85 -0
  185. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/richcombo.css +287 -0
  186. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/skin.js +236 -0
  187. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/templates.css +88 -0
  188. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/toolbar.css +412 -0
  189. data/app/assets/javascripts/esp-ckeditor/_source/themes/default/theme.js +407 -0
  190. data/app/assets/javascripts/esp-ckeditor/application.js +8 -0
  191. data/app/assets/javascripts/esp-ckeditor/ckeditor.js +137 -0
  192. data/app/assets/javascripts/esp-ckeditor/ckeditor.pack +194 -0
  193. data/app/assets/javascripts/esp-ckeditor/ckeditor_source.js +35 -0
  194. data/app/assets/javascripts/esp-ckeditor/ckpackager.jar +0 -0
  195. data/app/assets/javascripts/esp-ckeditor/ckpackager.txt +2 -0
  196. data/app/assets/javascripts/esp-ckeditor/config.js +147 -0
  197. data/app/assets/javascripts/esp-ckeditor/contents.css +38 -0
  198. data/app/assets/javascripts/esp-ckeditor/images/spacer.gif +0 -0
  199. data/app/assets/javascripts/esp-ckeditor/init_ckeditor.js +1 -0
  200. data/app/assets/javascripts/esp-ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +1 -0
  201. data/app/assets/javascripts/esp-ckeditor/plugins/a11yhelp/lang/en.js +1 -0
  202. data/app/assets/javascripts/esp-ckeditor/plugins/a11yhelp/lang/he.js +1 -0
  203. data/app/assets/javascripts/esp-ckeditor/plugins/a11yhelp/plugin.js +1 -0
  204. data/app/assets/javascripts/esp-ckeditor/plugins/basicstyles/plugin.js +1 -0
  205. data/app/assets/javascripts/esp-ckeditor/plugins/button/plugin.js +1 -0
  206. data/app/assets/javascripts/esp-ckeditor/plugins/clipboard/dialogs/paste.js +1 -0
  207. data/app/assets/javascripts/esp-ckeditor/plugins/clipboard/plugin.js +1 -0
  208. data/app/assets/javascripts/esp-ckeditor/plugins/contextmenu/plugin.js +1 -0
  209. data/app/assets/javascripts/esp-ckeditor/plugins/dialog/dialogDefinition.js +0 -0
  210. data/app/assets/javascripts/esp-ckeditor/plugins/dialog/plugin.js +1 -0
  211. data/app/assets/javascripts/esp-ckeditor/plugins/dialogadvtab/plugin.js +1 -0
  212. data/app/assets/javascripts/esp-ckeditor/plugins/dialogui/plugin.js +1 -0
  213. data/app/assets/javascripts/esp-ckeditor/plugins/domiterator/plugin.js +1 -0
  214. data/app/assets/javascripts/esp-ckeditor/plugins/editingblock/plugin.js +1 -0
  215. data/app/assets/javascripts/esp-ckeditor/plugins/elementspath/plugin.js +1 -0
  216. data/app/assets/javascripts/esp-ckeditor/plugins/enterkey/plugin.js +1 -0
  217. data/app/assets/javascripts/esp-ckeditor/plugins/entities/plugin.js +1 -0
  218. data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/dialogs/esp_attachment.js +1 -0
  219. data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/images/esp_attachment.png +0 -0
  220. data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/en.js +1 -0
  221. data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/ru.js +1 -0
  222. data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/uk.js +1 -0
  223. data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/plugin.js +1 -0
  224. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/dialogs/esp_audio.js +1 -0
  225. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/images/esp_audio.png +0 -0
  226. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/images/placeholder.png +0 -0
  227. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/en.js +1 -0
  228. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/ru.js +1 -0
  229. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/uk.js +1 -0
  230. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/plugin.js +1 -0
  231. data/app/assets/javascripts/esp-ckeditor/plugins/esp_blockquote/dialogs/esp_blockquote.js +1 -0
  232. data/app/assets/javascripts/esp-ckeditor/plugins/esp_blockquote/plugin.js +1 -0
  233. data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/dialogs/esp_image.js +1 -0
  234. data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/images/esp_image.png +0 -0
  235. data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/en.js +1 -0
  236. data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/ru.js +1 -0
  237. data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/uk.js +1 -0
  238. data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/plugin.js +1 -0
  239. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/dialogs/esp_anchor.js +1 -0
  240. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/dialogs/esp_link.js +1 -0
  241. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/images/anchor.png +0 -0
  242. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_anchor.png +0 -0
  243. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_link.png +0 -0
  244. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_unlink.png +0 -0
  245. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/en.js +1 -0
  246. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/ru.js +1 -0
  247. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/uk.js +1 -0
  248. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/plugin.js +1 -0
  249. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_address.png +0 -0
  250. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_blockquote.png +0 -0
  251. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_div.png +0 -0
  252. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h1.png +0 -0
  253. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h2.png +0 -0
  254. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h3.png +0 -0
  255. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h4.png +0 -0
  256. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h5.png +0 -0
  257. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h6.png +0 -0
  258. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_p.png +0 -0
  259. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_pre.png +0 -0
  260. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/esp_showblocks.png +0 -0
  261. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/plugin.js +1 -0
  262. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/dialogs/esp_video.js +1 -0
  263. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/images/esp_video.png +0 -0
  264. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/images/placeholder.png +0 -0
  265. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/en.js +1 -0
  266. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/ru.js +1 -0
  267. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/uk.js +1 -0
  268. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/plugin.js +1 -0
  269. data/app/assets/javascripts/esp-ckeditor/plugins/fakeobjects/plugin.js +1 -0
  270. data/app/assets/javascripts/esp-ckeditor/plugins/filebrowser/plugin.js +1 -0
  271. data/app/assets/javascripts/esp-ckeditor/plugins/find/dialogs/find.js +1 -0
  272. data/app/assets/javascripts/esp-ckeditor/plugins/find/plugin.js +1 -0
  273. data/app/assets/javascripts/esp-ckeditor/plugins/floatpanel/plugin.js +1 -0
  274. data/app/assets/javascripts/esp-ckeditor/plugins/format/plugin.js +1 -0
  275. data/app/assets/javascripts/esp-ckeditor/plugins/htmldataprocessor/plugin.js +1 -0
  276. data/app/assets/javascripts/esp-ckeditor/plugins/htmlwriter/plugin.js +1 -0
  277. data/app/assets/javascripts/esp-ckeditor/plugins/image/dialogs/image.js +1 -0
  278. data/app/assets/javascripts/esp-ckeditor/plugins/image/plugin.js +1 -0
  279. data/app/assets/javascripts/esp-ckeditor/plugins/indent/plugin.js +1 -0
  280. data/app/assets/javascripts/esp-ckeditor/plugins/justify/plugin.js +1 -0
  281. data/app/assets/javascripts/esp-ckeditor/plugins/keystrokes/plugin.js +1 -0
  282. data/app/assets/javascripts/esp-ckeditor/plugins/list/plugin.js +1 -0
  283. data/app/assets/javascripts/esp-ckeditor/plugins/listblock/plugin.js +1 -0
  284. data/app/assets/javascripts/esp-ckeditor/plugins/liststyle/dialogs/liststyle.js +1 -0
  285. data/app/assets/javascripts/esp-ckeditor/plugins/liststyle/plugin.js +1 -0
  286. data/app/assets/javascripts/esp-ckeditor/plugins/maximize/plugin.js +1 -0
  287. data/app/assets/javascripts/esp-ckeditor/plugins/menu/plugin.js +1 -0
  288. data/app/assets/javascripts/esp-ckeditor/plugins/panel/plugin.js +1 -0
  289. data/app/assets/javascripts/esp-ckeditor/plugins/pastefromword/filter/default.js +1 -0
  290. data/app/assets/javascripts/esp-ckeditor/plugins/pastefromword/plugin.js +1 -0
  291. data/app/assets/javascripts/esp-ckeditor/plugins/pastetext/dialogs/pastetext.js +1 -0
  292. data/app/assets/javascripts/esp-ckeditor/plugins/pastetext/plugin.js +1 -0
  293. data/app/assets/javascripts/esp-ckeditor/plugins/popup/plugin.js +1 -0
  294. data/app/assets/javascripts/esp-ckeditor/plugins/removeformat/plugin.js +1 -0
  295. data/app/assets/javascripts/esp-ckeditor/plugins/resize/plugin.js +1 -0
  296. data/app/assets/javascripts/esp-ckeditor/plugins/richcombo/plugin.js +1 -0
  297. data/app/assets/javascripts/esp-ckeditor/plugins/selection/plugin.js +1 -0
  298. data/app/assets/javascripts/esp-ckeditor/plugins/showborders/plugin.js +1 -0
  299. data/app/assets/javascripts/esp-ckeditor/plugins/sourcearea/plugin.js +1 -0
  300. data/app/assets/javascripts/esp-ckeditor/plugins/styles/plugin.js +1 -0
  301. data/app/assets/javascripts/esp-ckeditor/plugins/styles/styles/default.js +1 -0
  302. data/app/assets/javascripts/esp-ckeditor/plugins/stylescombo/plugin.js +1 -0
  303. data/app/assets/javascripts/esp-ckeditor/plugins/tab/plugin.js +1 -0
  304. data/app/assets/javascripts/esp-ckeditor/plugins/table/dialogs/table.js +1 -0
  305. data/app/assets/javascripts/esp-ckeditor/plugins/table/plugin.js +1 -0
  306. data/app/assets/javascripts/esp-ckeditor/plugins/tabletools/dialogs/tableCell.js +1 -0
  307. data/app/assets/javascripts/esp-ckeditor/plugins/tabletools/plugin.js +1 -0
  308. data/app/assets/javascripts/esp-ckeditor/plugins/toolbar/plugin.js +1 -0
  309. data/app/assets/javascripts/esp-ckeditor/plugins/undo/plugin.js +1 -0
  310. data/app/assets/javascripts/esp-ckeditor/plugins/wysiwygarea/plugin.js +1 -0
  311. data/app/assets/javascripts/esp-ckeditor/skins/kama/dialog.css +988 -0
  312. data/app/assets/javascripts/esp-ckeditor/skins/kama/editor.css +25 -0
  313. data/app/assets/javascripts/esp-ckeditor/skins/kama/elementspath.css +73 -0
  314. data/app/assets/javascripts/esp-ckeditor/skins/kama/icons.css +367 -0
  315. data/app/assets/javascripts/esp-ckeditor/skins/kama/icons.png +0 -0
  316. data/app/assets/javascripts/esp-ckeditor/skins/kama/icons_rtl.png +0 -0
  317. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  318. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/dialog_sides.png +0 -0
  319. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  320. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/mini.gif +0 -0
  321. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/noimage.png +0 -0
  322. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/sprites.png +0 -0
  323. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  324. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  325. data/app/assets/javascripts/esp-ckeditor/skins/kama/mainui.css +209 -0
  326. data/app/assets/javascripts/esp-ckeditor/skins/kama/menu.css +232 -0
  327. data/app/assets/javascripts/esp-ckeditor/skins/kama/panel.css +227 -0
  328. data/app/assets/javascripts/esp-ckeditor/skins/kama/presets.css +49 -0
  329. data/app/assets/javascripts/esp-ckeditor/skins/kama/reset.css +85 -0
  330. data/app/assets/javascripts/esp-ckeditor/skins/kama/richcombo.css +287 -0
  331. data/app/assets/javascripts/esp-ckeditor/skins/kama/skin.js +236 -0
  332. data/app/assets/javascripts/esp-ckeditor/skins/kama/templates.css +88 -0
  333. data/app/assets/javascripts/esp-ckeditor/skins/kama/toolbar.css +412 -0
  334. data/app/inputs/ckeditor_input.rb +42 -0
  335. data/config/routes.rb +2 -0
  336. data/lib/esp-ckeditor/engine.rb +9 -0
  337. data/lib/esp-ckeditor/version.rb +3 -0
  338. data/lib/esp-ckeditor.rb +17 -0
  339. data/lib/tasks/esp-ckeditor_tasks.rake +4 -0
  340. metadata +434 -0
@@ -0,0 +1,423 @@
1
+ /*
2
+ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+
6
+ /**
7
+ * @fileOverview Defines the <code>{@link CKEDITOR.config}</code> object that stores the
8
+ * default configuration settings.
9
+ */
10
+
11
+ /**
12
+ * Used in conjunction with <code>{@link CKEDITOR.config.enterMode}</code>
13
+ * and <code>{@link CKEDITOR.config.shiftEnterMode}</code> configuration
14
+ * settings to make the editor produce <code>&lt;p&gt;</code> tags when
15
+ * using the <em>Enter</em> key.
16
+ * @constant
17
+ */
18
+ CKEDITOR.ENTER_P = 1;
19
+
20
+ /**
21
+ * Used in conjunction with <code>{@link CKEDITOR.config.enterMode}</code>
22
+ * and <code>{@link CKEDITOR.config.shiftEnterMode}</code> configuration
23
+ * settings to make the editor produce <code>&lt;br&gt;</code> tags when
24
+ * using the <em>Enter</em> key.
25
+ * @constant
26
+ */
27
+ CKEDITOR.ENTER_BR = 2;
28
+
29
+ /**
30
+ * Used in conjunction with <code>{@link CKEDITOR.config.enterMode}</code>
31
+ * and <code>{@link CKEDITOR.config.shiftEnterMode}</code> configuration
32
+ * settings to make the editor produce <code>&lt;div&gt;</code> tags when
33
+ * using the <em>Enter</em> key.
34
+ * @constant
35
+ */
36
+ CKEDITOR.ENTER_DIV = 3;
37
+
38
+ /**
39
+ * @namespace Stores default configuration settings. Changes to this object are
40
+ * reflected in all editor instances, if not specified otherwise for a particular
41
+ * instance.
42
+ */
43
+ CKEDITOR.config =
44
+ {
45
+ /**
46
+ * The URL path for the custom configuration file to be loaded. If not
47
+ * overloaded with inline configuration, it defaults to the <code>config.js</code>
48
+ * file present in the root of the CKEditor installation directory.<br /><br />
49
+ *
50
+ * CKEditor will recursively load custom configuration files defined inside
51
+ * other custom configuration files.
52
+ * @type String
53
+ * @default <code>'<em>&lt;CKEditor folder&gt;</em>/config.js'</code>
54
+ * @example
55
+ * // Load a specific configuration file.
56
+ * CKEDITOR.replace( 'myfield', { customConfig : '/myconfig.js' } );
57
+ * @example
58
+ * // Do not load any custom configuration file.
59
+ * CKEDITOR.replace( 'myfield', { customConfig : '' } );
60
+ */
61
+ customConfig : 'config.js',
62
+
63
+ /**
64
+ * Whether the replaced element (usually a <code>&lt;textarea&gt;</code>)
65
+ * is to be updated automatically when posting the form containing the editor.
66
+ * @type Boolean
67
+ * @default <code>true</code>
68
+ * @example
69
+ * config.autoUpdateElement = true;
70
+ */
71
+ autoUpdateElement : true,
72
+
73
+ /**
74
+ * The base href URL used to resolve relative and absolute URLs in the
75
+ * editor content.
76
+ * @type String
77
+ * @default <code>''</code> (empty)
78
+ * @example
79
+ * config.baseHref = 'http://www.example.com/path/';
80
+ */
81
+ baseHref : '',
82
+
83
+ /**
84
+ * The CSS file(s) to be used to apply style to editor contents. It should
85
+ * reflect the CSS used in the final pages where the contents are to be
86
+ * used.
87
+ * @type String|Array
88
+ * @default <code>'<em>&lt;CKEditor folder&gt;</em>/contents.css'</code>
89
+ * @example
90
+ * config.contentsCss = '/css/mysitestyles.css';
91
+ * config.contentsCss = ['/css/mysitestyles.css', '/css/anotherfile.css'];
92
+ */
93
+ contentsCss : CKEDITOR.basePath + 'contents.css',
94
+
95
+ /**
96
+ * The writing direction of the language used to create the editor
97
+ * contents. Allowed values are:
98
+ * <ul>
99
+ * <li><code>'ui'</code> &ndash; indicates that content direction will be the same as the user interface language direction;</li>
100
+ * <li><code>'ltr'</code> &ndash; for Left-To-Right language (like English);</li>
101
+ * <li><code>'rtl'</code> &ndash; for Right-To-Left languages (like Arabic).</li>
102
+ * </ul>
103
+ * @default <code>'ui'</code>
104
+ * @type String
105
+ * @example
106
+ * config.contentsLangDirection = 'rtl';
107
+ */
108
+ contentsLangDirection : 'ui',
109
+
110
+ /**
111
+ * Language code of the writing language which is used to create the editor
112
+ * contents.
113
+ * @default Same value as editor UI language.
114
+ * @type String
115
+ * @example
116
+ * config.contentsLanguage = 'fr';
117
+ */
118
+ contentsLanguage : '',
119
+
120
+ /**
121
+ * The user interface language localization to use. If left empty, the editor
122
+ * will automatically be localized to the user language. If the user language is not supported,
123
+ * the language specified in the <code>{@link CKEDITOR.config.defaultLanguage}</code>
124
+ * configuration setting is used.
125
+ * @default <code>''</code> (empty)
126
+ * @type String
127
+ * @example
128
+ * // Load the German interface.
129
+ * config.language = 'de';
130
+ */
131
+ language : '',
132
+
133
+ /**
134
+ * The language to be used if the <code>{@link CKEDITOR.config.language}</code>
135
+ * setting is left empty and it is not possible to localize the editor to the user language.
136
+ * @default <code>'en'</code>
137
+ * @type String
138
+ * @example
139
+ * config.defaultLanguage = 'it';
140
+ */
141
+ defaultLanguage : 'en',
142
+
143
+ /**
144
+ * Sets the behavior of the <em>Enter</em> key. It also determines other behavior
145
+ * rules of the editor, like whether the <code>&lt;br&gt;</code> element is to be used
146
+ * as a paragraph separator when indenting text.
147
+ * The allowed values are the following constants that cause the behavior outlined below:
148
+ * <ul>
149
+ * <li><code>{@link CKEDITOR.ENTER_P}</code> (1) &ndash; new <code>&lt;p&gt;</code> paragraphs are created;</li>
150
+ * <li><code>{@link CKEDITOR.ENTER_BR}</code> (2) &ndash; lines are broken with <code>&lt;br&gt;</code> elements;</li>
151
+ * <li><code>{@link CKEDITOR.ENTER_DIV}</code> (3) &ndash; new <code>&lt;div&gt;</code> blocks are created.</li>
152
+ * </ul>
153
+ * <strong>Note</strong>: It is recommended to use the
154
+ * <code>{@link CKEDITOR.ENTER_P}</code> setting because of its semantic value and
155
+ * correctness. The editor is optimized for this setting.
156
+ * @type Number
157
+ * @default <code>{@link CKEDITOR.ENTER_P}</code>
158
+ * @example
159
+ * // Not recommended.
160
+ * config.enterMode = CKEDITOR.ENTER_BR;
161
+ */
162
+ enterMode : CKEDITOR.ENTER_P,
163
+
164
+ /**
165
+ * Force the use of <code>{@link CKEDITOR.config.enterMode}</code> as line break regardless
166
+ * of the context. If, for example, <code>{@link CKEDITOR.config.enterMode}</code> is set
167
+ * to <code>{@link CKEDITOR.ENTER_P}</code>, pressing the <em>Enter</em> key inside a
168
+ * <code>&lt;div&gt;</code> element will create a new paragraph with <code>&lt;p&gt;</code>
169
+ * instead of a <code>&lt;div&gt;</code>.
170
+ * @since 3.2.1
171
+ * @type Boolean
172
+ * @default <code>false</code>
173
+ * @example
174
+ * // Not recommended.
175
+ * config.forceEnterMode = true;
176
+ */
177
+ forceEnterMode : false,
178
+
179
+ /**
180
+ * Similarly to the <code>{@link CKEDITOR.config.enterMode}</code> setting, it defines the behavior
181
+ * of the <em>Shift+Enter</em> key combination.
182
+ * The allowed values are the following constants the behavior outlined below:
183
+ * <ul>
184
+ * <li><code>{@link CKEDITOR.ENTER_P}</code> (1) &ndash; new <code>&lt;p&gt;</code> paragraphs are created;</li>
185
+ * <li><code>{@link CKEDITOR.ENTER_BR}</code> (2) &ndash; lines are broken with <code>&lt;br&gt;</code> elements;</li>
186
+ * <li><code>{@link CKEDITOR.ENTER_DIV}</code> (3) &ndash; new <code>&lt;div&gt;</code> blocks are created.</li>
187
+ * </ul>
188
+ * @type Number
189
+ * @default <code>{@link CKEDITOR.ENTER_BR}</code>
190
+ * @example
191
+ * config.shiftEnterMode = CKEDITOR.ENTER_P;
192
+ */
193
+ shiftEnterMode : CKEDITOR.ENTER_BR,
194
+
195
+ /**
196
+ * A comma separated list of plugins that are not related to editor
197
+ * instances. Reserved for plugins that extend the core code only.<br /><br />
198
+ *
199
+ * There are no ways to override this setting except by editing the source
200
+ * code of CKEditor (<code>_source/core/config.js</code>).
201
+ * @type String
202
+ * @example
203
+ */
204
+ corePlugins : '',
205
+
206
+ /**
207
+ * Sets the <code>DOCTYPE</code> to be used when loading the editor content as HTML.
208
+ * @type String
209
+ * @default <code>'&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;'</code>
210
+ * @example
211
+ * // Set the DOCTYPE to the HTML 4 (Quirks) mode.
212
+ * config.docType = '&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;';
213
+ */
214
+ docType : '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
215
+
216
+ /**
217
+ * Sets the <code>id</code> attribute to be used on the <code>body</code> element
218
+ * of the editing area. This can be useful when you intend to reuse the original CSS
219
+ * file you are using on your live website and want to assign the editor the same ID
220
+ * as the section that will include the contents. In this way ID-specific CSS rules will
221
+ * be enabled.
222
+ * @since 3.1
223
+ * @type String
224
+ * @default <code>''</code> (empty)
225
+ * @example
226
+ * config.bodyId = 'contents_id';
227
+ */
228
+ bodyId : '',
229
+
230
+ /**
231
+ * Sets the <code>class</code> attribute to be used on the <code>body</code> element
232
+ * of the editing area. This can be useful when you intend to reuse the original CSS
233
+ * file you are using on your live website and want to assign the editor the same class
234
+ * as the section that will include the contents. In this way class-specific CSS rules will
235
+ * be enabled.
236
+ * @since 3.1
237
+ * @type String
238
+ * @default <code>''</code> (empty)
239
+ * @example
240
+ * config.bodyClass = 'contents';
241
+ */
242
+ bodyClass : '',
243
+
244
+ /**
245
+ * Indicates whether the contents to be edited are being input as a full
246
+ * HTML page. A full page includes the <code>&lt;html&gt;</code>,
247
+ * <code>&lt;head&gt;</code>, and <code>&lt;body&gt;</code> elements.
248
+ * The final output will also reflect this setting, including the
249
+ * <code>&lt;body&gt;</code> contents only if this setting is disabled.
250
+ * @since 3.1
251
+ * @type Boolean
252
+ * @default <code>false</code>
253
+ * @example
254
+ * config.fullPage = true;
255
+ */
256
+ fullPage : false,
257
+
258
+ /**
259
+ * The height of the editing area (that includes the editor content),
260
+ * in relative or absolute units, e.g. <code>30px</code>, <code>5em</code>.
261
+ * <strong>Note:</strong> Percentage units, like <code>30%</code>, are not supported yet.
262
+ * @type Number|String
263
+ * @default <code>'200'</code>
264
+ * @example
265
+ * config.height = 500;
266
+ * config.height = '25em';
267
+ * config.height = '300px';
268
+ */
269
+ height : 200,
270
+
271
+ /**
272
+ * Comma separated list of plugins to be loaded and initialized for an editor
273
+ * instance. This setting should rarely be changed. It is recommended to use the
274
+ * <code>{@link CKEDITOR.config.extraPlugins}</code> and
275
+ * <code>{@link CKEDITOR.config.removePlugins}</code> for customization purposes instead.
276
+ * @type String
277
+ * @example
278
+ */
279
+ plugins :
280
+ 'a11yhelp,' +
281
+ 'basicstyles,' +
282
+ 'button,' +
283
+ 'clipboard,' +
284
+ 'contextmenu,' +
285
+ 'dialogadvtab,' +
286
+ 'elementspath,' +
287
+ 'enterkey,' +
288
+ 'entities,' +
289
+ 'esp_attachment,' +
290
+ 'esp_audio,' +
291
+ 'esp_blockquote,' +
292
+ 'esp_image,' +
293
+ 'esp_link,' +
294
+ 'esp_showblocks,' +
295
+ 'esp_video,' +
296
+ 'filebrowser,' +
297
+ 'find,' +
298
+ 'format,' +
299
+ 'htmldataprocessor,' +
300
+ 'image,' +
301
+ 'indent,' +
302
+ 'justify,' +
303
+ 'keystrokes,' +
304
+ 'list,' +
305
+ 'liststyle,' +
306
+ 'maximize,' +
307
+ 'pastefromword,' +
308
+ 'pastetext,' +
309
+ 'popup,' +
310
+ 'removeformat,' +
311
+ 'resize,' +
312
+ 'showborders,' +
313
+ 'sourcearea,' +
314
+ 'stylescombo,' +
315
+ 'tab,' +
316
+ 'table,' +
317
+ 'tabletools,' +
318
+ 'toolbar,' +
319
+ 'undo,' +
320
+ 'wysiwygarea,' +
321
+ '',
322
+ /**
323
+ * A list of additional plugins to be loaded. This setting makes it easier
324
+ * to add new plugins without having to touch and potentially break the
325
+ * <code>{@link CKEDITOR.config.plugins}</code> setting.
326
+ * @type String
327
+ * @example
328
+ * config.extraPlugins = 'myplugin,anotherplugin';
329
+ */
330
+ extraPlugins : '',
331
+
332
+ /**
333
+ * A list of plugins that must not be loaded. This setting makes it possible
334
+ * to avoid loading some plugins defined in the <code>{@link CKEDITOR.config.plugins}</code>
335
+ * setting, without having to touch it and potentially break it.
336
+ * @type String
337
+ * @example
338
+ * config.removePlugins = 'elementspath,save,font';
339
+ */
340
+ removePlugins : '',
341
+
342
+ /**
343
+ * List of regular expressions to be executed on input HTML,
344
+ * indicating HTML source code that when matched, must <strong>not</strong> be available in the WYSIWYG
345
+ * mode for editing.
346
+ * @type Array
347
+ * @default <code>[]</code> (empty array)
348
+ * @example
349
+ * config.protectedSource.push( /<\?[\s\S]*?\?>/g ); // PHP code
350
+ * config.protectedSource.push( /<%[\s\S]*?%>/g ); // ASP code
351
+ * config.protectedSource.push( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ); // ASP.Net code
352
+ */
353
+ protectedSource : [],
354
+
355
+ /**
356
+ * The editor <code>tabindex</code> value.
357
+ * @type Number
358
+ * @default <code>0</code> (zero)
359
+ * @example
360
+ * config.tabIndex = 1;
361
+ */
362
+ tabIndex : 0,
363
+
364
+ /**
365
+ * The theme to be used to build the user interface.
366
+ * @type String
367
+ * @default <code>'default'</code>
368
+ * @see CKEDITOR.config.skin
369
+ * @example
370
+ * config.theme = 'default';
371
+ */
372
+ theme : 'default',
373
+
374
+ /**
375
+ * The skin to load. It may be the name of the skin folder inside the
376
+ * editor installation path, or the name and the path separated by a comma.
377
+ * @type String
378
+ * @default <code>'default'</code>
379
+ * @example
380
+ * config.skin = 'v2';
381
+ * @example
382
+ * config.skin = 'myskin,/customstuff/myskin/';
383
+ */
384
+ skin : 'kama',
385
+
386
+ /**
387
+ * The editor width in CSS-defined units or an integer denoting a value in pixels.
388
+ * @type String|Number
389
+ * @default <code>''</code> (empty)
390
+ * @example
391
+ * config.width = 850;
392
+ * @example
393
+ * config.width = '75%';
394
+ */
395
+ width : '',
396
+
397
+ /**
398
+ * The base Z-index for floating dialog windows and popups.
399
+ * @type Number
400
+ * @default <code>10000</code>
401
+ * @example
402
+ * config.baseFloatZIndex = 2000
403
+ */
404
+ baseFloatZIndex : 10000
405
+ };
406
+
407
+ /**
408
+ * Indicates that some of the editor features, like alignment and text
409
+ * direction, should use the "computed value" of the feature to indicate its
410
+ * on/off state instead of using the "real value".<br />
411
+ * <br />
412
+ * If enabled in a Left-To-Right written document, the "Left Justify"
413
+ * alignment button will be shown as active, even if the alignment style is not
414
+ * explicitly applied to the current paragraph in the editor.
415
+ * @name CKEDITOR.config.useComputedState
416
+ * @type Boolean
417
+ * @default <code>true</code>
418
+ * @since 3.4
419
+ * @example
420
+ * config.useComputedState = false;
421
+ */
422
+
423
+ // PACKAGER_RENAME( CKEDITOR.config )
@@ -0,0 +1,65 @@
1
+ /*
2
+ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+
6
+ /**
7
+ * @fileOverview Defines the "virtual" {@link CKEDITOR.dataProcessor} class, which
8
+ * defines the basic structure of data processor objects to be
9
+ * set to {@link CKEDITOR.editor.dataProcessor}.
10
+ */
11
+
12
+ /**
13
+ * If defined, points to the data processor which is responsible to translate
14
+ * and transform the editor data on input and output.
15
+ * Generaly it will point to an instance of {@link CKEDITOR.htmlDataProcessor},
16
+ * which handles HTML data. The editor may also handle other data formats by
17
+ * using different data processors provided by specific plugins.
18
+ * @name CKEDITOR.editor.prototype.dataProcessor
19
+ * @type CKEDITOR.dataProcessor
20
+ */
21
+
22
+ /**
23
+ * This class is here for documentation purposes only and is not really part of
24
+ * the API. It serves as the base ("interface") for data processors
25
+ * implementation.
26
+ * @name CKEDITOR.dataProcessor
27
+ * @class Represents a data processor, which is responsible to translate and
28
+ * transform the editor data on input and output.
29
+ * @example
30
+ */
31
+
32
+ /**
33
+ * Transforms input data into HTML to be loaded in the editor.
34
+ * While the editor is able to handle non HTML data (like BBCode), at runtime
35
+ * it can handle HTML data only. The role of the data processor is transforming
36
+ * the input data into HTML through this function.
37
+ * @name CKEDITOR.dataProcessor.prototype.toHtml
38
+ * @function
39
+ * @param {String} data The input data to be transformed.
40
+ * @param {String} [fixForBody] The tag name to be used if the data must be
41
+ * fixed because it is supposed to be loaded direcly into the &lt;body&gt;
42
+ * tag. This is generally not used by non-HTML data processors.
43
+ * @example
44
+ * // Tranforming BBCode data, having a custom BBCode data processor.
45
+ * var data = 'This is [b]an example[/b].';
46
+ * var html = editor.dataProcessor.toHtml( data ); // '&lt;p&gt;This is &lt;b&gt;an example&lt;/b&gt;.&lt;/p&gt;'
47
+ */
48
+
49
+ /**
50
+ * Transforms HTML into data to be outputted by the editor, in the format
51
+ * expected by the data processor.
52
+ * While the editor is able to handle non HTML data (like BBCode), at runtime
53
+ * it can handle HTML data only. The role of the data processor is transforming
54
+ * the HTML data containined by the editor into a specific data format through
55
+ * this function.
56
+ * @name CKEDITOR.dataProcessor.prototype.toDataFormat
57
+ * @function
58
+ * @param {String} html The HTML to be transformed.
59
+ * @param {String} fixForBody The tag name to be used if the output data is
60
+ * coming from &lt;body&gt; and may be eventually fixed for it. This is
61
+ * generally not used by non-HTML data processors.
62
+ * // Tranforming into BBCode data, having a custom BBCode data processor.
63
+ * var html = '&lt;p&gt;This is &lt;b&gt;an example&lt;/b&gt;.&lt;/p&gt;';
64
+ * var data = editor.dataProcessor.toDataFormat( html ); // 'This is [b]an example[/b].'
65
+ */