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,567 +0,0 @@
1
- CodeMirror.defineMode("css", function(config) {
2
- return CodeMirror.getMode(config, "text/css");
3
- });
4
-
5
- CodeMirror.defineMode("css-base", function(config, parserConfig) {
6
- "use strict";
7
-
8
- var indentUnit = config.indentUnit,
9
- hooks = parserConfig.hooks || {},
10
- atMediaTypes = parserConfig.atMediaTypes || {},
11
- atMediaFeatures = parserConfig.atMediaFeatures || {},
12
- propertyKeywords = parserConfig.propertyKeywords || {},
13
- colorKeywords = parserConfig.colorKeywords || {},
14
- valueKeywords = parserConfig.valueKeywords || {},
15
- allowNested = !!parserConfig.allowNested,
16
- type = null;
17
-
18
- function ret(style, tp) { type = tp; return style; }
19
-
20
- function tokenBase(stream, state) {
21
- var ch = stream.next();
22
- if (hooks[ch]) {
23
- // result[0] is style and result[1] is type
24
- var result = hooks[ch](stream, state);
25
- if (result !== false) return result;
26
- }
27
- if (ch == "@") {stream.eatWhile(/[\w\\\-]/); return ret("def", stream.current());}
28
- else if (ch == "=") ret(null, "compare");
29
- else if ((ch == "~" || ch == "|") && stream.eat("=")) return ret(null, "compare");
30
- else if (ch == "\"" || ch == "'") {
31
- state.tokenize = tokenString(ch);
32
- return state.tokenize(stream, state);
33
- }
34
- else if (ch == "#") {
35
- stream.eatWhile(/[\w\\\-]/);
36
- return ret("atom", "hash");
37
- }
38
- else if (ch == "!") {
39
- stream.match(/^\s*\w*/);
40
- return ret("keyword", "important");
41
- }
42
- else if (/\d/.test(ch)) {
43
- stream.eatWhile(/[\w.%]/);
44
- return ret("number", "unit");
45
- }
46
- else if (ch === "-") {
47
- if (/\d/.test(stream.peek())) {
48
- stream.eatWhile(/[\w.%]/);
49
- return ret("number", "unit");
50
- } else if (stream.match(/^[^-]+-/)) {
51
- return ret("meta", "meta");
52
- }
53
- }
54
- else if (/[,+>*\/]/.test(ch)) {
55
- return ret(null, "select-op");
56
- }
57
- else if (ch == "." && stream.match(/^-?[_a-z][_a-z0-9-]*/i)) {
58
- return ret("qualifier", "qualifier");
59
- }
60
- else if (ch == ":") {
61
- return ret("operator", ch);
62
- }
63
- else if (/[;{}\[\]\(\)]/.test(ch)) {
64
- return ret(null, ch);
65
- }
66
- else if (ch == "u" && stream.match("rl(")) {
67
- stream.backUp(1);
68
- state.tokenize = tokenParenthesized;
69
- return ret("property", "variable");
70
- }
71
- else {
72
- stream.eatWhile(/[\w\\\-]/);
73
- return ret("property", "variable");
74
- }
75
- }
76
-
77
- function tokenString(quote, nonInclusive) {
78
- return function(stream, state) {
79
- var escaped = false, ch;
80
- while ((ch = stream.next()) != null) {
81
- if (ch == quote && !escaped)
82
- break;
83
- escaped = !escaped && ch == "\\";
84
- }
85
- if (!escaped) {
86
- if (nonInclusive) stream.backUp(1);
87
- state.tokenize = tokenBase;
88
- }
89
- return ret("string", "string");
90
- };
91
- }
92
-
93
- function tokenParenthesized(stream, state) {
94
- stream.next(); // Must be '('
95
- if (!stream.match(/\s*[\"\']/, false))
96
- state.tokenize = tokenString(")", true);
97
- else
98
- state.tokenize = tokenBase;
99
- return ret(null, "(");
100
- }
101
-
102
- return {
103
- startState: function(base) {
104
- return {tokenize: tokenBase,
105
- baseIndent: base || 0,
106
- stack: []};
107
- },
108
-
109
- token: function(stream, state) {
110
-
111
- // Use these terms when applicable (see http://www.xanthir.com/blog/b4E50)
112
- //
113
- // rule** or **ruleset:
114
- // A selector + braces combo, or an at-rule.
115
- //
116
- // declaration block:
117
- // A sequence of declarations.
118
- //
119
- // declaration:
120
- // A property + colon + value combo.
121
- //
122
- // property value:
123
- // The entire value of a property.
124
- //
125
- // component value:
126
- // A single piece of a property value. Like the 5px in
127
- // text-shadow: 0 0 5px blue;. Can also refer to things that are
128
- // multiple terms, like the 1-4 terms that make up the background-size
129
- // portion of the background shorthand.
130
- //
131
- // term:
132
- // The basic unit of author-facing CSS, like a single number (5),
133
- // dimension (5px), string ("foo"), or function. Officially defined
134
- // by the CSS 2.1 grammar (look for the 'term' production)
135
- //
136
- //
137
- // simple selector:
138
- // A single atomic selector, like a type selector, an attr selector, a
139
- // class selector, etc.
140
- //
141
- // compound selector:
142
- // One or more simple selectors without a combinator. div.example is
143
- // compound, div > .example is not.
144
- //
145
- // complex selector:
146
- // One or more compound selectors chained with combinators.
147
- //
148
- // combinator:
149
- // The parts of selectors that express relationships. There are four
150
- // currently - the space (descendant combinator), the greater-than
151
- // bracket (child combinator), the plus sign (next sibling combinator),
152
- // and the tilda (following sibling combinator).
153
- //
154
- // sequence of selectors:
155
- // One or more of the named type of selector chained with commas.
156
-
157
- state.tokenize = state.tokenize || tokenBase;
158
- if (state.tokenize == tokenBase && stream.eatSpace()) return null;
159
- var style = state.tokenize(stream, state);
160
- if (style && typeof style != "string") style = ret(style[0], style[1]);
161
-
162
- // Changing style returned based on context
163
- var context = state.stack[state.stack.length-1];
164
- if (style == "variable") {
165
- if (type == "variable-definition") state.stack.push("propertyValue");
166
- return "variable-2";
167
- } else if (style == "property") {
168
- if (context == "propertyValue"){
169
- if (valueKeywords[stream.current()]) {
170
- style = "string-2";
171
- } else if (colorKeywords[stream.current()]) {
172
- style = "keyword";
173
- } else {
174
- style = "variable-2";
175
- }
176
- } else if (context == "rule") {
177
- if (!propertyKeywords[stream.current()]) {
178
- style += " error";
179
- }
180
- } else if (context == "block") {
181
- // if a value is present in both property, value, or color, the order
182
- // of preference is property -> color -> value
183
- if (propertyKeywords[stream.current()]) {
184
- style = "property";
185
- } else if (colorKeywords[stream.current()]) {
186
- style = "keyword";
187
- } else if (valueKeywords[stream.current()]) {
188
- style = "string-2";
189
- } else {
190
- style = "tag";
191
- }
192
- } else if (!context || context == "@media{") {
193
- style = "tag";
194
- } else if (context == "@media") {
195
- if (atMediaTypes[stream.current()]) {
196
- style = "attribute"; // Known attribute
197
- } else if (/^(only|not)$/i.test(stream.current())) {
198
- style = "keyword";
199
- } else if (stream.current().toLowerCase() == "and") {
200
- style = "error"; // "and" is only allowed in @mediaType
201
- } else if (atMediaFeatures[stream.current()]) {
202
- style = "error"; // Known property, should be in @mediaType(
203
- } else {
204
- // Unknown, expecting keyword or attribute, assuming attribute
205
- style = "attribute error";
206
- }
207
- } else if (context == "@mediaType") {
208
- if (atMediaTypes[stream.current()]) {
209
- style = "attribute";
210
- } else if (stream.current().toLowerCase() == "and") {
211
- style = "operator";
212
- } else if (/^(only|not)$/i.test(stream.current())) {
213
- style = "error"; // Only allowed in @media
214
- } else if (atMediaFeatures[stream.current()]) {
215
- style = "error"; // Known property, should be in parentheses
216
- } else {
217
- // Unknown attribute or property, but expecting property (preceded
218
- // by "and"). Should be in parentheses
219
- style = "error";
220
- }
221
- } else if (context == "@mediaType(") {
222
- if (propertyKeywords[stream.current()]) {
223
- // do nothing, remains "property"
224
- } else if (atMediaTypes[stream.current()]) {
225
- style = "error"; // Known property, should be in parentheses
226
- } else if (stream.current().toLowerCase() == "and") {
227
- style = "operator";
228
- } else if (/^(only|not)$/i.test(stream.current())) {
229
- style = "error"; // Only allowed in @media
230
- } else {
231
- style += " error";
232
- }
233
- } else {
234
- style = "error";
235
- }
236
- } else if (style == "atom") {
237
- if(!context || context == "@media{" || context == "block") {
238
- style = "builtin";
239
- } else if (context == "propertyValue") {
240
- if (!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(stream.current())) {
241
- style += " error";
242
- }
243
- } else {
244
- style = "error";
245
- }
246
- } else if (context == "@media" && type == "{") {
247
- style = "error";
248
- }
249
-
250
- // Push/pop context stack
251
- if (type == "{") {
252
- if (context == "@media" || context == "@mediaType") {
253
- state.stack.pop();
254
- state.stack[state.stack.length-1] = "@media{";
255
- }
256
- else {
257
- var newContext = allowNested ? "block" : "rule";
258
- state.stack.push(newContext);
259
- }
260
- }
261
- else if (type == "}") {
262
- var lastState = state.stack[state.stack.length - 1];
263
- if (lastState == "interpolation") style = "operator";
264
- state.stack.pop();
265
- if (context == "propertyValue") state.stack.pop();
266
- }
267
- else if (type == "interpolation") state.stack.push("interpolation");
268
- else if (type == "@media") state.stack.push("@media");
269
- else if (context == "@media" && /\b(keyword|attribute)\b/.test(style))
270
- state.stack.push("@mediaType");
271
- else if (context == "@mediaType" && stream.current() == ",") state.stack.pop();
272
- else if (context == "@mediaType" && type == "(") state.stack.push("@mediaType(");
273
- else if (context == "@mediaType(" && type == ")") state.stack.pop();
274
- else if ((context == "rule" || context == "block") && type == ":") state.stack.push("propertyValue");
275
- else if (context == "propertyValue" && type == ";") state.stack.pop();
276
- return style;
277
- },
278
-
279
- indent: function(state, textAfter) {
280
- var n = state.stack.length;
281
- if (/^\}/.test(textAfter))
282
- n -= state.stack[state.stack.length-1] == "propertyValue" ? 2 : 1;
283
- return state.baseIndent + n * indentUnit;
284
- },
285
-
286
- electricChars: "}"
287
- };
288
- });
289
-
290
- (function() {
291
- function keySet(array) {
292
- var keys = {};
293
- for (var i = 0; i < array.length; ++i) {
294
- keys[array[i]] = true;
295
- }
296
- return keys;
297
- }
298
-
299
- var atMediaTypes = keySet([
300
- "all", "aural", "braille", "handheld", "print", "projection", "screen",
301
- "tty", "tv", "embossed"
302
- ]);
303
-
304
- var atMediaFeatures = keySet([
305
- "width", "min-width", "max-width", "height", "min-height", "max-height",
306
- "device-width", "min-device-width", "max-device-width", "device-height",
307
- "min-device-height", "max-device-height", "aspect-ratio",
308
- "min-aspect-ratio", "max-aspect-ratio", "device-aspect-ratio",
309
- "min-device-aspect-ratio", "max-device-aspect-ratio", "color", "min-color",
310
- "max-color", "color-index", "min-color-index", "max-color-index",
311
- "monochrome", "min-monochrome", "max-monochrome", "resolution",
312
- "min-resolution", "max-resolution", "scan", "grid"
313
- ]);
314
-
315
- var propertyKeywords = keySet([
316
- "align-content", "align-items", "align-self", "alignment-adjust",
317
- "alignment-baseline", "anchor-point", "animation", "animation-delay",
318
- "animation-direction", "animation-duration", "animation-iteration-count",
319
- "animation-name", "animation-play-state", "animation-timing-function",
320
- "appearance", "azimuth", "backface-visibility", "background",
321
- "background-attachment", "background-clip", "background-color",
322
- "background-image", "background-origin", "background-position",
323
- "background-repeat", "background-size", "baseline-shift", "binding",
324
- "bleed", "bookmark-label", "bookmark-level", "bookmark-state",
325
- "bookmark-target", "border", "border-bottom", "border-bottom-color",
326
- "border-bottom-left-radius", "border-bottom-right-radius",
327
- "border-bottom-style", "border-bottom-width", "border-collapse",
328
- "border-color", "border-image", "border-image-outset",
329
- "border-image-repeat", "border-image-slice", "border-image-source",
330
- "border-image-width", "border-left", "border-left-color",
331
- "border-left-style", "border-left-width", "border-radius", "border-right",
332
- "border-right-color", "border-right-style", "border-right-width",
333
- "border-spacing", "border-style", "border-top", "border-top-color",
334
- "border-top-left-radius", "border-top-right-radius", "border-top-style",
335
- "border-top-width", "border-width", "bottom", "box-decoration-break",
336
- "box-shadow", "box-sizing", "break-after", "break-before", "break-inside",
337
- "caption-side", "clear", "clip", "color", "color-profile", "column-count",
338
- "column-fill", "column-gap", "column-rule", "column-rule-color",
339
- "column-rule-style", "column-rule-width", "column-span", "column-width",
340
- "columns", "content", "counter-increment", "counter-reset", "crop", "cue",
341
- "cue-after", "cue-before", "cursor", "direction", "display",
342
- "dominant-baseline", "drop-initial-after-adjust",
343
- "drop-initial-after-align", "drop-initial-before-adjust",
344
- "drop-initial-before-align", "drop-initial-size", "drop-initial-value",
345
- "elevation", "empty-cells", "fit", "fit-position", "flex", "flex-basis",
346
- "flex-direction", "flex-flow", "flex-grow", "flex-shrink", "flex-wrap",
347
- "float", "float-offset", "font", "font-feature-settings", "font-family",
348
- "font-kerning", "font-language-override", "font-size", "font-size-adjust",
349
- "font-stretch", "font-style", "font-synthesis", "font-variant",
350
- "font-variant-alternates", "font-variant-caps", "font-variant-east-asian",
351
- "font-variant-ligatures", "font-variant-numeric", "font-variant-position",
352
- "font-weight", "grid-cell", "grid-column", "grid-column-align",
353
- "grid-column-sizing", "grid-column-span", "grid-columns", "grid-flow",
354
- "grid-row", "grid-row-align", "grid-row-sizing", "grid-row-span",
355
- "grid-rows", "grid-template", "hanging-punctuation", "height", "hyphens",
356
- "icon", "image-orientation", "image-rendering", "image-resolution",
357
- "inline-box-align", "justify-content", "left", "letter-spacing",
358
- "line-break", "line-height", "line-stacking", "line-stacking-ruby",
359
- "line-stacking-shift", "line-stacking-strategy", "list-style",
360
- "list-style-image", "list-style-position", "list-style-type", "margin",
361
- "margin-bottom", "margin-left", "margin-right", "margin-top",
362
- "marker-offset", "marks", "marquee-direction", "marquee-loop",
363
- "marquee-play-count", "marquee-speed", "marquee-style", "max-height",
364
- "max-width", "min-height", "min-width", "move-to", "nav-down", "nav-index",
365
- "nav-left", "nav-right", "nav-up", "opacity", "order", "orphans", "outline",
366
- "outline-color", "outline-offset", "outline-style", "outline-width",
367
- "overflow", "overflow-style", "overflow-wrap", "overflow-x", "overflow-y",
368
- "padding", "padding-bottom", "padding-left", "padding-right", "padding-top",
369
- "page", "page-break-after", "page-break-before", "page-break-inside",
370
- "page-policy", "pause", "pause-after", "pause-before", "perspective",
371
- "perspective-origin", "pitch", "pitch-range", "play-during", "position",
372
- "presentation-level", "punctuation-trim", "quotes", "rendering-intent",
373
- "resize", "rest", "rest-after", "rest-before", "richness", "right",
374
- "rotation", "rotation-point", "ruby-align", "ruby-overhang",
375
- "ruby-position", "ruby-span", "size", "speak", "speak-as", "speak-header",
376
- "speak-numeral", "speak-punctuation", "speech-rate", "stress", "string-set",
377
- "tab-size", "table-layout", "target", "target-name", "target-new",
378
- "target-position", "text-align", "text-align-last", "text-decoration",
379
- "text-decoration-color", "text-decoration-line", "text-decoration-skip",
380
- "text-decoration-style", "text-emphasis", "text-emphasis-color",
381
- "text-emphasis-position", "text-emphasis-style", "text-height",
382
- "text-indent", "text-justify", "text-outline", "text-shadow",
383
- "text-space-collapse", "text-transform", "text-underline-position",
384
- "text-wrap", "top", "transform", "transform-origin", "transform-style",
385
- "transition", "transition-delay", "transition-duration",
386
- "transition-property", "transition-timing-function", "unicode-bidi",
387
- "vertical-align", "visibility", "voice-balance", "voice-duration",
388
- "voice-family", "voice-pitch", "voice-range", "voice-rate", "voice-stress",
389
- "voice-volume", "volume", "white-space", "widows", "width", "word-break",
390
- "word-spacing", "word-wrap", "z-index"
391
- ]);
392
-
393
- var colorKeywords = keySet([
394
- "black", "silver", "gray", "white", "maroon", "red", "purple", "fuchsia",
395
- "green", "lime", "olive", "yellow", "navy", "blue", "teal", "aqua"
396
- ]);
397
-
398
- var valueKeywords = keySet([
399
- "above", "absolute", "activeborder", "activecaption", "afar",
400
- "after-white-space", "ahead", "alias", "all", "all-scroll", "alternate",
401
- "always", "amharic", "amharic-abegede", "antialiased", "appworkspace",
402
- "arabic-indic", "armenian", "asterisks", "auto", "avoid", "background",
403
- "backwards", "baseline", "below", "bidi-override", "binary", "bengali",
404
- "blink", "block", "block-axis", "bold", "bolder", "border", "border-box",
405
- "both", "bottom", "break-all", "break-word", "button", "button-bevel",
406
- "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "cambodian",
407
- "capitalize", "caps-lock-indicator", "caption", "captiontext", "caret",
408
- "cell", "center", "checkbox", "circle", "cjk-earthly-branch",
409
- "cjk-heavenly-stem", "cjk-ideographic", "clear", "clip", "close-quote",
410
- "col-resize", "collapse", "compact", "condensed", "contain", "content",
411
- "content-box", "context-menu", "continuous", "copy", "cover", "crop",
412
- "cross", "crosshair", "currentcolor", "cursive", "dashed", "decimal",
413
- "decimal-leading-zero", "default", "default-button", "destination-atop",
414
- "destination-in", "destination-out", "destination-over", "devanagari",
415
- "disc", "discard", "document", "dot-dash", "dot-dot-dash", "dotted",
416
- "double", "down", "e-resize", "ease", "ease-in", "ease-in-out", "ease-out",
417
- "element", "ellipsis", "embed", "end", "ethiopic", "ethiopic-abegede",
418
- "ethiopic-abegede-am-et", "ethiopic-abegede-gez", "ethiopic-abegede-ti-er",
419
- "ethiopic-abegede-ti-et", "ethiopic-halehame-aa-er",
420
- "ethiopic-halehame-aa-et", "ethiopic-halehame-am-et",
421
- "ethiopic-halehame-gez", "ethiopic-halehame-om-et",
422
- "ethiopic-halehame-sid-et", "ethiopic-halehame-so-et",
423
- "ethiopic-halehame-ti-er", "ethiopic-halehame-ti-et",
424
- "ethiopic-halehame-tig", "ew-resize", "expanded", "extra-condensed",
425
- "extra-expanded", "fantasy", "fast", "fill", "fixed", "flat", "footnotes",
426
- "forwards", "from", "geometricPrecision", "georgian", "graytext", "groove",
427
- "gujarati", "gurmukhi", "hand", "hangul", "hangul-consonant", "hebrew",
428
- "help", "hidden", "hide", "higher", "highlight", "highlighttext",
429
- "hiragana", "hiragana-iroha", "horizontal", "hsl", "hsla", "icon", "ignore",
430
- "inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite",
431
- "infobackground", "infotext", "inherit", "initial", "inline", "inline-axis",
432
- "inline-block", "inline-table", "inset", "inside", "intrinsic", "invert",
433
- "italic", "justify", "kannada", "katakana", "katakana-iroha", "khmer",
434
- "landscape", "lao", "large", "larger", "left", "level", "lighter",
435
- "line-through", "linear", "lines", "list-item", "listbox", "listitem",
436
- "local", "logical", "loud", "lower", "lower-alpha", "lower-armenian",
437
- "lower-greek", "lower-hexadecimal", "lower-latin", "lower-norwegian",
438
- "lower-roman", "lowercase", "ltr", "malayalam", "match",
439
- "media-controls-background", "media-current-time-display",
440
- "media-fullscreen-button", "media-mute-button", "media-play-button",
441
- "media-return-to-realtime-button", "media-rewind-button",
442
- "media-seek-back-button", "media-seek-forward-button", "media-slider",
443
- "media-sliderthumb", "media-time-remaining-display", "media-volume-slider",
444
- "media-volume-slider-container", "media-volume-sliderthumb", "medium",
445
- "menu", "menulist", "menulist-button", "menulist-text",
446
- "menulist-textfield", "menutext", "message-box", "middle", "min-intrinsic",
447
- "mix", "mongolian", "monospace", "move", "multiple", "myanmar", "n-resize",
448
- "narrower", "ne-resize", "nesw-resize", "no-close-quote", "no-drop",
449
- "no-open-quote", "no-repeat", "none", "normal", "not-allowed", "nowrap",
450
- "ns-resize", "nw-resize", "nwse-resize", "oblique", "octal", "open-quote",
451
- "optimizeLegibility", "optimizeSpeed", "oriya", "oromo", "outset",
452
- "outside", "overlay", "overline", "padding", "padding-box", "painted",
453
- "paused", "persian", "plus-darker", "plus-lighter", "pointer", "portrait",
454
- "pre", "pre-line", "pre-wrap", "preserve-3d", "progress", "push-button",
455
- "radio", "read-only", "read-write", "read-write-plaintext-only", "relative",
456
- "repeat", "repeat-x", "repeat-y", "reset", "reverse", "rgb", "rgba",
457
- "ridge", "right", "round", "row-resize", "rtl", "run-in", "running",
458
- "s-resize", "sans-serif", "scroll", "scrollbar", "se-resize", "searchfield",
459
- "searchfield-cancel-button", "searchfield-decoration",
460
- "searchfield-results-button", "searchfield-results-decoration",
461
- "semi-condensed", "semi-expanded", "separate", "serif", "show", "sidama",
462
- "single", "skip-white-space", "slide", "slider-horizontal",
463
- "slider-vertical", "sliderthumb-horizontal", "sliderthumb-vertical", "slow",
464
- "small", "small-caps", "small-caption", "smaller", "solid", "somali",
465
- "source-atop", "source-in", "source-out", "source-over", "space", "square",
466
- "square-button", "start", "static", "status-bar", "stretch", "stroke",
467
- "sub", "subpixel-antialiased", "super", "sw-resize", "table",
468
- "table-caption", "table-cell", "table-column", "table-column-group",
469
- "table-footer-group", "table-header-group", "table-row", "table-row-group",
470
- "telugu", "text", "text-bottom", "text-top", "textarea", "textfield", "thai",
471
- "thick", "thin", "threeddarkshadow", "threedface", "threedhighlight",
472
- "threedlightshadow", "threedshadow", "tibetan", "tigre", "tigrinya-er",
473
- "tigrinya-er-abegede", "tigrinya-et", "tigrinya-et-abegede", "to", "top",
474
- "transparent", "ultra-condensed", "ultra-expanded", "underline", "up",
475
- "upper-alpha", "upper-armenian", "upper-greek", "upper-hexadecimal",
476
- "upper-latin", "upper-norwegian", "upper-roman", "uppercase", "urdu", "url",
477
- "vertical", "vertical-text", "visible", "visibleFill", "visiblePainted",
478
- "visibleStroke", "visual", "w-resize", "wait", "wave", "white", "wider",
479
- "window", "windowframe", "windowtext", "x-large", "x-small", "xor",
480
- "xx-large", "xx-small"
481
- ]);
482
-
483
- function tokenCComment(stream, state) {
484
- var maybeEnd = false, ch;
485
- while ((ch = stream.next()) != null) {
486
- if (maybeEnd && ch == "/") {
487
- state.tokenize = null;
488
- break;
489
- }
490
- maybeEnd = (ch == "*");
491
- }
492
- return ["comment", "comment"];
493
- }
494
-
495
- CodeMirror.defineMIME("text/css", {
496
- atMediaTypes: atMediaTypes,
497
- atMediaFeatures: atMediaFeatures,
498
- propertyKeywords: propertyKeywords,
499
- colorKeywords: colorKeywords,
500
- valueKeywords: valueKeywords,
501
- hooks: {
502
- "<": function(stream, state) {
503
- function tokenSGMLComment(stream, state) {
504
- var dashes = 0, ch;
505
- while ((ch = stream.next()) != null) {
506
- if (dashes >= 2 && ch == ">") {
507
- state.tokenize = null;
508
- break;
509
- }
510
- dashes = (ch == "-") ? dashes + 1 : 0;
511
- }
512
- return ["comment", "comment"];
513
- }
514
- if (stream.eat("!")) {
515
- state.tokenize = tokenSGMLComment;
516
- return tokenSGMLComment(stream, state);
517
- }
518
- },
519
- "/": function(stream, state) {
520
- if (stream.eat("*")) {
521
- state.tokenize = tokenCComment;
522
- return tokenCComment(stream, state);
523
- }
524
- return false;
525
- }
526
- },
527
- name: "css-base"
528
- });
529
-
530
- CodeMirror.defineMIME("text/x-scss", {
531
- atMediaTypes: atMediaTypes,
532
- atMediaFeatures: atMediaFeatures,
533
- propertyKeywords: propertyKeywords,
534
- colorKeywords: colorKeywords,
535
- valueKeywords: valueKeywords,
536
- allowNested: true,
537
- hooks: {
538
- "$": function(stream) {
539
- stream.match(/^[\w-]+/);
540
- if (stream.peek() == ":") {
541
- return ["variable", "variable-definition"];
542
- }
543
- return ["variable", "variable"];
544
- },
545
- "/": function(stream, state) {
546
- if (stream.eat("/")) {
547
- stream.skipToEnd();
548
- return ["comment", "comment"];
549
- } else if (stream.eat("*")) {
550
- state.tokenize = tokenCComment;
551
- return tokenCComment(stream, state);
552
- } else {
553
- return ["operator", "operator"];
554
- }
555
- },
556
- "#": function(stream) {
557
- if (stream.eat("{")) {
558
- return ["operator", "interpolation"];
559
- } else {
560
- stream.eatWhile(/[\w\\\-]/);
561
- return ["atom", "hash"];
562
- }
563
- }
564
- },
565
- name: "css-base"
566
- });
567
- })();