glebtv-ckeditor 4.1.1.7 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (548) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/ckeditor/CHANGES.md +177 -82
  3. data/app/assets/javascripts/ckeditor/build-config.js +33 -12
  4. data/app/assets/javascripts/ckeditor/ckeditor.js +735 -687
  5. data/app/assets/javascripts/ckeditor/config.js.erb +3 -4
  6. data/app/assets/javascripts/ckeditor/contents.css +1 -1
  7. data/app/assets/javascripts/ckeditor/lang/en.js +1 -1
  8. data/app/assets/javascripts/ckeditor/lang/ru.js +1 -1
  9. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +1 -1
  10. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
  11. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +9 -0
  12. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -0
  13. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +10 -0
  14. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -0
  15. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +9 -0
  16. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -0
  17. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +10 -0
  18. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +10 -0
  19. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +1 -1
  20. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +10 -0
  21. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +10 -0
  22. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +9 -0
  23. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +9 -0
  24. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +10 -0
  25. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +10 -0
  26. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +11 -0
  27. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +10 -0
  28. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +9 -0
  29. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +9 -0
  30. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +9 -0
  31. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -0
  32. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +10 -0
  33. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +9 -0
  34. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +10 -0
  35. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +8 -0
  36. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +9 -0
  37. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +10 -0
  38. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +9 -0
  39. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +11 -0
  40. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -0
  41. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +9 -0
  42. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -0
  43. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +10 -0
  44. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +9 -0
  45. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +10 -0
  46. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -0
  47. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +10 -0
  48. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +9 -0
  49. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +6 -6
  50. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +8 -0
  51. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +10 -0
  52. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +10 -0
  53. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +9 -0
  54. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +9 -0
  55. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +9 -0
  56. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +10 -0
  57. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +9 -0
  58. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +10 -0
  59. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +9 -0
  60. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +10 -0
  61. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +9 -0
  62. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
  63. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +7 -0
  64. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  65. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  66. data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +8 -8
  67. data/app/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.min.css +1 -1
  68. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/beautify.min.js +1 -0
  69. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.min.js +1 -1
  70. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.min.js +5637 -1
  71. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.modes.min.js +1 -1
  72. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.search-addons.min.js +1 -1
  73. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/af.js +10 -0
  74. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ar.js +10 -0
  75. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bg.js +10 -0
  76. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bn.js +10 -0
  77. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bs.js +10 -0
  78. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ca.js +10 -0
  79. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/cs.js +10 -0
  80. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/cy.js +10 -0
  81. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/da.js +10 -0
  82. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/de.js +12 -0
  83. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/el.js +10 -0
  84. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-au.js +10 -0
  85. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-ca.js +10 -0
  86. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-gb.js +10 -0
  87. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/eo.js +10 -0
  88. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/es.js +10 -0
  89. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/et.js +10 -0
  90. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/eu.js +10 -0
  91. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fa.js +10 -0
  92. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fi.js +10 -0
  93. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fo.js +10 -0
  94. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fr-ca.js +10 -0
  95. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fr.js +10 -0
  96. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/gl.js +10 -0
  97. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/gu.js +10 -0
  98. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/he.js +10 -0
  99. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hi.js +10 -0
  100. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hr.js +10 -0
  101. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hu.js +10 -0
  102. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/is.js +10 -0
  103. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/it.js +10 -0
  104. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ja.js +10 -0
  105. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ka.js +10 -0
  106. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/km.js +10 -0
  107. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ko.js +10 -0
  108. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ku.js +10 -0
  109. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/lt.js +10 -0
  110. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/lv.js +10 -0
  111. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/mk.js +10 -0
  112. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/mn.js +10 -0
  113. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ms.js +10 -0
  114. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/nb.js +10 -0
  115. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/nl.js +10 -0
  116. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/no.js +10 -0
  117. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pl.js +10 -0
  118. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pt-br.js +10 -0
  119. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pt.js +10 -0
  120. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ro.js +10 -0
  121. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sk.js +10 -0
  122. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sl.js +10 -0
  123. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sr-latn.js +10 -0
  124. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sr.js +10 -0
  125. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sv.js +10 -0
  126. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/th.js +10 -0
  127. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/tr.js +10 -0
  128. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ug.js +10 -0
  129. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/uk.js +10 -0
  130. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/vi.js +10 -0
  131. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/zh-cn.js +10 -0
  132. data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/zh.js +10 -0
  133. data/app/assets/javascripts/ckeditor/plugins/codemirror/plugin.js +322 -16
  134. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/eclipse.css +1 -1
  135. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/midnight.css +52 -0
  136. data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/rubyblue.css +1 -1
  137. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -340
  138. data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
  139. data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -0
  140. data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +24 -0
  141. data/app/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +1 -1
  142. data/app/assets/javascripts/ckeditor/plugins/font/lang/af.js +14 -0
  143. data/app/assets/javascripts/ckeditor/plugins/font/lang/ar.js +14 -0
  144. data/app/assets/javascripts/ckeditor/plugins/font/lang/bg.js +14 -0
  145. data/app/assets/javascripts/ckeditor/plugins/font/lang/bn.js +14 -0
  146. data/app/assets/javascripts/ckeditor/plugins/font/lang/bs.js +14 -0
  147. data/app/assets/javascripts/ckeditor/plugins/font/lang/ca.js +14 -0
  148. data/app/assets/javascripts/ckeditor/plugins/font/lang/cs.js +14 -0
  149. data/app/assets/javascripts/ckeditor/plugins/font/lang/cy.js +14 -0
  150. data/app/assets/javascripts/ckeditor/plugins/font/lang/da.js +14 -0
  151. data/app/assets/javascripts/ckeditor/plugins/font/lang/de.js +14 -0
  152. data/app/assets/javascripts/ckeditor/plugins/font/lang/el.js +14 -0
  153. data/app/assets/javascripts/ckeditor/plugins/font/lang/en-au.js +14 -0
  154. data/app/assets/javascripts/ckeditor/plugins/font/lang/en-ca.js +14 -0
  155. data/app/assets/javascripts/ckeditor/plugins/font/lang/en-gb.js +14 -0
  156. data/app/assets/javascripts/ckeditor/plugins/font/lang/en.js +1 -1
  157. data/app/assets/javascripts/ckeditor/plugins/font/lang/eo.js +14 -0
  158. data/app/assets/javascripts/ckeditor/plugins/font/lang/es.js +14 -0
  159. data/app/assets/javascripts/ckeditor/plugins/font/lang/et.js +14 -0
  160. data/app/assets/javascripts/ckeditor/plugins/font/lang/eu.js +14 -0
  161. data/app/assets/javascripts/ckeditor/plugins/font/lang/fa.js +14 -0
  162. data/app/assets/javascripts/ckeditor/plugins/font/lang/fi.js +14 -0
  163. data/app/assets/javascripts/ckeditor/plugins/font/lang/fo.js +14 -0
  164. data/app/assets/javascripts/ckeditor/plugins/font/lang/fr-ca.js +14 -0
  165. data/app/assets/javascripts/ckeditor/plugins/font/lang/fr.js +14 -0
  166. data/app/assets/javascripts/ckeditor/plugins/font/lang/gl.js +14 -0
  167. data/app/assets/javascripts/ckeditor/plugins/font/lang/gu.js +14 -0
  168. data/app/assets/javascripts/ckeditor/plugins/font/lang/he.js +14 -0
  169. data/app/assets/javascripts/ckeditor/plugins/font/lang/hi.js +14 -0
  170. data/app/assets/javascripts/ckeditor/plugins/font/lang/hr.js +14 -0
  171. data/app/assets/javascripts/ckeditor/plugins/font/lang/hu.js +14 -0
  172. data/app/assets/javascripts/ckeditor/plugins/font/lang/id.js +14 -0
  173. data/app/assets/javascripts/ckeditor/plugins/font/lang/is.js +14 -0
  174. data/app/assets/javascripts/ckeditor/plugins/font/lang/it.js +14 -0
  175. data/app/assets/javascripts/ckeditor/plugins/font/lang/ja.js +14 -0
  176. data/app/assets/javascripts/ckeditor/plugins/font/lang/ka.js +14 -0
  177. data/app/assets/javascripts/ckeditor/plugins/font/lang/km.js +14 -0
  178. data/app/assets/javascripts/ckeditor/plugins/font/lang/ko.js +14 -0
  179. data/app/assets/javascripts/ckeditor/plugins/font/lang/ku.js +14 -0
  180. data/app/assets/javascripts/ckeditor/plugins/font/lang/lt.js +14 -0
  181. data/app/assets/javascripts/ckeditor/plugins/font/lang/lv.js +14 -0
  182. data/app/assets/javascripts/ckeditor/plugins/font/lang/mk.js +14 -0
  183. data/app/assets/javascripts/ckeditor/plugins/font/lang/mn.js +14 -0
  184. data/app/assets/javascripts/ckeditor/plugins/font/lang/ms.js +14 -0
  185. data/app/assets/javascripts/ckeditor/plugins/font/lang/nb.js +14 -0
  186. data/app/assets/javascripts/ckeditor/plugins/font/lang/nl.js +14 -0
  187. data/app/assets/javascripts/ckeditor/plugins/font/lang/no.js +14 -0
  188. data/app/assets/javascripts/ckeditor/plugins/font/lang/pl.js +14 -0
  189. data/app/assets/javascripts/ckeditor/plugins/font/lang/pt-br.js +14 -0
  190. data/app/assets/javascripts/ckeditor/plugins/font/lang/pt.js +14 -0
  191. data/app/assets/javascripts/ckeditor/plugins/font/lang/ro.js +14 -0
  192. data/app/assets/javascripts/ckeditor/plugins/font/lang/ru.js +1 -1
  193. data/app/assets/javascripts/ckeditor/plugins/font/lang/si.js +14 -0
  194. data/app/assets/javascripts/ckeditor/plugins/font/lang/sk.js +14 -0
  195. data/app/assets/javascripts/ckeditor/plugins/font/lang/sl.js +14 -0
  196. data/app/assets/javascripts/ckeditor/plugins/font/lang/sq.js +14 -0
  197. data/app/assets/javascripts/ckeditor/plugins/font/lang/sr-latn.js +14 -0
  198. data/app/assets/javascripts/ckeditor/plugins/font/lang/sr.js +14 -0
  199. data/app/assets/javascripts/ckeditor/plugins/font/lang/sv.js +14 -0
  200. data/app/assets/javascripts/ckeditor/plugins/font/lang/th.js +14 -0
  201. data/app/assets/javascripts/ckeditor/plugins/font/lang/tr.js +14 -0
  202. data/app/assets/javascripts/ckeditor/plugins/font/lang/ug.js +14 -0
  203. data/app/assets/javascripts/ckeditor/plugins/font/lang/uk.js +14 -0
  204. data/app/assets/javascripts/ckeditor/plugins/font/lang/vi.js +14 -0
  205. data/app/assets/javascripts/ckeditor/plugins/font/lang/zh-cn.js +14 -0
  206. data/app/assets/javascripts/ckeditor/plugins/font/lang/zh.js +14 -0
  207. data/app/assets/javascripts/ckeditor/plugins/font/plugin.js +2 -2
  208. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +8 -0
  209. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +8 -0
  210. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +8 -0
  211. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -0
  212. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +8 -0
  213. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +20 -0
  214. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +8 -0
  215. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +10 -0
  216. data/app/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  217. data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/docs/install.html +93 -0
  218. data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/docs/styles.css +59 -0
  219. data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/icon1.png +0 -0
  220. data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/icon2.png +0 -0
  221. data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/icon3.png +0 -0
  222. data/app/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  223. data/app/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
  224. data/app/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +10 -0
  225. data/app/assets/javascripts/ckeditor/plugins/iframe/icons/hidpi/iframe.png +0 -0
  226. data/app/assets/javascripts/ckeditor/plugins/iframe/icons/iframe.png +0 -0
  227. data/app/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  228. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/af.js +11 -0
  229. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ar.js +11 -0
  230. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/bg.js +11 -0
  231. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/bn.js +11 -0
  232. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/bs.js +11 -0
  233. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ca.js +11 -0
  234. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/cs.js +11 -0
  235. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/cy.js +11 -0
  236. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/da.js +11 -0
  237. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/de.js +11 -0
  238. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/el.js +11 -0
  239. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/en-au.js +11 -0
  240. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/en-ca.js +11 -0
  241. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/en-gb.js +11 -0
  242. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/en.js +11 -0
  243. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/eo.js +11 -0
  244. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/es.js +11 -0
  245. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/et.js +11 -0
  246. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/eu.js +11 -0
  247. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fa.js +11 -0
  248. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fi.js +11 -0
  249. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fo.js +11 -0
  250. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fr-ca.js +11 -0
  251. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fr.js +11 -0
  252. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/gl.js +11 -0
  253. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/gu.js +11 -0
  254. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/he.js +11 -0
  255. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/hi.js +11 -0
  256. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/hr.js +11 -0
  257. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/hu.js +11 -0
  258. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/id.js +11 -0
  259. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/is.js +11 -0
  260. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/it.js +11 -0
  261. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ja.js +11 -0
  262. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ka.js +11 -0
  263. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/km.js +11 -0
  264. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ko.js +11 -0
  265. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ku.js +11 -0
  266. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/lt.js +11 -0
  267. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/lv.js +11 -0
  268. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/mk.js +11 -0
  269. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/mn.js +11 -0
  270. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ms.js +11 -0
  271. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/nb.js +11 -0
  272. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/nl.js +11 -0
  273. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/no.js +11 -0
  274. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/pl.js +11 -0
  275. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/pt-br.js +11 -0
  276. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/pt.js +11 -0
  277. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ro.js +11 -0
  278. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ru.js +11 -0
  279. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/si.js +11 -0
  280. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sk.js +11 -0
  281. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sl.js +11 -0
  282. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sq.js +11 -0
  283. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sr-latn.js +11 -0
  284. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sr.js +11 -0
  285. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sv.js +11 -0
  286. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/th.js +11 -0
  287. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/tr.js +11 -0
  288. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ug.js +11 -0
  289. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/uk.js +11 -0
  290. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/vi.js +11 -0
  291. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/zh-cn.js +11 -0
  292. data/app/assets/javascripts/ckeditor/plugins/iframe/lang/zh.js +11 -0
  293. data/app/assets/javascripts/ckeditor/plugins/iframe/plugin.js +83 -0
  294. data/app/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +3 -2
  295. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +1 -1
  296. data/app/assets/javascripts/ckeditor/plugins/{LoremIpsum/images → ipsum}/icon.png +0 -0
  297. data/app/assets/javascripts/ckeditor/plugins/ipsum/plugin.js +63 -0
  298. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +1 -1
  299. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +1 -1
  300. data/app/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
  301. data/app/assets/javascripts/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  302. data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
  303. data/app/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  304. data/app/assets/javascripts/ckeditor/plugins/map/example_usage.js +30 -0
  305. data/app/assets/javascripts/ckeditor/plugins/map/map.gif +0 -0
  306. data/app/assets/javascripts/ckeditor/plugins/map/plugin.js +187 -0
  307. data/app/assets/javascripts/ckeditor/plugins/mediaembed/icons/hidpi/mediaembed.png +0 -0
  308. data/app/assets/javascripts/ckeditor/plugins/mediaembed/icons/mediaembed.png +0 -0
  309. data/app/assets/javascripts/ckeditor/plugins/mediaembed/plugin.js +64 -0
  310. data/app/assets/javascripts/ckeditor/plugins/oembed/images/placeholder.png +0 -0
  311. data/app/assets/javascripts/ckeditor/plugins/oembed/libs/jquery.oembed.js +69 -67
  312. data/app/assets/javascripts/ckeditor/plugins/oembed/libs/jquery.oembed.min.js +56 -53
  313. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/images/icon.png +0 -0
  314. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/images/placeholder.png +0 -0
  315. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/de.js +23 -0
  316. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/en.js +23 -0
  317. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/fr.js +25 -0
  318. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/nl.js +23 -0
  319. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/pl.js +23 -0
  320. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/ru.js +23 -0
  321. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/libs/jquery.oembed.js +971 -0
  322. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/libs/jquery.oembed.min.js +11 -0
  323. data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/plugin.js +373 -0
  324. data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  325. data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +21 -21
  326. data/app/assets/javascripts/ckeditor/plugins/preview/preview.html +10 -0
  327. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  328. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  329. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  330. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  331. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  332. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  333. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  334. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  335. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  336. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  337. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  338. data/app/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +10 -0
  339. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  340. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  341. data/app/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  342. data/app/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  343. data/app/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  344. data/app/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  345. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  346. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  347. data/app/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  348. data/app/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  349. data/app/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  350. data/app/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  351. data/app/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  352. data/app/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  353. data/app/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  354. data/app/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  355. data/app/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  356. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  357. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  358. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  359. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  360. data/app/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  361. data/app/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  362. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
  363. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +13 -0
  364. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +13 -0
  365. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
  366. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
  367. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
  368. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
  369. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
  370. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +1 -1
  371. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
  372. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
  373. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
  374. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
  375. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
  376. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
  377. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
  378. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +13 -0
  379. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +12 -0
  380. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
  381. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +12 -0
  382. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +13 -0
  383. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
  384. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +9 -0
  385. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
  386. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
  387. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
  388. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
  389. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
  390. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
  391. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
  392. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +13 -0
  393. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +13 -0
  394. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +13 -0
  395. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
  396. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +12 -0
  397. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
  398. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
  399. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
  400. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
  401. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
  402. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +12 -0
  403. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +14 -0
  404. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
  405. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +1 -1
  406. data/app/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +152 -0
  407. data/app/assets/javascripts/ckeditor/{samples/plugins/stylesheetparser → plugins/stylesheetparser/samples}/assets/sample.css +70 -70
  408. data/app/assets/javascripts/ckeditor/{samples/plugins/stylesheetparser → plugins/stylesheetparser/samples}/stylesheetparser.html +82 -82
  409. data/app/assets/javascripts/ckeditor/plugins/symbol/dialogs/lang/en.js +181 -0
  410. data/app/assets/javascripts/ckeditor/plugins/symbol/dialogs/symbol.js +18 -0
  411. data/app/assets/javascripts/ckeditor/plugins/symbol/icons/symbol.png +0 -0
  412. data/app/assets/javascripts/ckeditor/plugins/symbol/lang/en.js +1 -0
  413. data/app/assets/javascripts/ckeditor/plugins/symbol/plugin.js +15 -0
  414. data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +1 -1
  415. data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +1 -1
  416. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +84 -0
  417. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +10 -0
  418. data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
  419. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  420. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  421. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  422. data/app/assets/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +9 -0
  423. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  424. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  425. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  426. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  427. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +15 -0
  428. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/yui.js +225 -0
  429. data/app/assets/javascripts/ckeditor/plugins/wordcount/css/wordcount.css +3 -0
  430. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/ca.js +11 -0
  431. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/de.js +11 -0
  432. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/en.js +11 -0
  433. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/es.js +11 -0
  434. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/fr.js +9 -0
  435. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/no.js +8 -0
  436. data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/pl.js +11 -0
  437. data/app/assets/javascripts/ckeditor/plugins/wordcount/plugin.js +193 -0
  438. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +17 -0
  439. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmp.html +118 -0
  440. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +63 -7
  441. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +11 -0
  442. data/app/assets/javascripts/ckeditor/plugins/youtube/images/icon.png +0 -0
  443. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/de.js +21 -0
  444. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/en.js +21 -0
  445. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/fr.js +21 -0
  446. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/hu.js +21 -0
  447. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/it.js +21 -0
  448. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/ja.js +21 -0
  449. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/pt.js +21 -0
  450. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/ru.js +21 -0
  451. data/app/assets/javascripts/ckeditor/plugins/youtube/lang/tr.js +21 -0
  452. data/app/assets/javascripts/ckeditor/plugins/youtube/plugin.js +321 -0
  453. data/app/assets/javascripts/ckeditor/skins/moono/dialog.css +2 -2
  454. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +2 -2
  455. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +2 -2
  456. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +2 -2
  457. data/app/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +2 -2
  458. data/app/assets/javascripts/ckeditor/skins/moono/dialog_opera.css +2 -2
  459. data/app/assets/javascripts/ckeditor/skins/moono/editor.css +2 -2
  460. data/app/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +2 -2
  461. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie.css +2 -2
  462. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +2 -2
  463. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +2 -2
  464. data/app/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +2 -2
  465. data/app/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
  466. data/app/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
  467. data/app/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
  468. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  469. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  470. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  471. data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  472. data/app/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
  473. data/app/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
  474. data/app/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
  475. data/app/assets/javascripts/ckeditor/styles.js +1 -1
  476. data/app/helpers/ckeditor/application_helper.rb +11 -0
  477. data/app/views/layouts/ckeditor/application.html.erb +17 -17
  478. data/lib/ckeditor/version.rb +2 -2
  479. metadata +422 -74
  480. data/app/assets/javascripts/ckeditor/plugins/LoremIpsum/images/icon1.png +0 -0
  481. data/app/assets/javascripts/ckeditor/plugins/LoremIpsum/plugin.js +0 -66
  482. data/app/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.ckeditor.css +0 -112
  483. data/app/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.css +0 -246
  484. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/dialog/dialog.js +0 -81
  485. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/closebrackets.js +0 -52
  486. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/closetag.js +0 -85
  487. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/continuecomment.js +0 -44
  488. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/continuelist.js +0 -25
  489. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/matchbrackets.js +0 -74
  490. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/brace-fold.js +0 -31
  491. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/foldcode.js +0 -32
  492. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/xml-fold.js +0 -64
  493. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/format/autoFormatAll.js +0 -43
  494. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/format/formatting.js +0 -114
  495. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/match-highlighter.js +0 -60
  496. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/search.js +0 -131
  497. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/searchcursor.js +0 -130
  498. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.js +0 -5516
  499. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/mode/css.js +0 -567
  500. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/mode/htmlmixed.js +0 -104
  501. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/mode/javascript.js +0 -437
  502. data/app/assets/javascripts/ckeditor/plugins/codemirror/js/mode/xml.js +0 -328
  503. data/app/assets/javascripts/ckeditor/plugins/colorbutton/icons/bgcolor.png +0 -0
  504. data/app/assets/javascripts/ckeditor/plugins/colorbutton/icons/textcolor.png +0 -0
  505. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/en.js +0 -53
  506. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/ru.js +0 -53
  507. data/app/assets/javascripts/ckeditor/plugins/colorbutton/plugin.js +0 -277
  508. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/en.js +0 -11
  509. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/ru.js +0 -11
  510. data/app/assets/javascripts/ckeditor/plugins/colordialog/plugin.js +0 -65
  511. data/app/assets/javascripts/ckeditor/plugins/mediaembed/images/icon.png +0 -0
  512. data/app/assets/javascripts/ckeditor/plugins/panelbutton/plugin.js +0 -138
  513. data/app/assets/javascripts/ckeditor/samples/ajax.html +0 -82
  514. data/app/assets/javascripts/ckeditor/samples/api.html +0 -207
  515. data/app/assets/javascripts/ckeditor/samples/appendto.html +0 -57
  516. data/app/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
  517. data/app/assets/javascripts/ckeditor/samples/assets/outputxhtml/outputxhtml.css +0 -204
  518. data/app/assets/javascripts/ckeditor/samples/assets/posteddata.php +0 -59
  519. data/app/assets/javascripts/ckeditor/samples/assets/sample.css +0 -3
  520. data/app/assets/javascripts/ckeditor/samples/assets/sample.jpg +0 -0
  521. data/app/assets/javascripts/ckeditor/samples/assets/uilanguages/languages.js +0 -7
  522. data/app/assets/javascripts/ckeditor/samples/datafiltering.html +0 -401
  523. data/app/assets/javascripts/ckeditor/samples/divreplace.html +0 -141
  524. data/app/assets/javascripts/ckeditor/samples/index.html +0 -125
  525. data/app/assets/javascripts/ckeditor/samples/inlineall.html +0 -311
  526. data/app/assets/javascripts/ckeditor/samples/inlinebycode.html +0 -122
  527. data/app/assets/javascripts/ckeditor/samples/plugins/dialog/assets/my_dialog.js +0 -48
  528. data/app/assets/javascripts/ckeditor/samples/plugins/dialog/dialog.html +0 -187
  529. data/app/assets/javascripts/ckeditor/samples/plugins/enterkey/enterkey.html +0 -103
  530. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
  531. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
  532. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +0 -18
  533. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputforflash.html +0 -280
  534. data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputhtml.html +0 -221
  535. data/app/assets/javascripts/ckeditor/samples/plugins/magicline/magicline.html +0 -207
  536. data/app/assets/javascripts/ckeditor/samples/plugins/toolbar/toolbar.html +0 -232
  537. data/app/assets/javascripts/ckeditor/samples/plugins/wysiwygarea/fullpage.html +0 -77
  538. data/app/assets/javascripts/ckeditor/samples/readonly.html +0 -73
  539. data/app/assets/javascripts/ckeditor/samples/replacebyclass.html +0 -57
  540. data/app/assets/javascripts/ckeditor/samples/replacebycode.html +0 -56
  541. data/app/assets/javascripts/ckeditor/samples/sample.css +0 -339
  542. data/app/assets/javascripts/ckeditor/samples/sample.js +0 -33
  543. data/app/assets/javascripts/ckeditor/samples/sample_posteddata.php +0 -16
  544. data/app/assets/javascripts/ckeditor/samples/tabindex.html +0 -75
  545. data/app/assets/javascripts/ckeditor/samples/uicolor.html +0 -69
  546. data/app/assets/javascripts/ckeditor/samples/uilanguages.html +0 -119
  547. data/app/assets/javascripts/ckeditor/samples/xhtmlstyle.html +0 -231
  548. data/app/assets/javascripts/ckeditor/skins/moono/images/mini.png +0 -0
@@ -1,122 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--
3
- Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.html or http://ckeditor.com/license
5
- -->
6
- <html>
7
- <head>
8
- <title>Inline Editing by Code &mdash; CKEditor Sample</title>
9
- <meta charset="utf-8">
10
- <script src="../ckeditor.js"></script>
11
- <link href="sample.css" rel="stylesheet">
12
- <style>
13
-
14
- #editable
15
- {
16
- padding: 10px;
17
- float: left;
18
- }
19
-
20
- </style>
21
- </head>
22
- <body>
23
- <h1 class="samples">
24
- <a href="index.html">CKEditor Samples</a> &raquo; Inline Editing by Code
25
- </h1>
26
- <div class="description">
27
- <p>
28
- This sample shows how to create an inline editor instance of CKEditor. It is created
29
- with a JavaScript call using the following code:
30
- </p>
31
- <pre class="samples">
32
- // This property tells CKEditor to not activate every element with contenteditable=true element.
33
- CKEDITOR.disableAutoInline = true;
34
-
35
- var editor = CKEDITOR.inline( document.getElementById( 'editable' ) );
36
- </pre>
37
- <p>
38
- Note that <code>editable</code> in the code above is the <code>id</code>
39
- attribute of the <code>&lt;div&gt;</code> element to be converted into an inline instance.
40
- </p>
41
- </div>
42
- <div id="editable" contenteditable="true">
43
- <h1><img alt="Saturn V carrying Apollo 11" class="right" src="assets/sample.jpg" /> Apollo 11</h1>
44
-
45
- <p><b>Apollo 11</b> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p>
46
-
47
- <p>Armstrong spent about <s>three and a half</s> two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&nbsp;kg) of lunar material for return to Earth. A third member of the mission, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>
48
-
49
- <h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2>
50
-
51
- <p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p>
52
-
53
- <blockquote>
54
- <p>One small step for [a] man, one giant leap for mankind.</p>
55
- </blockquote>
56
-
57
- <p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p>
58
-
59
- <blockquote>
60
- <p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
61
- </blockquote>
62
-
63
- <h2>Technical details <a id="tech-details" name="tech-details"></a></h2>
64
-
65
- <table align="right" border="1" bordercolor="#ccc" cellpadding="5" cellspacing="0" style="border-collapse:collapse;margin:10px 0 10px 15px;">
66
- <caption><strong>Mission crew</strong></caption>
67
- <thead>
68
- <tr>
69
- <th scope="col">Position</th>
70
- <th scope="col">Astronaut</th>
71
- </tr>
72
- </thead>
73
- <tbody>
74
- <tr>
75
- <td>Commander</td>
76
- <td>Neil A. Armstrong</td>
77
- </tr>
78
- <tr>
79
- <td>Command Module Pilot</td>
80
- <td>Michael Collins</td>
81
- </tr>
82
- <tr>
83
- <td>Lunar Module Pilot</td>
84
- <td>Edwin &quot;Buzz&quot; E. Aldrin, Jr.</td>
85
- </tr>
86
- </tbody>
87
- </table>
88
-
89
- <p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>&#39;s Apollo program. The Apollo spacecraft had three parts:</p>
90
-
91
- <ol>
92
- <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li>
93
- <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li>
94
- <li><strong>Lunar Module</strong> for landing on the Moon.</li>
95
- </ol>
96
-
97
- <p>After being sent to the Moon by the Saturn V&#39;s upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p>
98
-
99
- <hr />
100
- <p style="text-align: right;"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
101
- </div>
102
- <script>
103
-
104
- // We need to turn off the automatic editor creation first.
105
- CKEDITOR.disableAutoInline = true;
106
-
107
- var editor = CKEDITOR.inline( 'editable' );
108
-
109
- </script>
110
- <div id="footer">
111
- <hr>
112
- <p contenteditable="true">
113
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">
114
- http://ckeditor.com</a>
115
- </p>
116
- <p id="copy">
117
- Copyright &copy; 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a>
118
- - Frederico Knabben. All rights reserved.
119
- </p>
120
- </div>
121
- </body>
122
- </html>
@@ -1,48 +0,0 @@
1
- /**
2
- * Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
- * For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add( 'myDialog', function( editor ) {
7
- return {
8
- title: 'My Dialog',
9
- minWidth: 400,
10
- minHeight: 200,
11
- contents: [
12
- {
13
- id: 'tab1',
14
- label: 'First Tab',
15
- title: 'First Tab',
16
- elements: [
17
- {
18
- id: 'input1',
19
- type: 'text',
20
- label: 'Text Field'
21
- },
22
- {
23
- id: 'select1',
24
- type: 'select',
25
- label: 'Select Field',
26
- items: [
27
- [ 'option1', 'value1' ],
28
- [ 'option2', 'value2' ]
29
- ]
30
- }
31
- ]
32
- },
33
- {
34
- id: 'tab2',
35
- label: 'Second Tab',
36
- title: 'Second Tab',
37
- elements: [
38
- {
39
- id: 'button1',
40
- type: 'button',
41
- label: 'Button Field'
42
- }
43
- ]
44
- }
45
- ]
46
- };
47
- });
48
-
@@ -1,187 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--
3
- Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.html or http://ckeditor.com/license
5
- -->
6
- <html>
7
- <head>
8
- <title>Using API to Customize Dialog Windows &mdash; CKEditor Sample</title>
9
- <meta charset="utf-8">
10
- <script src="../../../ckeditor.js"></script>
11
- <link rel="stylesheet" href="../../sample.css">
12
- <meta name="ckeditor-sample-name" content="Using the JavaScript API to customize dialog windows">
13
- <meta name="ckeditor-sample-group" content="Advanced Samples">
14
- <meta name="ckeditor-sample-description" content="Using the dialog windows API to customize dialog windows without changing the original editor code.">
15
- <style>
16
-
17
- .cke_button__mybutton_icon
18
- {
19
- display: none !important;
20
- }
21
-
22
- .cke_button__mybutton_label
23
- {
24
- display: inline !important;
25
- }
26
-
27
- </style>
28
- <script>
29
-
30
- CKEDITOR.on( 'instanceCreated', function( ev ){
31
- var editor = ev.editor;
32
-
33
- // Listen for the "pluginsLoaded" event, so we are sure that the
34
- // "dialog" plugin has been loaded and we are able to do our
35
- // customizations.
36
- editor.on( 'pluginsLoaded', function() {
37
-
38
- // If our custom dialog has not been registered, do that now.
39
- if ( !CKEDITOR.dialog.exists( 'myDialog' ) ) {
40
- // We need to do the following trick to find out the dialog
41
- // definition file URL path. In the real world, you would simply
42
- // point to an absolute path directly, like "/mydir/mydialog.js".
43
- var href = document.location.href.split( '/' );
44
- href.pop();
45
- href.push( 'assets/my_dialog.js' );
46
- href = href.join( '/' );
47
-
48
- // Finally, register the dialog.
49
- CKEDITOR.dialog.add( 'myDialog', href );
50
- }
51
-
52
- // Register the command used to open the dialog.
53
- editor.addCommand( 'myDialogCmd', new CKEDITOR.dialogCommand( 'myDialog' ) );
54
-
55
- // Add the a custom toolbar buttons, which fires the above
56
- // command..
57
- editor.ui.add( 'MyButton', CKEDITOR.UI_BUTTON, {
58
- label: 'My Dialog',
59
- command: 'myDialogCmd'
60
- });
61
- });
62
- });
63
-
64
- // When opening a dialog, its "definition" is created for it, for
65
- // each editor instance. The "dialogDefinition" event is then
66
- // fired. We should use this event to make customizations to the
67
- // definition of existing dialogs.
68
- CKEDITOR.on( 'dialogDefinition', function( ev ) {
69
- // Take the dialog name and its definition from the event data.
70
- var dialogName = ev.data.name;
71
- var dialogDefinition = ev.data.definition;
72
-
73
- // Check if the definition is from the dialog we're
74
- // interested on (the "Link" dialog).
75
- if ( dialogName == 'myDialog' && ev.editor.name == 'editor2' ) {
76
- // Get a reference to the "Link Info" tab.
77
- var infoTab = dialogDefinition.getContents( 'tab1' );
78
-
79
- // Add a new text field to the "tab1" tab page.
80
- infoTab.add( {
81
- type: 'text',
82
- label: 'My Custom Field',
83
- id: 'customField',
84
- 'default': 'Sample!',
85
- validate: function() {
86
- if ( ( /\d/ ).test( this.getValue() ) )
87
- return 'My Custom Field must not contain digits';
88
- }
89
- });
90
-
91
- // Remove the "select1" field from the "tab1" tab.
92
- infoTab.remove( 'select1' );
93
-
94
- // Set the default value for "input1" field.
95
- var input1 = infoTab.get( 'input1' );
96
- input1[ 'default' ] = 'www.example.com';
97
-
98
- // Remove the "tab2" tab page.
99
- dialogDefinition.removeContents( 'tab2' );
100
-
101
- // Add a new tab to the "Link" dialog.
102
- dialogDefinition.addContents( {
103
- id: 'customTab',
104
- label: 'My Tab',
105
- accessKey: 'M',
106
- elements: [
107
- {
108
- id: 'myField1',
109
- type: 'text',
110
- label: 'My Text Field'
111
- },
112
- {
113
- id: 'myField2',
114
- type: 'text',
115
- label: 'Another Text Field'
116
- }
117
- ]
118
- });
119
-
120
- // Provide the focus handler to start initial focus in "customField" field.
121
- dialogDefinition.onFocus = function() {
122
- var urlField = this.getContentElement( 'tab1', 'customField' );
123
- urlField.select();
124
- };
125
- }
126
- });
127
-
128
- var config = {
129
- extraPlugins: 'dialog',
130
- toolbar: [ [ 'MyButton' ] ]
131
- };
132
-
133
- </script>
134
- </head>
135
- <body>
136
- <h1 class="samples">
137
- <a href="../../index.html">CKEditor Samples</a> &raquo; Using CKEditor Dialog API
138
- </h1>
139
- <div class="description">
140
- <p>
141
- This sample shows how to use the
142
- <a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.dialog">CKEditor Dialog API</a>
143
- to customize CKEditor dialog windows without changing the original editor code.
144
- The following customizations are being done in the example below:
145
- </p>
146
- <p>
147
- For details on how to create this setup check the source code of this sample page.
148
- </p>
149
- </div>
150
- <p>A custom dialog is added to the editors using the <code>pluginsLoaded</code> event, from an external <a target="_blank" href="assets/my_dialog.js">dialog definition file</a>:</p>
151
- <ol>
152
- <li><strong>Creating a custom dialog window</strong> &ndash; "My Dialog" dialog window opened with the "My Dialog" toolbar button.</li>
153
- <li><strong>Creating a custom button</strong> &ndash; Add button to open the dialog with "My Dialog" toolbar button.</li>
154
- </ol>
155
- <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
156
- <script>
157
- // Replace the <textarea id="editor1"> with an CKEditor instance.
158
- CKEDITOR.replace( 'editor1', config );
159
- </script>
160
- <p>The below editor modify the dialog definition of the above added dialog using the <code>dialogDefinition</code> event:</p>
161
- <ol>
162
- <li><strong>Adding dialog tab</strong> &ndash; Add new tab "My Tab" to dialog window.</li>
163
- <li><strong>Removing a dialog window tab</strong> &ndash; Remove "Second Tab" page from the dialog window.</li>
164
- <li><strong>Adding dialog window fields</strong> &ndash; Add "My Custom Field" to the dialog window.</li>
165
- <li><strong>Removing dialog window field</strong> &ndash; Remove "Select Field" selection field from the dialog window.</li>
166
- <li><strong>Setting default values for dialog window fields</strong> &ndash; Set default value of "Text Field" text field. </li>
167
- <li><strong>Setup initial focus for dialog window</strong> &ndash; Put initial focus on "My Custom Field" text field. </li>
168
- </ol>
169
- <textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
170
- <script>
171
-
172
- // Replace the <textarea id="editor1"> with an CKEditor instance.
173
- CKEDITOR.replace( 'editor2', config );
174
-
175
- </script>
176
- <div id="footer">
177
- <hr>
178
- <p>
179
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
180
- </p>
181
- <p id="copy">
182
- Copyright &copy; 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
183
- Knabben. All rights reserved.
184
- </p>
185
- </div>
186
- </body>
187
- </html>
@@ -1,103 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--
3
- Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.html or http://ckeditor.com/license
5
- -->
6
- <html>
7
- <head>
8
- <title>ENTER Key Configuration &mdash; CKEditor Sample</title>
9
- <meta charset="utf-8">
10
- <script src="../../../ckeditor.js"></script>
11
- <link href="../../sample.css" rel="stylesheet">
12
- <meta name="ckeditor-sample-name" content="Using the &quot;Enter&quot; key in CKEditor">
13
- <meta name="ckeditor-sample-group" content="Advanced Samples">
14
- <meta name="ckeditor-sample-description" content="Configuring the behavior of &lt;em&gt;Enter&lt;/em&gt; and &lt;em&gt;Shift+Enter&lt;/em&gt; keys.">
15
- <script>
16
-
17
- var editor;
18
-
19
- function changeEnter() {
20
- // If we already have an editor, let's destroy it first.
21
- if ( editor )
22
- editor.destroy( true );
23
-
24
- // Create the editor again, with the appropriate settings.
25
- editor = CKEDITOR.replace( 'editor1', {
26
- extraPlugins: 'enterkey',
27
- enterMode: Number( document.getElementById( 'xEnter' ).value ),
28
- shiftEnterMode: Number( document.getElementById( 'xShiftEnter' ).value )
29
- });
30
- }
31
-
32
- window.onload = changeEnter;
33
-
34
- </script>
35
- </head>
36
- <body>
37
- <h1 class="samples">
38
- <a href="../../index.html">CKEditor Samples</a> &raquo; ENTER Key Configuration
39
- </h1>
40
- <div class="description">
41
- <p>
42
- This sample shows how to configure the <em>Enter</em> and <em>Shift+Enter</em> keys
43
- to perform actions specified in the
44
- <a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-enterMode"><code>enterMode</code></a>
45
- and <a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-shiftEnterMode"><code>shiftEnterMode</code></a>
46
- parameters, respectively.
47
- You can choose from the following options:
48
- </p>
49
- <ul class="samples">
50
- <li><strong><code>ENTER_P</code></strong> &ndash; new <code>&lt;p&gt;</code> paragraphs are created;</li>
51
- <li><strong><code>ENTER_BR</code></strong> &ndash; lines are broken with <code>&lt;br&gt;</code> elements;</li>
52
- <li><strong><code>ENTER_DIV</code></strong> &ndash; new <code>&lt;div&gt;</code> blocks are created.</li>
53
- </ul>
54
- <p>
55
- The sample code below shows how to configure CKEditor to create a <code>&lt;div&gt;</code> block when <em>Enter</em> key is pressed.
56
- </p>
57
- <pre class="samples">
58
- CKEDITOR.replace( '<em>textarea_id</em>', {
59
- <strong>enterMode: CKEDITOR.ENTER_DIV</strong>
60
- });</pre>
61
- <p>
62
- Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
63
- the <code>&lt;textarea&gt;</code> element to be replaced.
64
- </p>
65
- </div>
66
- <div style="float: left; margin-right: 20px">
67
- When <em>Enter</em> is pressed:<br>
68
- <select id="xEnter" onchange="changeEnter();">
69
- <option selected="selected" value="1">Create a new &lt;P&gt; (recommended)</option>
70
- <option value="3">Create a new &lt;DIV&gt;</option>
71
- <option value="2">Break the line with a &lt;BR&gt;</option>
72
- </select>
73
- </div>
74
- <div style="float: left">
75
- When <em>Shift+Enter</em> is pressed:<br>
76
- <select id="xShiftEnter" onchange="changeEnter();">
77
- <option value="1">Create a new &lt;P&gt;</option>
78
- <option value="3">Create a new &lt;DIV&gt;</option>
79
- <option selected="selected" value="2">Break the line with a &lt;BR&gt; (recommended)</option>
80
- </select>
81
- </div>
82
- <br style="clear: both">
83
- <form action="../../sample_posteddata.php" method="post">
84
- <p>
85
- <br>
86
- <textarea cols="80" id="editor1" name="editor1" rows="10">This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.</textarea>
87
- </p>
88
- <p>
89
- <input type="submit" value="Submit">
90
- </p>
91
- </form>
92
- <div id="footer">
93
- <hr>
94
- <p>
95
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
96
- </p>
97
- <p id="copy">
98
- Copyright &copy; 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
99
- Knabben. All rights reserved.
100
- </p>
101
- </div>
102
- </body>
103
- </html>