tiny_mce 0.1.4 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (711) hide show
  1. data/CHANGELOG_PLUGIN.rdoc +48 -35
  2. data/CHANGELOG_TINYMCE +180 -7
  3. data/DEV_UPGRADE_NOTES.rdoc +1 -1
  4. data/README.rdoc +69 -4
  5. data/lib/tasks/tiny_mce.rake +9 -0
  6. data/lib/tiny_mce.rb +69 -0
  7. data/lib/tiny_mce/assets/tiny_mce/jquery.tinymce.js +1 -0
  8. data/lib/tiny_mce/assets/tiny_mce/langs/ca.js +1 -170
  9. data/lib/tiny_mce/assets/tiny_mce/langs/cs.js +1 -176
  10. data/lib/tiny_mce/assets/tiny_mce/langs/da.js +1 -0
  11. data/lib/tiny_mce/assets/tiny_mce/langs/en.js +1 -170
  12. data/lib/tiny_mce/assets/tiny_mce/langs/fi.js +1 -0
  13. data/lib/tiny_mce/assets/tiny_mce/langs/fr.js +1 -170
  14. data/lib/tiny_mce/assets/tiny_mce/langs/hu.js +1 -170
  15. data/lib/tiny_mce/assets/tiny_mce/langs/ja.js +1 -170
  16. data/lib/tiny_mce/assets/tiny_mce/langs/ka.js +1 -173
  17. data/lib/tiny_mce/assets/tiny_mce/langs/km.js +1 -0
  18. data/lib/tiny_mce/assets/tiny_mce/langs/nb.js +1 -0
  19. data/lib/tiny_mce/assets/tiny_mce/langs/no.js +1 -0
  20. data/lib/tiny_mce/assets/tiny_mce/langs/pl.js +1 -170
  21. data/lib/tiny_mce/assets/tiny_mce/langs/pt.js +1 -170
  22. data/lib/tiny_mce/assets/tiny_mce/langs/ru.js +1 -173
  23. data/lib/tiny_mce/assets/tiny_mce/langs/sk.js +1 -176
  24. data/lib/tiny_mce/assets/tiny_mce/langs/sl.js +1 -0
  25. data/lib/tiny_mce/assets/tiny_mce/langs/sv.js +1 -170
  26. data/lib/tiny_mce/assets/tiny_mce/langs/zh-cn.js +1 -0
  27. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ca_dlg.js +1 -5
  28. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/cs_dlg.js +1 -5
  29. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/da_dlg.js +1 -0
  30. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/en_dlg.js +1 -5
  31. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/fi_dlg.js +1 -0
  32. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/fr_dlg.js +1 -5
  33. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/hu_dlg.js +1 -5
  34. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ja_dlg.js +1 -5
  35. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ka_dlg.js +1 -5
  36. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/km_dlg.js +1 -0
  37. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/nb_dlg.js +1 -0
  38. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/no_dlg.js +1 -0
  39. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/pl_dlg.js +1 -5
  40. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/pt_dlg.js +1 -5
  41. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ru_dlg.js +1 -5
  42. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/sk_dlg.js +1 -5
  43. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/sl_dlg.js +1 -0
  44. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/sv_dlg.js +1 -5
  45. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/zh-cn_dlg.js +1 -0
  46. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/rule.htm +30 -29
  47. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/image.htm +34 -31
  48. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/js/image.js +3 -1
  49. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ca_dlg.js +1 -43
  50. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/cs_dlg.js +1 -43
  51. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/da_dlg.js +1 -0
  52. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/en_dlg.js +1 -43
  53. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/fi_dlg.js +1 -0
  54. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/fr_dlg.js +1 -43
  55. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/hu_dlg.js +1 -43
  56. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ja_dlg.js +1 -43
  57. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ka_dlg.js +1 -43
  58. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/km_dlg.js +1 -0
  59. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/nb_dlg.js +1 -0
  60. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/no_dlg.js +1 -0
  61. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/pl_dlg.js +1 -43
  62. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/pt_dlg.js +1 -43
  63. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ru_dlg.js +1 -43
  64. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/sk_dlg.js +1 -43
  65. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/sl_dlg.js +1 -0
  66. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/sv_dlg.js +1 -43
  67. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/zh-cn_dlg.js +1 -0
  68. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/js/advlink.js +2 -5
  69. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ca_dlg.js +1 -52
  70. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/cs_dlg.js +1 -52
  71. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/da_dlg.js +1 -0
  72. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/en_dlg.js +1 -52
  73. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/fi_dlg.js +1 -0
  74. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/fr_dlg.js +1 -52
  75. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/hu_dlg.js +1 -52
  76. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ja_dlg.js +1 -52
  77. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ka_dlg.js +1 -52
  78. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/km_dlg.js +1 -0
  79. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/nb_dlg.js +1 -0
  80. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/no_dlg.js +1 -0
  81. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/pl_dlg.js +1 -52
  82. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/pt_dlg.js +1 -52
  83. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ru_dlg.js +1 -52
  84. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/sk_dlg.js +1 -52
  85. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/sl_dlg.js +1 -0
  86. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/sv_dlg.js +1 -52
  87. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/zh-cn_dlg.js +1 -0
  88. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/link.htm +34 -29
  89. data/lib/tiny_mce/assets/tiny_mce/plugins/advlist/editor_plugin.js +1 -1
  90. data/lib/tiny_mce/assets/tiny_mce/plugins/advlist/editor_plugin_src.js +3 -3
  91. data/lib/tiny_mce/assets/tiny_mce/plugins/autosave/editor_plugin.js +1 -1
  92. data/lib/tiny_mce/assets/tiny_mce/plugins/autosave/editor_plugin_src.js +15 -6
  93. data/lib/tiny_mce/assets/tiny_mce/plugins/bbcode/editor_plugin.js +1 -1
  94. data/lib/tiny_mce/assets/tiny_mce/plugins/bbcode/editor_plugin_src.js +1 -1
  95. data/lib/tiny_mce/assets/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -1
  96. data/lib/tiny_mce/assets/tiny_mce/plugins/contextmenu/editor_plugin_src.js +19 -5
  97. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/emotions.htm +15 -14
  98. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ca_dlg.js +1 -20
  99. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/cs_dlg.js +1 -20
  100. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/da_dlg.js +1 -0
  101. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/en_dlg.js +1 -20
  102. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/fi_dlg.js +1 -0
  103. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/fr_dlg.js +1 -20
  104. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/hu_dlg.js +1 -20
  105. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ja_dlg.js +1 -20
  106. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ka_dlg.js +1 -20
  107. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/km_dlg.js +1 -0
  108. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/nb_dlg.js +1 -0
  109. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/no_dlg.js +1 -0
  110. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/pl_dlg.js +1 -20
  111. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/pt_dlg.js +1 -20
  112. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ru_dlg.js +1 -20
  113. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/sk_dlg.js +1 -20
  114. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/sl_dlg.js +1 -0
  115. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/sv_dlg.js +1 -20
  116. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/zh-cn_dlg.js +1 -0
  117. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/editor_plugin.js +1 -1
  118. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/editor_plugin_src.js +21 -4
  119. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/fullpage.htm +2 -2
  120. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/js/fullpage.js +38 -17
  121. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ca_dlg.js +1 -85
  122. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/cs_dlg.js +1 -85
  123. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/da_dlg.js +1 -0
  124. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/en_dlg.js +1 -85
  125. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/fi_dlg.js +1 -0
  126. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/fr_dlg.js +1 -85
  127. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/hu_dlg.js +1 -85
  128. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ja_dlg.js +1 -85
  129. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ka_dlg.js +1 -85
  130. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/km_dlg.js +1 -0
  131. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/nb_dlg.js +1 -0
  132. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/no_dlg.js +1 -0
  133. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/pl_dlg.js +1 -85
  134. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/pt_dlg.js +1 -85
  135. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ru_dlg.js +1 -85
  136. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/sk_dlg.js +1 -85
  137. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/sl_dlg.js +1 -0
  138. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/sv_dlg.js +1 -85
  139. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/zh-cn_dlg.js +1 -0
  140. data/lib/tiny_mce/assets/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -1
  141. data/lib/tiny_mce/assets/tiny_mce/plugins/fullscreen/editor_plugin_src.js +11 -3
  142. data/lib/tiny_mce/assets/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -1
  143. data/lib/tiny_mce/assets/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +76 -15
  144. data/lib/tiny_mce/assets/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +1 -1
  145. data/lib/tiny_mce/assets/tiny_mce/plugins/layer/editor_plugin.js +1 -1
  146. data/lib/tiny_mce/assets/tiny_mce/plugins/layer/editor_plugin_src.js +2 -0
  147. data/lib/tiny_mce/assets/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -1
  148. data/lib/tiny_mce/assets/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +29 -26
  149. data/lib/tiny_mce/assets/tiny_mce/plugins/media/css/media.css +5 -4
  150. data/lib/tiny_mce/assets/tiny_mce/plugins/media/editor_plugin.js +1 -1
  151. data/lib/tiny_mce/assets/tiny_mce/plugins/media/editor_plugin_src.js +652 -296
  152. data/lib/tiny_mce/assets/tiny_mce/plugins/media/js/media.js +308 -598
  153. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ca_dlg.js +1 -103
  154. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/cs_dlg.js +1 -103
  155. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/da_dlg.js +1 -0
  156. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/en_dlg.js +1 -103
  157. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/fi_dlg.js +1 -0
  158. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/fr_dlg.js +1 -103
  159. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/hu_dlg.js +1 -103
  160. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ja_dlg.js +1 -103
  161. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ka_dlg.js +1 -103
  162. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/km_dlg.js +1 -0
  163. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/nb_dlg.js +1 -0
  164. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/no_dlg.js +1 -0
  165. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/pl_dlg.js +1 -103
  166. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/pt_dlg.js +1 -103
  167. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ru_dlg.js +1 -103
  168. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/sk_dlg.js +1 -103
  169. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/sl_dlg.js +1 -0
  170. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/sv_dlg.js +1 -103
  171. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/zh-cn_dlg.js +1 -0
  172. data/lib/tiny_mce/assets/tiny_mce/plugins/media/media.htm +282 -287
  173. data/lib/tiny_mce/assets/tiny_mce/plugins/media/moxieplayer.swf +0 -0
  174. data/lib/tiny_mce/assets/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -1
  175. data/lib/tiny_mce/assets/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +1 -1
  176. data/lib/tiny_mce/assets/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -1
  177. data/lib/tiny_mce/assets/tiny_mce/plugins/pagebreak/editor_plugin_src.js +1 -4
  178. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/editor_plugin.js +1 -1
  179. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/editor_plugin_src.js +68 -109
  180. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ca_dlg.js +1 -5
  181. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/cs_dlg.js +1 -5
  182. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/da_dlg.js +1 -0
  183. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/en_dlg.js +1 -5
  184. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/fi_dlg.js +1 -0
  185. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/fr_dlg.js +1 -5
  186. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/hu_dlg.js +1 -5
  187. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ja_dlg.js +1 -5
  188. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ka_dlg.js +1 -5
  189. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/km_dlg.js +1 -0
  190. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/nb_dlg.js +1 -0
  191. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/no_dlg.js +1 -0
  192. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/pl_dlg.js +1 -5
  193. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/pt_dlg.js +1 -5
  194. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ru_dlg.js +1 -5
  195. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/sk_dlg.js +1 -5
  196. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/sl_dlg.js +1 -0
  197. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/sv_dlg.js +1 -5
  198. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/zh-cn_dlg.js +1 -0
  199. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -1
  200. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/editor_plugin_src.js +4 -0
  201. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/js/searchreplace.js +16 -6
  202. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ca_dlg.js +1 -16
  203. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/cs_dlg.js +1 -16
  204. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/da_dlg.js +1 -0
  205. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/en_dlg.js +1 -16
  206. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/fi_dlg.js +1 -0
  207. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/fr_dlg.js +1 -16
  208. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/hu_dlg.js +1 -16
  209. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ja_dlg.js +1 -16
  210. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ka_dlg.js +1 -16
  211. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/km_dlg.js +1 -0
  212. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/nb_dlg.js +1 -0
  213. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/no_dlg.js +1 -0
  214. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/pl_dlg.js +1 -16
  215. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/pt_dlg.js +1 -16
  216. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ru_dlg.js +1 -16
  217. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/sk_dlg.js +1 -16
  218. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/sl_dlg.js +1 -0
  219. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/sv_dlg.js +1 -16
  220. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/zh-cn_dlg.js +1 -0
  221. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/searchreplace.htm +17 -16
  222. data/lib/tiny_mce/assets/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -1
  223. data/lib/tiny_mce/assets/tiny_mce/plugins/spellchecker/editor_plugin_src.js +16 -16
  224. data/lib/tiny_mce/assets/tiny_mce/plugins/style/js/props.js +2 -8
  225. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ca_dlg.js +1 -63
  226. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/cs_dlg.js +1 -63
  227. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/da_dlg.js +1 -0
  228. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/en_dlg.js +1 -63
  229. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/fi_dlg.js +1 -0
  230. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/fr_dlg.js +1 -63
  231. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/hu_dlg.js +1 -63
  232. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ja_dlg.js +1 -63
  233. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ka_dlg.js +1 -63
  234. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/km_dlg.js +1 -0
  235. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/nb_dlg.js +1 -0
  236. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/no_dlg.js +1 -0
  237. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/pl_dlg.js +1 -63
  238. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/pt_dlg.js +1 -63
  239. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ru_dlg.js +1 -63
  240. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/sk_dlg.js +1 -63
  241. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/sl_dlg.js +1 -0
  242. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/sv_dlg.js +1 -63
  243. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/zh-cn_dlg.js +1 -0
  244. data/lib/tiny_mce/assets/tiny_mce/plugins/style/props.htm +513 -398
  245. data/lib/tiny_mce/assets/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -1
  246. data/lib/tiny_mce/assets/tiny_mce/plugins/tabfocus/editor_plugin_src.js +30 -28
  247. data/lib/tiny_mce/assets/tiny_mce/plugins/table/cell.htm +12 -12
  248. data/lib/tiny_mce/assets/tiny_mce/plugins/table/editor_plugin.js +1 -1
  249. data/lib/tiny_mce/assets/tiny_mce/plugins/table/editor_plugin_src.js +80 -22
  250. data/lib/tiny_mce/assets/tiny_mce/plugins/table/js/cell.js +9 -11
  251. data/lib/tiny_mce/assets/tiny_mce/plugins/table/js/row.js +13 -18
  252. data/lib/tiny_mce/assets/tiny_mce/plugins/table/js/table.js +17 -16
  253. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ca_dlg.js +1 -74
  254. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/cs_dlg.js +1 -74
  255. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/da_dlg.js +1 -0
  256. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/en_dlg.js +1 -74
  257. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/fi_dlg.js +1 -0
  258. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/fr_dlg.js +1 -74
  259. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/hu_dlg.js +1 -74
  260. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ja_dlg.js +1 -74
  261. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ka_dlg.js +1 -74
  262. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/km_dlg.js +1 -0
  263. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/nb_dlg.js +1 -0
  264. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/no_dlg.js +1 -0
  265. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/pl_dlg.js +1 -74
  266. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/pt_dlg.js +1 -74
  267. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ru_dlg.js +1 -74
  268. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/sk_dlg.js +1 -74
  269. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/sl_dlg.js +1 -0
  270. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/sv_dlg.js +1 -73
  271. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/zh-cn_dlg.js +1 -0
  272. data/lib/tiny_mce/assets/tiny_mce/plugins/table/merge_cells.htm +11 -11
  273. data/lib/tiny_mce/assets/tiny_mce/plugins/table/row.htm +10 -8
  274. data/lib/tiny_mce/assets/tiny_mce/plugins/table/table.htm +54 -53
  275. data/lib/tiny_mce/assets/tiny_mce/plugins/template/js/template.js +1 -1
  276. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ca_dlg.js +1 -15
  277. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/cs_dlg.js +1 -15
  278. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/da_dlg.js +1 -0
  279. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/en_dlg.js +1 -15
  280. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/fi_dlg.js +1 -0
  281. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/fr_dlg.js +1 -15
  282. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/hu_dlg.js +1 -15
  283. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ja_dlg.js +1 -15
  284. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ka_dlg.js +1 -15
  285. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/km_dlg.js +1 -0
  286. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/nb_dlg.js +1 -0
  287. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/no_dlg.js +1 -0
  288. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/pl_dlg.js +1 -15
  289. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/pt_dlg.js +1 -15
  290. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ru_dlg.js +1 -15
  291. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/sk_dlg.js +1 -15
  292. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/sl_dlg.js +1 -0
  293. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/sv_dlg.js +1 -15
  294. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/zh-cn_dlg.js +1 -0
  295. data/lib/tiny_mce/assets/tiny_mce/plugins/visualchars/editor_plugin.js +1 -1
  296. data/lib/tiny_mce/assets/tiny_mce/plugins/visualchars/editor_plugin_src.js +20 -13
  297. data/lib/tiny_mce/assets/tiny_mce/plugins/wordcount/editor_plugin.js +1 -1
  298. data/lib/tiny_mce/assets/tiny_mce/plugins/wordcount/editor_plugin_src.js +35 -19
  299. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/abbr.htm +6 -5
  300. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/acronym.htm +6 -5
  301. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/attributes.htm +6 -5
  302. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/cite.htm +5 -4
  303. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/del.htm +9 -8
  304. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -1
  305. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +0 -12
  306. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/ins.htm +11 -10
  307. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/js/attributes.js +0 -1
  308. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/js/del.js +2 -12
  309. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/js/element_common.js +3 -5
  310. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/js/ins.js +4 -13
  311. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ca_dlg.js +1 -32
  312. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/cs_dlg.js +1 -32
  313. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/da_dlg.js +1 -0
  314. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +1 -32
  315. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/fi_dlg.js +1 -0
  316. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/fr_dlg.js +1 -32
  317. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js +1 -32
  318. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js +1 -32
  319. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ka_dlg.js +1 -32
  320. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/km_dlg.js +1 -0
  321. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/nb_dlg.js +1 -0
  322. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/no_dlg.js +1 -0
  323. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/pl_dlg.js +1 -32
  324. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/pt_dlg.js +1 -32
  325. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ru_dlg.js +1 -32
  326. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/sk_dlg.js +1 -32
  327. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/sl_dlg.js +1 -0
  328. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/sv_dlg.js +1 -32
  329. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/zh-cn_dlg.js +1 -0
  330. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/about.htm +3 -5
  331. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/anchor.htm +5 -5
  332. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/charmap.htm +39 -40
  333. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/color_picker.htm +10 -9
  334. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/editor_template.js +1 -1
  335. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/editor_template_src.js +204 -52
  336. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/image.htm +51 -51
  337. data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/flash.gif +0 -0
  338. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/img/iframe.gif +0 -0
  339. data/lib/tiny_mce/assets/tiny_mce/{plugins/pagebreak → themes/advanced}/img/pagebreak.gif +0 -0
  340. data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/quicktime.gif +0 -0
  341. data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/realmedia.gif +0 -0
  342. data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/shockwave.gif +0 -0
  343. data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/trans.gif +0 -0
  344. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/img/video.gif +0 -0
  345. data/lib/tiny_mce/assets/tiny_mce/{plugins/media → themes/advanced}/img/windowsmedia.gif +0 -0
  346. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/about.js +1 -0
  347. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/anchor.js +5 -0
  348. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/charmap.js +23 -4
  349. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/color_picker.js +108 -32
  350. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/image.js +3 -1
  351. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/link.js +4 -7
  352. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/js/source_editor.js +6 -12
  353. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ca.js +1 -62
  354. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ca_dlg.js +1 -51
  355. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/cs.js +1 -62
  356. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/cs_dlg.js +1 -51
  357. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/da.js +1 -0
  358. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/da_dlg.js +1 -0
  359. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/en.js +1 -62
  360. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/en_dlg.js +1 -51
  361. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/fi.js +1 -0
  362. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/fi_dlg.js +1 -0
  363. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/fr.js +1 -62
  364. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/fr_dlg.js +1 -51
  365. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hu.js +1 -62
  366. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hu_dlg.js +1 -51
  367. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ja.js +1 -62
  368. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ja_dlg.js +1 -51
  369. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ka.js +1 -62
  370. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ka_dlg.js +1 -51
  371. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/km.js +1 -0
  372. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/km_dlg.js +1 -0
  373. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/nb.js +1 -0
  374. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/nb_dlg.js +1 -0
  375. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/no.js +1 -0
  376. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/no_dlg.js +1 -0
  377. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/pl.js +1 -62
  378. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/pl_dlg.js +1 -51
  379. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/pt.js +1 -62
  380. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/pt_dlg.js +1 -51
  381. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ru.js +1 -62
  382. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ru_dlg.js +1 -51
  383. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sk.js +1 -62
  384. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sk_dlg.js +1 -51
  385. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sl.js +1 -0
  386. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sl_dlg.js +1 -0
  387. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sv.js +1 -60
  388. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/sv_dlg.js +1 -51
  389. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/zh-cn.js +1 -0
  390. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/zh-cn_dlg.js +1 -0
  391. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/link.htm +27 -28
  392. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/shortcuts.htm +47 -0
  393. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/default/content.css +12 -0
  394. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/default/ui.css +3 -3
  395. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/highcontrast/content.css +23 -0
  396. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +105 -0
  397. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/highcontrast/ui.css +101 -0
  398. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/o2k7/content.css +11 -0
  399. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/skins/o2k7/ui.css +1 -1
  400. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/source_editor.htm +3 -3
  401. data/lib/tiny_mce/assets/tiny_mce/themes/simple/editor_template.js +1 -1
  402. data/lib/tiny_mce/assets/tiny_mce/themes/simple/editor_template_src.js +1 -2
  403. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ca.js +1 -11
  404. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/cs.js +1 -11
  405. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/da.js +1 -0
  406. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/en.js +1 -11
  407. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/fi.js +1 -0
  408. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/fr.js +1 -11
  409. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/hu.js +1 -11
  410. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ja.js +1 -11
  411. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ka.js +1 -11
  412. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/km.js +1 -0
  413. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/nb.js +1 -0
  414. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/no.js +1 -0
  415. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/pl.js +1 -11
  416. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/pt.js +1 -11
  417. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ru.js +1 -11
  418. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/sk.js +1 -11
  419. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/sl.js +1 -0
  420. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/sv.js +1 -11
  421. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/zh-cn.js +1 -0
  422. data/lib/tiny_mce/assets/tiny_mce/tiny_mce.js +1 -1
  423. data/lib/tiny_mce/assets/tiny_mce/tiny_mce_popup.js +1 -1
  424. data/lib/tiny_mce/assets/tiny_mce/tiny_mce_src.js +6062 -5297
  425. data/lib/tiny_mce/assets/tiny_mce/utils/form_utils.js +10 -3
  426. data/lib/tiny_mce/assets/tiny_mce/utils/mctabs.js +95 -10
  427. data/lib/tiny_mce/assets/tiny_mce/utils/validate.js +34 -2
  428. data/lib/tiny_mce/base.rb +9 -1
  429. data/lib/tiny_mce/configuration.rb +11 -1
  430. data/lib/tiny_mce/helpers.rb +38 -6
  431. data/lib/tiny_mce/valid_tinymce_langs.yml +9 -19
  432. data/lib/tiny_mce/valid_tinymce_options.yml +1 -0
  433. data/test/test_helper.rb +1 -1
  434. data/tiny_mce.gemspec +4 -3
  435. metadata +148 -288
  436. data/lib/tiny_mce/assets/tiny_mce/langs/ar.js +0 -170
  437. data/lib/tiny_mce/assets/tiny_mce/langs/ch.js +0 -178
  438. data/lib/tiny_mce/assets/tiny_mce/langs/cy.js +0 -170
  439. data/lib/tiny_mce/assets/tiny_mce/langs/de.js +0 -171
  440. data/lib/tiny_mce/assets/tiny_mce/langs/es.js +0 -172
  441. data/lib/tiny_mce/assets/tiny_mce/langs/he.js +0 -170
  442. data/lib/tiny_mce/assets/tiny_mce/langs/hi.js +0 -170
  443. data/lib/tiny_mce/assets/tiny_mce/langs/hr.js +0 -171
  444. data/lib/tiny_mce/assets/tiny_mce/langs/it.js +0 -206
  445. data/lib/tiny_mce/assets/tiny_mce/langs/kl.js +0 -170
  446. data/lib/tiny_mce/assets/tiny_mce/langs/ko.js +0 -170
  447. data/lib/tiny_mce/assets/tiny_mce/langs/lb.js +0 -171
  448. data/lib/tiny_mce/assets/tiny_mce/langs/nl.js +0 -170
  449. data/lib/tiny_mce/assets/tiny_mce/langs/ta.js +0 -170
  450. data/lib/tiny_mce/assets/tiny_mce/langs/uk.js +0 -173
  451. data/lib/tiny_mce/assets/tiny_mce/langs/vi.js +0 -170
  452. data/lib/tiny_mce/assets/tiny_mce/langs/zh.js +0 -178
  453. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ar_dlg.js +0 -5
  454. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ch_dlg.js +0 -5
  455. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/cy_dlg.js +0 -5
  456. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/de_dlg.js +0 -5
  457. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/es_dlg.js +0 -5
  458. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/he_dlg.js +0 -5
  459. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/hi_dlg.js +0 -5
  460. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/hr_dlg.js +0 -5
  461. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/it_dlg.js +0 -5
  462. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/kl_dlg.js +0 -5
  463. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ko_dlg.js +0 -5
  464. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/lb_dlg.js +0 -5
  465. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/nl_dlg.js +0 -5
  466. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/ta_dlg.js +0 -5
  467. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/uk_dlg.js +0 -5
  468. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/vi_dlg.js +0 -5
  469. data/lib/tiny_mce/assets/tiny_mce/plugins/advhr/langs/zh_dlg.js +0 -5
  470. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ar_dlg.js +0 -43
  471. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ch_dlg.js +0 -43
  472. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/cy_dlg.js +0 -43
  473. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/de_dlg.js +0 -43
  474. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/es_dlg.js +0 -43
  475. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/he_dlg.js +0 -43
  476. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/hi_dlg.js +0 -43
  477. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/hr_dlg.js +0 -43
  478. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/it_dlg.js +0 -43
  479. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/kl_dlg.js +0 -43
  480. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ko_dlg.js +0 -43
  481. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/lb_dlg.js +0 -43
  482. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/nl_dlg.js +0 -43
  483. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/ta_dlg.js +0 -43
  484. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/uk_dlg.js +0 -43
  485. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/vi_dlg.js +0 -43
  486. data/lib/tiny_mce/assets/tiny_mce/plugins/advimage/langs/zh_dlg.js +0 -43
  487. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ar_dlg.js +0 -52
  488. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ch_dlg.js +0 -52
  489. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/cy_dlg.js +0 -52
  490. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/de_dlg.js +0 -52
  491. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/es_dlg.js +0 -52
  492. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/he_dlg.js +0 -52
  493. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/hi_dlg.js +0 -52
  494. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/hr_dlg.js +0 -52
  495. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/it_dlg.js +0 -52
  496. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/kl_dlg.js +0 -52
  497. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ko_dlg.js +0 -52
  498. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/lb_dlg.js +0 -52
  499. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/nl_dlg.js +0 -52
  500. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/ta_dlg.js +0 -52
  501. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/uk_dlg.js +0 -52
  502. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/vi_dlg.js +0 -52
  503. data/lib/tiny_mce/assets/tiny_mce/plugins/advlink/langs/zh_dlg.js +0 -52
  504. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ar_dlg.js +0 -20
  505. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ch_dlg.js +0 -20
  506. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/cy_dlg.js +0 -20
  507. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/de_dlg.js +0 -20
  508. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/es_dlg.js +0 -20
  509. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/he_dlg.js +0 -20
  510. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/hi_dlg.js +0 -20
  511. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/hr_dlg.js +0 -20
  512. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/it_dlg.js +0 -20
  513. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/kl_dlg.js +0 -20
  514. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ko_dlg.js +0 -20
  515. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/lb_dlg.js +0 -20
  516. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/nl_dlg.js +0 -20
  517. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/ta_dlg.js +0 -20
  518. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/uk_dlg.js +0 -20
  519. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/vi_dlg.js +0 -20
  520. data/lib/tiny_mce/assets/tiny_mce/plugins/emotions/langs/zh_dlg.js +0 -20
  521. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ar_dlg.js +0 -85
  522. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ch_dlg.js +0 -85
  523. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/cy_dlg.js +0 -85
  524. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/de_dlg.js +0 -85
  525. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/es_dlg.js +0 -85
  526. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/he_dlg.js +0 -85
  527. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/hi_dlg.js +0 -85
  528. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/hr_dlg.js +0 -85
  529. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/it_dlg.js +0 -85
  530. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/kl_dlg.js +0 -85
  531. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ko_dlg.js +0 -85
  532. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/lb_dlg.js +0 -85
  533. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/nl_dlg.js +0 -85
  534. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/ta_dlg.js +0 -85
  535. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/uk_dlg.js +0 -85
  536. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/vi_dlg.js +0 -85
  537. data/lib/tiny_mce/assets/tiny_mce/plugins/fullpage/langs/zh_dlg.js +0 -85
  538. data/lib/tiny_mce/assets/tiny_mce/plugins/media/css/content.css +0 -6
  539. data/lib/tiny_mce/assets/tiny_mce/plugins/media/img/flv_player.swf +0 -0
  540. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ar_dlg.js +0 -103
  541. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ch_dlg.js +0 -103
  542. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/cy_dlg.js +0 -103
  543. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/de_dlg.js +0 -103
  544. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/es_dlg.js +0 -103
  545. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/he_dlg.js +0 -103
  546. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/hi_dlg.js +0 -103
  547. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/hr_dlg.js +0 -103
  548. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/it_dlg.js +0 -103
  549. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/kl_dlg.js +0 -103
  550. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ko_dlg.js +0 -103
  551. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/lb_dlg.js +0 -103
  552. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/nl_dlg.js +0 -103
  553. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/ta_dlg.js +0 -103
  554. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/uk_dlg.js +0 -103
  555. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/vi_dlg.js +0 -103
  556. data/lib/tiny_mce/assets/tiny_mce/plugins/media/langs/zh_dlg.js +0 -103
  557. data/lib/tiny_mce/assets/tiny_mce/plugins/pagebreak/css/content.css +0 -1
  558. data/lib/tiny_mce/assets/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
  559. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ar_dlg.js +0 -5
  560. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ch_dlg.js +0 -5
  561. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/cy_dlg.js +0 -5
  562. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/de_dlg.js +0 -5
  563. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/es_dlg.js +0 -5
  564. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/he_dlg.js +0 -5
  565. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/hi_dlg.js +0 -5
  566. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/hr_dlg.js +0 -5
  567. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/it_dlg.js +0 -5
  568. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/kl_dlg.js +0 -5
  569. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ko_dlg.js +0 -5
  570. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/lb_dlg.js +0 -5
  571. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/nl_dlg.js +0 -5
  572. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/ta_dlg.js +0 -5
  573. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/uk_dlg.js +0 -5
  574. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/vi_dlg.js +0 -5
  575. data/lib/tiny_mce/assets/tiny_mce/plugins/paste/langs/zh_dlg.js +0 -5
  576. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ar_dlg.js +0 -16
  577. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ch_dlg.js +0 -16
  578. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/cy_dlg.js +0 -16
  579. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/de_dlg.js +0 -16
  580. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/es_dlg.js +0 -16
  581. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/he_dlg.js +0 -16
  582. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/hi_dlg.js +0 -16
  583. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/hr_dlg.js +0 -16
  584. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/it_dlg.js +0 -16
  585. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/kl_dlg.js +0 -16
  586. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ko_dlg.js +0 -16
  587. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/lb_dlg.js +0 -16
  588. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/nl_dlg.js +0 -16
  589. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/ta_dlg.js +0 -16
  590. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/uk_dlg.js +0 -16
  591. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/vi_dlg.js +0 -16
  592. data/lib/tiny_mce/assets/tiny_mce/plugins/searchreplace/langs/zh_dlg.js +0 -16
  593. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ar_dlg.js +0 -63
  594. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ch_dlg.js +0 -63
  595. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/cy_dlg.js +0 -63
  596. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/de_dlg.js +0 -63
  597. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/es_dlg.js +0 -63
  598. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/he_dlg.js +0 -63
  599. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/hi_dlg.js +0 -63
  600. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/hr_dlg.js +0 -63
  601. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/it_dlg.js +0 -63
  602. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/kl_dlg.js +0 -63
  603. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ko_dlg.js +0 -63
  604. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/lb_dlg.js +0 -63
  605. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/nl_dlg.js +0 -63
  606. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/ta_dlg.js +0 -63
  607. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/uk_dlg.js +0 -63
  608. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/vi_dlg.js +0 -63
  609. data/lib/tiny_mce/assets/tiny_mce/plugins/style/langs/zh_dlg.js +0 -63
  610. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ar_dlg.js +0 -74
  611. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ch_dlg.js +0 -74
  612. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/cy_dlg.js +0 -74
  613. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/de_dlg.js +0 -74
  614. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/es_dlg.js +0 -74
  615. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/he_dlg.js +0 -74
  616. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/hi_dlg.js +0 -74
  617. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/hr_dlg.js +0 -74
  618. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/it_dlg.js +0 -74
  619. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/kl_dlg.js +0 -74
  620. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ko_dlg.js +0 -74
  621. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/lb_dlg.js +0 -74
  622. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/nl_dlg.js +0 -74
  623. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/ta_dlg.js +0 -74
  624. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/uk_dlg.js +0 -74
  625. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/vi_dlg.js +0 -74
  626. data/lib/tiny_mce/assets/tiny_mce/plugins/table/langs/zh_dlg.js +0 -74
  627. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ar_dlg.js +0 -15
  628. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ch_dlg.js +0 -15
  629. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/cy_dlg.js +0 -15
  630. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/de_dlg.js +0 -15
  631. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/es_dlg.js +0 -15
  632. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/he_dlg.js +0 -15
  633. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/hi_dlg.js +0 -15
  634. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/hr_dlg.js +0 -15
  635. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/it_dlg.js +0 -15
  636. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/kl_dlg.js +0 -15
  637. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ko_dlg.js +0 -15
  638. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/lb_dlg.js +0 -15
  639. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/nl_dlg.js +0 -15
  640. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/ta_dlg.js +0 -15
  641. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/uk_dlg.js +0 -15
  642. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/vi_dlg.js +0 -15
  643. data/lib/tiny_mce/assets/tiny_mce/plugins/template/langs/zh_dlg.js +0 -15
  644. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ar_dlg.js +0 -32
  645. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ch_dlg.js +0 -32
  646. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/cy_dlg.js +0 -32
  647. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +0 -32
  648. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/es_dlg.js +0 -32
  649. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/he_dlg.js +0 -32
  650. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/hi_dlg.js +0 -32
  651. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/hr_dlg.js +0 -32
  652. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/it_dlg.js +0 -32
  653. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/kl_dlg.js +0 -32
  654. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ko_dlg.js +0 -32
  655. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/lb_dlg.js +0 -32
  656. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/nl_dlg.js +0 -32
  657. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/ta_dlg.js +0 -32
  658. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/uk_dlg.js +0 -32
  659. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/vi_dlg.js +0 -32
  660. data/lib/tiny_mce/assets/tiny_mce/plugins/xhtmlxtras/langs/zh_dlg.js +0 -32
  661. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ar.js +0 -62
  662. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ar_dlg.js +0 -51
  663. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ch.js +0 -64
  664. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ch_dlg.js +0 -51
  665. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/cy.js +0 -62
  666. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/cy_dlg.js +0 -51
  667. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/de.js +0 -63
  668. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/de_dlg.js +0 -51
  669. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/es.js +0 -62
  670. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/es_dlg.js +0 -51
  671. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/he.js +0 -62
  672. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/he_dlg.js +0 -51
  673. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hi.js +0 -62
  674. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hi_dlg.js +0 -51
  675. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hr.js +0 -62
  676. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/hr_dlg.js +0 -51
  677. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/it.js +0 -72
  678. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/it_dlg.js +0 -51
  679. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/kl.js +0 -62
  680. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/kl_dlg.js +0 -51
  681. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ko.js +0 -62
  682. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ko_dlg.js +0 -51
  683. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/lb.js +0 -63
  684. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/lb_dlg.js +0 -51
  685. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/nl.js +0 -62
  686. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/nl_dlg.js +0 -51
  687. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ta.js +0 -62
  688. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/ta_dlg.js +0 -51
  689. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/uk.js +0 -62
  690. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/uk_dlg.js +0 -51
  691. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/vi.js +0 -62
  692. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/vi_dlg.js +0 -51
  693. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/zh.js +0 -64
  694. data/lib/tiny_mce/assets/tiny_mce/themes/advanced/langs/zh_dlg.js +0 -51
  695. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ar.js +0 -11
  696. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ch.js +0 -11
  697. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/cy.js +0 -11
  698. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/de.js +0 -11
  699. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/es.js +0 -11
  700. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/he.js +0 -11
  701. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/hi.js +0 -11
  702. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/hr.js +0 -11
  703. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/it.js +0 -11
  704. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/kl.js +0 -11
  705. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ko.js +0 -11
  706. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/lb.js +0 -11
  707. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/nl.js +0 -11
  708. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/ta.js +0 -11
  709. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/uk.js +0 -11
  710. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/vi.js +0 -11
  711. data/lib/tiny_mce/assets/tiny_mce/themes/simple/langs/zh.js +0 -11
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('km.xhtmlxtras_dlg',{attribs_title:"\u1794\u1789\u17d2\u1785\u17bc\u179b/\u1780\u17c2\u179f\u1798\u17d2\u179a\u17bd\u179b\u1782\u17bb\u178e\u179b\u1780\u17d2\u1781\u178e\u17c8",option_rtl:"\u1796\u17b8\u179f\u17d2\u178f\u17b6\u17c6\u1791\u17c5\u1786\u17d2\u179c\u17c1\u1784",option_ltr:"\u1796\u17b8\u1786\u17d2\u179c\u17c1\u1784\u1791\u17c5\u179f\u17d2\u178f\u17b6\u17c6",insert_date:"\u1794\u1789\u17d2\u1785\u17bc\u179b\u1780\u17b6\u179b\u1794\u179a\u17b7\u1785\u17d2\u1786\u17c1\u1791/\u1798\u17c9\u17c4\u1784",remove:"\u1799\u1780\u1785\u17c1\u1789",title_cite_element:"\u1792\u17b6\u178f\u17bb\u179f\u17c1\u1785\u1780\u17d2\u178f\u17b8\u178a\u1780\u179f\u17d2\u179a\u1784\u17cb",title_abbr_element:"\u1792\u17b6\u178f\u17bb\u17a2\u1780\u17d2\u179f\u179a\u179f\u1784\u17d2\u1781\u17c1\u1794",title_acronym_element:"\u1792\u17b6\u178f\u17bb\u1796\u17b6\u1780\u17d2\u1799\u1780\u17b6\u178f\u17cb\u1799\u1780\u17a2\u1780\u17d2\u179f\u179a\u178a\u17be\u1798",title_del_element:"\u1792\u17b6\u178f\u17bb\u179b\u17bb\u1794",title_ins_element:"\u1792\u17b6\u178f\u17bb\u1794\u1789\u17d2\u1785\u17bc\u179b",fieldset_events_tab:"\u1792\u17b6\u178f\u17bb\u1796\u17d2\u179a\u17b9\u178f\u17d2\u178f\u17b7\u1780\u17b6\u179a\u178e\u17cd",fieldset_attrib_tab:"\u1792\u17b6\u178f\u17bb\u1782\u17bb\u178e\u179b\u1780\u17d2\u1781\u178e\u17c8",fieldset_general_tab:"\u1780\u17b6\u179a\u1780\u17c6\u178e\u178f\u17cb\u1791\u17bc\u1791\u17c5",events_tab:"\u1796\u17d2\u179a\u17b9\u178f\u17d2\u178f\u17b7\u1780\u17b6\u179a\u178e\u17cd",attrib_tab:"\u1782\u17bb\u178e\u179b\u1780\u17d2\u1781\u178e\u17c8",general_tab:"\u1791\u17bc\u1791\u17c5",attribute_attrib_tab:"\u1782\u17bb\u178e\u179b\u1780\u17d2\u1781\u178e\u17c8",attribute_events_tab:"\u1796\u17d2\u179a\u17b9\u178f\u17d2\u178f\u17b7\u1780\u17b6\u179a\u178e\u17cd",attribute_label_accesskey:"\u1782\u17d2\u179a\u17b6\u1794\u17cb\u1785\u17bb\u1785\u1795\u17d2\u179b\u17bc\u179c\u1780\u17b6\u178f\u17cb",attribute_label_tabindex:"\u1795\u17d2\u1791\u17b6\u17c6\u1784\u179b\u17b7\u1794\u17b7\u1780\u17d2\u179a\u1798",attribute_label_langcode:"\u1797\u17b6\u179f\u17b6",attribute_option_rtl:"\u1796\u17b8\u179f\u17d2\u178f\u17b6\u17c6\u1791\u17c5\u1786\u17d2\u179c\u17c1\u1784",attribute_option_ltr:"\u1796\u17b8\u1786\u17d2\u179c\u17c1\u1784\u1791\u17c5\u179f\u17d2\u178f\u17b6\u17c6",attribute_label_langdir:"\u1791\u17b7\u179f\u178a\u17c5\u17a2\u178f\u17d2\u1790\u1794\u1791",attribute_label_datetime:"\u1780\u17b6\u179b\u1794\u179a\u17b7\u1785\u17d2\u1786\u17c1\u1791/\u1798\u17c9\u17c4\u1784",attribute_label_cite:"\u178a\u1780\u179f\u17d2\u179a\u1784\u17cb",attribute_label_style:"\u179a\u1785\u1793\u17b6\u1794\u17d0\u1791\u17d2\u1798",attribute_label_class:"\u1790\u17d2\u1793\u17b6\u1780\u17cb",attribute_label_id:"\u179b.\u179f.",attribute_label_title:"\u1785\u17c6\u178e\u1784\u1787\u17be\u1784"});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('nb.xhtmlxtras_dlg',{"attribs_title":"Sett inn / endre attributter","option_rtl":"H\u00f8yre mot venstre","option_ltr":"Venstre mot h\u00f8yre","insert_date":"Sett inn dato/tid",remove:"Fjern","title_cite_element":"Sitatelement","title_abbr_element":"Forkortelseselement","title_acronym_element":"Akronymelement","title_del_element":"Sletteelement","title_ins_element":"Innsettingselement","fieldset_events_tab":"Elementhendelser","fieldset_attrib_tab":"Elementattributter","fieldset_general_tab":"Generelle innstillinger","events_tab":"Hendelser","attrib_tab":"Attributter","general_tab":"Generelt","attribute_attrib_tab":"Attributter","attribute_events_tab":"Hendelser","attribute_label_accesskey":"Tilgangsn\u00f8kkel","attribute_label_tabindex":"Tabuleringsindeks","attribute_label_langcode":"Spr\u00e5k","attribute_option_rtl":"H\u00f8yre til venstre","attribute_option_ltr":"Venstre til h\u00f8yre","attribute_label_langdir":"Tekstretning","attribute_label_datetime":"Dato/tid","attribute_label_cite":"Sted","attribute_label_style":"Stil","attribute_label_class":"Klasse","attribute_label_id":"ID","attribute_label_title":"Tittel"});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('no.xhtmlxtras_dlg',{"attribs_title":"Sett inn/editer attributt","option_rtl":"H\u00f8yre mot venstre","option_ltr":"Venstre mot h\u00f8yre","insert_date":"Sett inn dato/tid",remove:"Fjerne","title_cite_element":"Sitat element","title_abbr_element":"Forkorting element","title_acronym_element":"Akronym element","title_del_element":"Slette element","title_ins_element":"Innsetting element","fieldset_events_tab":"Element hendelser","fieldset_attrib_tab":"Element attributter","fieldset_general_tab":"Generelle innstillinger","events_tab":"Hendelser","attrib_tab":"Attributter","general_tab":"Generelt","attribute_attrib_tab":"Attributter","attribute_events_tab":"Hendelser","attribute_label_accesskey":"Tilgangsn\u00f8kkel","attribute_label_tabindex":"Tab indeks","attribute_label_langcode":"Spr\u00e5k","attribute_option_rtl":"H\u00f8yre mot venstre","attribute_option_ltr":"Venstre mot h\u00f8yre","attribute_label_langdir":"Tekstretning","attribute_label_datetime":"Dato/tid","attribute_label_cite":"Sted","attribute_label_style":"Stil","attribute_label_class":"Klasse","attribute_label_id":"ID","attribute_label_title":"Tittel"});
@@ -1,32 +1 @@
1
- tinyMCE.addI18n('pl.xhtmlxtras_dlg',{
2
- attribute_label_title:"Tytu\u0142",
3
- attribute_label_id:"ID",
4
- attribute_label_class:"Klasa",
5
- attribute_label_style:"Styl",
6
- attribute_label_cite:"Cytat",
7
- attribute_label_datetime:"Data/Czas",
8
- attribute_label_langdir:"Kierunek czytania tekstu",
9
- attribute_option_ltr:"Kierunek z lewej do prawej",
10
- attribute_option_rtl:"Kierunek z prawej do lewej",
11
- attribute_label_langcode:"J\u0119zyk",
12
- attribute_label_tabindex:"TabIndex",
13
- attribute_label_accesskey:"AccessKey",
14
- attribute_events_tab:"Wydarzenia",
15
- attribute_attrib_tab:"Atrybuty",
16
- general_tab:"G\u0142wny",
17
- attrib_tab:"Atrybuty",
18
- events_tab:"Wydarzenia",
19
- fieldset_general_tab:"G\u0142\u00F3wne ustawienia",
20
- fieldset_attrib_tab:"Atrybuty",
21
- fieldset_events_tab:"Zdarzenia",
22
- title_ins_element:"Insertion Element",
23
- title_del_element:"Deletion Element",
24
- title_acronym_element:"Akronim Element",
25
- title_abbr_element:"Abbreviation Element",
26
- title_cite_element:"Cytat",
27
- remove:"Usu\u0144",
28
- insert_date:"Wklej aktualn\u0105 dat\u0119/czas",
29
- option_ltr:"Kierunek z lewej do prawej",
30
- option_rtl:"Kierunek z prawej do lewej",
31
- attribs_title:"Wklej/edytuj atrybuty"
32
- });
1
+ tinyMCE.addI18n('pl.xhtmlxtras_dlg',{attribs_title:"Wklej/edytuj atrybuty",option_rtl:"Kierunek z prawej do lewej",option_ltr:"Kierunek z lewej do prawej",insert_date:"Wklej aktualn\u0105 dat\u0119/czas",remove:"Usu\u0144",title_cite_element:"Cytat",title_abbr_element:"Abbreviation Element",title_acronym_element:"Akronim Element",title_del_element:"Deletion Element",title_ins_element:"Insertion Element",fieldset_events_tab:"Zdarzenia",fieldset_attrib_tab:"Atrybuty",fieldset_general_tab:"G\u0142\u00f3wne ustawienia",events_tab:"Wydarzenia",attrib_tab:"Atrybuty",general_tab:"G\u0142wny",attribute_attrib_tab:"Atrybuty",attribute_events_tab:"Wydarzenia",attribute_label_accesskey:"AccessKey",attribute_label_tabindex:"TabIndex",attribute_label_langcode:"J\u0119zyk",attribute_option_rtl:"Kierunek z prawej do lewej",attribute_option_ltr:"Kierunek z lewej do prawej",attribute_label_langdir:"Kierunek czytania tekstu",attribute_label_datetime:"Data/Czas",attribute_label_cite:"Cytat",attribute_label_style:"Styl",attribute_label_class:"Klasa",attribute_label_id:"ID",attribute_label_title:"Tytu\u0142"});
@@ -1,32 +1 @@
1
- tinyMCE.addI18n('pt.xhtmlxtras_dlg',{
2
- attribute_label_title:"T\u00EDtulo",
3
- attribute_label_id:"ID",
4
- attribute_label_class:"Classe",
5
- attribute_label_style:"Estilo",
6
- attribute_label_cite:"Citar",
7
- attribute_label_datetime:"Data/Hora",
8
- attribute_label_langdir:"Dire\u00E7\u00E3o do texto",
9
- attribute_option_ltr:"Da esquerda para a direita",
10
- attribute_option_rtl:"Da direita para a esquerda",
11
- attribute_label_langcode:"Idioma",
12
- attribute_label_tabindex:"TabIndex",
13
- attribute_label_accesskey:"Tecla de Atalho",
14
- attribute_events_tab:"Eventos",
15
- attribute_attrib_tab:"Atributos",
16
- general_tab:"Geral",
17
- attrib_tab:"Atributos",
18
- events_tab:"Eventos",
19
- fieldset_general_tab:"Configura\u00E7\u00F5es gerais",
20
- fieldset_attrib_tab:"Atributos",
21
- fieldset_events_tab:"Eventos",
22
- title_ins_element:"Inserir",
23
- title_del_element:"Apagar",
24
- title_acronym_element:"Acr\u00F4nimo",
25
- title_abbr_element:"Abrevia\u00E7\u00E3o",
26
- title_cite_element:"Cita\u00E7\u00E3o",
27
- remove:"Remover",
28
- insert_date:"Inserir data/hora",
29
- option_ltr:"Da esquerda para a direita",
30
- option_rtl:"Da direita para a esquerda",
31
- attribs_title:"Inserir/editar atributos"
32
- });
1
+ tinyMCE.addI18n('pt.xhtmlxtras_dlg',{attribs_title:"Inserir/editar atributos",option_rtl:"Da direita para a esquerda",option_ltr:"Da esquerda para a direita",insert_date:"Inserir data/hora",remove:"Remover",title_cite_element:"Cita\u00e7\u00e3o",title_abbr_element:"Abrevia\u00e7\u00e3o",title_acronym_element:"Acr\u00f4nimo",title_del_element:"Apagar",title_ins_element:"Inserir",fieldset_events_tab:"Eventos",fieldset_attrib_tab:"Atributos",fieldset_general_tab:"Configura\u00e7\u00f5es gerais",events_tab:"Eventos",attrib_tab:"Atributos",general_tab:"Geral",attribute_attrib_tab:"Atributos",attribute_events_tab:"Eventos",attribute_label_accesskey:"Tecla de Atalho",attribute_label_tabindex:"TabIndex",attribute_label_langcode:"Idioma",attribute_option_rtl:"Da direita para a esquerda",attribute_option_ltr:"Da esquerda para a direita",attribute_label_langdir:"Dire\u00e7\u00e3o do texto",attribute_label_datetime:"Data/Hora",attribute_label_cite:"Citar",attribute_label_style:"Estilo",attribute_label_class:"Classe",attribute_label_id:"ID",attribute_label_title:"T\u00edtulo"});
@@ -1,32 +1 @@
1
- tinyMCE.addI18n('ru.xhtmlxtras_dlg',{
2
- attribute_label_title:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A",
3
- attribute_label_id:"\u0418\u043C\u044F",
4
- attribute_label_class:"\u041A\u043B\u0430\u0441\u0441",
5
- attribute_label_style:"\u0421\u0442\u0438\u043B\u044C",
6
- attribute_label_cite:"\u0426\u0438\u0442\u0430\u0442\u0430",
7
- attribute_label_datetime:"\u0414\u0430\u0442\u0430/\u0412\u0440\u0435\u043C\u044F",
8
- attribute_label_langdir:"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u0430",
9
- attribute_option_ltr:"\u0421\u043B\u0435\u0432\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043E",
10
- attribute_option_rtl:"\u0421\u043F\u0440\u0430\u0432\u0430 \u043D\u0430\u043B\u0435\u0432\u043E",
11
- attribute_label_langcode:"\u042F\u0437\u044B\u043A",
12
- attribute_label_tabindex:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A",
13
- attribute_label_accesskey:"\u041A\u043B\u044E\u0447 \u0434\u043E\u0441\u0442\u0443\u043F\u0430",
14
- attribute_events_tab:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F",
15
- attribute_attrib_tab:"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u044B",
16
- general_tab:"\u041E\u0431\u0449\u0435\u0435",
17
- attrib_tab:"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u044B",
18
- events_tab:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F",
19
- fieldset_general_tab:"\u041E\u0431\u0449\u0438\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B",
20
- fieldset_attrib_tab:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",
21
- fieldset_events_tab:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",
22
- title_ins_element:"\u0417\u0430\u043C\u0435\u043D\u0430",
23
- title_del_element:"\u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435",
24
- title_acronym_element:"\u0410\u0431\u0431\u0440\u0435\u0432\u0438\u0430\u0446\u0438\u044F",
25
- title_abbr_element:"\u0421\u043E\u043A\u0440\u0430\u0449\u0435\u043D\u0438\u0435",
26
- title_cite_element:"\u0426\u0438\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",
27
- remove:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
28
- insert_date:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u0434\u0430\u0442\u0443/\u0432\u0440\u0435\u043C\u044F",
29
- option_ltr:"\u0421\u043B\u0435\u0432\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043E",
30
- option_rtl:"\u0421\u043F\u0440\u0430\u0432\u0430 \u043D\u0430\u043B\u0435\u0432\u043E",
31
- attribs_title:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430"
32
- });
1
+ tinyMCE.addI18n('ru.xhtmlxtras_dlg',{"attribs_title":"\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430","option_rtl":"\u0421\u043f\u0440\u0430\u0432\u0430 \u043d\u0430\u043b\u0435\u0432\u043e","option_ltr":"\u0421\u043b\u0435\u0432\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u043e","insert_date":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0434\u0430\u0442\u0443/\u0432\u0440\u0435\u043c\u044f",remove:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","title_cite_element":"\u0426\u0438\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435","title_abbr_element":"\u0421\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0435","title_acronym_element":"\u0410\u0431\u0431\u0440\u0435\u0432\u0438\u0430\u0446\u0438\u044f","title_del_element":"\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435","title_ins_element":"\u0417\u0430\u043c\u0435\u043d\u0430","fieldset_events_tab":"\u0421\u043e\u0431\u044b\u0442\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430","fieldset_attrib_tab":"\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430","fieldset_general_tab":"\u041e\u0431\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b","events_tab":"\u0421\u043e\u0431\u044b\u0442\u0438\u044f","attrib_tab":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u044b","general_tab":"\u041e\u0431\u0449\u0435\u0435","attribute_attrib_tab":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u044b","attribute_events_tab":"\u0421\u043e\u0431\u044b\u0442\u0438\u044f","attribute_label_accesskey":"\u041a\u043b\u044e\u0447 \u0434\u043e\u0441\u0442\u0443\u043f\u0430","attribute_label_tabindex":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a","attribute_label_langcode":"\u042f\u0437\u044b\u043a","attribute_option_rtl":"\u0421\u043f\u0440\u0430\u0432\u0430 \u043d\u0430\u043b\u0435\u0432\u043e","attribute_option_ltr":"\u0421\u043b\u0435\u0432\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u043e","attribute_label_langdir":"\u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u0430","attribute_label_datetime":"\u0414\u0430\u0442\u0430/\u0412\u0440\u0435\u043c\u044f","attribute_label_cite":"\u0426\u0438\u0442\u0430\u0442\u0430","attribute_label_style":"\u0421\u0442\u0438\u043b\u044c","attribute_label_class":"\u041a\u043b\u0430\u0441\u0441","attribute_label_id":"\u0418\u043c\u044f","attribute_label_title":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a"});
@@ -1,32 +1 @@
1
- tinyMCE.addI18n('sk.xhtmlxtras_dlg',{
2
- attribute_label_title:"Titulok",
3
- attribute_label_id:"ID",
4
- attribute_label_class:"Trieda",
5
- attribute_label_style:"\u0160t\u00FDl",
6
- attribute_label_cite:"Cit\u00E1cia",
7
- attribute_label_datetime:"D\u00E1tum/\u010Das",
8
- attribute_label_langdir:"Smer textu",
9
- attribute_option_ltr:"Z\u013Eava doprava",
10
- attribute_option_rtl:"Sprava do\u013Eava",
11
- attribute_label_langcode:"Jazyk",
12
- attribute_label_tabindex:"Poradie pre tabul\u00E1tor",
13
- attribute_label_accesskey:"Kl\u00E1vesov\u00E1 skratka",
14
- attribute_events_tab:"Udalosti",
15
- attribute_attrib_tab:"Atrib\u00FAty",
16
- general_tab:"Obecn\u00E9",
17
- attrib_tab:"Atrib\u00FAty",
18
- events_tab:"Udalosti",
19
- fieldset_general_tab:"Obecn\u00E9 parametre",
20
- fieldset_attrib_tab:"Atrib\u00FAty prvku",
21
- fieldset_events_tab:"Atrib\u00FAty udalost\u00ED",
22
- title_ins_element:"Pridan\u00FD text",
23
- title_del_element:"Odstr\u00E1nen\u00FD text",
24
- title_acronym_element:"Akronym",
25
- title_abbr_element:"Skratka",
26
- title_cite_element:"Cit\u00E1cia",
27
- remove:"Odstr\u00E1ni\u0165",
28
- insert_date:"Vlo\u017Ei\u0165 aktu\u00E1lny d\u00E1tum/\u010Das",
29
- option_ltr:"Z\u013Eava doprava",
30
- option_rtl:"Sprava do\u013Eava",
31
- attribs_title:"Vlo\u017Ei\u0165/upravi\u0165 atrib\u00FAty"
32
- });
1
+ tinyMCE.addI18n('sk.xhtmlxtras_dlg',{attribs_title:"Vlo\u017ei\u0165/upravi\u0165 atrib\u00faty",option_rtl:"Sprava do\u013eava",option_ltr:"Z\u013eava doprava",insert_date:"Vlo\u017ei\u0165 aktu\u00e1lny d\u00e1tum/\u010das",remove:"Odstr\u00e1ni\u0165",title_cite_element:"Cit\u00e1cia",title_abbr_element:"Skratka",title_acronym_element:"Akronym",title_del_element:"Odstr\u00e1nen\u00fd text",title_ins_element:"Pridan\u00fd text",fieldset_events_tab:"Atrib\u00faty udalost\u00ed",fieldset_attrib_tab:"Atrib\u00faty prvku",fieldset_general_tab:"Obecn\u00e9 parametre",events_tab:"Udalosti",attrib_tab:"Atrib\u00faty",general_tab:"Obecn\u00e9",attribute_attrib_tab:"Atrib\u00faty",attribute_events_tab:"Udalosti",attribute_label_accesskey:"Kl\u00e1vesov\u00e1 skratka",attribute_label_tabindex:"Poradie pre tabul\u00e1tor",attribute_label_langcode:"Jazyk",attribute_option_rtl:"Sprava do\u013eava",attribute_option_ltr:"Z\u013eava doprava",attribute_label_langdir:"Smer textu",attribute_label_datetime:"D\u00e1tum/\u010das",attribute_label_cite:"Cit\u00e1cia",attribute_label_style:"\u0160t\u00fdl",attribute_label_class:"Trieda",attribute_label_id:"ID",attribute_label_title:"Titulok"});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('sl.xhtmlxtras_dlg',{attribs_title:"Vstavi/uredi atribute",option_rtl:"Od desne proti levi",option_ltr:"Od leve proti desni",insert_date:"Vstavi trenutni datum/\u010das",remove:"Odstrani",title_cite_element:"Citat",title_abbr_element:"Okraj\u0161ava",title_acronym_element:"Kratica",title_del_element:"Izbrisano",title_ins_element:"Vstavljeno",fieldset_events_tab:"Dogodki elementa",fieldset_attrib_tab:"Atributi elementa",fieldset_general_tab:"Splo\u0161ne nastavitve",events_tab:"Dogodki",attrib_tab:"Atributi",general_tab:"Splo\u0161no",attribute_attrib_tab:"Atributi",attribute_events_tab:"Dogodki",attribute_label_accesskey:"Tipka dostopa",attribute_label_tabindex:"Zap. \u0161t.",attribute_label_langcode:"Jezik",attribute_option_rtl:"Od desne proti levi",attribute_option_ltr:"Od leve proti desni",attribute_label_langdir:"Smer pisave",attribute_label_datetime:"Datum/ura",attribute_label_cite:"Citat",attribute_label_style:"Slog",attribute_label_class:"Razred",attribute_label_id:"Id",attribute_label_title:"Naslov"});
@@ -1,32 +1 @@
1
- tinyMCE.addI18n('sv.xhtmlxtras_dlg',{
2
- attribute_label_title:"Titel",
3
- attribute_label_id:"ID",
4
- attribute_label_class:"Klass",
5
- attribute_label_style:"Stil",
6
- attribute_label_cite:"Citat",
7
- attribute_label_datetime:"Datum/Tid",
8
- attribute_label_langdir:"Skriftriktning",
9
- attribute_option_ltr:"V\u00E4nster till h\u00F6ger",
10
- attribute_option_rtl:"H\u00F6ger till v\u00E4nster",
11
- attribute_label_langcode:"Spr\u00E5k",
12
- attribute_label_tabindex:"Tabbindex",
13
- attribute_label_accesskey:"Snabbtangent",
14
- attribute_events_tab:"H\u00E4ndelser",
15
- attribute_attrib_tab:"Attribut",
16
- general_tab:"Generellt",
17
- attrib_tab:"Attribut",
18
- events_tab:"H\u00E4ndelser",
19
- fieldset_general_tab:"Generella inst\u00E4llningar",
20
- fieldset_attrib_tab:"Attribut",
21
- fieldset_events_tab:"H\u00E4ndelser",
22
- title_ins_element:"Markera som tillagt",
23
- title_del_element:"Markera som struket",
24
- title_acronym_element:"Akronym",
25
- title_abbr_element:"F\u00F6rkortning",
26
- title_cite_element:"Citat",
27
- remove:"Radera",
28
- insert_date:"Infoga nuvarande datum och tid",
29
- option_ltr:"V\u00E4nster till h\u00F6ger",
30
- option_rtl:"H\u00F6ger till v\u00E4nster",
31
- attribs_title:"Redigera attribut"
32
- });
1
+ tinyMCE.addI18n('sv.xhtmlxtras_dlg',{"attribs_title":"Redigera attribut","option_rtl":"H\u00f6ger till v\u00e4nster","option_ltr":"V\u00e4nster till h\u00f6ger","insert_date":"Infoga nuvarande datum och tid",remove:"Radera","title_cite_element":"Citat","title_abbr_element":"F\u00f6rkortning","title_acronym_element":"Akronym","title_del_element":"Markera som struket","title_ins_element":"Markera som tillagt","fieldset_events_tab":"H\u00e4ndelser","fieldset_attrib_tab":"Attribut","fieldset_general_tab":"Generella inst\u00e4llningar","events_tab":"H\u00e4ndelser","attrib_tab":"Attribut","general_tab":"Generellt","attribute_attrib_tab":"Attribut","attribute_events_tab":"H\u00e4ndelser","attribute_label_accesskey":"Snabbtangent","attribute_label_tabindex":"Tabbindex","attribute_label_langcode":"Spr\u00e5k","attribute_option_rtl":"H\u00f6ger till v\u00e4nster","attribute_option_ltr":"V\u00e4nster till h\u00f6ger","attribute_label_langdir":"Skriftriktning","attribute_label_datetime":"Datum/Tid","attribute_label_cite":"Citat","attribute_label_style":"Stil","attribute_label_class":"Klass","attribute_label_id":"ID","attribute_label_title":"Titel"});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n('zh-cn.xhtmlxtras_dlg',{"attribs_title":"\u63d2\u5165/\u7f16\u8f91 \u5c5e\u6027","option_rtl":"\u4ece\u53f3\u5230\u5de6","option_ltr":"\u4ece\u5de6\u5230\u53f3","insert_date":"\u63d2\u5165\u5f53\u524d\u65e5\u671f/\u65f6\u95f4",remove:"\u79fb\u9664","title_cite_element":"\u5f15\u7528\u5143\u7d20","title_abbr_element":"\u7f29\u5199\u5143\u7d20","title_acronym_element":"\u9996\u5b57\u6bcd\u7f29\u5199\u5143\u7d20","title_del_element":"\u5220\u9664\u5143\u7d20","title_ins_element":"\u63d2\u5165\u5143\u7d20","fieldset_events_tab":"\u5143\u7d20\u4e8b\u4ef6","fieldset_attrib_tab":"\u5143\u7d20\u5c5e\u6027","fieldset_general_tab":"\u666e\u901a\u8bbe\u7f6e","events_tab":"\u4e8b\u4ef6","attrib_tab":"\u5c5e\u6027","general_tab":"\u666e\u901a","attribute_attrib_tab":"\u5c5e\u6027","attribute_events_tab":"\u4e8b\u4ef6","attribute_label_accesskey":"\u5feb\u6377\u952e","attribute_label_tabindex":"Tab\u7d22\u5f15","attribute_label_langcode":"\u8bed\u8a00","attribute_option_rtl":"\u4ece\u53f3\u5230\u5de6","attribute_option_ltr":"\u4ece\u5de6\u5230\u53f3","attribute_label_langdir":"\u6587\u5b57\u4e66\u5199\u65b9\u5411","attribute_label_datetime":"\u65e5\u671f/\u65f6\u95f4","attribute_label_cite":"\u5f15\u7528","attribute_label_style":"\u6837\u5f0f","attribute_label_class":"\u7c7b\u522b","attribute_label_id":"ID","attribute_label_title":"\u6807\u9898"});
@@ -9,9 +9,9 @@
9
9
  <body id="about" style="display: none">
10
10
  <div class="tabs">
11
11
  <ul>
12
- <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advanced_dlg.about_general}</a></span></li>
13
- <li id="help_tab" style="display:none"><span><a href="javascript:mcTabs.displayTab('help_tab','help_panel');" onmousedown="return false;">{#advanced_dlg.about_help}</a></span></li>
14
- <li id="plugins_tab"><span><a href="javascript:mcTabs.displayTab('plugins_tab','plugins_panel');" onmousedown="return false;">{#advanced_dlg.about_plugins}</a></span></li>
12
+ <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advanced_dlg.about_general}</a></span></li>
13
+ <li id="help_tab" style="display:none" aria-hidden="true" aria-controls="help_panel"><span><a href="javascript:mcTabs.displayTab('help_tab','help_panel');" onmousedown="return false;">{#advanced_dlg.about_help}</a></span></li>
14
+ <li id="plugins_tab" aria-controls="plugins_panel"><span><a href="javascript:mcTabs.displayTab('plugins_tab','plugins_panel');" onmousedown="return false;">{#advanced_dlg.about_plugins}</a></span></li>
15
15
  </ul>
16
16
  </div>
17
17
 
@@ -26,8 +26,6 @@
26
26
 
27
27
  <div id="buttoncontainer">
28
28
  <a href="http://www.moxiecode.com" target="_blank"><img src="http://tinymce.moxiecode.com/images/gotmoxie.png" alt="Got Moxie?" border="0" /></a>
29
- <a href="http://sourceforge.net/projects/tinymce/" target="_blank"><img src="http://sourceforge.net/sflogo.php?group_id=103281" alt="Hosted By Sourceforge" border="0" /></a>
30
- <a href="http://www.freshmeat.net/projects/tinymce" target="_blank"><img src="http://tinymce.moxiecode.com/images/fm.gif" alt="Also on freshmeat" border="0" /></a>
31
29
  </div>
32
30
  </div>
33
31
 
@@ -5,15 +5,15 @@
5
5
  <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6
6
  <script type="text/javascript" src="js/anchor.js"></script>
7
7
  </head>
8
- <body style="display: none">
8
+ <body style="display: none" role="application" aria-labelledby="app_title">
9
9
  <form onsubmit="AnchorDialog.update();return false;" action="#">
10
- <table border="0" cellpadding="4" cellspacing="0">
10
+ <table border="0" cellpadding="4" cellspacing="0" role="presentation">
11
11
  <tr>
12
- <td colspan="2" class="title">{#advanced_dlg.anchor_title}</td>
12
+ <td colspan="2" class="title" id="app_title">{#advanced_dlg.anchor_title}</td>
13
13
  </tr>
14
14
  <tr>
15
- <td class="nowrap">{#advanced_dlg.anchor_name}:</td>
16
- <td><input name="anchorName" type="text" class="mceFocus" id="anchorName" value="" style="width: 200px" /></td>
15
+ <td class="nowrap"><label for="anchorName">{#advanced_dlg.anchor_name}:</label></td>
16
+ <td><input name="anchorName" type="text" class="mceFocus" id="anchorName" value="" style="width: 200px" aria-required="true" /></td>
17
17
  </tr>
18
18
  </table>
19
19
 
@@ -6,47 +6,46 @@
6
6
  <script type="text/javascript" src="js/charmap.js"></script>
7
7
  </head>
8
8
  <body id="charmap" style="display:none">
9
- <table align="center" border="0" cellspacing="0" cellpadding="2">
10
- <tr>
11
- <td colspan="2" class="title">{#advanced_dlg.charmap_title}</td>
12
- </tr>
13
- <tr>
14
- <td id="charmapView" rowspan="2" align="left" valign="top">
9
+ <table align="center" border="0" cellspacing="0" cellpadding="2" role="presentation">
10
+ <tr>
11
+ <td colspan="2" class="title" ><label for="charmapView" id="charmap_label">{#advanced_dlg.charmap_title}</label></td>
12
+ </tr>
13
+ <tr>
14
+ <td id="charmapView" rowspan="2" align="left" valign="top">
15
15
  <!-- Chars will be rendered here -->
16
- </td>
17
- <td width="100" align="center" valign="top">
18
- <table border="0" cellpadding="0" cellspacing="0" width="100" style="height:100px">
19
- <tr>
20
- <td id="codeV">&nbsp;</td>
21
- </tr>
22
- <tr>
23
- <td id="codeN">&nbsp;</td>
24
- </tr>
25
- </table>
26
- </td>
27
- </tr>
28
- <tr>
29
- <td valign="bottom" style="padding-bottom: 3px;">
30
- <table width="100" align="center" border="0" cellpadding="2" cellspacing="0">
31
- <tr>
32
- <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">HTML-Code</td>
33
- </tr>
34
- <tr>
35
- <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeA" align="center">&nbsp;</td>
36
- </tr>
37
- <tr>
38
- <td style="font-size: 1px;">&nbsp;</td>
39
- </tr>
40
- <tr>
41
- <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">NUM-Code</td>
42
- </tr>
43
- <tr>
44
- <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeB" align="center">&nbsp;</td>
45
- </tr>
46
- </table>
47
- </td>
48
- </tr>
16
+ </td>
17
+ <td width="100" align="center" valign="top">
18
+ <table border="0" cellpadding="0" cellspacing="0" width="100" style="height:100px" role="presentation">
19
+ <tr>
20
+ <td id="codeV">&nbsp;</td>
21
+ </tr>
22
+ <tr>
23
+ <td id="codeN">&nbsp;</td>
24
+ </tr>
25
+ </table>
26
+ </td>
27
+ </tr>
28
+ <tr>
29
+ <td valign="bottom" style="padding-bottom: 3px;">
30
+ <table width="100" align="center" border="0" cellpadding="2" cellspacing="0" role="presentation">
31
+ <tr>
32
+ <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;"><label for="codeA">HTML-Code</label></td>
33
+ </tr>
34
+ <tr>
35
+ <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeA" align="center">&nbsp;</td>
36
+ </tr>
37
+ <tr>
38
+ <td style="font-size: 1px;">&nbsp;</td>
39
+ </tr>
40
+ <tr>
41
+ <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;"><label for="codeB">NUM-Code</label></td>
42
+ </tr>
43
+ <tr>
44
+ <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeB" align="center">&nbsp;</td>
45
+ </tr>
46
+ </table>
47
+ </td>
48
+ </tr>
49
49
  </table>
50
-
51
50
  </body>
52
51
  </html>
@@ -6,13 +6,14 @@
6
6
  <script type="text/javascript" src="../../utils/mctabs.js"></script>
7
7
  <script type="text/javascript" src="js/color_picker.js"></script>
8
8
  </head>
9
- <body id="colorpicker" style="display: none">
9
+ <body id="colorpicker" style="display: none" role="application" aria-labelledby="app_label">
10
+ <span class="mceVoiceLabel" id="app_label" style="display:none;">{#advanced_dlg.colorpicker_title}</span>
10
11
  <form onsubmit="insertAction();return false" action="#">
11
12
  <div class="tabs">
12
13
  <ul>
13
- <li id="picker_tab" class="current"><span><a href="javascript:mcTabs.displayTab('picker_tab','picker_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_picker_tab}</a></span></li>
14
- <li id="rgb_tab"><span><a href="javascript:;" onclick="generateWebColors();mcTabs.displayTab('rgb_tab','rgb_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_palette_tab}</a></span></li>
15
- <li id="named_tab"><span><a href="javascript:;" onclick="generateNamedColors();javascript:mcTabs.displayTab('named_tab','named_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_named_tab}</a></span></li>
14
+ <li id="picker_tab" aria-controls="picker_panel" class="current"><span><a href="javascript:mcTabs.displayTab('picker_tab','picker_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_picker_tab}</a></span></li>
15
+ <li id="rgb_tab" aria-controls="rgb_panel"><span><a href="javascript:;" onclick="mcTabs.displayTab('rgb_tab','rgb_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_palette_tab}</a></span></li>
16
+ <li id="named_tab" aria-controls="named_panel"><span><a href="javascript:;" onclick="javascript:mcTabs.displayTab('named_tab','named_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_named_tab}</a></span></li>
16
17
  </ul>
17
18
  </div>
18
19
 
@@ -34,7 +35,7 @@
34
35
 
35
36
  <div id="rgb_panel" class="panel">
36
37
  <fieldset>
37
- <legend>{#advanced_dlg.colorpicker_palette_title}</legend>
38
+ <legend id="webcolors_title">{#advanced_dlg.colorpicker_palette_title}</legend>
38
39
  <div id="webcolors">
39
40
  <!-- Gets filled with web safe colors-->
40
41
  </div>
@@ -44,9 +45,9 @@
44
45
  </div>
45
46
 
46
47
  <div id="named_panel" class="panel">
47
- <fieldset>
48
- <legend>{#advanced_dlg.colorpicker_named_title}</legend>
49
- <div id="namedcolors">
48
+ <fieldset id="named_picker_label">
49
+ <legend id="named_title">{#advanced_dlg.colorpicker_named_title}</legend>
50
+ <div id="namedcolors" role="listbox" tabindex="0" aria-labelledby="named_picker_label">
50
51
  <!-- Gets filled with named colors-->
51
52
  </div>
52
53
 
@@ -65,7 +66,7 @@
65
66
  <div id="preview"></div>
66
67
 
67
68
  <div id="previewblock">
68
- <label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" maxlength="8" class="text mceFocus" />
69
+ <label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" class="text mceFocus" aria-required="true" />
69
70
  </div>
70
71
  </div>
71
72
  </form>
@@ -1 +1 @@
1
- (function(e){var d=e.DOM,b=e.dom.Event,h=e.extend,f=e.each,a=e.util.Cookie,g,c=e.explode;e.ThemeManager.requireLangPack("advanced");e.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethrough:["striketrough_desc","Strikethrough"],justifyleft:["justifyleft_desc","JustifyLeft"],justifycenter:["justifycenter_desc","JustifyCenter"],justifyright:["justifyright_desc","JustifyRight"],justifyfull:["justifyfull_desc","JustifyFull"],bullist:["bullist_desc","InsertUnorderedList"],numlist:["numlist_desc","InsertOrderedList"],outdent:["outdent_desc","Outdent"],indent:["indent_desc","Indent"],cut:["cut_desc","Cut"],copy:["copy_desc","Copy"],paste:["paste_desc","Paste"],undo:["undo_desc","Undo"],redo:["redo_desc","Redo"],link:["link_desc","mceLink"],unlink:["unlink_desc","unlink"],image:["image_desc","mceImage"],cleanup:["cleanup_desc","mceCleanup"],help:["help_desc","mceHelp"],code:["code_desc","mceCodeEditor"],hr:["hr_desc","InsertHorizontalRule"],removeformat:["removeformat_desc","RemoveFormat"],sub:["sub_desc","subscript"],sup:["sup_desc","superscript"],forecolor:["forecolor_desc","ForeColor"],forecolorpicker:["forecolor_desc","mceForeColor"],backcolor:["backcolor_desc","HiliteColor"],backcolorpicker:["backcolor_desc","mceBackColor"],charmap:["charmap_desc","mceCharMap"],visualaid:["visualaid_desc","mceToggleVisualAid"],anchor:["anchor_desc","mceInsertAnchor"],newdocument:["newdocument_desc","mceNewDocument"],blockquote:["blockquote_desc","mceBlockQuote"]},stateControls:["bold","italic","underline","strikethrough","bullist","numlist","justifyleft","justifycenter","justifyright","justifyfull","sub","sup","blockquote"],init:function(j,k){var l=this,m,i,n;l.editor=j;l.url=k;l.onResolveName=new e.util.Dispatcher(this);l.settings=m=h({theme_advanced_path:true,theme_advanced_toolbar_location:"bottom",theme_advanced_buttons1:"bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect",theme_advanced_buttons2:"bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",theme_advanced_buttons3:"hr,removeformat,visualaid,|,sub,sup,|,charmap",theme_advanced_blockformats:"p,address,pre,h1,h2,h3,h4,h5,h6",theme_advanced_toolbar_align:"center",theme_advanced_fonts:"Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",theme_advanced_more_colors:1,theme_advanced_row_height:23,theme_advanced_resize_horizontal:1,theme_advanced_resizing_use_cookie:1,theme_advanced_font_sizes:"1,2,3,4,5,6,7",readonly:j.settings.readonly},j.settings);if(!m.font_size_style_values){m.font_size_style_values="8pt,10pt,12pt,14pt,18pt,24pt,36pt"}if(e.is(m.theme_advanced_font_sizes,"string")){m.font_size_style_values=e.explode(m.font_size_style_values);m.font_size_classes=e.explode(m.font_size_classes||"");n={};j.settings.theme_advanced_font_sizes=m.theme_advanced_font_sizes;f(j.getParam("theme_advanced_font_sizes","","hash"),function(q,p){var o;if(p==q&&q>=1&&q<=7){p=q+" ("+l.sizes[q-1]+"pt)";o=m.font_size_classes[q-1];q=m.font_size_style_values[q-1]||(l.sizes[q-1]+"pt")}if(/^\s*\./.test(q)){o=q.replace(/\./g,"")}n[p]=o?{"class":o}:{fontSize:q}});m.theme_advanced_font_sizes=n}if((i=m.theme_advanced_path_location)&&i!="none"){m.theme_advanced_statusbar_location=m.theme_advanced_path_location}if(m.theme_advanced_statusbar_location=="none"){m.theme_advanced_statusbar_location=0}j.onInit.add(function(){if(!j.settings.readonly){j.onNodeChange.add(l._nodeChanged,l)}if(j.settings.content_css!==false){j.dom.loadCSS(j.baseURI.toAbsolute("themes/advanced/skins/"+j.settings.skin+"/content.css"))}});j.onSetProgressState.add(function(q,o,r){var s,t=q.id,p;if(o){l.progressTimer=setTimeout(function(){s=q.getContainer();s=s.insertBefore(d.create("DIV",{style:"position:relative"}),s.firstChild);p=d.get(q.id+"_tbl");d.add(s,"div",{id:t+"_blocker","class":"mceBlocker",style:{width:p.clientWidth+2,height:p.clientHeight+2}});d.add(s,"div",{id:t+"_progress","class":"mceProgress",style:{left:p.clientWidth/2,top:p.clientHeight/2}})},r||0)}else{d.remove(t+"_blocker");d.remove(t+"_progress");clearTimeout(l.progressTimer)}});d.loadCSS(m.editor_css?j.documentBaseURI.toAbsolute(m.editor_css):k+"/skins/"+j.settings.skin+"/ui.css");if(m.skin_variant){d.loadCSS(k+"/skins/"+j.settings.skin+"/ui_"+m.skin_variant+".css")}},createControl:function(l,i){var j,k;if(k=i.createControl(l)){return k}switch(l){case"styleselect":return this._createStyleSelect();case"formatselect":return this._createBlockFormats();case"fontselect":return this._createFontSelect();case"fontsizeselect":return this._createFontSizeSelect();case"forecolor":return this._createForeColorMenu();case"backcolor":return this._createBackColorMenu()}if((j=this.controls[l])){return i.createButton(l,{title:"advanced."+j[0],cmd:j[1],ui:j[2],value:j[3]})}},execCommand:function(k,j,l){var i=this["_"+k];if(i){i.call(this,j,l);return true}return false},_importClasses:function(k){var i=this.editor,j=i.controlManager.get("styleselect");if(j.getLength()==0){f(i.dom.getClasses(),function(n,l){var m="style_"+l;i.formatter.register(m,{inline:"span",attributes:{"class":n["class"]},selector:"*"});j.add(n["class"],m)})}},_createStyleSelect:function(m){var k=this,i=k.editor,j=i.controlManager,l;l=j.createListBox("styleselect",{title:"advanced.style_select",onselect:function(o){var p,n=[];f(l.items,function(q){n.push(q.value)});i.focus();p=i.formatter.matchAll(n);if(p[0]==o){i.formatter.remove(o)}else{i.formatter.apply(o)}return false}});i.onInit.add(function(){var o=0,n=i.getParam("style_formats");if(n){f(n,function(p){var q,r=0;f(p,function(){r++});if(r>1){q=p.name=p.name||"style_"+(o++);i.formatter.register(q,p);l.add(p.title,q)}else{l.add(p.title)}})}else{f(i.getParam("theme_advanced_styles","","hash"),function(r,q){var p;if(r){p="style_"+(o++);i.formatter.register(p,{inline:"span",classes:r,selector:"*"});l.add(k.editor.translate(q),p)}})}});if(l.getLength()==0){l.onPostRender.add(function(o,p){if(!l.NativeListBox){b.add(p.id+"_text","focus",k._importClasses,k);b.add(p.id+"_text","mousedown",k._importClasses,k);b.add(p.id+"_open","focus",k._importClasses,k);b.add(p.id+"_open","mousedown",k._importClasses,k)}else{b.add(p.id,"focus",k._importClasses,k)}})}return l},_createFontSelect:function(){var k,j=this,i=j.editor;k=i.controlManager.createListBox("fontselect",{title:"advanced.fontdefault",onselect:function(l){i.execCommand("FontName",false,l);return false}});if(k){f(i.getParam("theme_advanced_fonts",j.settings.theme_advanced_fonts,"hash"),function(m,l){k.add(i.translate(l),m,{style:m.indexOf("dings")==-1?"font-family:"+m:""})})}return k},_createFontSizeSelect:function(){var m=this,k=m.editor,n,l=0,j=[];n=k.controlManager.createListBox("fontsizeselect",{title:"advanced.font_size",onselect:function(i){if(i["class"]){k.focus();k.formatter.toggle("fontsize_class",{value:i["class"]})}else{k.execCommand("FontSize",false,i.fontSize)}return false}});if(n){f(m.settings.theme_advanced_font_sizes,function(o,i){var p=o.fontSize;if(p>=1&&p<=7){p=m.sizes[parseInt(p)-1]+"pt"}n.add(i,o,{style:"font-size:"+p,"class":"mceFontSize"+(l++)+(" "+(o["class"]||""))})})}return n},_createBlockFormats:function(){var k,i={p:"advanced.paragraph",address:"advanced.address",pre:"advanced.pre",h1:"advanced.h1",h2:"advanced.h2",h3:"advanced.h3",h4:"advanced.h4",h5:"advanced.h5",h6:"advanced.h6",div:"advanced.div",blockquote:"advanced.blockquote",code:"advanced.code",dt:"advanced.dt",dd:"advanced.dd",samp:"advanced.samp"},j=this;k=j.editor.controlManager.createListBox("formatselect",{title:"advanced.block",cmd:"FormatBlock"});if(k){f(j.editor.getParam("theme_advanced_blockformats",j.settings.theme_advanced_blockformats,"hash"),function(m,l){k.add(j.editor.translate(l!=m?l:i[m]),m,{"class":"mce_formatPreview mce_"+m})})}return k},_createForeColorMenu:function(){var m,j=this,k=j.settings,l={},i;if(k.theme_advanced_more_colors){l.more_colors_func=function(){j._mceColorPicker(0,{color:m.value,func:function(n){m.setColor(n)}})}}if(i=k.theme_advanced_text_colors){l.colors=i}if(k.theme_advanced_default_foreground_color){l.default_color=k.theme_advanced_default_foreground_color}l.title="advanced.forecolor_desc";l.cmd="ForeColor";l.scope=this;m=j.editor.controlManager.createColorSplitButton("forecolor",l);return m},_createBackColorMenu:function(){var m,j=this,k=j.settings,l={},i;if(k.theme_advanced_more_colors){l.more_colors_func=function(){j._mceColorPicker(0,{color:m.value,func:function(n){m.setColor(n)}})}}if(i=k.theme_advanced_background_colors){l.colors=i}if(k.theme_advanced_default_background_color){l.default_color=k.theme_advanced_default_background_color}l.title="advanced.backcolor_desc";l.cmd="HiliteColor";l.scope=this;m=j.editor.controlManager.createColorSplitButton("backcolor",l);return m},renderUI:function(k){var m,l,q,v=this,r=v.editor,w=v.settings,u,j,i;m=j=d.create("span",{id:r.id+"_parent","class":"mceEditor "+r.settings.skin+"Skin"+(w.skin_variant?" "+r.settings.skin+"Skin"+v._ufirst(w.skin_variant):"")});if(!d.boxModel){m=d.add(m,"div",{"class":"mceOldBoxModel"})}m=u=d.add(m,"table",{id:r.id+"_tbl","class":"mceLayout",cellSpacing:0,cellPadding:0});m=q=d.add(m,"tbody");switch((w.theme_advanced_layout_manager||"").toLowerCase()){case"rowlayout":l=v._rowLayout(w,q,k);break;case"customlayout":l=r.execCallback("theme_advanced_custom_layout",w,q,k,j);break;default:l=v._simpleLayout(w,q,k,j)}m=k.targetNode;i=d.stdMode?u.getElementsByTagName("tr"):u.rows;d.addClass(i[0],"mceFirst");d.addClass(i[i.length-1],"mceLast");f(d.select("tr",q),function(o){d.addClass(o.firstChild,"mceFirst");d.addClass(o.childNodes[o.childNodes.length-1],"mceLast")});if(d.get(w.theme_advanced_toolbar_container)){d.get(w.theme_advanced_toolbar_container).appendChild(j)}else{d.insertAfter(j,m)}b.add(r.id+"_path_row","click",function(n){n=n.target;if(n.nodeName=="A"){v._sel(n.className.replace(/^.*mcePath_([0-9]+).*$/,"$1"));return b.cancel(n)}});if(!r.getParam("accessibility_focus")){b.add(d.add(j,"a",{href:"#"},"<!-- IE -->"),"focus",function(){tinyMCE.get(r.id).focus()})}if(w.theme_advanced_toolbar_location=="external"){k.deltaHeight=0}v.deltaHeight=k.deltaHeight;k.targetNode=null;return{iframeContainer:l,editorContainer:r.id+"_parent",sizeContainer:u,deltaHeight:k.deltaHeight}},getInfo:function(){return{longname:"Advanced theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:e.majorVersion+"."+e.minorVersion}},resizeBy:function(i,j){var k=d.get(this.editor.id+"_tbl");this.resizeTo(k.clientWidth+i,k.clientHeight+j)},resizeTo:function(i,l){var j=this.editor,k=this.settings,m=d.get(j.id+"_tbl"),n=d.get(j.id+"_ifr");i=Math.max(k.theme_advanced_resizing_min_width||100,i);l=Math.max(k.theme_advanced_resizing_min_height||100,l);i=Math.min(k.theme_advanced_resizing_max_width||65535,i);l=Math.min(k.theme_advanced_resizing_max_height||65535,l);d.setStyle(m,"height","");d.setStyle(n,"height",l);if(k.theme_advanced_resize_horizontal){d.setStyle(m,"width","");d.setStyle(n,"width",i);if(i<m.clientWidth){d.setStyle(n,"width",m.clientWidth)}}},destroy:function(){var i=this.editor.id;b.clear(i+"_resize");b.clear(i+"_path_row");b.clear(i+"_external_close")},_simpleLayout:function(y,r,k,i){var x=this,u=x.editor,v=y.theme_advanced_toolbar_location,m=y.theme_advanced_statusbar_location,l,j,q,w;if(y.readonly){l=d.add(r,"tr");l=j=d.add(l,"td",{"class":"mceIframeContainer"});return j}if(v=="top"){x._addToolbars(r,k)}if(v=="external"){l=w=d.create("div",{style:"position:relative"});l=d.add(l,"div",{id:u.id+"_external","class":"mceExternalToolbar"});d.add(l,"a",{id:u.id+"_external_close",href:"javascript:;","class":"mceExternalClose"});l=d.add(l,"table",{id:u.id+"_tblext",cellSpacing:0,cellPadding:0});q=d.add(l,"tbody");if(i.firstChild.className=="mceOldBoxModel"){i.firstChild.appendChild(w)}else{i.insertBefore(w,i.firstChild)}x._addToolbars(q,k);u.onMouseUp.add(function(){var o=d.get(u.id+"_external");d.show(o);d.hide(g);var n=b.add(u.id+"_external_close","click",function(){d.hide(u.id+"_external");b.remove(u.id+"_external_close","click",n)});d.show(o);d.setStyle(o,"top",0-d.getRect(u.id+"_tblext").h-1);d.hide(o);d.show(o);o.style.filter="";g=u.id+"_external";o=null})}if(m=="top"){x._addStatusBar(r,k)}if(!y.theme_advanced_toolbar_container){l=d.add(r,"tr");l=j=d.add(l,"td",{"class":"mceIframeContainer"})}if(v=="bottom"){x._addToolbars(r,k)}if(m=="bottom"){x._addStatusBar(r,k)}return j},_rowLayout:function(w,m,k){var v=this,p=v.editor,u,x,i=p.controlManager,l,j,r,q;u=w.theme_advanced_containers_default_class||"";x=w.theme_advanced_containers_default_align||"center";f(c(w.theme_advanced_containers||""),function(s,o){var n=w["theme_advanced_container_"+s]||"";switch(n.toLowerCase()){case"mceeditor":l=d.add(m,"tr");l=j=d.add(l,"td",{"class":"mceIframeContainer"});break;case"mceelementpath":v._addStatusBar(m,k);break;default:q=(w["theme_advanced_container_"+s+"_align"]||x).toLowerCase();q="mce"+v._ufirst(q);l=d.add(d.add(m,"tr"),"td",{"class":"mceToolbar "+(w["theme_advanced_container_"+s+"_class"]||u)+" "+q||x});r=i.createToolbar("toolbar"+o);v._addControls(n,r);d.setHTML(l,r.renderHTML());k.deltaHeight-=w.theme_advanced_row_height}});return j},_addControls:function(j,i){var k=this,l=k.settings,m,n=k.editor.controlManager;if(l.theme_advanced_disable&&!k._disabled){m={};f(c(l.theme_advanced_disable),function(o){m[o]=1});k._disabled=m}else{m=k._disabled}f(c(j),function(p){var o;if(m&&m[p]){return}if(p=="tablecontrols"){f(["table","|","row_props","cell_props","|","row_before","row_after","delete_row","|","col_before","col_after","delete_col","|","split_cells","merge_cells"],function(q){q=k.createControl(q,n);if(q){i.add(q)}});return}o=k.createControl(p,n);if(o){i.add(o)}})},_addToolbars:function(w,k){var z=this,p,m,r=z.editor,A=z.settings,y,j=r.controlManager,u,l,q=[],x;x=A.theme_advanced_toolbar_align.toLowerCase();x="mce"+z._ufirst(x);l=d.add(d.add(w,"tr"),"td",{"class":"mceToolbar "+x});if(!r.getParam("accessibility_focus")){q.push(d.createHTML("a",{href:"#",onfocus:"tinyMCE.get('"+r.id+"').focus();"},"<!-- IE -->"))}q.push(d.createHTML("a",{href:"#",accesskey:"q",title:r.getLang("advanced.toolbar_focus")},"<!-- IE -->"));for(p=1;(y=A["theme_advanced_buttons"+p]);p++){m=j.createToolbar("toolbar"+p,{"class":"mceToolbarRow"+p});if(A["theme_advanced_buttons"+p+"_add"]){y+=","+A["theme_advanced_buttons"+p+"_add"]}if(A["theme_advanced_buttons"+p+"_add_before"]){y=A["theme_advanced_buttons"+p+"_add_before"]+","+y}z._addControls(y,m);q.push(m.renderHTML());k.deltaHeight-=A.theme_advanced_row_height}q.push(d.createHTML("a",{href:"#",accesskey:"z",title:r.getLang("advanced.toolbar_focus"),onfocus:"tinyMCE.getInstanceById('"+r.id+"').focus();"},"<!-- IE -->"));d.setHTML(l,q.join(""))},_addStatusBar:function(m,j){var k,v=this,p=v.editor,w=v.settings,i,q,u,l;k=d.add(m,"tr");k=l=d.add(k,"td",{"class":"mceStatusbar"});k=d.add(k,"div",{id:p.id+"_path_row"},w.theme_advanced_path?p.translate("advanced.path")+": ":"&#160;");d.add(k,"a",{href:"#",accesskey:"x"});if(w.theme_advanced_resizing){d.add(l,"a",{id:p.id+"_resize",href:"javascript:;",onclick:"return false;","class":"mceResize"});if(w.theme_advanced_resizing_use_cookie){p.onPostRender.add(function(){var n=a.getHash("TinyMCE_"+p.id+"_size"),r=d.get(p.id+"_tbl");if(!n){return}v.resizeTo(n.cw,n.ch)})}p.onPostRender.add(function(){b.add(p.id+"_resize","mousedown",function(D){var t,r,s,o,C,z,A,F,n,E,x;function y(G){n=A+(G.screenX-C);E=F+(G.screenY-z);v.resizeTo(n,E)}function B(G){b.remove(d.doc,"mousemove",t);b.remove(p.getDoc(),"mousemove",r);b.remove(d.doc,"mouseup",s);b.remove(p.getDoc(),"mouseup",o);if(w.theme_advanced_resizing_use_cookie){a.setHash("TinyMCE_"+p.id+"_size",{cw:n,ch:E})}}D.preventDefault();C=D.screenX;z=D.screenY;x=d.get(v.editor.id+"_ifr");A=n=x.clientWidth;F=E=x.clientHeight;t=b.add(d.doc,"mousemove",y);r=b.add(p.getDoc(),"mousemove",y);s=b.add(d.doc,"mouseup",B);o=b.add(p.getDoc(),"mouseup",B)})})}j.deltaHeight-=21;k=m=null},_nodeChanged:function(r,z,l,x,j){var C=this,i,y=0,B,u,D=C.settings,A,k,w,m,q;e.each(C.stateControls,function(n){z.setActive(n,r.queryCommandState(C.controls[n][1]))});function o(p){var s,n=j.parents,t=p;if(typeof(p)=="string"){t=function(v){return v.nodeName==p}}for(s=0;s<n.length;s++){if(t(n[s])){return n[s]}}}z.setActive("visualaid",r.hasVisual);z.setDisabled("undo",!r.undoManager.hasUndo()&&!r.typing);z.setDisabled("redo",!r.undoManager.hasRedo());z.setDisabled("outdent",!r.queryCommandState("Outdent"));i=o("A");if(u=z.get("link")){if(!i||!i.name){u.setDisabled(!i&&x);u.setActive(!!i)}}if(u=z.get("unlink")){u.setDisabled(!i&&x);u.setActive(!!i&&!i.name)}if(u=z.get("anchor")){u.setActive(!!i&&i.name)}i=o("IMG");if(u=z.get("image")){u.setActive(!!i&&l.className.indexOf("mceItem")==-1)}if(u=z.get("styleselect")){C._importClasses();m=[];f(u.items,function(n){m.push(n.value)});q=r.formatter.matchAll(m);u.select(q[0])}if(u=z.get("formatselect")){i=o(d.isBlock);if(i){u.select(i.nodeName.toLowerCase())}}o(function(p){if(p.nodeName==="SPAN"){if(!A&&p.className){A=p.className}if(!k&&p.style.fontSize){k=p.style.fontSize}if(!w&&p.style.fontFamily){w=p.style.fontFamily.replace(/[\"\']+/g,"").replace(/^([^,]+).*/,"$1").toLowerCase()}}return false});if(u=z.get("fontselect")){u.select(function(n){return n.replace(/^([^,]+).*/,"$1").toLowerCase()==w})}if(u=z.get("fontsizeselect")){if(D.theme_advanced_runtime_fontsize&&!k&&!A){k=r.dom.getStyle(l,"fontSize",true)}u.select(function(n){if(n.fontSize&&n.fontSize===k){return true}if(n["class"]&&n["class"]===A){return true}})}if(D.theme_advanced_path&&D.theme_advanced_statusbar_location){i=d.get(r.id+"_path")||d.add(r.id+"_path_row","span",{id:r.id+"_path"});d.setHTML(i,"");o(function(E){var p=E.nodeName.toLowerCase(),s,v,t="";if(E.nodeType!=1||E.nodeName==="BR"||(d.hasClass(E,"mceItemHidden")||d.hasClass(E,"mceItemRemoved"))){return}if(B=d.getAttrib(E,"mce_name")){p=B}if(e.isIE&&E.scopeName!=="HTML"){p=E.scopeName+":"+p}p=p.replace(/mce\:/g,"");switch(p){case"b":p="strong";break;case"i":p="em";break;case"img":if(B=d.getAttrib(E,"src")){t+="src: "+B+" "}break;case"a":if(B=d.getAttrib(E,"name")){t+="name: "+B+" ";p+="#"+B}if(B=d.getAttrib(E,"href")){t+="href: "+B+" "}break;case"font":if(B=d.getAttrib(E,"face")){t+="font: "+B+" "}if(B=d.getAttrib(E,"size")){t+="size: "+B+" "}if(B=d.getAttrib(E,"color")){t+="color: "+B+" "}break;case"span":if(B=d.getAttrib(E,"style")){t+="style: "+B+" "}break}if(B=d.getAttrib(E,"id")){t+="id: "+B+" "}if(B=E.className){B=B.replace(/\b\s*(webkit|mce|Apple-)\w+\s*\b/g,"");if(B){t+="class: "+B+" ";if(d.isBlock(E)||p=="img"||p=="span"){p+="."+B}}}p=p.replace(/(html:)/g,"");p={name:p,node:E,title:t};C.onResolveName.dispatch(C,p);t=p.title;p=p.name;v=d.create("a",{href:"javascript:;",onmousedown:"return false;",title:t,"class":"mcePath_"+(y++)},p);if(i.hasChildNodes()){i.insertBefore(d.doc.createTextNode(" \u00bb "),i.firstChild);i.insertBefore(v,i.firstChild)}else{i.appendChild(v)}},r.getBody())}},_sel:function(i){this.editor.execCommand("mceSelectNodeDepth",false,i)},_mceInsertAnchor:function(k,j){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/anchor.htm",width:320+parseInt(i.getLang("advanced.anchor_delta_width",0)),height:90+parseInt(i.getLang("advanced.anchor_delta_height",0)),inline:true},{theme_url:this.url})},_mceCharMap:function(){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/charmap.htm",width:550+parseInt(i.getLang("advanced.charmap_delta_width",0)),height:250+parseInt(i.getLang("advanced.charmap_delta_height",0)),inline:true},{theme_url:this.url})},_mceHelp:function(){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/about.htm",width:480,height:380,inline:true},{theme_url:this.url})},_mceColorPicker:function(k,j){var i=this.editor;j=j||{};i.windowManager.open({url:e.baseURL+"/themes/advanced/color_picker.htm",width:375+parseInt(i.getLang("advanced.colorpicker_delta_width",0)),height:250+parseInt(i.getLang("advanced.colorpicker_delta_height",0)),close_previous:false,inline:true},{input_color:j.color,func:j.func,theme_url:this.url})},_mceCodeEditor:function(j,k){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/source_editor.htm",width:parseInt(i.getParam("theme_advanced_source_editor_width",720)),height:parseInt(i.getParam("theme_advanced_source_editor_height",580)),inline:true,resizable:true,maximizable:true},{theme_url:this.url})},_mceImage:function(j,k){var i=this.editor;if(i.dom.getAttrib(i.selection.getNode(),"class").indexOf("mceItem")!=-1){return}i.windowManager.open({url:e.baseURL+"/themes/advanced/image.htm",width:355+parseInt(i.getLang("advanced.image_delta_width",0)),height:275+parseInt(i.getLang("advanced.image_delta_height",0)),inline:true},{theme_url:this.url})},_mceLink:function(j,k){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/link.htm",width:310+parseInt(i.getLang("advanced.link_delta_width",0)),height:200+parseInt(i.getLang("advanced.link_delta_height",0)),inline:true},{theme_url:this.url})},_mceNewDocument:function(){var i=this.editor;i.windowManager.confirm("advanced.newdocument",function(j){if(j){i.execCommand("mceSetContent",false,"")}})},_mceForeColor:function(){var i=this;this._mceColorPicker(0,{color:i.fgColor,func:function(j){i.fgColor=j;i.editor.execCommand("ForeColor",false,j)}})},_mceBackColor:function(){var i=this;this._mceColorPicker(0,{color:i.bgColor,func:function(j){i.bgColor=j;i.editor.execCommand("HiliteColor",false,j)}})},_ufirst:function(i){return i.substring(0,1).toUpperCase()+i.substring(1)}});e.ThemeManager.add("advanced",e.themes.AdvancedTheme)}(tinymce));
1
+ (function(e){var d=e.DOM,b=e.dom.Event,h=e.extend,f=e.each,a=e.util.Cookie,g,c=e.explode;e.ThemeManager.requireLangPack("advanced");e.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethrough:["striketrough_desc","Strikethrough"],justifyleft:["justifyleft_desc","JustifyLeft"],justifycenter:["justifycenter_desc","JustifyCenter"],justifyright:["justifyright_desc","JustifyRight"],justifyfull:["justifyfull_desc","JustifyFull"],bullist:["bullist_desc","InsertUnorderedList"],numlist:["numlist_desc","InsertOrderedList"],outdent:["outdent_desc","Outdent"],indent:["indent_desc","Indent"],cut:["cut_desc","Cut"],copy:["copy_desc","Copy"],paste:["paste_desc","Paste"],undo:["undo_desc","Undo"],redo:["redo_desc","Redo"],link:["link_desc","mceLink"],unlink:["unlink_desc","unlink"],image:["image_desc","mceImage"],cleanup:["cleanup_desc","mceCleanup"],help:["help_desc","mceHelp"],code:["code_desc","mceCodeEditor"],hr:["hr_desc","InsertHorizontalRule"],removeformat:["removeformat_desc","RemoveFormat"],sub:["sub_desc","subscript"],sup:["sup_desc","superscript"],forecolor:["forecolor_desc","ForeColor"],forecolorpicker:["forecolor_desc","mceForeColor"],backcolor:["backcolor_desc","HiliteColor"],backcolorpicker:["backcolor_desc","mceBackColor"],charmap:["charmap_desc","mceCharMap"],visualaid:["visualaid_desc","mceToggleVisualAid"],anchor:["anchor_desc","mceInsertAnchor"],newdocument:["newdocument_desc","mceNewDocument"],blockquote:["blockquote_desc","mceBlockQuote"]},stateControls:["bold","italic","underline","strikethrough","bullist","numlist","justifyleft","justifycenter","justifyright","justifyfull","sub","sup","blockquote"],init:function(j,k){var l=this,m,i,n;l.editor=j;l.url=k;l.onResolveName=new e.util.Dispatcher(this);j.forcedHighContrastMode=j.settings.detect_highcontrast&&l._isHighContrast();j.settings.skin=j.forcedHighContrastMode?"highcontrast":j.settings.skin;l.settings=m=h({theme_advanced_path:true,theme_advanced_toolbar_location:"bottom",theme_advanced_buttons1:"bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect",theme_advanced_buttons2:"bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",theme_advanced_buttons3:"hr,removeformat,visualaid,|,sub,sup,|,charmap",theme_advanced_blockformats:"p,address,pre,h1,h2,h3,h4,h5,h6",theme_advanced_toolbar_align:"center",theme_advanced_fonts:"Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",theme_advanced_more_colors:1,theme_advanced_row_height:23,theme_advanced_resize_horizontal:1,theme_advanced_resizing_use_cookie:1,theme_advanced_font_sizes:"1,2,3,4,5,6,7",theme_advanced_font_selector:"span",readonly:j.settings.readonly},j.settings);if(!m.font_size_style_values){m.font_size_style_values="8pt,10pt,12pt,14pt,18pt,24pt,36pt"}if(e.is(m.theme_advanced_font_sizes,"string")){m.font_size_style_values=e.explode(m.font_size_style_values);m.font_size_classes=e.explode(m.font_size_classes||"");n={};j.settings.theme_advanced_font_sizes=m.theme_advanced_font_sizes;f(j.getParam("theme_advanced_font_sizes","","hash"),function(q,p){var o;if(p==q&&q>=1&&q<=7){p=q+" ("+l.sizes[q-1]+"pt)";o=m.font_size_classes[q-1];q=m.font_size_style_values[q-1]||(l.sizes[q-1]+"pt")}if(/^\s*\./.test(q)){o=q.replace(/\./g,"")}n[p]=o?{"class":o}:{fontSize:q}});m.theme_advanced_font_sizes=n}if((i=m.theme_advanced_path_location)&&i!="none"){m.theme_advanced_statusbar_location=m.theme_advanced_path_location}if(m.theme_advanced_statusbar_location=="none"){m.theme_advanced_statusbar_location=0}if(j.settings.content_css!==false){j.contentCSS.push(j.baseURI.toAbsolute(k+"/skins/"+j.settings.skin+"/content.css"))}j.onInit.add(function(){if(!j.settings.readonly){j.onNodeChange.add(l._nodeChanged,l);j.onKeyUp.add(l._updateUndoStatus,l);j.onMouseUp.add(l._updateUndoStatus,l);j.dom.bind(j.dom.getRoot(),"dragend",function(){l._updateUndoStatus(j)})}});j.onSetProgressState.add(function(q,o,r){var s,t=q.id,p;if(o){l.progressTimer=setTimeout(function(){s=q.getContainer();s=s.insertBefore(d.create("DIV",{style:"position:relative"}),s.firstChild);p=d.get(q.id+"_tbl");d.add(s,"div",{id:t+"_blocker","class":"mceBlocker",style:{width:p.clientWidth+2,height:p.clientHeight+2}});d.add(s,"div",{id:t+"_progress","class":"mceProgress",style:{left:p.clientWidth/2,top:p.clientHeight/2}})},r||0)}else{d.remove(t+"_blocker");d.remove(t+"_progress");clearTimeout(l.progressTimer)}});d.loadCSS(m.editor_css?j.documentBaseURI.toAbsolute(m.editor_css):k+"/skins/"+j.settings.skin+"/ui.css");if(m.skin_variant){d.loadCSS(k+"/skins/"+j.settings.skin+"/ui_"+m.skin_variant+".css")}},_isHighContrast:function(){var i,j=d.add(d.getRoot(),"div",{style:"background-color: rgb(171,239,86);"});i=(d.getStyle(j,"background-color",true)+"").toLowerCase().replace(/ /g,"");d.remove(j);return i!="rgb(171,239,86)"&&i!="#abef56"},createControl:function(l,i){var j,k;if(k=i.createControl(l)){return k}switch(l){case"styleselect":return this._createStyleSelect();case"formatselect":return this._createBlockFormats();case"fontselect":return this._createFontSelect();case"fontsizeselect":return this._createFontSizeSelect();case"forecolor":return this._createForeColorMenu();case"backcolor":return this._createBackColorMenu()}if((j=this.controls[l])){return i.createButton(l,{title:"advanced."+j[0],cmd:j[1],ui:j[2],value:j[3]})}},execCommand:function(k,j,l){var i=this["_"+k];if(i){i.call(this,j,l);return true}return false},_importClasses:function(k){var i=this.editor,j=i.controlManager.get("styleselect");if(j.getLength()==0){f(i.dom.getClasses(),function(n,l){var m="style_"+l;i.formatter.register(m,{inline:"span",attributes:{"class":n["class"]},selector:"*"});j.add(n["class"],m)})}},_createStyleSelect:function(m){var k=this,i=k.editor,j=i.controlManager,l;l=j.createListBox("styleselect",{title:"advanced.style_select",onselect:function(o){var p,n=[];f(l.items,function(q){n.push(q.value)});i.focus();i.undoManager.add();p=i.formatter.matchAll(n);if(!o||p[0]==o){if(p[0]){i.formatter.remove(p[0])}}else{i.formatter.apply(o)}i.undoManager.add();i.nodeChanged();return false}});i.onInit.add(function(){var o=0,n=i.getParam("style_formats");if(n){f(n,function(p){var q,r=0;f(p,function(){r++});if(r>1){q=p.name=p.name||"style_"+(o++);i.formatter.register(q,p);l.add(p.title,q)}else{l.add(p.title)}})}else{f(i.getParam("theme_advanced_styles","","hash"),function(r,q){var p;if(r){p="style_"+(o++);i.formatter.register(p,{inline:"span",classes:r,selector:"*"});l.add(k.editor.translate(q),p)}})}});if(l.getLength()==0){l.onPostRender.add(function(o,p){if(!l.NativeListBox){b.add(p.id+"_text","focus",k._importClasses,k);b.add(p.id+"_text","mousedown",k._importClasses,k);b.add(p.id+"_open","focus",k._importClasses,k);b.add(p.id+"_open","mousedown",k._importClasses,k)}else{b.add(p.id,"focus",k._importClasses,k)}})}return l},_createFontSelect:function(){var k,j=this,i=j.editor;k=i.controlManager.createListBox("fontselect",{title:"advanced.fontdefault",onselect:function(l){var m=k.items[k.selectedIndex];if(!l&&m){i.execCommand("FontName",false,m.value);return}i.execCommand("FontName",false,l);k.select(function(n){return l==n});return false}});if(k){f(i.getParam("theme_advanced_fonts",j.settings.theme_advanced_fonts,"hash"),function(m,l){k.add(i.translate(l),m,{style:m.indexOf("dings")==-1?"font-family:"+m:""})})}return k},_createFontSizeSelect:function(){var m=this,k=m.editor,n,l=0,j=[];n=k.controlManager.createListBox("fontsizeselect",{title:"advanced.font_size",onselect:function(i){var o=n.items[n.selectedIndex];if(!i&&o){o=o.value;if(o["class"]){k.formatter.toggle("fontsize_class",{value:o["class"]});k.undoManager.add();k.nodeChanged()}else{k.execCommand("FontSize",false,o.fontSize)}return}if(i["class"]){k.focus();k.undoManager.add();k.formatter.toggle("fontsize_class",{value:i["class"]});k.undoManager.add();k.nodeChanged()}else{k.execCommand("FontSize",false,i.fontSize)}n.select(function(p){return i==p});return false}});if(n){f(m.settings.theme_advanced_font_sizes,function(o,i){var p=o.fontSize;if(p>=1&&p<=7){p=m.sizes[parseInt(p)-1]+"pt"}n.add(i,o,{style:"font-size:"+p,"class":"mceFontSize"+(l++)+(" "+(o["class"]||""))})})}return n},_createBlockFormats:function(){var k,i={p:"advanced.paragraph",address:"advanced.address",pre:"advanced.pre",h1:"advanced.h1",h2:"advanced.h2",h3:"advanced.h3",h4:"advanced.h4",h5:"advanced.h5",h6:"advanced.h6",div:"advanced.div",blockquote:"advanced.blockquote",code:"advanced.code",dt:"advanced.dt",dd:"advanced.dd",samp:"advanced.samp"},j=this;k=j.editor.controlManager.createListBox("formatselect",{title:"advanced.block",cmd:"FormatBlock"});if(k){f(j.editor.getParam("theme_advanced_blockformats",j.settings.theme_advanced_blockformats,"hash"),function(m,l){k.add(j.editor.translate(l!=m?l:i[m]),m,{"class":"mce_formatPreview mce_"+m})})}return k},_createForeColorMenu:function(){var m,j=this,k=j.settings,l={},i;if(k.theme_advanced_more_colors){l.more_colors_func=function(){j._mceColorPicker(0,{color:m.value,func:function(n){m.setColor(n)}})}}if(i=k.theme_advanced_text_colors){l.colors=i}if(k.theme_advanced_default_foreground_color){l.default_color=k.theme_advanced_default_foreground_color}l.title="advanced.forecolor_desc";l.cmd="ForeColor";l.scope=this;m=j.editor.controlManager.createColorSplitButton("forecolor",l);return m},_createBackColorMenu:function(){var m,j=this,k=j.settings,l={},i;if(k.theme_advanced_more_colors){l.more_colors_func=function(){j._mceColorPicker(0,{color:m.value,func:function(n){m.setColor(n)}})}}if(i=k.theme_advanced_background_colors){l.colors=i}if(k.theme_advanced_default_background_color){l.default_color=k.theme_advanced_default_background_color}l.title="advanced.backcolor_desc";l.cmd="HiliteColor";l.scope=this;m=j.editor.controlManager.createColorSplitButton("backcolor",l);return m},renderUI:function(k){var m,l,q,v=this,r=v.editor,w=v.settings,u,j,i;if(r.settings){r.settings.aria_label=w.aria_label+r.getLang("advanced.help_shortcut")}m=j=d.create("span",{role:"application","aria-labelledby":r.id+"_voice",id:r.id+"_parent","class":"mceEditor "+r.settings.skin+"Skin"+(w.skin_variant?" "+r.settings.skin+"Skin"+v._ufirst(w.skin_variant):"")});d.add(m,"span",{"class":"mceVoiceLabel",style:"display:none;",id:r.id+"_voice"},w.aria_label);if(!d.boxModel){m=d.add(m,"div",{"class":"mceOldBoxModel"})}m=u=d.add(m,"table",{role:"presentation",id:r.id+"_tbl","class":"mceLayout",cellSpacing:0,cellPadding:0});m=q=d.add(m,"tbody");switch((w.theme_advanced_layout_manager||"").toLowerCase()){case"rowlayout":l=v._rowLayout(w,q,k);break;case"customlayout":l=r.execCallback("theme_advanced_custom_layout",w,q,k,j);break;default:l=v._simpleLayout(w,q,k,j)}m=k.targetNode;i=u.rows;d.addClass(i[0],"mceFirst");d.addClass(i[i.length-1],"mceLast");f(d.select("tr",q),function(o){d.addClass(o.firstChild,"mceFirst");d.addClass(o.childNodes[o.childNodes.length-1],"mceLast")});if(d.get(w.theme_advanced_toolbar_container)){d.get(w.theme_advanced_toolbar_container).appendChild(j)}else{d.insertAfter(j,m)}b.add(r.id+"_path_row","click",function(n){n=n.target;if(n.nodeName=="A"){v._sel(n.className.replace(/^.*mcePath_([0-9]+).*$/,"$1"));return b.cancel(n)}});if(!r.getParam("accessibility_focus")){b.add(d.add(j,"a",{href:"#"},"<!-- IE -->"),"focus",function(){tinyMCE.get(r.id).focus()})}if(w.theme_advanced_toolbar_location=="external"){k.deltaHeight=0}v.deltaHeight=k.deltaHeight;k.targetNode=null;r.onKeyDown.add(function(p,n){var s=121,o=122;if(n.altKey){if(n.keyCode===s){v.toolbarGroup.focus();return b.cancel(n)}else{if(n.keyCode===o){d.get(p.id+"_path_row").focus();return b.cancel(n)}}}});r.addShortcut("alt+0","","mceShortcuts",v);return{iframeContainer:l,editorContainer:r.id+"_parent",sizeContainer:u,deltaHeight:k.deltaHeight}},getInfo:function(){return{longname:"Advanced theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:e.majorVersion+"."+e.minorVersion}},resizeBy:function(i,j){var k=d.get(this.editor.id+"_ifr");this.resizeTo(k.clientWidth+i,k.clientHeight+j)},resizeTo:function(i,m,k){var j=this.editor,l=this.settings,n=d.get(j.id+"_tbl"),o=d.get(j.id+"_ifr");i=Math.max(l.theme_advanced_resizing_min_width||100,i);m=Math.max(l.theme_advanced_resizing_min_height||100,m);i=Math.min(l.theme_advanced_resizing_max_width||65535,i);m=Math.min(l.theme_advanced_resizing_max_height||65535,m);d.setStyle(n,"height","");d.setStyle(o,"height",m);if(l.theme_advanced_resize_horizontal){d.setStyle(n,"width","");d.setStyle(o,"width",i);if(i<n.clientWidth){i=n.clientWidth;d.setStyle(o,"width",n.clientWidth)}}if(k&&l.theme_advanced_resizing_use_cookie){a.setHash("TinyMCE_"+j.id+"_size",{cw:i,ch:m})}},destroy:function(){var i=this.editor.id;b.clear(i+"_resize");b.clear(i+"_path_row");b.clear(i+"_external_close")},_simpleLayout:function(y,r,k,i){var x=this,u=x.editor,v=y.theme_advanced_toolbar_location,m=y.theme_advanced_statusbar_location,l,j,q,w;if(y.readonly){l=d.add(r,"tr");l=j=d.add(l,"td",{"class":"mceIframeContainer"});return j}if(v=="top"){x._addToolbars(r,k)}if(v=="external"){l=w=d.create("div",{style:"position:relative"});l=d.add(l,"div",{id:u.id+"_external","class":"mceExternalToolbar"});d.add(l,"a",{id:u.id+"_external_close",href:"javascript:;","class":"mceExternalClose"});l=d.add(l,"table",{id:u.id+"_tblext",cellSpacing:0,cellPadding:0});q=d.add(l,"tbody");if(i.firstChild.className=="mceOldBoxModel"){i.firstChild.appendChild(w)}else{i.insertBefore(w,i.firstChild)}x._addToolbars(q,k);u.onMouseUp.add(function(){var o=d.get(u.id+"_external");d.show(o);d.hide(g);var n=b.add(u.id+"_external_close","click",function(){d.hide(u.id+"_external");b.remove(u.id+"_external_close","click",n)});d.show(o);d.setStyle(o,"top",0-d.getRect(u.id+"_tblext").h-1);d.hide(o);d.show(o);o.style.filter="";g=u.id+"_external";o=null})}if(m=="top"){x._addStatusBar(r,k)}if(!y.theme_advanced_toolbar_container){l=d.add(r,"tr");l=j=d.add(l,"td",{"class":"mceIframeContainer"})}if(v=="bottom"){x._addToolbars(r,k)}if(m=="bottom"){x._addStatusBar(r,k)}return j},_rowLayout:function(w,m,k){var v=this,p=v.editor,u,x,i=p.controlManager,l,j,r,q;u=w.theme_advanced_containers_default_class||"";x=w.theme_advanced_containers_default_align||"center";f(c(w.theme_advanced_containers||""),function(s,o){var n=w["theme_advanced_container_"+s]||"";switch(n.toLowerCase()){case"mceeditor":l=d.add(m,"tr");l=j=d.add(l,"td",{"class":"mceIframeContainer"});break;case"mceelementpath":v._addStatusBar(m,k);break;default:q=(w["theme_advanced_container_"+s+"_align"]||x).toLowerCase();q="mce"+v._ufirst(q);l=d.add(d.add(m,"tr"),"td",{"class":"mceToolbar "+(w["theme_advanced_container_"+s+"_class"]||u)+" "+q||x});r=i.createToolbar("toolbar"+o);v._addControls(n,r);d.setHTML(l,r.renderHTML());k.deltaHeight-=w.theme_advanced_row_height}});return j},_addControls:function(j,i){var k=this,l=k.settings,m,n=k.editor.controlManager;if(l.theme_advanced_disable&&!k._disabled){m={};f(c(l.theme_advanced_disable),function(o){m[o]=1});k._disabled=m}else{m=k._disabled}f(c(j),function(p){var o;if(m&&m[p]){return}if(p=="tablecontrols"){f(["table","|","row_props","cell_props","|","row_before","row_after","delete_row","|","col_before","col_after","delete_col","|","split_cells","merge_cells"],function(q){q=k.createControl(q,n);if(q){i.add(q)}});return}o=k.createControl(p,n);if(o){i.add(o)}})},_addToolbars:function(x,k){var A=this,p,m,r=A.editor,B=A.settings,z,j=r.controlManager,u,l,q=[],y,w;w=j.createToolbarGroup("toolbargroup",{name:r.getLang("advanced.toolbar"),tab_focus_toolbar:r.getParam("theme_advanced_tab_focus_toolbar")});A.toolbarGroup=w;y=B.theme_advanced_toolbar_align.toLowerCase();y="mce"+A._ufirst(y);l=d.add(d.add(x,"tr",{role:"presentation"}),"td",{"class":"mceToolbar "+y,role:"presentation"});for(p=1;(z=B["theme_advanced_buttons"+p]);p++){m=j.createToolbar("toolbar"+p,{"class":"mceToolbarRow"+p});if(B["theme_advanced_buttons"+p+"_add"]){z+=","+B["theme_advanced_buttons"+p+"_add"]}if(B["theme_advanced_buttons"+p+"_add_before"]){z=B["theme_advanced_buttons"+p+"_add_before"]+","+z}A._addControls(z,m);w.add(m);k.deltaHeight-=B.theme_advanced_row_height}q.push(w.renderHTML());q.push(d.createHTML("a",{href:"#",accesskey:"z",title:r.getLang("advanced.toolbar_focus"),onfocus:"tinyMCE.getInstanceById('"+r.id+"').focus();"},"<!-- IE -->"));d.setHTML(l,q.join(""))},_addStatusBar:function(m,j){var k,v=this,p=v.editor,w=v.settings,i,q,u,l;k=d.add(m,"tr");k=l=d.add(k,"td",{"class":"mceStatusbar"});k=d.add(k,"div",{id:p.id+"_path_row",role:"group","aria-labelledby":p.id+"_path_voice"});if(w.theme_advanced_path){d.add(k,"span",{id:p.id+"_path_voice"},p.translate("advanced.path"));d.add(k,"span",{},": ")}else{d.add(k,"span",{},"&#160;")}if(w.theme_advanced_resizing){d.add(l,"a",{id:p.id+"_resize",href:"javascript:;",onclick:"return false;","class":"mceResize"});if(w.theme_advanced_resizing_use_cookie){p.onPostRender.add(function(){var n=a.getHash("TinyMCE_"+p.id+"_size"),r=d.get(p.id+"_tbl");if(!n){return}v.resizeTo(n.cw,n.ch)})}p.onPostRender.add(function(){b.add(p.id+"_resize","click",function(n){n.preventDefault()});b.add(p.id+"_resize","mousedown",function(D){var t,r,s,o,C,z,A,F,n,E,x;function y(G){G.preventDefault();n=A+(G.screenX-C);E=F+(G.screenY-z);v.resizeTo(n,E)}function B(G){b.remove(d.doc,"mousemove",t);b.remove(p.getDoc(),"mousemove",r);b.remove(d.doc,"mouseup",s);b.remove(p.getDoc(),"mouseup",o);n=A+(G.screenX-C);E=F+(G.screenY-z);v.resizeTo(n,E,true)}D.preventDefault();C=D.screenX;z=D.screenY;x=d.get(v.editor.id+"_ifr");A=n=x.clientWidth;F=E=x.clientHeight;t=b.add(d.doc,"mousemove",y);r=b.add(p.getDoc(),"mousemove",y);s=b.add(d.doc,"mouseup",B);o=b.add(p.getDoc(),"mouseup",B)})})}j.deltaHeight-=21;k=m=null},_updateUndoStatus:function(j){var i=j.controlManager;i.setDisabled("undo",!j.undoManager.hasUndo()&&!j.typing);i.setDisabled("redo",!j.undoManager.hasRedo())},_nodeChanged:function(l,q,B,m,C){var x=this,A,D=0,w,E,y=x.settings,u,k,r,j,i;e.each(x.stateControls,function(n){q.setActive(n,l.queryCommandState(x.controls[n][1]))});function o(p){var s,n=C.parents,t=p;if(typeof(p)=="string"){t=function(v){return v.nodeName==p}}for(s=0;s<n.length;s++){if(t(n[s])){return n[s]}}}q.setActive("visualaid",l.hasVisual);q.setDisabled("undo",!l.undoManager.hasUndo()&&!l.typing);q.setDisabled("redo",!l.undoManager.hasRedo());q.setDisabled("outdent",!l.queryCommandState("Outdent"));A=o("A");if(E=q.get("link")){if(!A||!A.name){E.setDisabled(!A&&m);E.setActive(!!A)}}if(E=q.get("unlink")){E.setDisabled(!A&&m);E.setActive(!!A&&!A.name)}if(E=q.get("anchor")){E.setActive(!m&&!!A&&A.name)}A=o("IMG");if(E=q.get("image")){E.setActive(!m&&!!A&&B.className.indexOf("mceItem")==-1)}if(E=q.get("styleselect")){x._importClasses();j=[];f(E.items,function(n){j.push(n.value)});i=l.formatter.matchAll(j);E.select(i[0])}if(E=q.get("formatselect")){A=o(d.isBlock);if(A){E.select(A.nodeName.toLowerCase())}}o(function(p){if(p.nodeName==="SPAN"){if(!u&&p.className){u=p.className}}if(l.dom.is(p,y.theme_advanced_font_selector)){if(!k&&p.style.fontSize){k=p.style.fontSize}if(!r&&p.style.fontFamily){r=p.style.fontFamily.replace(/[\"\']+/g,"").replace(/^([^,]+).*/,"$1").toLowerCase()}}return false});if(E=q.get("fontselect")){E.select(function(n){return n.replace(/^([^,]+).*/,"$1").toLowerCase()==r})}if(E=q.get("fontsizeselect")){if(y.theme_advanced_runtime_fontsize&&!k&&!u){k=l.dom.getStyle(B,"fontSize",true)}E.select(function(n){if(n.fontSize&&n.fontSize===k){return true}if(n["class"]&&n["class"]===u){return true}})}if(y.theme_advanced_show_current_color){function z(p,n){if(E=q.get(p)){if(!n){n=E.settings.default_color}if(n!==E.value){E.displayColor(n)}}}z("forecolor",fc);z("backcolor",bc)}if(y.theme_advanced_path&&y.theme_advanced_statusbar_location){A=d.get(l.id+"_path")||d.add(l.id+"_path_row","span",{id:l.id+"_path"});if(x.statusKeyboardNavigation){x.statusKeyboardNavigation.destroy();x.statusKeyboardNavigation=null}d.setHTML(A,"");o(function(F){var p=F.nodeName.toLowerCase(),s,v,t="";if(F.getAttribute("data-mce-bogus")){return}if(F.nodeType!=1||F.nodeName==="BR"||(d.hasClass(F,"mceItemHidden")||d.hasClass(F,"mceItemRemoved"))){return}if(e.isIE&&F.scopeName!=="HTML"){p=F.scopeName+":"+p}p=p.replace(/mce\:/g,"");switch(p){case"b":p="strong";break;case"i":p="em";break;case"img":if(w=d.getAttrib(F,"src")){t+="src: "+w+" "}break;case"a":if(w=d.getAttrib(F,"name")){t+="name: "+w+" ";p+="#"+w}if(w=d.getAttrib(F,"href")){t+="href: "+w+" "}break;case"font":if(w=d.getAttrib(F,"face")){t+="font: "+w+" "}if(w=d.getAttrib(F,"size")){t+="size: "+w+" "}if(w=d.getAttrib(F,"color")){t+="color: "+w+" "}break;case"span":if(w=d.getAttrib(F,"style")){t+="style: "+w+" "}break}if(w=d.getAttrib(F,"id")){t+="id: "+w+" "}if(w=F.className){w=w.replace(/\b\s*(webkit|mce|Apple-)\w+\s*\b/g,"");if(w){t+="class: "+w+" ";if(d.isBlock(F)||p=="img"||p=="span"){p+="."+w}}}p=p.replace(/(html:)/g,"");p={name:p,node:F,title:t};x.onResolveName.dispatch(x,p);t=p.title;p=p.name;v=d.create("a",{href:"javascript:;",role:"button",onmousedown:"return false;",title:t,"class":"mcePath_"+(D++)},p);if(A.hasChildNodes()){A.insertBefore(d.create("span",{"aria-hidden":"true"},"\u00a0\u00bb "),A.firstChild);A.insertBefore(v,A.firstChild)}else{A.appendChild(v)}},l.getBody());if(d.select("a",A).length>0){x.statusKeyboardNavigation=new e.ui.KeyboardNavigation({root:l.id+"_path_row",items:d.select("a",A),excludeFromTabOrder:true,onCancel:function(){l.focus()}},d)}}},_sel:function(i){this.editor.execCommand("mceSelectNodeDepth",false,i)},_mceInsertAnchor:function(k,j){var i=this.editor;i.windowManager.open({url:this.url+"/anchor.htm",width:320+parseInt(i.getLang("advanced.anchor_delta_width",0)),height:90+parseInt(i.getLang("advanced.anchor_delta_height",0)),inline:true},{theme_url:this.url})},_mceCharMap:function(){var i=this.editor;i.windowManager.open({url:this.url+"/charmap.htm",width:550+parseInt(i.getLang("advanced.charmap_delta_width",0)),height:250+parseInt(i.getLang("advanced.charmap_delta_height",0)),inline:true},{theme_url:this.url})},_mceHelp:function(){var i=this.editor;i.windowManager.open({url:this.url+"/about.htm",width:480,height:380,inline:true},{theme_url:this.url})},_mceShortcuts:function(){var i=this.editor;i.windowManager.open({url:this.url+"/shortcuts.htm",width:480,height:380,inline:true},{theme_url:this.url})},_mceColorPicker:function(k,j){var i=this.editor;j=j||{};i.windowManager.open({url:this.url+"/color_picker.htm",width:375+parseInt(i.getLang("advanced.colorpicker_delta_width",0)),height:250+parseInt(i.getLang("advanced.colorpicker_delta_height",0)),close_previous:false,inline:true},{input_color:j.color,func:j.func,theme_url:this.url})},_mceCodeEditor:function(j,k){var i=this.editor;i.windowManager.open({url:this.url+"/source_editor.htm",width:parseInt(i.getParam("theme_advanced_source_editor_width",720)),height:parseInt(i.getParam("theme_advanced_source_editor_height",580)),inline:true,resizable:true,maximizable:true},{theme_url:this.url})},_mceImage:function(j,k){var i=this.editor;if(i.dom.getAttrib(i.selection.getNode(),"class").indexOf("mceItem")!=-1){return}i.windowManager.open({url:this.url+"/image.htm",width:355+parseInt(i.getLang("advanced.image_delta_width",0)),height:275+parseInt(i.getLang("advanced.image_delta_height",0)),inline:true},{theme_url:this.url})},_mceLink:function(j,k){var i=this.editor;i.windowManager.open({url:this.url+"/link.htm",width:310+parseInt(i.getLang("advanced.link_delta_width",0)),height:200+parseInt(i.getLang("advanced.link_delta_height",0)),inline:true},{theme_url:this.url})},_mceNewDocument:function(){var i=this.editor;i.windowManager.confirm("advanced.newdocument",function(j){if(j){i.execCommand("mceSetContent",false,"")}})},_mceForeColor:function(){var i=this;this._mceColorPicker(0,{color:i.fgColor,func:function(j){i.fgColor=j;i.editor.execCommand("ForeColor",false,j)}})},_mceBackColor:function(){var i=this;this._mceColorPicker(0,{color:i.bgColor,func:function(j){i.bgColor=j;i.editor.execCommand("HiliteColor",false,j)}})},_ufirst:function(i){return i.substring(0,1).toUpperCase()+i.substring(1)}});e.ThemeManager.add("advanced",e.themes.AdvancedTheme)}(tinymce));
@@ -66,6 +66,9 @@
66
66
  t.url = url;
67
67
  t.onResolveName = new tinymce.util.Dispatcher(this);
68
68
 
69
+ ed.forcedHighContrastMode = ed.settings.detect_highcontrast && t._isHighContrast();
70
+ ed.settings.skin = ed.forcedHighContrastMode ? 'highcontrast' : ed.settings.skin;
71
+
69
72
  // Default settings
70
73
  t.settings = s = extend({
71
74
  theme_advanced_path : true,
@@ -81,6 +84,7 @@
81
84
  theme_advanced_resize_horizontal : 1,
82
85
  theme_advanced_resizing_use_cookie : 1,
83
86
  theme_advanced_font_sizes : "1,2,3,4,5,6,7",
87
+ theme_advanced_font_selector : "span",
84
88
  readonly : ed.settings.readonly
85
89
  }, ed.settings);
86
90
 
@@ -119,13 +123,19 @@
119
123
  if (s.theme_advanced_statusbar_location == 'none')
120
124
  s.theme_advanced_statusbar_location = 0;
121
125
 
126
+ if (ed.settings.content_css !== false)
127
+ ed.contentCSS.push(ed.baseURI.toAbsolute(url + "/skins/" + ed.settings.skin + "/content.css"));
128
+
122
129
  // Init editor
123
130
  ed.onInit.add(function() {
124
- if (!ed.settings.readonly)
131
+ if (!ed.settings.readonly) {
125
132
  ed.onNodeChange.add(t._nodeChanged, t);
126
-
127
- if (ed.settings.content_css !== false)
128
- ed.dom.loadCSS(ed.baseURI.toAbsolute("themes/advanced/skins/" + ed.settings.skin + "/content.css"));
133
+ ed.onKeyUp.add(t._updateUndoStatus, t);
134
+ ed.onMouseUp.add(t._updateUndoStatus, t);
135
+ ed.dom.bind(ed.dom.getRoot(), 'dragend', function() {
136
+ t._updateUndoStatus(ed);
137
+ });
138
+ }
129
139
  });
130
140
 
131
141
  ed.onSetProgressState.add(function(ed, b, ti) {
@@ -153,6 +163,15 @@
153
163
  DOM.loadCSS(url + "/skins/" + ed.settings.skin + "/ui_" + s.skin_variant + ".css");
154
164
  },
155
165
 
166
+ _isHighContrast : function() {
167
+ var actualColor, div = DOM.add(DOM.getRoot(), 'div', {'style': 'background-color: rgb(171,239,86);'});
168
+
169
+ actualColor = (DOM.getStyle(div, 'background-color', true) + '').toLowerCase().replace(/ /g, '');
170
+ DOM.remove(div);
171
+
172
+ return actualColor != 'rgb(171,239,86)' && actualColor != '#abef56';
173
+ },
174
+
156
175
  createControl : function(n, cf) {
157
176
  var cd, c;
158
177
 
@@ -226,14 +245,19 @@
226
245
  });
227
246
 
228
247
  ed.focus();
248
+ ed.undoManager.add();
229
249
 
230
250
  // Toggle off the current format
231
251
  matches = ed.formatter.matchAll(formatNames);
232
- if (matches[0] == name)
233
- ed.formatter.remove(name);
234
- else
252
+ if (!name || matches[0] == name) {
253
+ if (matches[0])
254
+ ed.formatter.remove(matches[0]);
255
+ } else
235
256
  ed.formatter.apply(name);
236
257
 
258
+ ed.undoManager.add();
259
+ ed.nodeChanged();
260
+
237
261
  return false; // No auto select
238
262
  }
239
263
  });
@@ -296,7 +320,20 @@
296
320
  c = ed.controlManager.createListBox('fontselect', {
297
321
  title : 'advanced.fontdefault',
298
322
  onselect : function(v) {
323
+ var cur = c.items[c.selectedIndex];
324
+
325
+ if (!v && cur) {
326
+ ed.execCommand('FontName', false, cur.value);
327
+ return;
328
+ }
329
+
299
330
  ed.execCommand('FontName', false, v);
331
+
332
+ // Fake selection, execCommand will fire a nodeChange and update the selection
333
+ c.select(function(sv) {
334
+ return v == sv;
335
+ });
336
+
300
337
  return false; // No auto select
301
338
  }
302
339
  });
@@ -314,12 +351,36 @@
314
351
  var t = this, ed = t.editor, c, i = 0, cl = [];
315
352
 
316
353
  c = ed.controlManager.createListBox('fontsizeselect', {title : 'advanced.font_size', onselect : function(v) {
354
+ var cur = c.items[c.selectedIndex];
355
+
356
+ if (!v && cur) {
357
+ cur = cur.value;
358
+
359
+ if (cur['class']) {
360
+ ed.formatter.toggle('fontsize_class', {value : cur['class']});
361
+ ed.undoManager.add();
362
+ ed.nodeChanged();
363
+ } else {
364
+ ed.execCommand('FontSize', false, cur.fontSize);
365
+ }
366
+
367
+ return;
368
+ }
369
+
317
370
  if (v['class']) {
318
371
  ed.focus();
372
+ ed.undoManager.add();
319
373
  ed.formatter.toggle('fontsize_class', {value : v['class']});
374
+ ed.undoManager.add();
375
+ ed.nodeChanged();
320
376
  } else
321
377
  ed.execCommand('FontSize', false, v.fontSize);
322
378
 
379
+ // Fake selection, execCommand will fire a nodeChange and update the selection
380
+ c.select(function(sv) {
381
+ return v == sv;
382
+ });
383
+
323
384
  return false; // No auto select
324
385
  }});
325
386
 
@@ -427,12 +488,19 @@
427
488
  renderUI : function(o) {
428
489
  var n, ic, tb, t = this, ed = t.editor, s = t.settings, sc, p, nl;
429
490
 
430
- n = p = DOM.create('span', {id : ed.id + '_parent', 'class' : 'mceEditor ' + ed.settings.skin + 'Skin' + (s.skin_variant ? ' ' + ed.settings.skin + 'Skin' + t._ufirst(s.skin_variant) : '')});
491
+ if (ed.settings) {
492
+ ed.settings.aria_label = s.aria_label + ed.getLang('advanced.help_shortcut');
493
+ }
494
+
495
+ // TODO: ACC Should have an aria-describedby attribute which is user-configurable to describe what this field is actually for.
496
+ // Maybe actually inherit it from the original textara?
497
+ n = p = DOM.create('span', {role : 'application', 'aria-labelledby' : ed.id + '_voice', id : ed.id + '_parent', 'class' : 'mceEditor ' + ed.settings.skin + 'Skin' + (s.skin_variant ? ' ' + ed.settings.skin + 'Skin' + t._ufirst(s.skin_variant) : '')});
498
+ DOM.add(n, 'span', {'class': 'mceVoiceLabel', 'style': 'display:none;', id: ed.id + '_voice'}, s.aria_label);
431
499
 
432
500
  if (!DOM.boxModel)
433
501
  n = DOM.add(n, 'div', {'class' : 'mceOldBoxModel'});
434
502
 
435
- n = sc = DOM.add(n, 'table', {id : ed.id + '_tbl', 'class' : 'mceLayout', cellSpacing : 0, cellPadding : 0});
503
+ n = sc = DOM.add(n, 'table', {role : "presentation", id : ed.id + '_tbl', 'class' : 'mceLayout', cellSpacing : 0, cellPadding : 0});
436
504
  n = tb = DOM.add(n, 'tbody');
437
505
 
438
506
  switch ((s.theme_advanced_layout_manager || '').toLowerCase()) {
@@ -451,7 +519,7 @@
451
519
  n = o.targetNode;
452
520
 
453
521
  // Add classes to first and last TRs
454
- nl = DOM.stdMode ? sc.getElementsByTagName('tr') : sc.rows; // Quick fix for IE 8
522
+ nl = sc.rows;
455
523
  DOM.addClass(nl[0], 'mceFirst');
456
524
  DOM.addClass(nl[nl.length - 1], 'mceLast');
457
525
 
@@ -507,6 +575,23 @@
507
575
  t.deltaHeight = o.deltaHeight;
508
576
  o.targetNode = null;
509
577
 
578
+ ed.onKeyDown.add(function(ed, evt) {
579
+ var DOM_VK_F10 = 121, DOM_VK_F11 = 122;
580
+
581
+ if (evt.altKey) {
582
+ if (evt.keyCode === DOM_VK_F10) {
583
+ t.toolbarGroup.focus();
584
+ return Event.cancel(evt);
585
+ } else if (evt.keyCode === DOM_VK_F11) {
586
+ DOM.get(ed.id + '_path_row').focus();
587
+ return Event.cancel(evt);
588
+ }
589
+ }
590
+ });
591
+
592
+ // alt+0 is the UK recommended shortcut for accessing the list of access controls.
593
+ ed.addShortcut('alt+0', '', 'mceShortcuts', t);
594
+
510
595
  return {
511
596
  iframeContainer : ic,
512
597
  editorContainer : ed.id + '_parent',
@@ -525,12 +610,12 @@
525
610
  },
526
611
 
527
612
  resizeBy : function(dw, dh) {
528
- var e = DOM.get(this.editor.id + '_tbl');
613
+ var e = DOM.get(this.editor.id + '_ifr');
529
614
 
530
615
  this.resizeTo(e.clientWidth + dw, e.clientHeight + dh);
531
616
  },
532
617
 
533
- resizeTo : function(w, h) {
618
+ resizeTo : function(w, h, store) {
534
619
  var ed = this.editor, s = this.settings, e = DOM.get(ed.id + '_tbl'), ifr = DOM.get(ed.id + '_ifr');
535
620
 
536
621
  // Boundery fix box
@@ -548,8 +633,18 @@
548
633
  DOM.setStyle(ifr, 'width', w);
549
634
 
550
635
  // Make sure that the size is never smaller than the over all ui
551
- if (w < e.clientWidth)
636
+ if (w < e.clientWidth) {
637
+ w = e.clientWidth;
552
638
  DOM.setStyle(ifr, 'width', e.clientWidth);
639
+ }
640
+ }
641
+
642
+ // Store away the size
643
+ if (store && s.theme_advanced_resizing_use_cookie) {
644
+ Cookie.setHash("TinyMCE_" + ed.id + "_size", {
645
+ cw : w,
646
+ ch : h
647
+ });
553
648
  }
554
649
  },
555
650
 
@@ -712,17 +807,19 @@
712
807
  },
713
808
 
714
809
  _addToolbars : function(c, o) {
715
- var t = this, i, tb, ed = t.editor, s = t.settings, v, cf = ed.controlManager, di, n, h = [], a;
810
+ var t = this, i, tb, ed = t.editor, s = t.settings, v, cf = ed.controlManager, di, n, h = [], a, toolbarGroup;
716
811
 
717
- a = s.theme_advanced_toolbar_align.toLowerCase();
718
- a = 'mce' + t._ufirst(a);
812
+ toolbarGroup = cf.createToolbarGroup('toolbargroup', {
813
+ 'name': ed.getLang('advanced.toolbar'),
814
+ 'tab_focus_toolbar':ed.getParam('theme_advanced_tab_focus_toolbar')
815
+ });
719
816
 
720
- n = DOM.add(DOM.add(c, 'tr'), 'td', {'class' : 'mceToolbar ' + a});
817
+ t.toolbarGroup = toolbarGroup;
721
818
 
722
- if (!ed.getParam('accessibility_focus'))
723
- h.push(DOM.createHTML('a', {href : '#', onfocus : 'tinyMCE.get(\'' + ed.id + '\').focus();'}, '<!-- IE -->'));
819
+ a = s.theme_advanced_toolbar_align.toLowerCase();
820
+ a = 'mce' + t._ufirst(a);
724
821
 
725
- h.push(DOM.createHTML('a', {href : '#', accesskey : 'q', title : ed.getLang("advanced.toolbar_focus")}, '<!-- IE -->'));
822
+ n = DOM.add(DOM.add(c, 'tr', {role: 'presentation'}), 'td', {'class' : 'mceToolbar ' + a, "role":"presentation"});
726
823
 
727
824
  // Create toolbar and add the controls
728
825
  for (i=1; (v = s['theme_advanced_buttons' + i]); i++) {
@@ -735,13 +832,11 @@
735
832
  v = s['theme_advanced_buttons' + i + '_add_before'] + ',' + v;
736
833
 
737
834
  t._addControls(v, tb);
738
-
739
- //n.appendChild(n = tb.render());
740
- h.push(tb.renderHTML());
835
+ toolbarGroup.add(tb);
741
836
 
742
837
  o.deltaHeight -= s.theme_advanced_row_height;
743
838
  }
744
-
839
+ h.push(toolbarGroup.renderHTML());
745
840
  h.push(DOM.createHTML('a', {href : '#', accesskey : 'z', title : ed.getLang("advanced.toolbar_focus"), onfocus : 'tinyMCE.getInstanceById(\'' + ed.id + '\').focus();'}, '<!-- IE -->'));
746
841
  DOM.setHTML(n, h.join(''));
747
842
  },
@@ -750,9 +845,15 @@
750
845
  var n, t = this, ed = t.editor, s = t.settings, r, mf, me, td;
751
846
 
752
847
  n = DOM.add(tb, 'tr');
753
- n = td = DOM.add(n, 'td', {'class' : 'mceStatusbar'});
754
- n = DOM.add(n, 'div', {id : ed.id + '_path_row'}, s.theme_advanced_path ? ed.translate('advanced.path') + ': ' : '&#160;');
755
- DOM.add(n, 'a', {href : '#', accesskey : 'x'});
848
+ n = td = DOM.add(n, 'td', {'class' : 'mceStatusbar'});
849
+ n = DOM.add(n, 'div', {id : ed.id + '_path_row', 'role': 'group', 'aria-labelledby': ed.id + '_path_voice'});
850
+ if (s.theme_advanced_path) {
851
+ DOM.add(n, 'span', {id: ed.id + '_path_voice'}, ed.translate('advanced.path'));
852
+ DOM.add(n, 'span', {}, ': ');
853
+ } else {
854
+ DOM.add(n, 'span', {}, '&#160;');
855
+ }
856
+
756
857
 
757
858
  if (s.theme_advanced_resizing) {
758
859
  DOM.add(td, 'a', {id : ed.id + '_resize', href : 'javascript:;', onclick : "return false;", 'class' : 'mceResize'});
@@ -769,12 +870,18 @@
769
870
  }
770
871
 
771
872
  ed.onPostRender.add(function() {
873
+ Event.add(ed.id + '_resize', 'click', function(e) {
874
+ e.preventDefault();
875
+ });
876
+
772
877
  Event.add(ed.id + '_resize', 'mousedown', function(e) {
773
878
  var mouseMoveHandler1, mouseMoveHandler2,
774
879
  mouseUpHandler1, mouseUpHandler2,
775
880
  startX, startY, startWidth, startHeight, width, height, ifrElm;
776
881
 
777
882
  function resizeOnMove(e) {
883
+ e.preventDefault();
884
+
778
885
  width = startWidth + (e.screenX - startX);
779
886
  height = startHeight + (e.screenY - startY);
780
887
 
@@ -788,13 +895,9 @@
788
895
  Event.remove(DOM.doc, 'mouseup', mouseUpHandler1);
789
896
  Event.remove(ed.getDoc(), 'mouseup', mouseUpHandler2);
790
897
 
791
- // Store away the size
792
- if (s.theme_advanced_resizing_use_cookie) {
793
- Cookie.setHash("TinyMCE_" + ed.id + "_size", {
794
- cw : width,
795
- ch : height
796
- });
797
- }
898
+ width = startWidth + (e.screenX - startX);
899
+ height = startHeight + (e.screenY - startY);
900
+ t.resizeTo(width, height, true);
798
901
  };
799
902
 
800
903
  e.preventDefault();
@@ -819,6 +922,13 @@
819
922
  n = tb = null;
820
923
  },
821
924
 
925
+ _updateUndoStatus : function(ed) {
926
+ var cm = ed.controlManager;
927
+
928
+ cm.setDisabled('undo', !ed.undoManager.hasUndo() && !ed.typing);
929
+ cm.setDisabled('redo', !ed.undoManager.hasRedo());
930
+ },
931
+
822
932
  _nodeChanged : function(ed, cm, n, co, ob) {
823
933
  var t = this, p, de = 0, v, c, s = t.settings, cl, fz, fn, formatNames, matches;
824
934
 
@@ -860,12 +970,12 @@
860
970
  }
861
971
 
862
972
  if (c = cm.get('anchor')) {
863
- c.setActive(!!p && p.name);
973
+ c.setActive(!co && !!p && p.name);
864
974
  }
865
975
 
866
976
  p = getParent('IMG');
867
977
  if (c = cm.get('image'))
868
- c.setActive(!!p && n.className.indexOf('mceItem') == -1);
978
+ c.setActive(!co && !!p && n.className.indexOf('mceItem') == -1);
869
979
 
870
980
  if (c = cm.get('styleselect')) {
871
981
  t._importClasses();
@@ -891,7 +1001,9 @@
891
1001
  if (n.nodeName === 'SPAN') {
892
1002
  if (!cl && n.className)
893
1003
  cl = n.className;
1004
+ }
894
1005
 
1006
+ if (ed.dom.is(n, s.theme_advanced_font_selector)) {
895
1007
  if (!fz && n.style.fontSize)
896
1008
  fz = n.style.fontSize;
897
1009
 
@@ -923,24 +1035,41 @@
923
1035
  });
924
1036
  }
925
1037
 
1038
+ if (s.theme_advanced_show_current_color) {
1039
+ function updateColor(controlId, color) {
1040
+ if (c = cm.get(controlId)) {
1041
+ if (!color)
1042
+ color = c.settings.default_color;
1043
+ if (color !== c.value) {
1044
+ c.displayColor(color);
1045
+ }
1046
+ }
1047
+ };
1048
+
1049
+ updateColor('forecolor', fc);
1050
+ updateColor('backcolor', bc);
1051
+ }
1052
+
926
1053
  if (s.theme_advanced_path && s.theme_advanced_statusbar_location) {
927
1054
  p = DOM.get(ed.id + '_path') || DOM.add(ed.id + '_path_row', 'span', {id : ed.id + '_path'});
1055
+
1056
+ if (t.statusKeyboardNavigation) {
1057
+ t.statusKeyboardNavigation.destroy();
1058
+ t.statusKeyboardNavigation = null;
1059
+ }
1060
+
928
1061
  DOM.setHTML(p, '');
929
1062
 
930
1063
  getParent(function(n) {
931
1064
  var na = n.nodeName.toLowerCase(), u, pi, ti = '';
932
1065
 
933
- /*if (n.getAttribute('_mce_bogus'))
1066
+ if (n.getAttribute('data-mce-bogus'))
934
1067
  return;
935
- */
1068
+
936
1069
  // Ignore non element and hidden elements
937
1070
  if (n.nodeType != 1 || n.nodeName === 'BR' || (DOM.hasClass(n, 'mceItemHidden') || DOM.hasClass(n, 'mceItemRemoved')))
938
1071
  return;
939
1072
 
940
- // Fake name
941
- if (v = DOM.getAttrib(n, 'mce_name'))
942
- na = v;
943
-
944
1073
  // Handle prefix
945
1074
  if (tinymce.isIE && n.scopeName !== 'HTML')
946
1075
  na = n.scopeName + ':' + na;
@@ -1015,14 +1144,25 @@
1015
1144
  na = na.name;
1016
1145
 
1017
1146
  //u = "javascript:tinymce.EditorManager.get('" + ed.id + "').theme._sel('" + (de++) + "');";
1018
- pi = DOM.create('a', {'href' : "javascript:;", onmousedown : "return false;", title : ti, 'class' : 'mcePath_' + (de++)}, na);
1147
+ pi = DOM.create('a', {'href' : "javascript:;", role: 'button', onmousedown : "return false;", title : ti, 'class' : 'mcePath_' + (de++)}, na);
1019
1148
 
1020
1149
  if (p.hasChildNodes()) {
1021
- p.insertBefore(DOM.doc.createTextNode(' \u00bb '), p.firstChild);
1150
+ p.insertBefore(DOM.create('span', {'aria-hidden': 'true'}, '\u00a0\u00bb '), p.firstChild);
1022
1151
  p.insertBefore(pi, p.firstChild);
1023
1152
  } else
1024
1153
  p.appendChild(pi);
1025
1154
  }, ed.getBody());
1155
+
1156
+ if (DOM.select('a', p).length > 0) {
1157
+ t.statusKeyboardNavigation = new tinymce.ui.KeyboardNavigation({
1158
+ root: ed.id + "_path_row",
1159
+ items: DOM.select('a', p),
1160
+ excludeFromTabOrder: true,
1161
+ onCancel: function() {
1162
+ ed.focus();
1163
+ }
1164
+ }, DOM);
1165
+ }
1026
1166
  }
1027
1167
  },
1028
1168
 
@@ -1036,7 +1176,7 @@
1036
1176
  var ed = this.editor;
1037
1177
 
1038
1178
  ed.windowManager.open({
1039
- url : tinymce.baseURL + '/themes/advanced/anchor.htm',
1179
+ url : this.url + '/anchor.htm',
1040
1180
  width : 320 + parseInt(ed.getLang('advanced.anchor_delta_width', 0)),
1041
1181
  height : 90 + parseInt(ed.getLang('advanced.anchor_delta_height', 0)),
1042
1182
  inline : true
@@ -1049,7 +1189,7 @@
1049
1189
  var ed = this.editor;
1050
1190
 
1051
1191
  ed.windowManager.open({
1052
- url : tinymce.baseURL + '/themes/advanced/charmap.htm',
1192
+ url : this.url + '/charmap.htm',
1053
1193
  width : 550 + parseInt(ed.getLang('advanced.charmap_delta_width', 0)),
1054
1194
  height : 250 + parseInt(ed.getLang('advanced.charmap_delta_height', 0)),
1055
1195
  inline : true
@@ -1062,7 +1202,7 @@
1062
1202
  var ed = this.editor;
1063
1203
 
1064
1204
  ed.windowManager.open({
1065
- url : tinymce.baseURL + '/themes/advanced/about.htm',
1205
+ url : this.url + '/about.htm',
1066
1206
  width : 480,
1067
1207
  height : 380,
1068
1208
  inline : true
@@ -1071,13 +1211,25 @@
1071
1211
  });
1072
1212
  },
1073
1213
 
1214
+ _mceShortcuts : function() {
1215
+ var ed = this.editor;
1216
+ ed.windowManager.open({
1217
+ url: this.url + '/shortcuts.htm',
1218
+ width: 480,
1219
+ height: 380,
1220
+ inline: true
1221
+ }, {
1222
+ theme_url: this.url
1223
+ });
1224
+ },
1225
+
1074
1226
  _mceColorPicker : function(u, v) {
1075
1227
  var ed = this.editor;
1076
1228
 
1077
1229
  v = v || {};
1078
1230
 
1079
1231
  ed.windowManager.open({
1080
- url : tinymce.baseURL + '/themes/advanced/color_picker.htm',
1232
+ url : this.url + '/color_picker.htm',
1081
1233
  width : 375 + parseInt(ed.getLang('advanced.colorpicker_delta_width', 0)),
1082
1234
  height : 250 + parseInt(ed.getLang('advanced.colorpicker_delta_height', 0)),
1083
1235
  close_previous : false,
@@ -1093,7 +1245,7 @@
1093
1245
  var ed = this.editor;
1094
1246
 
1095
1247
  ed.windowManager.open({
1096
- url : tinymce.baseURL + '/themes/advanced/source_editor.htm',
1248
+ url : this.url + '/source_editor.htm',
1097
1249
  width : parseInt(ed.getParam("theme_advanced_source_editor_width", 720)),
1098
1250
  height : parseInt(ed.getParam("theme_advanced_source_editor_height", 580)),
1099
1251
  inline : true,
@@ -1112,7 +1264,7 @@
1112
1264
  return;
1113
1265
 
1114
1266
  ed.windowManager.open({
1115
- url : tinymce.baseURL + '/themes/advanced/image.htm',
1267
+ url : this.url + '/image.htm',
1116
1268
  width : 355 + parseInt(ed.getLang('advanced.image_delta_width', 0)),
1117
1269
  height : 275 + parseInt(ed.getLang('advanced.image_delta_height', 0)),
1118
1270
  inline : true
@@ -1125,7 +1277,7 @@
1125
1277
  var ed = this.editor;
1126
1278
 
1127
1279
  ed.windowManager.open({
1128
- url : tinymce.baseURL + '/themes/advanced/link.htm',
1280
+ url : this.url + '/link.htm',
1129
1281
  width : 310 + parseInt(ed.getLang('advanced.link_delta_width', 0)),
1130
1282
  height : 200 + parseInt(ed.getLang('advanced.link_delta_height', 0)),
1131
1283
  inline : true
@@ -1173,4 +1325,4 @@
1173
1325
  });
1174
1326
 
1175
1327
  tinymce.ThemeManager.add('advanced', tinymce.themes.AdvancedTheme);
1176
- }(tinymce));
1328
+ }(tinymce));