refinerycms-ckeditor 0.1.4 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (700) hide show
  1. data/app/assets/javascripts/ckeditor/.htaccess +1 -1
  2. data/app/assets/javascripts/ckeditor/CHANGES.html +72 -2
  3. data/app/assets/javascripts/ckeditor/INSTALL.html +2 -2
  4. data/app/assets/javascripts/ckeditor/LICENSE.html +2 -2
  5. data/app/assets/javascripts/ckeditor/_samples/adobeair/application.xml +2 -2
  6. data/app/assets/javascripts/ckeditor/_samples/adobeair/run.bat +1 -1
  7. data/app/assets/javascripts/ckeditor/_samples/adobeair/run.sh +1 -1
  8. data/app/assets/javascripts/ckeditor/_samples/adobeair/sample.html +2 -2
  9. data/app/assets/javascripts/ckeditor/_samples/ajax.html +2 -2
  10. data/app/assets/javascripts/ckeditor/_samples/api.html +2 -2
  11. data/app/assets/javascripts/ckeditor/_samples/api_dialog.html +2 -2
  12. data/app/assets/javascripts/ckeditor/_samples/api_dialog/my_dialog.js +1 -1
  13. data/app/assets/javascripts/ckeditor/_samples/asp/advanced.asp +2 -2
  14. data/app/assets/javascripts/ckeditor/_samples/asp/events.asp +2 -2
  15. data/app/assets/javascripts/ckeditor/_samples/asp/index.html +2 -2
  16. data/app/assets/javascripts/ckeditor/_samples/asp/replace.asp +2 -2
  17. data/app/assets/javascripts/ckeditor/_samples/asp/replaceall.asp +2 -2
  18. data/app/assets/javascripts/ckeditor/_samples/asp/sample_posteddata.asp +2 -2
  19. data/app/assets/javascripts/ckeditor/_samples/asp/standalone.asp +2 -2
  20. data/app/assets/javascripts/ckeditor/_samples/assets/_posteddata.php +2 -2
  21. data/app/assets/javascripts/ckeditor/_samples/assets/output_xhtml.css +1 -1
  22. data/app/assets/javascripts/ckeditor/_samples/autogrow.html +2 -2
  23. data/app/assets/javascripts/ckeditor/_samples/bbcode.html +2 -2
  24. data/app/assets/javascripts/ckeditor/_samples/devtools.html +2 -2
  25. data/app/assets/javascripts/ckeditor/_samples/divreplace.html +2 -2
  26. data/app/assets/javascripts/ckeditor/_samples/enterkey.html +2 -2
  27. data/app/assets/javascripts/ckeditor/_samples/fullpage.html +2 -2
  28. data/app/assets/javascripts/ckeditor/_samples/index.html +2 -2
  29. data/app/assets/javascripts/ckeditor/_samples/jqueryadapter.html +2 -2
  30. data/app/assets/javascripts/ckeditor/_samples/output_for_flash.html +2 -2
  31. data/app/assets/javascripts/ckeditor/_samples/output_html.html +2 -2
  32. data/app/assets/javascripts/ckeditor/_samples/output_xhtml.html +10 -6
  33. data/app/assets/javascripts/ckeditor/_samples/php/advanced.php +2 -2
  34. data/app/assets/javascripts/ckeditor/_samples/php/events.php +2 -2
  35. data/app/assets/javascripts/ckeditor/_samples/php/index.html +2 -2
  36. data/app/assets/javascripts/ckeditor/_samples/php/replace.php +2 -2
  37. data/app/assets/javascripts/ckeditor/_samples/php/replaceall.php +2 -2
  38. data/app/assets/javascripts/ckeditor/_samples/php/standalone.php +2 -2
  39. data/app/assets/javascripts/ckeditor/_samples/placeholder.html +2 -2
  40. data/app/assets/javascripts/ckeditor/_samples/readonly.html +2 -2
  41. data/app/assets/javascripts/ckeditor/_samples/replacebyclass.html +2 -2
  42. data/app/assets/javascripts/ckeditor/_samples/replacebycode.html +2 -2
  43. data/app/assets/javascripts/ckeditor/_samples/sample.css +1 -1
  44. data/app/assets/javascripts/ckeditor/_samples/sample.js +1 -1
  45. data/app/assets/javascripts/ckeditor/_samples/sample_posteddata.php +1 -1
  46. data/app/assets/javascripts/ckeditor/_samples/sharedspaces.html +2 -2
  47. data/app/assets/javascripts/ckeditor/_samples/skins.html +2 -2
  48. data/app/assets/javascripts/ckeditor/_samples/stylesheetparser.html +2 -2
  49. data/app/assets/javascripts/ckeditor/_samples/tableresize.html +2 -2
  50. data/app/assets/javascripts/ckeditor/_samples/ui_color.html +2 -2
  51. data/app/assets/javascripts/ckeditor/_samples/ui_languages.html +2 -2
  52. data/app/assets/javascripts/ckeditor/_source/adapters/jquery.js +1 -1
  53. data/app/assets/javascripts/ckeditor/_source/core/_bootstrap.js +1 -1
  54. data/app/assets/javascripts/ckeditor/_source/core/ckeditor.js +1 -1
  55. data/app/assets/javascripts/ckeditor/_source/core/ckeditor_base.js +13 -5
  56. data/app/assets/javascripts/ckeditor/_source/core/ckeditor_basic.js +1 -1
  57. data/app/assets/javascripts/ckeditor/_source/core/command.js +17 -1
  58. data/app/assets/javascripts/ckeditor/_source/core/commanddefinition.js +1 -1
  59. data/app/assets/javascripts/ckeditor/_source/core/config.js +19 -11
  60. data/app/assets/javascripts/ckeditor/_source/core/dataprocessor.js +1 -1
  61. data/app/assets/javascripts/ckeditor/_source/core/dom.js +1 -1
  62. data/app/assets/javascripts/ckeditor/_source/core/dom/comment.js +24 -12
  63. data/app/assets/javascripts/ckeditor/_source/core/dom/document.js +1 -1
  64. data/app/assets/javascripts/ckeditor/_source/core/dom/documentfragment.js +1 -1
  65. data/app/assets/javascripts/ckeditor/_source/core/dom/domobject.js +7 -7
  66. data/app/assets/javascripts/ckeditor/_source/core/dom/element.js +135 -30
  67. data/app/assets/javascripts/ckeditor/_source/core/dom/elementpath.js +1 -3
  68. data/app/assets/javascripts/ckeditor/_source/core/dom/event.js +1 -1
  69. data/app/assets/javascripts/ckeditor/_source/core/dom/node.js +11 -16
  70. data/app/assets/javascripts/ckeditor/_source/core/dom/nodelist.js +1 -1
  71. data/app/assets/javascripts/ckeditor/_source/core/dom/range.js +27 -13
  72. data/app/assets/javascripts/ckeditor/_source/core/dom/rangelist.js +1 -1
  73. data/app/assets/javascripts/ckeditor/_source/core/dom/text.js +1 -1
  74. data/app/assets/javascripts/ckeditor/_source/core/dom/walker.js +69 -35
  75. data/app/assets/javascripts/ckeditor/_source/core/dom/window.js +1 -1
  76. data/app/assets/javascripts/ckeditor/_source/core/dtd.js +1 -1
  77. data/app/assets/javascripts/ckeditor/_source/core/editor.js +1 -1
  78. data/app/assets/javascripts/ckeditor/_source/core/editor_basic.js +1 -1
  79. data/app/assets/javascripts/ckeditor/_source/core/env.js +1 -1
  80. data/app/assets/javascripts/ckeditor/_source/core/event.js +1 -1
  81. data/app/assets/javascripts/ckeditor/_source/core/eventInfo.js +1 -1
  82. data/app/assets/javascripts/ckeditor/_source/core/focusmanager.js +1 -1
  83. data/app/assets/javascripts/ckeditor/_source/core/htmlparser.js +1 -1
  84. data/app/assets/javascripts/ckeditor/_source/core/htmlparser/basicwriter.js +1 -1
  85. data/app/assets/javascripts/ckeditor/_source/core/htmlparser/cdata.js +1 -1
  86. data/app/assets/javascripts/ckeditor/_source/core/htmlparser/comment.js +1 -1
  87. data/app/assets/javascripts/ckeditor/_source/core/htmlparser/element.js +1 -1
  88. data/app/assets/javascripts/ckeditor/_source/core/htmlparser/filter.js +1 -1
  89. data/app/assets/javascripts/ckeditor/_source/core/htmlparser/fragment.js +26 -7
  90. data/app/assets/javascripts/ckeditor/_source/core/htmlparser/text.js +1 -1
  91. data/app/assets/javascripts/ckeditor/_source/core/lang.js +1 -1
  92. data/app/assets/javascripts/ckeditor/_source/core/loader.js +2 -2
  93. data/app/assets/javascripts/ckeditor/_source/core/plugindefinition.js +1 -1
  94. data/app/assets/javascripts/ckeditor/_source/core/plugins.js +1 -1
  95. data/app/assets/javascripts/ckeditor/_source/core/resourcemanager.js +1 -1
  96. data/app/assets/javascripts/ckeditor/_source/core/scriptloader.js +1 -1
  97. data/app/assets/javascripts/ckeditor/_source/core/skins.js +1 -1
  98. data/app/assets/javascripts/ckeditor/_source/core/themes.js +1 -1
  99. data/app/assets/javascripts/ckeditor/_source/core/tools.js +1 -1
  100. data/app/assets/javascripts/ckeditor/_source/core/ui.js +1 -1
  101. data/app/assets/javascripts/ckeditor/_source/lang/_languages.js +1 -1
  102. data/app/assets/javascripts/ckeditor/_source/lang/_translationstatus.txt +25 -23
  103. data/app/assets/javascripts/ckeditor/_source/lang/af.js +1 -1
  104. data/app/assets/javascripts/ckeditor/_source/lang/ar.js +4 -4
  105. data/app/assets/javascripts/ckeditor/_source/lang/bg.js +403 -403
  106. data/app/assets/javascripts/ckeditor/_source/lang/bn.js +1 -1
  107. data/app/assets/javascripts/ckeditor/_source/lang/bs.js +1 -1
  108. data/app/assets/javascripts/ckeditor/_source/lang/ca.js +1 -1
  109. data/app/assets/javascripts/ckeditor/_source/lang/cs.js +28 -28
  110. data/app/assets/javascripts/ckeditor/_source/lang/cy.js +6 -6
  111. data/app/assets/javascripts/ckeditor/_source/lang/da.js +162 -162
  112. data/app/assets/javascripts/ckeditor/_source/lang/de.js +2 -2
  113. data/app/assets/javascripts/ckeditor/_source/lang/el.js +132 -132
  114. data/app/assets/javascripts/ckeditor/_source/lang/en-au.js +4 -4
  115. data/app/assets/javascripts/ckeditor/_source/lang/en-ca.js +1 -1
  116. data/app/assets/javascripts/ckeditor/_source/lang/en-gb.js +1 -1
  117. data/app/assets/javascripts/ckeditor/_source/lang/en.js +1 -1
  118. data/app/assets/javascripts/ckeditor/_source/lang/eo.js +376 -376
  119. data/app/assets/javascripts/ckeditor/_source/lang/es.js +1 -1
  120. data/app/assets/javascripts/ckeditor/_source/lang/et.js +2 -2
  121. data/app/assets/javascripts/ckeditor/_source/lang/eu.js +1 -1
  122. data/app/assets/javascripts/ckeditor/_source/lang/fa.js +1 -1
  123. data/app/assets/javascripts/ckeditor/_source/lang/fi.js +1 -1
  124. data/app/assets/javascripts/ckeditor/_source/lang/fo.js +31 -31
  125. data/app/assets/javascripts/ckeditor/_source/lang/fr-ca.js +1 -1
  126. data/app/assets/javascripts/ckeditor/_source/lang/fr.js +30 -30
  127. data/app/assets/javascripts/ckeditor/_source/lang/gl.js +1 -1
  128. data/app/assets/javascripts/ckeditor/_source/lang/gu.js +261 -261
  129. data/app/assets/javascripts/ckeditor/_source/lang/he.js +1 -1
  130. data/app/assets/javascripts/ckeditor/_source/lang/hi.js +7 -7
  131. data/app/assets/javascripts/ckeditor/_source/lang/hr.js +158 -158
  132. data/app/assets/javascripts/ckeditor/_source/lang/hu.js +1 -1
  133. data/app/assets/javascripts/ckeditor/_source/lang/is.js +1 -1
  134. data/app/assets/javascripts/ckeditor/_source/lang/it.js +4 -4
  135. data/app/assets/javascripts/ckeditor/_source/lang/ja.js +1 -1
  136. data/app/assets/javascripts/ckeditor/_source/lang/ka.js +1 -1
  137. data/app/assets/javascripts/ckeditor/_source/lang/km.js +1 -1
  138. data/app/assets/javascripts/ckeditor/_source/lang/ko.js +1 -1
  139. data/app/assets/javascripts/ckeditor/_source/lang/lt.js +1 -1
  140. data/app/assets/javascripts/ckeditor/_source/lang/lv.js +1 -1
  141. data/app/assets/javascripts/ckeditor/_source/lang/mk.js +814 -0
  142. data/app/assets/javascripts/ckeditor/_source/lang/mn.js +1 -1
  143. data/app/assets/javascripts/ckeditor/_source/lang/ms.js +1 -1
  144. data/app/assets/javascripts/ckeditor/_source/lang/nb.js +4 -4
  145. data/app/assets/javascripts/ckeditor/_source/lang/nl.js +35 -35
  146. data/app/assets/javascripts/ckeditor/_source/lang/no.js +4 -4
  147. data/app/assets/javascripts/ckeditor/_source/lang/pl.js +3 -3
  148. data/app/assets/javascripts/ckeditor/_source/lang/pt-br.js +1 -1
  149. data/app/assets/javascripts/ckeditor/_source/lang/pt.js +34 -34
  150. data/app/assets/javascripts/ckeditor/_source/lang/ro.js +1 -1
  151. data/app/assets/javascripts/ckeditor/_source/lang/ru.js +1 -1
  152. data/app/assets/javascripts/ckeditor/_source/lang/sk.js +1 -1
  153. data/app/assets/javascripts/ckeditor/_source/lang/sl.js +1 -1
  154. data/app/assets/javascripts/ckeditor/_source/lang/sr-latn.js +1 -1
  155. data/app/assets/javascripts/ckeditor/_source/lang/sr.js +1 -1
  156. data/app/assets/javascripts/ckeditor/_source/lang/sv.js +1 -1
  157. data/app/assets/javascripts/ckeditor/_source/lang/th.js +1 -1
  158. data/app/assets/javascripts/ckeditor/_source/lang/tr.js +50 -50
  159. data/app/assets/javascripts/ckeditor/_source/lang/ug.js +814 -0
  160. data/app/assets/javascripts/ckeditor/_source/lang/uk.js +35 -35
  161. data/app/assets/javascripts/ckeditor/_source/lang/vi.js +84 -84
  162. data/app/assets/javascripts/ckeditor/_source/lang/zh-cn.js +4 -4
  163. data/app/assets/javascripts/ckeditor/_source/lang/zh.js +16 -16
  164. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +1 -1
  165. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/_translationstatus.txt +23 -0
  166. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/cs.js +89 -0
  167. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/cy.js +89 -0
  168. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/da.js +89 -0
  169. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/de.js +89 -0
  170. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/el.js +89 -0
  171. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/en.js +3 -3
  172. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/eo.js +89 -0
  173. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/fa.js +89 -0
  174. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/fi.js +89 -0
  175. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/fr.js +89 -0
  176. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/gu.js +89 -0
  177. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/he.js +6 -133
  178. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/it.js +89 -0
  179. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/mk.js +89 -0
  180. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/nb.js +89 -0
  181. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/nl.js +89 -0
  182. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/no.js +89 -0
  183. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/tr.js +89 -0
  184. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/ug.js +89 -0
  185. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/vi.js +89 -0
  186. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/zh-cn.js +89 -0
  187. data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/plugin.js +2 -2
  188. data/app/assets/javascripts/ckeditor/_source/plugins/about/dialogs/about.js +1 -1
  189. data/app/assets/javascripts/ckeditor/_source/plugins/about/plugin.js +1 -1
  190. data/app/assets/javascripts/ckeditor/_source/plugins/adobeair/plugin.js +1 -1
  191. data/app/assets/javascripts/ckeditor/_source/plugins/ajax/plugin.js +1 -1
  192. data/app/assets/javascripts/ckeditor/_source/plugins/autogrow/plugin.js +2 -2
  193. data/app/assets/javascripts/ckeditor/_source/plugins/basicstyles/plugin.js +1 -1
  194. data/app/assets/javascripts/ckeditor/_source/plugins/bbcode/plugin.js +1 -1
  195. data/app/assets/javascripts/ckeditor/_source/plugins/bidi/plugin.js +1 -1
  196. data/app/assets/javascripts/ckeditor/_source/plugins/blockquote/plugin.js +1 -1
  197. data/app/assets/javascripts/ckeditor/_source/plugins/button/plugin.js +1 -1
  198. data/app/assets/javascripts/ckeditor/_source/plugins/clipboard/dialogs/paste.js +2 -2
  199. data/app/assets/javascripts/ckeditor/_source/plugins/clipboard/plugin.js +41 -15
  200. data/app/assets/javascripts/ckeditor/_source/plugins/colorbutton/plugin.js +5 -6
  201. data/app/assets/javascripts/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +140 -93
  202. data/app/assets/javascripts/ckeditor/_source/plugins/colordialog/plugin.js +1 -1
  203. data/app/assets/javascripts/ckeditor/_source/plugins/contextmenu/plugin.js +1 -1
  204. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/_translationstatus.txt +27 -0
  205. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/bg.js +16 -0
  206. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/cs.js +16 -0
  207. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/cy.js +16 -0
  208. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/da.js +16 -0
  209. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/de.js +16 -0
  210. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/el.js +16 -0
  211. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/en.js +1 -1
  212. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/eo.js +16 -0
  213. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/et.js +16 -0
  214. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/fa.js +16 -0
  215. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/fi.js +16 -0
  216. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/fr.js +16 -0
  217. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/gu.js +16 -0
  218. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/he.js +16 -0
  219. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/hr.js +16 -0
  220. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/it.js +16 -0
  221. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/nb.js +16 -0
  222. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/nl.js +16 -0
  223. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/no.js +16 -0
  224. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/pl.js +16 -0
  225. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/tr.js +16 -0
  226. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/ug.js +16 -0
  227. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/uk.js +16 -0
  228. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/vi.js +16 -0
  229. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/zh-cn.js +16 -0
  230. data/app/assets/javascripts/ckeditor/_source/plugins/devtools/plugin.js +2 -2
  231. data/app/assets/javascripts/ckeditor/_source/plugins/dialog/dialogDefinition.js +1 -1
  232. data/app/assets/javascripts/ckeditor/_source/plugins/dialog/plugin.js +33 -22
  233. data/app/assets/javascripts/ckeditor/_source/plugins/dialogadvtab/plugin.js +1 -1
  234. data/app/assets/javascripts/ckeditor/_source/plugins/dialogui/plugin.js +12 -4
  235. data/app/assets/javascripts/ckeditor/_source/plugins/div/dialogs/div.js +1 -1
  236. data/app/assets/javascripts/ckeditor/_source/plugins/div/plugin.js +1 -1
  237. data/app/assets/javascripts/ckeditor/_source/plugins/docprops/dialogs/docprops.js +1 -1
  238. data/app/assets/javascripts/ckeditor/_source/plugins/docprops/plugin.js +1 -1
  239. data/app/assets/javascripts/ckeditor/_source/plugins/domiterator/plugin.js +41 -36
  240. data/app/assets/javascripts/ckeditor/_source/plugins/editingblock/plugin.js +1 -1
  241. data/app/assets/javascripts/ckeditor/_source/plugins/elementspath/plugin.js +1 -1
  242. data/app/assets/javascripts/ckeditor/_source/plugins/enterkey/plugin.js +1 -1
  243. data/app/assets/javascripts/ckeditor/_source/plugins/entities/plugin.js +14 -10
  244. data/app/assets/javascripts/ckeditor/_source/plugins/fakeobjects/plugin.js +1 -1
  245. data/app/assets/javascripts/ckeditor/_source/plugins/filebrowser/plugin.js +2 -3
  246. data/app/assets/javascripts/ckeditor/_source/plugins/find/dialogs/find.js +1 -1
  247. data/app/assets/javascripts/ckeditor/_source/plugins/find/plugin.js +1 -1
  248. data/app/assets/javascripts/ckeditor/_source/plugins/flash/dialogs/flash.js +1 -1
  249. data/app/assets/javascripts/ckeditor/_source/plugins/flash/plugin.js +1 -1
  250. data/app/assets/javascripts/ckeditor/_source/plugins/floatpanel/plugin.js +67 -19
  251. data/app/assets/javascripts/ckeditor/_source/plugins/font/plugin.js +1 -1
  252. data/app/assets/javascripts/ckeditor/_source/plugins/format/plugin.js +1 -1
  253. data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/button.js +1 -1
  254. data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/checkbox.js +1 -1
  255. data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/form.js +1 -1
  256. data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +1 -1
  257. data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/radio.js +1 -1
  258. data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/select.js +1 -1
  259. data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/textarea.js +1 -1
  260. data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/textfield.js +1 -1
  261. data/app/assets/javascripts/ckeditor/_source/plugins/forms/plugin.js +1 -1
  262. data/app/assets/javascripts/ckeditor/_source/plugins/horizontalrule/plugin.js +1 -1
  263. data/app/assets/javascripts/ckeditor/_source/plugins/htmldataprocessor/plugin.js +6 -2
  264. data/app/assets/javascripts/ckeditor/_source/plugins/htmlwriter/plugin.js +1 -1
  265. data/app/assets/javascripts/ckeditor/_source/plugins/iframe/dialogs/iframe.js +1 -1
  266. data/app/assets/javascripts/ckeditor/_source/plugins/iframe/plugin.js +1 -1
  267. data/app/assets/javascripts/ckeditor/_source/plugins/iframedialog/plugin.js +1 -1
  268. data/app/assets/javascripts/ckeditor/_source/plugins/image/dialogs/image.js +4 -5
  269. data/app/assets/javascripts/ckeditor/_source/plugins/image/plugin.js +89 -6
  270. data/app/assets/javascripts/ckeditor/_source/plugins/indent/plugin.js +20 -1
  271. data/app/assets/javascripts/ckeditor/_source/plugins/justify/plugin.js +15 -17
  272. data/app/assets/javascripts/ckeditor/_source/plugins/keystrokes/plugin.js +1 -1
  273. data/app/assets/javascripts/ckeditor/_source/plugins/link/dialogs/anchor.js +1 -1
  274. data/app/assets/javascripts/ckeditor/_source/plugins/link/dialogs/link.js +8 -6
  275. data/app/assets/javascripts/ckeditor/_source/plugins/link/plugin.js +1 -1
  276. data/app/assets/javascripts/ckeditor/_source/plugins/list/plugin.js +250 -57
  277. data/app/assets/javascripts/ckeditor/_source/plugins/listblock/plugin.js +2 -8
  278. data/app/assets/javascripts/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +1 -1
  279. data/app/assets/javascripts/ckeditor/_source/plugins/liststyle/plugin.js +1 -1
  280. data/app/assets/javascripts/ckeditor/_source/plugins/maximize/plugin.js +1 -1
  281. data/app/assets/javascripts/ckeditor/_source/plugins/menu/plugin.js +4 -3
  282. data/app/assets/javascripts/ckeditor/_source/plugins/menubutton/plugin.js +1 -1
  283. data/app/assets/javascripts/ckeditor/_source/plugins/newpage/plugin.js +1 -1
  284. data/app/assets/javascripts/ckeditor/_source/plugins/pagebreak/plugin.js +1 -1
  285. data/app/assets/javascripts/ckeditor/_source/plugins/panel/plugin.js +7 -11
  286. data/app/assets/javascripts/ckeditor/_source/plugins/panelbutton/plugin.js +1 -1
  287. data/app/assets/javascripts/ckeditor/_source/plugins/pastefromword/filter/default.js +1 -1
  288. data/app/assets/javascripts/ckeditor/_source/plugins/pastefromword/plugin.js +1 -1
  289. data/app/assets/javascripts/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +1 -1
  290. data/app/assets/javascripts/ckeditor/_source/plugins/pastetext/plugin.js +1 -1
  291. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js +1 -1
  292. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/_translationstatus.txt +26 -0
  293. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/bg.js +16 -0
  294. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/cs.js +16 -0
  295. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/cy.js +16 -0
  296. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/da.js +16 -0
  297. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/de.js +16 -0
  298. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/el.js +16 -0
  299. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/en.js +1 -1
  300. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/eo.js +16 -0
  301. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/et.js +16 -0
  302. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/fa.js +16 -0
  303. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/fi.js +16 -0
  304. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/fr.js +16 -0
  305. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/he.js +1 -1
  306. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/hr.js +16 -0
  307. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/it.js +16 -0
  308. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/nb.js +16 -0
  309. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/nl.js +16 -0
  310. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/no.js +16 -0
  311. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/pl.js +16 -0
  312. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/tr.js +16 -0
  313. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/ug.js +16 -0
  314. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/uk.js +16 -0
  315. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/vi.js +16 -0
  316. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/zh-cn.js +16 -0
  317. data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/plugin.js +2 -2
  318. data/app/assets/javascripts/ckeditor/_source/plugins/popup/plugin.js +8 -3
  319. data/app/assets/javascripts/ckeditor/_source/plugins/preview/plugin.js +1 -1
  320. data/app/assets/javascripts/ckeditor/_source/plugins/print/plugin.js +1 -1
  321. data/app/assets/javascripts/ckeditor/_source/plugins/removeformat/plugin.js +1 -1
  322. data/app/assets/javascripts/ckeditor/_source/plugins/resize/plugin.js +3 -2
  323. data/app/assets/javascripts/ckeditor/_source/plugins/richcombo/plugin.js +1 -1
  324. data/app/assets/javascripts/ckeditor/_source/plugins/save/plugin.js +1 -1
  325. data/app/assets/javascripts/ckeditor/_source/plugins/scayt/dialogs/options.js +1 -1
  326. data/app/assets/javascripts/ckeditor/_source/plugins/scayt/plugin.js +1 -1
  327. data/app/assets/javascripts/ckeditor/_source/plugins/selection/plugin.js +208 -82
  328. data/app/assets/javascripts/ckeditor/_source/plugins/showblocks/plugin.js +1 -1
  329. data/app/assets/javascripts/ckeditor/_source/plugins/showborders/plugin.js +1 -1
  330. data/app/assets/javascripts/ckeditor/_source/plugins/smiley/dialogs/smiley.js +1 -1
  331. data/app/assets/javascripts/ckeditor/_source/plugins/smiley/plugin.js +1 -1
  332. data/app/assets/javascripts/ckeditor/_source/plugins/sourcearea/plugin.js +1 -1
  333. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +1 -1
  334. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/_translationstatus.txt +19 -0
  335. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/cs.js +126 -0
  336. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/cy.js +126 -0
  337. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/de.js +126 -0
  338. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/en.js +123 -119
  339. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/eo.js +126 -0
  340. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/et.js +126 -0
  341. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/fa.js +126 -0
  342. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/fi.js +126 -0
  343. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/fr.js +126 -0
  344. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/hr.js +126 -0
  345. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/it.js +126 -0
  346. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/nb.js +126 -0
  347. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/nl.js +126 -0
  348. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/no.js +126 -0
  349. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/tr.js +126 -0
  350. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/ug.js +126 -0
  351. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/zh-cn.js +126 -0
  352. data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/plugin.js +2 -2
  353. data/app/assets/javascripts/ckeditor/_source/plugins/styles/plugin.js +10 -4
  354. data/app/assets/javascripts/ckeditor/_source/plugins/styles/styles/default.js +1 -1
  355. data/app/assets/javascripts/ckeditor/_source/plugins/stylescombo/plugin.js +1 -1
  356. data/app/assets/javascripts/ckeditor/_source/plugins/stylesheetparser/plugin.js +1 -1
  357. data/app/assets/javascripts/ckeditor/_source/plugins/tab/plugin.js +1 -1
  358. data/app/assets/javascripts/ckeditor/_source/plugins/table/dialogs/table.js +23 -28
  359. data/app/assets/javascripts/ckeditor/_source/plugins/table/plugin.js +1 -1
  360. data/app/assets/javascripts/ckeditor/_source/plugins/tableresize/plugin.js +1 -1
  361. data/app/assets/javascripts/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +4 -9
  362. data/app/assets/javascripts/ckeditor/_source/plugins/tabletools/plugin.js +8 -17
  363. data/app/assets/javascripts/ckeditor/_source/plugins/templates/dialogs/templates.js +1 -1
  364. data/app/assets/javascripts/ckeditor/_source/plugins/templates/plugin.js +2 -1
  365. data/app/assets/javascripts/ckeditor/_source/plugins/templates/templates/default.js +1 -1
  366. data/app/assets/javascripts/ckeditor/_source/plugins/toolbar/plugin.js +1 -1
  367. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +1 -1
  368. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/_translationstatus.txt +27 -0
  369. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/bg.js +15 -0
  370. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/cs.js +15 -0
  371. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/cy.js +15 -0
  372. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/da.js +15 -0
  373. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/de.js +15 -0
  374. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/el.js +15 -0
  375. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/en.js +1 -1
  376. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/eo.js +15 -0
  377. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/et.js +15 -0
  378. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/fa.js +15 -0
  379. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/fi.js +15 -0
  380. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/fr.js +15 -0
  381. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/he.js +1 -1
  382. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/hr.js +15 -0
  383. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/it.js +15 -0
  384. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/mk.js +15 -0
  385. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/nb.js +15 -0
  386. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/nl.js +15 -0
  387. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/no.js +15 -0
  388. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/pl.js +15 -0
  389. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/tr.js +15 -0
  390. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/ug.js +15 -0
  391. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/uk.js +15 -0
  392. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/vi.js +15 -0
  393. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/zh-cn.js +15 -0
  394. data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/plugin.js +2 -2
  395. data/app/assets/javascripts/ckeditor/_source/plugins/undo/plugin.js +19 -4
  396. data/app/assets/javascripts/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +1 -1
  397. data/app/assets/javascripts/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +1 -1
  398. data/app/assets/javascripts/ckeditor/_source/plugins/wsc/dialogs/wsc.css +1 -1
  399. data/app/assets/javascripts/ckeditor/_source/plugins/wsc/dialogs/wsc.js +1 -1
  400. data/app/assets/javascripts/ckeditor/_source/plugins/wsc/plugin.js +1 -1
  401. data/app/assets/javascripts/ckeditor/_source/plugins/wysiwygarea/plugin.js +58 -59
  402. data/app/assets/javascripts/ckeditor/_source/plugins/xml/plugin.js +1 -1
  403. data/app/assets/javascripts/ckeditor/_source/skins/kama/dialog.css +1 -1
  404. data/app/assets/javascripts/ckeditor/_source/skins/kama/editor.css +1 -1
  405. data/app/assets/javascripts/ckeditor/_source/skins/kama/elementspath.css +1 -1
  406. data/app/assets/javascripts/ckeditor/_source/skins/kama/icons.css +1 -1
  407. data/app/assets/javascripts/ckeditor/_source/skins/kama/mainui.css +1 -1
  408. data/app/assets/javascripts/ckeditor/_source/skins/kama/menu.css +1 -1
  409. data/app/assets/javascripts/ckeditor/_source/skins/kama/panel.css +1 -1
  410. data/app/assets/javascripts/ckeditor/_source/skins/kama/presets.css +1 -1
  411. data/app/assets/javascripts/ckeditor/_source/skins/kama/reset.css +1 -1
  412. data/app/assets/javascripts/ckeditor/_source/skins/kama/richcombo.css +1 -1
  413. data/app/assets/javascripts/ckeditor/_source/skins/kama/skin.js +1 -1
  414. data/app/assets/javascripts/ckeditor/_source/skins/kama/templates.css +1 -1
  415. data/app/assets/javascripts/ckeditor/_source/skins/kama/toolbar.css +1 -1
  416. data/app/assets/javascripts/ckeditor/_source/skins/office2003/dialog.css +1 -1
  417. data/app/assets/javascripts/ckeditor/_source/skins/office2003/editor.css +1 -1
  418. data/app/assets/javascripts/ckeditor/_source/skins/office2003/elementspath.css +1 -1
  419. data/app/assets/javascripts/ckeditor/_source/skins/office2003/icons.css +1 -1
  420. data/app/assets/javascripts/ckeditor/_source/skins/office2003/mainui.css +1 -1
  421. data/app/assets/javascripts/ckeditor/_source/skins/office2003/menu.css +1 -1
  422. data/app/assets/javascripts/ckeditor/_source/skins/office2003/panel.css +1 -1
  423. data/app/assets/javascripts/ckeditor/_source/skins/office2003/presets.css +1 -1
  424. data/app/assets/javascripts/ckeditor/_source/skins/office2003/reset.css +1 -1
  425. data/app/assets/javascripts/ckeditor/_source/skins/office2003/skin.js +1 -1
  426. data/app/assets/javascripts/ckeditor/_source/skins/office2003/templates.css +1 -1
  427. data/app/assets/javascripts/ckeditor/_source/skins/office2003/toolbar.css +1 -1
  428. data/app/assets/javascripts/ckeditor/_source/skins/v2/dialog.css +1 -1
  429. data/app/assets/javascripts/ckeditor/_source/skins/v2/editor.css +1 -1
  430. data/app/assets/javascripts/ckeditor/_source/skins/v2/elementspath.css +1 -1
  431. data/app/assets/javascripts/ckeditor/_source/skins/v2/icons.css +1 -1
  432. data/app/assets/javascripts/ckeditor/_source/skins/v2/mainui.css +1 -1
  433. data/app/assets/javascripts/ckeditor/_source/skins/v2/menu.css +1 -1
  434. data/app/assets/javascripts/ckeditor/_source/skins/v2/panel.css +1 -1
  435. data/app/assets/javascripts/ckeditor/_source/skins/v2/presets.css +1 -1
  436. data/app/assets/javascripts/ckeditor/_source/skins/v2/reset.css +1 -1
  437. data/app/assets/javascripts/ckeditor/_source/skins/v2/skin.js +1 -1
  438. data/app/assets/javascripts/ckeditor/_source/skins/v2/templates.css +1 -1
  439. data/app/assets/javascripts/ckeditor/_source/skins/v2/toolbar.css +1 -1
  440. data/app/assets/javascripts/ckeditor/_source/themes/default/theme.js +1 -1
  441. data/app/assets/javascripts/ckeditor/adapters/jquery.js +1 -1
  442. data/app/assets/javascripts/ckeditor/ckeditor.asp +4 -4
  443. data/app/assets/javascripts/ckeditor/ckeditor.js +119 -117
  444. data/app/assets/javascripts/ckeditor/ckeditor.pack +1 -1
  445. data/app/assets/javascripts/ckeditor/ckeditor.php +1 -1
  446. data/app/assets/javascripts/ckeditor/ckeditor_basic.js +3 -3
  447. data/app/assets/javascripts/ckeditor/ckeditor_basic_source.js +2 -2
  448. data/app/assets/javascripts/ckeditor/ckeditor_php4.php +4 -4
  449. data/app/assets/javascripts/ckeditor/ckeditor_php5.php +4 -4
  450. data/app/assets/javascripts/ckeditor/ckeditor_source.js +2 -2
  451. data/app/assets/javascripts/ckeditor/config.js +11 -11
  452. data/app/assets/javascripts/ckeditor/contents.css +1 -1
  453. data/app/assets/javascripts/ckeditor/lang/_languages.js +1 -1
  454. data/app/assets/javascripts/ckeditor/lang/_translationstatus.txt +25 -23
  455. data/app/assets/javascripts/ckeditor/lang/af.js +1 -1
  456. data/app/assets/javascripts/ckeditor/lang/ar.js +2 -2
  457. data/app/assets/javascripts/ckeditor/lang/bg.js +2 -2
  458. data/app/assets/javascripts/ckeditor/lang/bn.js +1 -1
  459. data/app/assets/javascripts/ckeditor/lang/bs.js +1 -1
  460. data/app/assets/javascripts/ckeditor/lang/ca.js +1 -1
  461. data/app/assets/javascripts/ckeditor/lang/cs.js +2 -2
  462. data/app/assets/javascripts/ckeditor/lang/cy.js +2 -2
  463. data/app/assets/javascripts/ckeditor/lang/da.js +2 -2
  464. data/app/assets/javascripts/ckeditor/lang/de.js +2 -2
  465. data/app/assets/javascripts/ckeditor/lang/el.js +2 -2
  466. data/app/assets/javascripts/ckeditor/lang/en-au.js +1 -1
  467. data/app/assets/javascripts/ckeditor/lang/en-ca.js +1 -1
  468. data/app/assets/javascripts/ckeditor/lang/en-gb.js +1 -1
  469. data/app/assets/javascripts/ckeditor/lang/en.js +1 -1
  470. data/app/assets/javascripts/ckeditor/lang/eo.js +2 -2
  471. data/app/assets/javascripts/ckeditor/lang/es.js +1 -1
  472. data/app/assets/javascripts/ckeditor/lang/et.js +2 -2
  473. data/app/assets/javascripts/ckeditor/lang/eu.js +1 -1
  474. data/app/assets/javascripts/ckeditor/lang/fa.js +1 -1
  475. data/app/assets/javascripts/ckeditor/lang/fi.js +1 -1
  476. data/app/assets/javascripts/ckeditor/lang/fo.js +2 -2
  477. data/app/assets/javascripts/ckeditor/lang/fr-ca.js +1 -1
  478. data/app/assets/javascripts/ckeditor/lang/fr.js +2 -2
  479. data/app/assets/javascripts/ckeditor/lang/gl.js +1 -1
  480. data/app/assets/javascripts/ckeditor/lang/gu.js +2 -2
  481. data/app/assets/javascripts/ckeditor/lang/he.js +1 -1
  482. data/app/assets/javascripts/ckeditor/lang/hi.js +2 -2
  483. data/app/assets/javascripts/ckeditor/lang/hr.js +2 -2
  484. data/app/assets/javascripts/ckeditor/lang/hu.js +1 -1
  485. data/app/assets/javascripts/ckeditor/lang/is.js +1 -1
  486. data/app/assets/javascripts/ckeditor/lang/it.js +2 -2
  487. data/app/assets/javascripts/ckeditor/lang/ja.js +1 -1
  488. data/app/assets/javascripts/ckeditor/lang/ka.js +1 -1
  489. data/app/assets/javascripts/ckeditor/lang/km.js +1 -1
  490. data/app/assets/javascripts/ckeditor/lang/ko.js +1 -1
  491. data/app/assets/javascripts/ckeditor/lang/lt.js +1 -1
  492. data/app/assets/javascripts/ckeditor/lang/lv.js +1 -1
  493. data/app/assets/javascripts/ckeditor/lang/mk.js +6 -0
  494. data/app/assets/javascripts/ckeditor/lang/mn.js +1 -1
  495. data/app/assets/javascripts/ckeditor/lang/ms.js +1 -1
  496. data/app/assets/javascripts/ckeditor/lang/nb.js +2 -2
  497. data/app/assets/javascripts/ckeditor/lang/nl.js +2 -2
  498. data/app/assets/javascripts/ckeditor/lang/no.js +2 -2
  499. data/app/assets/javascripts/ckeditor/lang/pl.js +2 -2
  500. data/app/assets/javascripts/ckeditor/lang/pt-br.js +1 -1
  501. data/app/assets/javascripts/ckeditor/lang/pt.js +2 -2
  502. data/app/assets/javascripts/ckeditor/lang/ro.js +1 -1
  503. data/app/assets/javascripts/ckeditor/lang/ru.js +1 -1
  504. data/app/assets/javascripts/ckeditor/lang/sk.js +1 -1
  505. data/app/assets/javascripts/ckeditor/lang/sl.js +1 -1
  506. data/app/assets/javascripts/ckeditor/lang/sr-latn.js +1 -1
  507. data/app/assets/javascripts/ckeditor/lang/sr.js +1 -1
  508. data/app/assets/javascripts/ckeditor/lang/sv.js +1 -1
  509. data/app/assets/javascripts/ckeditor/lang/th.js +1 -1
  510. data/app/assets/javascripts/ckeditor/lang/tr.js +2 -2
  511. data/app/assets/javascripts/ckeditor/lang/ug.js +6 -0
  512. data/app/assets/javascripts/ckeditor/lang/uk.js +2 -2
  513. data/app/assets/javascripts/ckeditor/lang/vi.js +2 -2
  514. data/app/assets/javascripts/ckeditor/lang/zh-cn.js +2 -2
  515. data/app/assets/javascripts/ckeditor/lang/zh.js +2 -2
  516. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +1 -1
  517. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/_translationstatus.txt +23 -0
  518. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/cs.js +6 -0
  519. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/cy.js +6 -0
  520. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/da.js +6 -0
  521. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/de.js +6 -0
  522. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/el.js +6 -0
  523. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/en.js +2 -2
  524. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/eo.js +6 -0
  525. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/fa.js +6 -0
  526. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/fi.js +6 -0
  527. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/fr.js +6 -0
  528. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/gu.js +6 -0
  529. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/he.js +2 -2
  530. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/it.js +6 -0
  531. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/mk.js +6 -0
  532. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/nb.js +6 -0
  533. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/nl.js +6 -0
  534. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/no.js +6 -0
  535. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/tr.js +6 -0
  536. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/ug.js +6 -0
  537. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/vi.js +6 -0
  538. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/zh-cn.js +6 -0
  539. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +1 -1
  540. data/app/assets/javascripts/ckeditor/plugins/adobeair/plugin.js +1 -1
  541. data/app/assets/javascripts/ckeditor/plugins/ajax/plugin.js +1 -1
  542. data/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js +2 -2
  543. data/app/assets/javascripts/ckeditor/plugins/bbcode/plugin.js +1 -1
  544. data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +2 -2
  545. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +3 -3
  546. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/_translationstatus.txt +27 -0
  547. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/bg.js +6 -0
  548. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/cs.js +6 -0
  549. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/cy.js +6 -0
  550. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/da.js +6 -0
  551. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/de.js +6 -0
  552. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/el.js +6 -0
  553. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/en.js +1 -1
  554. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/eo.js +6 -0
  555. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/et.js +6 -0
  556. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/fa.js +6 -0
  557. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/fi.js +6 -0
  558. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/fr.js +6 -0
  559. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/gu.js +6 -0
  560. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/he.js +6 -0
  561. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/hr.js +6 -0
  562. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/it.js +6 -0
  563. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/nb.js +6 -0
  564. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/nl.js +6 -0
  565. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/no.js +6 -0
  566. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/pl.js +6 -0
  567. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/tr.js +6 -0
  568. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/ug.js +6 -0
  569. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/uk.js +6 -0
  570. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/vi.js +6 -0
  571. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/zh-cn.js +6 -0
  572. data/app/assets/javascripts/ckeditor/plugins/devtools/plugin.js +2 -2
  573. data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
  574. data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +1 -1
  575. data/app/assets/javascripts/ckeditor/plugins/docprops/dialogs/docprops.js +1 -1
  576. data/app/assets/javascripts/ckeditor/plugins/docprops/plugin.js +1 -1
  577. data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +1 -1
  578. data/app/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +1 -1
  579. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +1 -1
  580. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +1 -1
  581. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +1 -1
  582. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +1 -1
  583. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +1 -1
  584. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +1 -1
  585. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +1 -1
  586. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +1 -1
  587. data/app/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +1 -1
  588. data/app/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +1 -1
  589. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +9 -9
  590. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +1 -1
  591. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +5 -5
  592. data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +1 -1
  593. data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +1 -1
  594. data/app/assets/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +1 -1
  595. data/app/assets/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +1 -1
  596. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/_translationstatus.txt +26 -0
  597. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/bg.js +6 -0
  598. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/cs.js +6 -0
  599. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/cy.js +6 -0
  600. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/da.js +6 -0
  601. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/de.js +6 -0
  602. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/el.js +6 -0
  603. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/en.js +1 -1
  604. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/eo.js +6 -0
  605. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/et.js +6 -0
  606. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fa.js +6 -0
  607. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fi.js +6 -0
  608. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fr.js +6 -0
  609. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/he.js +1 -1
  610. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/hr.js +6 -0
  611. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/it.js +6 -0
  612. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/nb.js +6 -0
  613. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/nl.js +6 -0
  614. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/no.js +6 -0
  615. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/pl.js +6 -0
  616. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/tr.js +6 -0
  617. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ug.js +6 -0
  618. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/uk.js +6 -0
  619. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/vi.js +6 -0
  620. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/zh-cn.js +6 -0
  621. data/app/assets/javascripts/ckeditor/plugins/placeholder/plugin.js +2 -2
  622. data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +1 -1
  623. data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +1 -1
  624. data/app/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +1 -1
  625. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +1 -1
  626. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/_translationstatus.txt +19 -0
  627. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/cs.js +6 -0
  628. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/cy.js +6 -0
  629. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/de.js +6 -0
  630. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/en.js +1 -1
  631. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/eo.js +6 -0
  632. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/et.js +6 -0
  633. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/fa.js +6 -0
  634. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/fi.js +6 -0
  635. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/fr.js +6 -0
  636. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/hr.js +6 -0
  637. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/it.js +6 -0
  638. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/nb.js +6 -0
  639. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/nl.js +6 -0
  640. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/no.js +6 -0
  641. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/tr.js +6 -0
  642. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/ug.js +6 -0
  643. data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/zh-cn.js +6 -0
  644. data/app/assets/javascripts/ckeditor/plugins/styles/styles/default.js +1 -1
  645. data/app/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +1 -1
  646. data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +5 -5
  647. data/app/assets/javascripts/ckeditor/plugins/tableresize/plugin.js +1 -1
  648. data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +3 -3
  649. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +1 -1
  650. data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +1 -1
  651. data/app/assets/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +1 -1
  652. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/_translationstatus.txt +27 -0
  653. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/bg.js +6 -0
  654. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/cs.js +6 -0
  655. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/cy.js +6 -0
  656. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/da.js +6 -0
  657. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/de.js +6 -0
  658. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/el.js +6 -0
  659. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/en.js +1 -1
  660. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/eo.js +6 -0
  661. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/et.js +6 -0
  662. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/fa.js +6 -0
  663. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/fi.js +6 -0
  664. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/fr.js +6 -0
  665. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/he.js +1 -1
  666. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/hr.js +6 -0
  667. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/it.js +6 -0
  668. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/mk.js +6 -0
  669. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/nb.js +6 -0
  670. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/nl.js +6 -0
  671. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/no.js +6 -0
  672. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/pl.js +6 -0
  673. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/tr.js +6 -0
  674. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/ug.js +6 -0
  675. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/uk.js +6 -0
  676. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/vi.js +6 -0
  677. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/zh-cn.js +6 -0
  678. data/app/assets/javascripts/ckeditor/plugins/uicolor/plugin.js +2 -2
  679. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +1 -1
  680. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/yui.js +1 -1
  681. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +1 -1
  682. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +1 -1
  683. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +1 -1
  684. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +1 -1
  685. data/app/assets/javascripts/ckeditor/plugins/xml/plugin.js +1 -1
  686. data/app/assets/javascripts/ckeditor/skins/kama/dialog.css +2 -2
  687. data/app/assets/javascripts/ckeditor/skins/kama/editor.css +3 -3
  688. data/app/assets/javascripts/ckeditor/skins/kama/skin.js +1 -1
  689. data/app/assets/javascripts/ckeditor/skins/kama/templates.css +1 -1
  690. data/app/assets/javascripts/ckeditor/skins/office2003/dialog.css +1 -1
  691. data/app/assets/javascripts/ckeditor/skins/office2003/editor.css +1 -1
  692. data/app/assets/javascripts/ckeditor/skins/office2003/skin.js +1 -1
  693. data/app/assets/javascripts/ckeditor/skins/office2003/templates.css +1 -1
  694. data/app/assets/javascripts/ckeditor/skins/v2/dialog.css +1 -1
  695. data/app/assets/javascripts/ckeditor/skins/v2/editor.css +1 -1
  696. data/app/assets/javascripts/ckeditor/skins/v2/skin.js +1 -1
  697. data/app/assets/javascripts/ckeditor/skins/v2/templates.css +1 -1
  698. data/app/assets/javascripts/ckeditor/themes/default/theme.js +1 -1
  699. data/lib/refinery/ckeditor/version.rb +1 -1
  700. metadata +262 -21
@@ -0,0 +1,16 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+
6
+ CKEDITOR.plugins.setLang( 'devtools', 'zh-cn',
7
+ {
8
+ devTools :
9
+ {
10
+ title : '元素信息',
11
+ dialogName : '对话框窗口名称',
12
+ tabName : 'Tab 名称',
13
+ elementId : '元素 ID',
14
+ elementType : '元素类型'
15
+ }
16
+ });
@@ -1,11 +1,11 @@
1
1
  /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
6
6
  CKEDITOR.plugins.add( 'devtools',
7
7
  {
8
- lang : [ 'en' ],
8
+ lang : [ 'bg', 'cs', 'cy', 'da', 'de', 'el', 'en', 'eo', 'et', 'fa', 'fi', 'fr', 'gu', 'he', 'hr', 'it', 'nb', 'nl', 'no', 'pl', 'tr', 'ug', 'uk', 'vi', 'zh-cn' ],
9
9
 
10
10
  init : function( editor )
11
11
  {
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
@@ -138,7 +138,10 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
138
138
  var definition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
139
139
  defaultDefinition = CKEDITOR.tools.clone( defaultDialogDefinition ),
140
140
  buttonsOrder = editor.config.dialog_buttonsOrder || 'OS',
141
- dir = editor.lang.dir;
141
+ dir = editor.lang.dir,
142
+ tabsToRemove = {},
143
+ i,
144
+ processed;
142
145
 
143
146
  if ( ( buttonsOrder == 'OS' && CKEDITOR.env.mac ) || // The buttons in MacOS Apps are in reverse order (#4750)
144
147
  ( buttonsOrder == 'rtl' && dir == 'ltr' ) ||
@@ -219,7 +222,6 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
219
222
  }
220
223
  , editor ).definition;
221
224
 
222
- var tabsToRemove = {};
223
225
  // Cache tabs that should be removed.
224
226
  if ( !( 'removeDialogTabs' in editor._ ) && editor.config.removeDialogTabs )
225
227
  {
@@ -358,10 +360,11 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
358
360
  focusList[ i ].focusIndex = i;
359
361
  }
360
362
 
361
- function changeFocus( forward )
363
+ function changeFocus( offset )
362
364
  {
363
- var focusList = me._.focusList,
364
- offset = forward ? 1 : -1;
365
+ var focusList = me._.focusList;
366
+ offset = offset || 0;
367
+
365
368
  if ( focusList.length < 1 )
366
369
  return;
367
370
 
@@ -377,12 +380,13 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
377
380
 
378
381
  var startIndex = ( current + offset + focusList.length ) % focusList.length,
379
382
  currentIndex = startIndex;
380
- while ( !focusList[ currentIndex ].isFocusable() )
383
+ while ( offset && !focusList[ currentIndex ].isFocusable() )
381
384
  {
382
385
  currentIndex = ( currentIndex + offset + focusList.length ) % focusList.length;
383
386
  if ( currentIndex == startIndex )
384
387
  break;
385
388
  }
389
+
386
390
  focusList[ currentIndex ].focus();
387
391
 
388
392
  // Select whole field content.
@@ -392,7 +396,6 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
392
396
 
393
397
  this.changeFocus = changeFocus;
394
398
 
395
- var processed;
396
399
 
397
400
  function focusKeydownHandler( evt )
398
401
  {
@@ -419,7 +422,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
419
422
  else
420
423
  {
421
424
  // Change the focus of inputs.
422
- changeFocus( !shiftPressed );
425
+ changeFocus( shiftPressed ? -1 : 1 );
423
426
  }
424
427
 
425
428
  processed = 1;
@@ -444,7 +447,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
444
447
  this.selectPage( this._.currentTabId );
445
448
  this._.tabBarMode = false;
446
449
  this._.currentFocusIndex = -1;
447
- changeFocus( true );
450
+ changeFocus( 1 );
448
451
  processed = 1;
449
452
  }
450
453
 
@@ -512,7 +515,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
512
515
  }
513
516
  // Focus the first field in layout order.
514
517
  else
515
- changeFocus( true );
518
+ changeFocus( 1 );
516
519
 
517
520
  /*
518
521
  * IE BUG: If the initial focus went into a non-text element (e.g. button),
@@ -558,7 +561,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
558
561
  ( new CKEDITOR.dom.text( definition.title, CKEDITOR.document ) ).appendTo( this.parts.title );
559
562
 
560
563
  // Insert the tabs and contents.
561
- for ( var i = 0 ; i < definition.contents.length ; i++ )
564
+ for ( i = 0 ; i < definition.contents.length ; i++ )
562
565
  {
563
566
  var page = definition.contents[i];
564
567
  page && this.addPage( page );
@@ -578,7 +581,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
578
581
  {
579
582
  this._.tabBarMode = false;
580
583
  this._.currentFocusIndex = -1;
581
- changeFocus( true );
584
+ changeFocus( 1 );
582
585
  }
583
586
  evt.data.preventDefault();
584
587
  }
@@ -794,19 +797,12 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
794
797
  this._.element.getFirst().setStyle( 'z-index', CKEDITOR.dialog._.currentZIndex += 10 );
795
798
 
796
799
  // Maintain the dialog ordering and dialog cover.
797
- // Also register key handlers if first dialog.
798
800
  if ( CKEDITOR.dialog._.currentTop === null )
799
801
  {
800
802
  CKEDITOR.dialog._.currentTop = this;
801
803
  this._.parentDialog = null;
802
804
  showCover( this._.editor );
803
805
 
804
- element.on( 'keydown', accessKeyDownHandler );
805
- element.on( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler );
806
-
807
- // Prevent some keys from bubbling up. (#4269)
808
- for ( var event in { keyup :1, keydown :1, keypress :1 } )
809
- element.on( event, preventKeyBubbling );
810
806
  }
811
807
  else
812
808
  {
@@ -816,10 +812,25 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
816
812
  CKEDITOR.dialog._.currentTop = this;
817
813
  }
818
814
 
815
+ element.on( 'keydown', accessKeyDownHandler );
816
+ element.on( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler );
817
+
818
+ // Prevent some keys from bubbling up. (#4269)
819
+ for ( var event in { keyup :1, keydown :1, keypress :1 } )
820
+ element.on( event, preventKeyBubbling );
821
+
819
822
  // Register the Esc hotkeys.
820
823
  registerAccessKey( this, this, '\x1b', null, function()
821
824
  {
822
- this.getButton( 'cancel' ) && this.getButton( 'cancel' ).click();
825
+ var button = this.getButton( 'cancel' );
826
+ // If there's a Cancel button, click it, else just fire the cancel event and hide the dialog
827
+ if ( button )
828
+ button.click();
829
+ else
830
+ {
831
+ if ( this.fire( 'cancel', { hide : true } ).hide !== false )
832
+ this.hide();
833
+ }
823
834
  } );
824
835
 
825
836
  // Reset the hasFocus state.
@@ -2935,7 +2946,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
2935
2946
  {
2936
2947
  // Special treatment for Opera. (#8031)
2937
2948
  CKEDITOR.env.opera ?
2938
- CKEDITOR.tools.setTimeout( function() { editor.openDialog( this.dialogName ) }, 0, this )
2949
+ CKEDITOR.tools.setTimeout( function() { editor.openDialog( this.dialogName ); }, 0, this )
2939
2950
  : editor.openDialog( this.dialogName );
2940
2951
  },
2941
2952
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
@@ -224,7 +224,7 @@ CKEDITOR.plugins.add( 'dialogui' );
224
224
 
225
225
  initPrivateObject.call( this, elementDefinition );
226
226
  var domId = this._.inputId = CKEDITOR.tools.getNextId() + '_textInput',
227
- attributes = { 'class' : 'cke_dialog_ui_input_' + elementDefinition.type, id : domId, type : 'text' },
227
+ attributes = { 'class' : 'cke_dialog_ui_input_' + elementDefinition.type, id : domId, type : elementDefinition.type },
228
228
  i;
229
229
 
230
230
  // Set the validator, if any.
@@ -855,7 +855,9 @@ CKEDITOR.plugins.add( 'dialogui' );
855
855
  var innerHTML = function()
856
856
  {
857
857
  var html = [];
858
- legendLabel && html.push( '<legend>' + legendLabel + '</legend>' );
858
+ legendLabel && html.push( '<legend' +
859
+ ( elementDefinition.labelStyle ? ' style="' + elementDefinition.labelStyle + '"' : '' ) +
860
+ '>' + legendLabel + '</legend>' );
859
861
  for ( var i = 0; i < childHtmlList.length; i++ )
860
862
  html.push( childHtmlList[ i ] );
861
863
  return html.join( '' );
@@ -969,7 +971,13 @@ CKEDITOR.plugins.add( 'dialogui' );
969
971
  /** @ignore */
970
972
  onClick : function( dialog, func )
971
973
  {
972
- this.on( 'click', func );
974
+ this.on( 'click', function()
975
+ {
976
+ // Some browsers (Chrome, IE8, IE7 compat mode) don't move
977
+ // focus to clicked button. Force this.
978
+ this.getElement().focus();
979
+ func.apply( this, arguments );
980
+ });
973
981
  }
974
982
  }, true ),
975
983
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  * For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
@@ -63,7 +63,7 @@ CKEDITOR.plugins.add( 'domiterator' );
63
63
  var removePreviousBr, removeLastBr;
64
64
 
65
65
  // This is the first iteration. Let's initialize it.
66
- if ( !this._.lastNode )
66
+ if ( !this._.started )
67
67
  {
68
68
  range = this.range.clone();
69
69
 
@@ -76,44 +76,49 @@ CKEDITOR.plugins.add( 'domiterator' );
76
76
  range.enlarge( this.forceBrBreak && !touchPre || !this.enlargeBr ?
77
77
  CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS : CKEDITOR.ENLARGE_BLOCK_CONTENTS );
78
78
 
79
- var walker = new CKEDITOR.dom.walker( range ),
80
- ignoreBookmarkTextEvaluator = CKEDITOR.dom.walker.bookmark( true, true );
81
- // Avoid anchor inside bookmark inner text.
82
- walker.evaluator = ignoreBookmarkTextEvaluator;
83
- this._.nextNode = walker.next();
84
- // TODO: It's better to have walker.reset() used here.
85
- walker = new CKEDITOR.dom.walker( range );
86
- walker.evaluator = ignoreBookmarkTextEvaluator;
87
- var lastNode = walker.previous();
88
- this._.lastNode = lastNode.getNextSourceNode( true );
89
-
90
- // We may have an empty text node at the end of block due to [3770].
91
- // If that node is the lastNode, it would cause our logic to leak to the
92
- // next block.(#3887)
93
- if ( this._.lastNode &&
94
- this._.lastNode.type == CKEDITOR.NODE_TEXT &&
95
- !CKEDITOR.tools.trim( this._.lastNode.getText() ) &&
96
- this._.lastNode.getParent().isBlockBoundary() )
79
+ if ( !range.collapsed )
97
80
  {
98
- var testRange = new CKEDITOR.dom.range( range.document );
99
- testRange.moveToPosition( this._.lastNode, CKEDITOR.POSITION_AFTER_END );
100
- if ( testRange.checkEndOfBlock() )
81
+ var walker = new CKEDITOR.dom.walker( range.clone() ),
82
+ ignoreBookmarkTextEvaluator = CKEDITOR.dom.walker.bookmark( true, true );
83
+ // Avoid anchor inside bookmark inner text.
84
+ walker.evaluator = ignoreBookmarkTextEvaluator;
85
+ this._.nextNode = walker.next();
86
+ // TODO: It's better to have walker.reset() used here.
87
+ walker = new CKEDITOR.dom.walker( range.clone() );
88
+ walker.evaluator = ignoreBookmarkTextEvaluator;
89
+ var lastNode = walker.previous();
90
+ this._.lastNode = lastNode.getNextSourceNode( true );
91
+
92
+ // We may have an empty text node at the end of block due to [3770].
93
+ // If that node is the lastNode, it would cause our logic to leak to the
94
+ // next block.(#3887)
95
+ if ( this._.lastNode &&
96
+ this._.lastNode.type == CKEDITOR.NODE_TEXT &&
97
+ !CKEDITOR.tools.trim( this._.lastNode.getText() ) &&
98
+ this._.lastNode.getParent().isBlockBoundary() )
101
99
  {
102
- var path = new CKEDITOR.dom.elementPath( testRange.endContainer );
103
- var lastBlock = path.block || path.blockLimit;
104
- this._.lastNode = lastBlock.getNextSourceNode( true );
100
+ var testRange = new CKEDITOR.dom.range( range.document );
101
+ testRange.moveToPosition( this._.lastNode, CKEDITOR.POSITION_AFTER_END );
102
+ if ( testRange.checkEndOfBlock() )
103
+ {
104
+ var path = new CKEDITOR.dom.elementPath( testRange.endContainer );
105
+ var lastBlock = path.block || path.blockLimit;
106
+ this._.lastNode = lastBlock.getNextSourceNode( true );
107
+ }
105
108
  }
106
- }
107
109
 
108
- // Probably the document end is reached, we need a marker node.
109
- if ( !this._.lastNode )
110
- {
111
- this._.lastNode = this._.docEndMarker = range.document.createText( '' );
112
- this._.lastNode.insertAfter( lastNode );
110
+ // Probably the document end is reached, we need a marker node.
111
+ if ( !this._.lastNode )
112
+ {
113
+ this._.lastNode = this._.docEndMarker = range.document.createText( '' );
114
+ this._.lastNode.insertAfter( lastNode );
115
+ }
116
+
117
+ // Let's reuse this variable.
118
+ range = null;
113
119
  }
114
120
 
115
- // Let's reuse this variable.
116
- range = null;
121
+ this._.started = 1;
117
122
  }
118
123
 
119
124
  var currentNode = this._.nextNode;
@@ -279,7 +284,7 @@ CKEDITOR.plugins.add( 'domiterator' );
279
284
  range.insertNode( block );
280
285
 
281
286
  removePreviousBr = removeLastBr = true;
282
- }
287
+ }
283
288
  else if ( block.getName() != 'li' )
284
289
  {
285
290
  // If the range doesn't includes the entire contents of the
@@ -346,7 +351,7 @@ CKEDITOR.plugins.add( 'domiterator' );
346
351
  // next interation.
347
352
  if ( !this._.nextNode )
348
353
  {
349
- this._.nextNode = ( isLast || block.equals( lastNode ) ) ? null :
354
+ this._.nextNode = ( isLast || block.equals( lastNode ) || !lastNode ) ? null :
350
355
  getNextSourceNode( block, 1, lastNode );
351
356
  }
352
357
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
@@ -62,10 +62,12 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
62
62
  shy : '\u00AD', // IE
63
63
  gt : '\u003E', // IE | FF | -- | Opera
64
64
  lt : '\u003C', // IE | FF | Safari | Opera
65
- amp : '\u0026' // ALL
65
+ amp : '\u0026', // ALL
66
+ apos : '\u0027', // IE
67
+ quot : '\u0022' // IE
66
68
  };
67
69
 
68
- entities = entities.replace( /\b(nbsp|shy|gt|lt|amp)(?:,|$)/g, function( match, entity )
70
+ entities = entities.replace( /\b(nbsp|shy|gt|lt|amp|apos|quot)(?:,|$)/g, function( match, entity )
69
71
  {
70
72
  var org = reverse ? '&' + entity + ';' : specialTable[ entity ],
71
73
  result = reverse ? specialTable[ entity ] : '&' + entity + ';';
@@ -114,25 +116,27 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
114
116
  if ( htmlFilter )
115
117
  {
116
118
  // Mandatory HTML base entities.
117
- var selectedEntities = '';
119
+ var selectedEntities = [];
118
120
 
119
121
  if ( config.basicEntities !== false )
120
- selectedEntities += htmlbase;
122
+ selectedEntities.push( htmlbase );
121
123
 
122
124
  if ( config.entities )
123
125
  {
124
- selectedEntities += ',' + entities;
126
+ if ( selectedEntities.length )
127
+ selectedEntities.push( entities );
128
+
125
129
  if ( config.entities_latin )
126
- selectedEntities += ',' + latin;
130
+ selectedEntities.push( latin );
127
131
 
128
132
  if ( config.entities_greek )
129
- selectedEntities += ',' + greek;
133
+ selectedEntities.push( greek );
130
134
 
131
135
  if ( config.entities_additional )
132
- selectedEntities += ',' + config.entities_additional;
136
+ selectedEntities.push( config.entities_additional );
133
137
  }
134
138
 
135
- var entitiesTable = buildTable( selectedEntities );
139
+ var entitiesTable = buildTable( selectedEntities.join( ',' ) );
136
140
 
137
141
  // Create the Regex used to find entities in the text, leave it matches nothing if entities are empty.
138
142
  var entitiesRegex = entitiesTable.regex ? '[' + entitiesTable.regex + ']' : 'a^';