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
@@ -0,0 +1,14 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'font', 'sv', {
6
+ fontSize: {
7
+ label: 'Storlek',
8
+ voiceLabel: 'Teckenstorlek',
9
+ panelTitle: 'Storlek'
10
+ },
11
+ label: 'Typsnitt',
12
+ panelTitle: 'Typsnitt',
13
+ voiceLabel: 'Typsnitt'
14
+ });
@@ -0,0 +1,14 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'font', 'th', {
6
+ fontSize: {
7
+ label: 'ขนาด',
8
+ voiceLabel: 'Font Size',
9
+ panelTitle: 'ขนาด'
10
+ },
11
+ label: 'แบบอักษร',
12
+ panelTitle: 'แบบอักษร',
13
+ voiceLabel: 'แบบอักษร'
14
+ });
@@ -0,0 +1,14 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'font', 'tr', {
6
+ fontSize: {
7
+ label: 'Boyut',
8
+ voiceLabel: 'Font Size',
9
+ panelTitle: 'Boyut'
10
+ },
11
+ label: 'Yazı Türü',
12
+ panelTitle: 'Yazı Türü',
13
+ voiceLabel: 'Font'
14
+ });
@@ -0,0 +1,14 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'font', 'ug', {
6
+ fontSize: {
7
+ label: 'چوڭلۇقى',
8
+ voiceLabel: 'خەت چوڭلۇقى',
9
+ panelTitle: 'چوڭلۇقى'
10
+ },
11
+ label: 'خەت نۇسخا',
12
+ panelTitle: 'خەت نۇسخا',
13
+ voiceLabel: 'خەت نۇسخا'
14
+ });
@@ -0,0 +1,14 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'font', 'uk', {
6
+ fontSize: {
7
+ label: 'Розмір',
8
+ voiceLabel: 'Розмір шрифту',
9
+ panelTitle: 'Розмір'
10
+ },
11
+ label: 'Шрифт',
12
+ panelTitle: 'Шрифт',
13
+ voiceLabel: 'Шрифт'
14
+ });
@@ -0,0 +1,14 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'font', 'vi', {
6
+ fontSize: {
7
+ label: 'Cỡ chữ',
8
+ voiceLabel: 'Kích cỡ phông',
9
+ panelTitle: 'Cỡ chữ'
10
+ },
11
+ label: 'Phông',
12
+ panelTitle: 'Phông',
13
+ voiceLabel: 'Phông'
14
+ });
@@ -0,0 +1,14 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'font', 'zh-cn', {
6
+ fontSize: {
7
+ label: '大小',
8
+ voiceLabel: '文字大小',
9
+ panelTitle: '大小'
10
+ },
11
+ label: '字体',
12
+ panelTitle: '字体',
13
+ voiceLabel: '字体'
14
+ });
@@ -0,0 +1,14 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'font', 'zh', {
6
+ fontSize: {
7
+ label: '大小',
8
+ voiceLabel: '文字大小',
9
+ panelTitle: '大小'
10
+ },
11
+ label: '字體',
12
+ panelTitle: '字體',
13
+ voiceLabel: '字體'
14
+ });
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
- * For licensing, see LICENSE.html or http://ckeditor.com/license
3
+ * For licensing, see LICENSE.md or http://ckeditor.com/license
4
4
  */
5
5
 
6
6
  (function() {
@@ -96,7 +96,7 @@
96
96
 
97
97
  CKEDITOR.plugins.add( 'font', {
98
98
  requires: 'richcombo',
99
- lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en-au,en-ca,en-gb,en,eo,es,et,eu,fa,fi,fo,fr-ca,fr,gl,gu,he,hi,hr,hu,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt-br,pt,ro,ru,sk,sl,sq,sr-latn,sr,sv,th,tr,ug,uk,vi,zh-cn,zh', // %REMOVE_LINE_CORE%
99
+ lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
100
100
  init: function( editor ) {
101
101
  var config = editor.config;
102
102
 
@@ -0,0 +1,8 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("button",function(b){function d(a){var b=this.getValue();b?(a.attributes[this.id]=b,"name"==this.id&&(a.attributes["data-cke-saved-name"]=b)):(delete a.attributes[this.id],"name"==this.id&&delete a.attributes["data-cke-saved-name"])}return{title:b.lang.forms.button.title,minWidth:350,minHeight:150,onShow:function(){delete this.button;var a=this.getParentEditor().getSelection().getSelectedElement();a&&a.is("input")&&a.getAttribute("type")in{button:1,reset:1,submit:1}&&(this.button=
6
+ a,this.setupContent(a))},onOk:function(){var a=this.getParentEditor(),b=this.button,d=!b,c=b?CKEDITOR.htmlParser.fragment.fromHtml(b.getOuterHtml()).children[0]:new CKEDITOR.htmlParser.element("input");this.commitContent(c);var e=new CKEDITOR.htmlParser.basicWriter;c.writeHtml(e);c=CKEDITOR.dom.element.createFromHtml(e.getHtml(),a.document);d?a.insertElement(c):(c.replace(b),a.getSelection().selectElement(c))},contents:[{id:"info",label:b.lang.forms.button.title,title:b.lang.forms.button.title,elements:[{id:"name",
7
+ type:"text",label:b.lang.common.name,"default":"",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:d},{id:"value",type:"text",label:b.lang.forms.button.text,accessKey:"V","default":"",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:d},{id:"type",type:"select",label:b.lang.forms.button.type,"default":"button",accessKey:"T",items:[[b.lang.forms.button.typeBtn,"button"],[b.lang.forms.button.typeSbm,"submit"],[b.lang.forms.button.typeRst,
8
+ "reset"]],setup:function(a){this.setValue(a.getAttribute("type")||"")},commit:d}]}]}});
@@ -0,0 +1,8 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("checkbox",function(d){return{title:d.lang.forms.checkboxAndRadio.checkboxTitle,minWidth:350,minHeight:140,onShow:function(){delete this.checkbox;var a=this.getParentEditor().getSelection().getSelectedElement();a&&"checkbox"==a.getAttribute("type")&&(this.checkbox=a,this.setupContent(a))},onOk:function(){var a,b=this.checkbox;b||(a=this.getParentEditor(),b=a.document.createElement("input"),b.setAttribute("type","checkbox"),a.insertElement(b));this.commitContent({element:b})},contents:[{id:"info",
6
+ label:d.lang.forms.checkboxAndRadio.checkboxTitle,title:d.lang.forms.checkboxAndRadio.checkboxTitle,startupFocus:"txtName",elements:[{id:"txtName",type:"text",label:d.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){a=a.element;this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{id:"txtValue",type:"text",label:d.lang.forms.checkboxAndRadio.value,
7
+ "default":"",accessKey:"V",setup:function(a){a=a.getAttribute("value");this.setValue(CKEDITOR.env.ie&&"on"==a?"":a)},commit:function(a){var b=a.element,c=this.getValue();c&&!(CKEDITOR.env.ie&&"on"==c)?b.setAttribute("value",c):CKEDITOR.env.ie?(c=new CKEDITOR.dom.element("input",b.getDocument()),b.copyAttributes(c,{value:1}),c.replace(b),d.getSelection().selectElement(c),a.element=c):b.removeAttribute("value")}},{id:"cmbSelected",type:"checkbox",label:d.lang.forms.checkboxAndRadio.selected,"default":"",
8
+ accessKey:"S",value:"checked",setup:function(a){this.setValue(a.getAttribute("checked"))},commit:function(a){var b=a.element;if(CKEDITOR.env.ie){var c=!!b.getAttribute("checked"),e=!!this.getValue();c!=e&&(c=CKEDITOR.dom.element.createFromHtml('<input type="checkbox"'+(e?' checked="checked"':"")+"/>",d.document),b.copyAttributes(c,{type:1,checked:1}),c.replace(b),d.getSelection().selectElement(c),a.element=c)}else this.getValue()?b.setAttribute("checked","checked"):b.removeAttribute("checked")}}]}]}});
@@ -0,0 +1,8 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("form",function(a){var d={action:1,id:1,method:1,enctype:1,target:1};return{title:a.lang.forms.form.title,minWidth:350,minHeight:200,onShow:function(){delete this.form;var b=this.getParentEditor().elementPath().contains("form",1);b&&(this.form=b,this.setupContent(b))},onOk:function(){var b,a=this.form,c=!a;c&&(b=this.getParentEditor(),a=b.document.createElement("form"),!CKEDITOR.env.ie&&a.append(b.document.createElement("br")));c&&b.insertElement(a);this.commitContent(a)},onLoad:function(){function a(b){this.setValue(b.getAttribute(this.id)||
6
+ "")}function e(a){this.getValue()?a.setAttribute(this.id,this.getValue()):a.removeAttribute(this.id)}this.foreach(function(c){d[c.id]&&(c.setup=a,c.commit=e)})},contents:[{id:"info",label:a.lang.forms.form.title,title:a.lang.forms.form.title,elements:[{id:"txtName",type:"text",label:a.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",
7
+ !1),a.removeAttribute("name"))}},{id:"action",type:"text",label:a.lang.forms.form.action,"default":"",accessKey:"T"},{type:"hbox",widths:["45%","55%"],children:[{id:"id",type:"text",label:a.lang.common.id,"default":"",accessKey:"I"},{id:"enctype",type:"select",label:a.lang.forms.form.encoding,style:"width:100%",accessKey:"E","default":"",items:[[""],["text/plain"],["multipart/form-data"],["application/x-www-form-urlencoded"]]}]},{type:"hbox",widths:["45%","55%"],children:[{id:"target",type:"select",
8
+ label:a.lang.common.target,style:"width:100%",accessKey:"M","default":"",items:[[a.lang.common.notSet,""],[a.lang.common.targetNew,"_blank"],[a.lang.common.targetTop,"_top"],[a.lang.common.targetSelf,"_self"],[a.lang.common.targetParent,"_parent"]]},{id:"method",type:"select",label:a.lang.forms.form.method,accessKey:"M","default":"GET",items:[["GET","get"],["POST","post"]]}]}]}]}});
@@ -0,0 +1,8 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("hiddenfield",function(d){return{title:d.lang.forms.hidden.title,hiddenField:null,minWidth:350,minHeight:110,onShow:function(){delete this.hiddenField;var a=this.getParentEditor(),b=a.getSelection(),c=b.getSelectedElement();c&&(c.data("cke-real-element-type")&&"hiddenfield"==c.data("cke-real-element-type"))&&(this.hiddenField=c,c=a.restoreRealElement(this.hiddenField),this.setupContent(c),b.selectElement(this.hiddenField))},onOk:function(){var a=this.getValueOf("info","_cke_saved_name");
6
+ this.getValueOf("info","value");var b=this.getParentEditor(),a=CKEDITOR.env.ie&&!(8<=CKEDITOR.document.$.documentMode)?b.document.createElement('<input name="'+CKEDITOR.tools.htmlEncode(a)+'">'):b.document.createElement("input");a.setAttribute("type","hidden");this.commitContent(a);a=b.createFakeElement(a,"cke_hidden","hiddenfield");this.hiddenField?(a.replace(this.hiddenField),b.getSelection().selectElement(a)):b.insertElement(a);return!0},contents:[{id:"info",label:d.lang.forms.hidden.title,title:d.lang.forms.hidden.title,
7
+ elements:[{id:"_cke_saved_name",type:"text",label:d.lang.forms.hidden.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){this.getValue()?a.setAttribute("name",this.getValue()):a.removeAttribute("name")}},{id:"value",type:"text",label:d.lang.forms.hidden.value,"default":"",accessKey:"V",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:function(a){this.getValue()?a.setAttribute("value",this.getValue()):
8
+ a.removeAttribute("value")}}]}]}});
@@ -0,0 +1,8 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("radio",function(d){return{title:d.lang.forms.checkboxAndRadio.radioTitle,minWidth:350,minHeight:140,onShow:function(){delete this.radioButton;var a=this.getParentEditor().getSelection().getSelectedElement();a&&("input"==a.getName()&&"radio"==a.getAttribute("type"))&&(this.radioButton=a,this.setupContent(a))},onOk:function(){var a,b=this.radioButton,c=!b;c&&(a=this.getParentEditor(),b=a.document.createElement("input"),b.setAttribute("type","radio"));c&&a.insertElement(b);this.commitContent({element:b})},
6
+ contents:[{id:"info",label:d.lang.forms.checkboxAndRadio.radioTitle,title:d.lang.forms.checkboxAndRadio.radioTitle,elements:[{id:"name",type:"text",label:d.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){a=a.element;this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{id:"value",type:"text",label:d.lang.forms.checkboxAndRadio.value,"default":"",
7
+ accessKey:"V",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:function(a){a=a.element;this.getValue()?a.setAttribute("value",this.getValue()):a.removeAttribute("value")}},{id:"checked",type:"checkbox",label:d.lang.forms.checkboxAndRadio.selected,"default":"",accessKey:"S",value:"checked",setup:function(a){this.setValue(a.getAttribute("checked"))},commit:function(a){var b=a.element;if(!CKEDITOR.env.ie&&!CKEDITOR.env.opera)this.getValue()?b.setAttribute("checked","checked"):b.removeAttribute("checked");
8
+ else{var c=b.getAttribute("checked"),e=!!this.getValue();c!=e&&(c=CKEDITOR.dom.element.createFromHtml('<input type="radio"'+(e?' checked="checked"':"")+"></input>",d.document),b.copyAttributes(c,{type:1,checked:1}),c.replace(b),d.getSelection().selectElement(c),a.element=c)}}}]}]}});
@@ -0,0 +1,20 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("select",function(c){function h(a,b,e,d,c){a=f(a);d=d?d.createElement("OPTION"):document.createElement("OPTION");if(a&&d&&"option"==d.getName())CKEDITOR.env.ie?(isNaN(parseInt(c,10))?a.$.options.add(d.$):a.$.options.add(d.$,c),d.$.innerHTML=0<b.length?b:"",d.$.value=e):(null!==c&&c<a.getChildCount()?a.getChild(0>c?0:c).insertBeforeMe(d):a.append(d),d.setText(0<b.length?b:""),d.setValue(e));else return!1;return d}function m(a){for(var a=f(a),b=g(a),e=a.getChildren().count()-1;0<=
6
+ e;e--)a.getChild(e).$.selected&&a.getChild(e).remove();i(a,b)}function n(a,b,e,d){a=f(a);if(0>b)return!1;a=a.getChild(b);a.setText(e);a.setValue(d);return a}function k(a){for(a=f(a);a.getChild(0)&&a.getChild(0).remove(););}function j(a,b,e){var a=f(a),d=g(a);if(0>d)return!1;b=d+b;b=0>b?0:b;b=b>=a.getChildCount()?a.getChildCount()-1:b;if(d==b)return!1;var d=a.getChild(d),c=d.getText(),o=d.getValue();d.remove();d=h(a,c,o,!e?null:e,b);i(a,b);return d}function g(a){return(a=f(a))?a.$.selectedIndex:-1}
7
+ function i(a,b){a=f(a);if(0>b)return null;var e=a.getChildren().count();a.$.selectedIndex=b>=e?e-1:b;return a}function l(a){return(a=f(a))?a.getChildren():!1}function f(a){return a&&a.domId&&a.getInputElement().$?a.getInputElement():a&&a.$?a:!1}return{title:c.lang.forms.select.title,minWidth:CKEDITOR.env.ie?460:395,minHeight:CKEDITOR.env.ie?320:300,onShow:function(){delete this.selectBox;this.setupContent("clear");var a=this.getParentEditor().getSelection().getSelectedElement();if(a&&"select"==a.getName()){this.selectBox=
8
+ a;this.setupContent(a.getName(),a);for(var a=l(a),b=0;b<a.count();b++)this.setupContent("option",a.getItem(b))}},onOk:function(){var a=this.getParentEditor(),b=this.selectBox,e=!b;e&&(b=a.document.createElement("select"));this.commitContent(b);if(e&&(a.insertElement(b),CKEDITOR.env.ie)){var d=a.getSelection(),c=d.createBookmarks();setTimeout(function(){d.selectBookmarks(c)},0)}},contents:[{id:"info",label:c.lang.forms.select.selectInfo,title:c.lang.forms.select.selectInfo,accessKey:"",elements:[{id:"txtName",
9
+ type:"text",widths:["25%","75%"],labelLayout:"horizontal",label:c.lang.common.name,"default":"",accessKey:"N",style:"width:350px",setup:function(a,b){"clear"==a?this.setValue(this["default"]||""):"select"==a&&this.setValue(b.data("cke-saved-name")||b.getAttribute("name")||"")},commit:function(a){this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{id:"txtValue",type:"text",widths:["25%","75%"],labelLayout:"horizontal",label:c.lang.forms.select.value,
10
+ style:"width:350px","default":"",className:"cke_disabled",onLoad:function(){this.getInputElement().setAttribute("readOnly",!0)},setup:function(a,b){"clear"==a?this.setValue(""):"option"==a&&b.getAttribute("selected")&&this.setValue(b.$.value)}},{type:"hbox",widths:["175px","170px"],children:[{id:"txtSize",type:"text",labelLayout:"horizontal",label:c.lang.forms.select.size,"default":"",accessKey:"S",style:"width:175px",validate:function(){var a=CKEDITOR.dialog.validate.integer(c.lang.common.validateNumberFailed);
11
+ return""===this.getValue()||a.apply(this)},setup:function(a,b){"select"==a&&this.setValue(b.getAttribute("size")||"");CKEDITOR.env.webkit&&this.getInputElement().setStyle("width","86px")},commit:function(a){this.getValue()?a.setAttribute("size",this.getValue()):a.removeAttribute("size")}},{type:"html",html:"<span>"+CKEDITOR.tools.htmlEncode(c.lang.forms.select.lines)+"</span>"}]},{type:"html",html:"<span>"+CKEDITOR.tools.htmlEncode(c.lang.forms.select.opAvail)+"</span>"},{type:"hbox",widths:["115px",
12
+ "115px","100px"],children:[{type:"vbox",children:[{id:"txtOptName",type:"text",label:c.lang.forms.select.opText,style:"width:115px",setup:function(a){"clear"==a&&this.setValue("")}},{type:"select",id:"cmbName",label:"",title:"",size:5,style:"width:115px;height:75px",items:[],onChange:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbValue"),e=a.getContentElement("info","txtOptName"),a=a.getContentElement("info","txtOptValue"),d=g(this);i(b,d);e.setValue(this.getValue());a.setValue(b.getValue())},
13
+ setup:function(a,b){"clear"==a?k(this):"option"==a&&h(this,b.getText(),b.getText(),this.getDialog().getParentEditor().document)},commit:function(a){var b=this.getDialog(),e=l(this),d=l(b.getContentElement("info","cmbValue")),c=b.getContentElement("info","txtValue").getValue();k(a);for(var f=0;f<e.count();f++){var g=h(a,e.getItem(f).getValue(),d.getItem(f).getValue(),b.getParentEditor().document);d.getItem(f).getValue()==c&&(g.setAttribute("selected","selected"),g.selected=!0)}}}]},{type:"vbox",children:[{id:"txtOptValue",
14
+ type:"text",label:c.lang.forms.select.opValue,style:"width:115px",setup:function(a){"clear"==a&&this.setValue("")}},{type:"select",id:"cmbValue",label:"",size:5,style:"width:115px;height:75px",items:[],onChange:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbName"),e=a.getContentElement("info","txtOptName"),a=a.getContentElement("info","txtOptValue"),d=g(this);i(b,d);e.setValue(b.getValue());a.setValue(this.getValue())},setup:function(a,b){if("clear"==a)k(this);else if("option"==
15
+ a){var e=b.getValue();h(this,e,e,this.getDialog().getParentEditor().document);"selected"==b.getAttribute("selected")&&this.getDialog().getContentElement("info","txtValue").setValue(e)}}}]},{type:"vbox",padding:5,children:[{type:"button",id:"btnAdd",style:"",label:c.lang.forms.select.btnAdd,title:c.lang.forms.select.btnAdd,style:"width:100%;",onClick:function(){var a=this.getDialog();a.getParentEditor();var b=a.getContentElement("info","txtOptName"),e=a.getContentElement("info","txtOptValue"),d=a.getContentElement("info",
16
+ "cmbName"),c=a.getContentElement("info","cmbValue");h(d,b.getValue(),b.getValue(),a.getParentEditor().document);h(c,e.getValue(),e.getValue(),a.getParentEditor().document);b.setValue("");e.setValue("")}},{type:"button",id:"btnModify",label:c.lang.forms.select.btnModify,title:c.lang.forms.select.btnModify,style:"width:100%;",onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","txtOptName"),e=a.getContentElement("info","txtOptValue"),d=a.getContentElement("info","cmbName"),a=a.getContentElement("info",
17
+ "cmbValue"),c=g(d);0<=c&&(n(d,c,b.getValue(),b.getValue()),n(a,c,e.getValue(),e.getValue()))}},{type:"button",id:"btnUp",style:"width:100%;",label:c.lang.forms.select.btnUp,title:c.lang.forms.select.btnUp,onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbName"),c=a.getContentElement("info","cmbValue");j(b,-1,a.getParentEditor().document);j(c,-1,a.getParentEditor().document)}},{type:"button",id:"btnDown",style:"width:100%;",label:c.lang.forms.select.btnDown,title:c.lang.forms.select.btnDown,
18
+ onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbName"),c=a.getContentElement("info","cmbValue");j(b,1,a.getParentEditor().document);j(c,1,a.getParentEditor().document)}}]}]},{type:"hbox",widths:["40%","20%","40%"],children:[{type:"button",id:"btnSetValue",label:c.lang.forms.select.btnSetValue,title:c.lang.forms.select.btnSetValue,onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbValue");a.getContentElement("info","txtValue").setValue(b.getValue())}},
19
+ {type:"button",id:"btnDelete",label:c.lang.forms.select.btnDelete,title:c.lang.forms.select.btnDelete,onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbName"),c=a.getContentElement("info","cmbValue"),d=a.getContentElement("info","txtOptName"),a=a.getContentElement("info","txtOptValue");m(b);m(c);d.setValue("");a.setValue("")}},{id:"chkMulti",type:"checkbox",label:c.lang.forms.select.chkMulti,"default":"",accessKey:"M",value:"checked",setup:function(a,b){"select"==a&&this.setValue(b.getAttribute("multiple"));
20
+ CKEDITOR.env.webkit&&this.getElement().getParent().setStyle("vertical-align","middle")},commit:function(a){this.getValue()?a.setAttribute("multiple",this.getValue()):a.removeAttribute("multiple")}}]}]}]}});
@@ -0,0 +1,8 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("textarea",function(b){return{title:b.lang.forms.textarea.title,minWidth:350,minHeight:220,onShow:function(){delete this.textarea;var a=this.getParentEditor().getSelection().getSelectedElement();a&&"textarea"==a.getName()&&(this.textarea=a,this.setupContent(a))},onOk:function(){var a,b=this.textarea,c=!b;c&&(a=this.getParentEditor(),b=a.document.createElement("textarea"));this.commitContent(b);c&&a.insertElement(b)},contents:[{id:"info",label:b.lang.forms.textarea.title,title:b.lang.forms.textarea.title,
6
+ elements:[{id:"_cke_saved_name",type:"text",label:b.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{type:"hbox",widths:["50%","50%"],children:[{id:"cols",type:"text",label:b.lang.forms.textarea.cols,"default":"",accessKey:"C",style:"width:50px",validate:CKEDITOR.dialog.validate.integer(b.lang.common.validateNumberFailed),
7
+ setup:function(a){this.setValue(a.hasAttribute("cols")&&a.getAttribute("cols")||"")},commit:function(a){this.getValue()?a.setAttribute("cols",this.getValue()):a.removeAttribute("cols")}},{id:"rows",type:"text",label:b.lang.forms.textarea.rows,"default":"",accessKey:"R",style:"width:50px",validate:CKEDITOR.dialog.validate.integer(b.lang.common.validateNumberFailed),setup:function(a){this.setValue(a.hasAttribute("rows")&&a.getAttribute("rows")||"")},commit:function(a){this.getValue()?a.setAttribute("rows",
8
+ this.getValue()):a.removeAttribute("rows")}}]},{id:"value",type:"textarea",label:b.lang.forms.textfield.value,"default":"",setup:function(a){this.setValue(a.$.defaultValue)},commit:function(a){a.$.value=a.$.defaultValue=this.getValue()}}]}]}});
@@ -0,0 +1,10 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("textfield",function(b){function e(a){var a=a.element,c=this.getValue();c?a.setAttribute(this.id,c):a.removeAttribute(this.id)}function f(a){this.setValue(a.hasAttribute(this.id)&&a.getAttribute(this.id)||"")}var g={email:1,password:1,search:1,tel:1,text:1,url:1};return{title:b.lang.forms.textfield.title,minWidth:350,minHeight:150,onShow:function(){delete this.textField;var a=this.getParentEditor().getSelection().getSelectedElement();if(a&&"input"==a.getName()&&(g[a.getAttribute("type")]||
6
+ !a.getAttribute("type")))this.textField=a,this.setupContent(a)},onOk:function(){var a=this.getParentEditor(),c=this.textField,b=!c;b&&(c=a.document.createElement("input"),c.setAttribute("type","text"));c={element:c};b&&a.insertElement(c.element);this.commitContent(c);b||a.getSelection().selectElement(c.element)},onLoad:function(){this.foreach(function(a){if(a.getValue&&(a.setup||(a.setup=f),!a.commit))a.commit=e})},contents:[{id:"info",label:b.lang.forms.textfield.title,title:b.lang.forms.textfield.title,
7
+ elements:[{type:"hbox",widths:["50%","50%"],children:[{id:"_cke_saved_name",type:"text",label:b.lang.forms.textfield.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){a=a.element;this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{id:"value",type:"text",label:b.lang.forms.textfield.value,"default":"",accessKey:"V",commit:function(a){if(CKEDITOR.env.ie&&
8
+ !this.getValue()){var c=a.element,d=new CKEDITOR.dom.element("input",b.document);c.copyAttributes(d,{value:1});d.replace(c);a.element=d}else e.call(this,a)}}]},{type:"hbox",widths:["50%","50%"],children:[{id:"size",type:"text",label:b.lang.forms.textfield.charWidth,"default":"",accessKey:"C",style:"width:50px",validate:CKEDITOR.dialog.validate.integer(b.lang.common.validateNumberFailed)},{id:"maxLength",type:"text",label:b.lang.forms.textfield.maxChars,"default":"",accessKey:"M",style:"width:50px",
9
+ validate:CKEDITOR.dialog.validate.integer(b.lang.common.validateNumberFailed)}],onLoad:function(){CKEDITOR.env.ie7Compat&&this.getElement().setStyle("zoom","100%")}},{id:"type",type:"select",label:b.lang.forms.textfield.type,"default":"text",accessKey:"M",items:[[b.lang.forms.textfield.typeEmail,"email"],[b.lang.forms.textfield.typePass,"password"],[b.lang.forms.textfield.typeSearch,"search"],[b.lang.forms.textfield.typeTel,"tel"],[b.lang.forms.textfield.typeText,"text"],[b.lang.forms.textfield.typeUrl,
10
+ "url"]],setup:function(a){this.setValue(a.getAttribute("type"))},commit:function(a){var c=a.element;if(CKEDITOR.env.ie){var d=c.getAttribute("type"),e=this.getValue();d!=e&&(d=CKEDITOR.dom.element.createFromHtml('<input type="'+e+'"></input>',b.document),c.copyAttributes(d,{type:1}),d.replace(c),a.element=d)}else c.setAttribute("type",this.getValue())}}]}]}});
@@ -0,0 +1,93 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
+ "http://www.w3.org/TR/html4/loose.dtd">
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6
+ <title>HTML Buttons plugin</title>
7
+ <link href="styles.css" rel="stylesheet" type="text/css">
8
+ </head>
9
+
10
+ <body>
11
+ <h1>HTML Buttons Plugin for CKEditor</h1>
12
+
13
+ <h2>Introduction</h2>
14
+ <p>This is plugin helps creating custom buttons to insert a block of desired HTML in <a href="http://www.ckeditor.com">CKEditor</a>.</p>
15
+ <p>Sample icons from <a href='http://tango.freedesktop.org'>Tango!</a></p>
16
+
17
+ <h3 id="contact">Author:</h3>
18
+ <p><a href="mailto:amla70@gmail.com">Alfonso Mart&iacute;nez de Lizarrondo</a></p>
19
+ <h3>Sponsored by:</h3>
20
+ <h3>Version history: </h3>
21
+ <ol>
22
+ <li>1.0: 23-May-2012. First version.</li>
23
+ </ol>
24
+
25
+ <h2>Installation</h2>
26
+ <h3>1. Copying the files</h3>
27
+ <p>Extract the contents of the zip in you plugins directory, so it ends up like
28
+ this<br>
29
+ <!--<img src="installation.png" alt="Screenshot of installation" width="311" height="346" longdesc="#install">-->
30
+ </p>
31
+ <pre id="--install">
32
+ ckeditor\
33
+ ...
34
+ images\
35
+ lang\
36
+ plugins\
37
+ ...
38
+ htmlbuttons\
39
+ plugin.js
40
+ docs\
41
+ install.html
42
+ ...
43
+ skins\
44
+ themes\
45
+ </pre>
46
+ <h3>2. Adding it to CKEditor</h3>
47
+ <p>Now add the plugin in your <em>config.js</em> or custom js configuration
48
+ file:
49
+ <code>config.extraPlugins='htmlbuttons'; </code>
50
+ </p>
51
+
52
+ <h3>3. Define your buttons</h3>
53
+ <p>You must add to your config a new entry defining the buttons that you want to use. For example:</p>
54
+ <pre>
55
+ config.htmlbuttons = [
56
+ {
57
+ name:'button1',
58
+ icon:'icon1.png',
59
+ html:'&lt;a href="http://www.google.com">Search something&lt;/a>',
60
+ title:'A link to Google'
61
+ },
62
+ {
63
+ name:'button2',
64
+ icon:'icon2.png',
65
+ html:'&lt;table>&lt;tr>&lt;td>&nbsp;&lt;/td>&lt;td>&nbsp;&lt;/td>&lt;/tr>&lt;tr>&lt;td>&nbsp;&lt;/td>&lt;td>&nbsp;&lt;/td>&lt;/tr>&lt;/table>',
66
+ title:'A simple table'
67
+ },
68
+ {
69
+ name:'button3',
70
+ icon:'icon3.png',
71
+ html:'&lt;ol>&lt;li>Item 1 &lt;ol>&lt;li>Sub item 1&lt;/li>&lt;li>Sub item 2&lt;/li>&lt;/ol>&lt;/li>&lt;/ol>',
72
+ title:'A nested list'
73
+ }
74
+ ];
75
+ </pre>
76
+
77
+ <h3>4. Add them to your toolbar</h3>
78
+ <p>In your toolbar configuration, add a new button for each item in the place where you want the list to show up.</p>
79
+ <p>Example</p>
80
+ <pre>config.toolbar_Basic = [["Bold","Italic","-","NumberedList","BulletedList","-","Link","Unlink","-","Maximize", "About", '-', 'button1', 'button2', 'button3']];
81
+ </pre>
82
+
83
+ <h3>5. Use them</h3>
84
+ <p>Now empty the cache of your browser and reload the editor, the new buttons should show up and you can insert the HTML that you have configured with each button</p>
85
+ <!--
86
+ <h2>Final notes</h2>
87
+ -->
88
+
89
+ <h2>Disclaimers</h2>
90
+ <p>CKEditor is &copy; CKSource.com</p>
91
+ <p>Sample icons from <a href='http://tango.freedesktop.org'>Tango!</a></p>
92
+ </body>
93
+ </html>
@@ -0,0 +1,59 @@
1
+ body {
2
+ font-family: Arial, Helvetica, sans-serif;
3
+ font-size: 90%;
4
+ }
5
+ h1 {
6
+ text-align:center;
7
+ font-size:180%;
8
+ }
9
+ h2 {
10
+ border-bottom:2px solid #CCC;
11
+ margin:1em 0 0.4em 0;
12
+ }
13
+ h3 {
14
+ margin-bottom:0.4em;
15
+ }
16
+ p {
17
+ margin:0 0 1em 1em;
18
+ text-align:justify;
19
+ }
20
+ ol {
21
+ margin:0 0 1.2em 1em;
22
+ padding:0;
23
+ list-style-type:none;
24
+ }
25
+ ol li {
26
+ margin:0.2em 0;
27
+ }
28
+ pre, code {
29
+ font-size:100%;
30
+ font-family:"Courier New", Courier, mono;
31
+ background-color: #CCCCCC;
32
+ border:1px solid #999;
33
+ padding:0.2em 1em;
34
+ margin: 0.4em 0;
35
+ display:block;
36
+ white-space: pre;
37
+ overflow: auto;
38
+ }
39
+ form {
40
+ margin:0 0 0 1em;
41
+ }
42
+ span.key {
43
+ color: #006600;
44
+ }
45
+ #install {
46
+ display:none
47
+ }
48
+ #languages ul {
49
+ display:inline;
50
+ list-style-type:none;
51
+ margin:0;
52
+ padding:0;
53
+ }
54
+ #languages li {
55
+ display:inline;
56
+ margin:0;
57
+ padding:0;
58
+ vertical-align:bottom;
59
+ }
@@ -0,0 +1,10 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ (function(){function c(b){var c=this instanceof CKEDITOR.ui.dialog.checkbox;b.hasAttribute(this.id)&&(b=b.getAttribute(this.id),c?this.setValue(e[this.id]["true"]==b.toLowerCase()):this.setValue(b))}function d(b){var c=""===this.getValue(),a=this instanceof CKEDITOR.ui.dialog.checkbox,d=this.getValue();c?b.removeAttribute(this.att||this.id):a?b.setAttribute(this.id,e[this.id][d]):b.setAttribute(this.att||this.id,d)}var e={scrolling:{"true":"yes","false":"no"},frameborder:{"true":"1","false":"0"}};
6
+ CKEDITOR.dialog.add("iframe",function(b){var f=b.lang.iframe,a=b.lang.common,e=b.plugins.dialogadvtab;return{title:f.title,minWidth:350,minHeight:260,onShow:function(){this.fakeImage=this.iframeNode=null;var a=this.getSelectedElement();a&&(a.data("cke-real-element-type")&&"iframe"==a.data("cke-real-element-type"))&&(this.fakeImage=a,this.iframeNode=a=b.restoreRealElement(a),this.setupContent(a))},onOk:function(){var a;a=this.fakeImage?this.iframeNode:new CKEDITOR.dom.element("iframe");var c={},d=
7
+ {};this.commitContent(a,c,d);a=b.createFakeElement(a,"cke_iframe","iframe",!0);a.setAttributes(d);a.setStyles(c);this.fakeImage?(a.replace(this.fakeImage),b.getSelection().selectElement(a)):b.insertElement(a)},contents:[{id:"info",label:a.generalTab,accessKey:"I",elements:[{type:"vbox",padding:0,children:[{id:"src",type:"text",label:a.url,required:!0,validate:CKEDITOR.dialog.validate.notEmpty(f.noUrl),setup:c,commit:d}]},{type:"hbox",children:[{id:"width",type:"text",requiredContent:"iframe[width]",
8
+ style:"width:100%",labelLayout:"vertical",label:a.width,validate:CKEDITOR.dialog.validate.htmlLength(a.invalidHtmlLength.replace("%1",a.width)),setup:c,commit:d},{id:"height",type:"text",requiredContent:"iframe[height]",style:"width:100%",labelLayout:"vertical",label:a.height,validate:CKEDITOR.dialog.validate.htmlLength(a.invalidHtmlLength.replace("%1",a.height)),setup:c,commit:d},{id:"align",type:"select",requiredContent:"iframe[align]","default":"",items:[[a.notSet,""],[a.alignLeft,"left"],[a.alignRight,
9
+ "right"],[a.alignTop,"top"],[a.alignMiddle,"middle"],[a.alignBottom,"bottom"]],style:"width:100%",labelLayout:"vertical",label:a.align,setup:function(a,b){c.apply(this,arguments);if(b){var d=b.getAttribute("align");this.setValue(d&&d.toLowerCase()||"")}},commit:function(a,b,c){d.apply(this,arguments);this.getValue()&&(c.align=this.getValue())}}]},{type:"hbox",widths:["50%","50%"],children:[{id:"scrolling",type:"checkbox",requiredContent:"iframe[scrolling]",label:f.scrolling,setup:c,commit:d},{id:"frameborder",
10
+ type:"checkbox",requiredContent:"iframe[frameborder]",label:f.border,setup:c,commit:d}]},{type:"hbox",widths:["50%","50%"],children:[{id:"name",type:"text",requiredContent:"iframe[name]",label:a.name,setup:c,commit:d},{id:"title",type:"text",requiredContent:"iframe[title]",label:a.advisoryTitle,setup:c,commit:d}]},{id:"longdesc",type:"text",requiredContent:"iframe[longdesc]",label:a.longDescr,setup:c,commit:d}]},e&&e.createAdvancedTab(b,{id:1,classes:1,styles:1},"iframe")]}})})();
@@ -0,0 +1,11 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'iframe', 'af', {
6
+ border: 'Wys rand van raam',
7
+ noUrl: 'Gee die iframe URL',
8
+ scrolling: 'Skuifbalke aan',
9
+ title: 'IFrame Eienskappe',
10
+ toolbar: 'IFrame'
11
+ });
@@ -0,0 +1,11 @@
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang( 'iframe', 'ar', {
6
+ border: 'إظهار حدود الإطار',
7
+ noUrl: 'فضلا أكتب رابط الـ iframe',
8
+ scrolling: 'تفعيل أشرطة الإنتقال',
9
+ title: 'خصائص iframe',
10
+ toolbar: 'iframe'
11
+ });