tinymce-rails 3.5.11.1 → 4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (336) hide show
  1. data/LICENSE +1 -1
  2. data/README.md +40 -103
  3. data/Rakefile +10 -15
  4. data/app/assets/javascripts/tinymce-jquery.js +1 -1
  5. data/app/assets/javascripts/tinymce.js +1 -1
  6. data/app/assets/javascripts/tinymce/preinit.js.erb +1 -2
  7. data/lib/tasks/tinymce-assets.rake +3 -6
  8. data/lib/tinymce/rails.rb +1 -1
  9. data/lib/tinymce/rails/asset_installer.rb +36 -34
  10. data/lib/tinymce/rails/asset_manifest.rb +89 -108
  11. data/lib/tinymce/rails/configuration.rb +36 -29
  12. data/lib/tinymce/rails/engine.rb +1 -40
  13. data/lib/tinymce/rails/helper.rb +5 -9
  14. data/lib/tinymce/rails/version.rb +2 -2
  15. data/vendor/assets/javascripts/tinymce/jquery.tinymce.js +1 -1
  16. data/vendor/assets/javascripts/tinymce/langs/readme.md +3 -0
  17. data/vendor/assets/javascripts/tinymce/license.txt +504 -504
  18. data/vendor/assets/javascripts/tinymce/plugins/advlist/plugin.js +1 -0
  19. data/vendor/assets/javascripts/tinymce/plugins/anchor/plugin.js +1 -0
  20. data/vendor/assets/javascripts/tinymce/plugins/autolink/plugin.js +1 -0
  21. data/vendor/assets/javascripts/tinymce/plugins/autoresize/plugin.js +1 -0
  22. data/vendor/assets/javascripts/tinymce/plugins/autosave/plugin.js +1 -0
  23. data/vendor/assets/javascripts/tinymce/plugins/bbcode/plugin.js +1 -0
  24. data/vendor/assets/javascripts/tinymce/plugins/charmap/plugin.js +1 -0
  25. data/vendor/assets/javascripts/tinymce/plugins/code/plugin.js +1 -0
  26. data/vendor/assets/javascripts/tinymce/{utils → plugins/compat3x}/editable_selects.js +70 -70
  27. data/vendor/assets/javascripts/tinymce/{utils → plugins/compat3x}/form_utils.js +210 -210
  28. data/vendor/assets/javascripts/tinymce/{utils → plugins/compat3x}/mctabs.js +161 -161
  29. data/vendor/assets/javascripts/tinymce/plugins/compat3x/tiny_mce_popup.js +435 -0
  30. data/vendor/assets/javascripts/tinymce/{utils → plugins/compat3x}/validate.js +252 -252
  31. data/vendor/assets/javascripts/tinymce/plugins/contextmenu/plugin.js +1 -0
  32. data/vendor/assets/javascripts/tinymce/plugins/directionality/plugin.js +1 -0
  33. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-cool.gif +0 -0
  34. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-cry.gif +0 -0
  35. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-embarassed.gif +0 -0
  36. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-foot-in-mouth.gif +0 -0
  37. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-frown.gif +0 -0
  38. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-innocent.gif +0 -0
  39. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-kiss.gif +0 -0
  40. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-laughing.gif +0 -0
  41. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-money-mouth.gif +0 -0
  42. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-sealed.gif +0 -0
  43. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-smile.gif +0 -0
  44. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-surprised.gif +0 -0
  45. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-tongue-out.gif +0 -0
  46. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-undecided.gif +0 -0
  47. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-wink.gif +0 -0
  48. data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-yell.gif +0 -0
  49. data/vendor/assets/javascripts/tinymce/plugins/emoticons/plugin.js +1 -0
  50. data/vendor/assets/javascripts/tinymce/plugins/example/plugin.js +1 -0
  51. data/vendor/assets/javascripts/tinymce/plugins/example_dependency/plugin.js +1 -0
  52. data/vendor/assets/javascripts/tinymce/plugins/fullpage/plugin.js +1 -0
  53. data/vendor/assets/javascripts/tinymce/plugins/fullscreen/plugin.js +1 -0
  54. data/vendor/assets/javascripts/tinymce/plugins/hr/plugin.js +1 -0
  55. data/vendor/assets/javascripts/tinymce/plugins/image/plugin.js +1 -0
  56. data/vendor/assets/javascripts/tinymce/plugins/insertdatetime/plugin.js +1 -0
  57. data/vendor/assets/javascripts/tinymce/plugins/layer/plugin.js +1 -0
  58. data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/plugin.js +1 -0
  59. data/vendor/assets/javascripts/tinymce/plugins/link/plugin.js +1 -0
  60. data/vendor/assets/javascripts/tinymce/plugins/lists/plugin.js +1 -0
  61. data/vendor/assets/javascripts/tinymce/plugins/media/plugin.js +1 -0
  62. data/vendor/assets/javascripts/tinymce/plugins/nonbreaking/plugin.js +1 -0
  63. data/vendor/assets/javascripts/tinymce/plugins/noneditable/plugin.js +1 -0
  64. data/vendor/assets/javascripts/tinymce/plugins/pagebreak/plugin.js +1 -0
  65. data/vendor/assets/javascripts/tinymce/plugins/paste/plugin.js +1 -0
  66. data/vendor/assets/javascripts/tinymce/plugins/preview/plugin.js +1 -0
  67. data/vendor/assets/javascripts/tinymce/plugins/print/plugin.js +1 -0
  68. data/vendor/assets/javascripts/tinymce/plugins/save/plugin.js +1 -0
  69. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/plugin.js +1 -0
  70. data/vendor/assets/javascripts/tinymce/plugins/spellchecker/plugin.js +1 -0
  71. data/vendor/assets/javascripts/tinymce/plugins/tabfocus/plugin.js +1 -0
  72. data/vendor/assets/javascripts/tinymce/plugins/table/plugin.js +1 -0
  73. data/vendor/assets/javascripts/tinymce/plugins/template/plugin.js +1 -0
  74. data/vendor/assets/javascripts/tinymce/plugins/textcolor/plugin.js +1 -0
  75. data/vendor/assets/javascripts/tinymce/plugins/visualblocks/css/visualblocks.css +114 -21
  76. data/vendor/assets/javascripts/tinymce/plugins/visualblocks/plugin.js +1 -0
  77. data/vendor/assets/javascripts/tinymce/plugins/visualchars/plugin.js +1 -0
  78. data/vendor/assets/javascripts/tinymce/plugins/wordcount/plugin.js +1 -0
  79. data/vendor/assets/javascripts/tinymce/skins/lightgray/content.inline.min.css +1 -0
  80. data/vendor/assets/javascripts/tinymce/skins/lightgray/content.min.css +1 -0
  81. data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon-small.eot +0 -0
  82. data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon-small.svg +166 -0
  83. data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon-small.ttf +0 -0
  84. data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon-small.woff +0 -0
  85. data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon.eot +0 -0
  86. data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon.svg +150 -0
  87. data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon.ttf +0 -0
  88. data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon.woff +0 -0
  89. data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/readme.md +1 -0
  90. data/vendor/assets/javascripts/tinymce/skins/lightgray/img/anchor.gif +0 -0
  91. data/vendor/assets/javascripts/tinymce/skins/lightgray/img/loader.gif +0 -0
  92. data/vendor/assets/javascripts/tinymce/skins/lightgray/img/object.gif +0 -0
  93. data/vendor/assets/javascripts/tinymce/{themes/advanced → skins/lightgray}/img/trans.gif +0 -0
  94. data/vendor/assets/javascripts/tinymce/{plugins/spellchecker → skins/lightgray}/img/wline.gif +0 -0
  95. data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.ie7.min.css +1 -0
  96. data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.min.css +1 -0
  97. data/vendor/assets/javascripts/tinymce/themes/modern/theme.js +1 -0
  98. data/vendor/assets/javascripts/tinymce/tinymce.js +10 -0
  99. data/vendor/assets/javascripts/tinymce/tinymce_jquery.js +9 -0
  100. metadata +100 -272
  101. checksums.yaml +0 -7
  102. data/lib/tinymce/rails/asset_installer/compile.rb +0 -44
  103. data/lib/tinymce/rails/asset_installer/copy.rb +0 -52
  104. data/vendor/assets/javascripts/tinymce/langs/en.js +0 -1
  105. data/vendor/assets/javascripts/tinymce/plugins/advhr/css/advhr.css +0 -5
  106. data/vendor/assets/javascripts/tinymce/plugins/advhr/editor_plugin.js +0 -1
  107. data/vendor/assets/javascripts/tinymce/plugins/advhr/editor_plugin_src.js +0 -57
  108. data/vendor/assets/javascripts/tinymce/plugins/advhr/js/rule.js +0 -43
  109. data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/en_dlg.js +0 -1
  110. data/vendor/assets/javascripts/tinymce/plugins/advhr/rule.htm +0 -58
  111. data/vendor/assets/javascripts/tinymce/plugins/advimage/css/advimage.css +0 -13
  112. data/vendor/assets/javascripts/tinymce/plugins/advimage/editor_plugin.js +0 -1
  113. data/vendor/assets/javascripts/tinymce/plugins/advimage/editor_plugin_src.js +0 -50
  114. data/vendor/assets/javascripts/tinymce/plugins/advimage/image.htm +0 -235
  115. data/vendor/assets/javascripts/tinymce/plugins/advimage/img/sample.gif +0 -0
  116. data/vendor/assets/javascripts/tinymce/plugins/advimage/js/image.js +0 -464
  117. data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/en_dlg.js +0 -1
  118. data/vendor/assets/javascripts/tinymce/plugins/advlink/css/advlink.css +0 -8
  119. data/vendor/assets/javascripts/tinymce/plugins/advlink/editor_plugin.js +0 -1
  120. data/vendor/assets/javascripts/tinymce/plugins/advlink/editor_plugin_src.js +0 -61
  121. data/vendor/assets/javascripts/tinymce/plugins/advlink/js/advlink.js +0 -543
  122. data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/en_dlg.js +0 -1
  123. data/vendor/assets/javascripts/tinymce/plugins/advlink/link.htm +0 -338
  124. data/vendor/assets/javascripts/tinymce/plugins/advlist/editor_plugin.js +0 -1
  125. data/vendor/assets/javascripts/tinymce/plugins/advlist/editor_plugin_src.js +0 -176
  126. data/vendor/assets/javascripts/tinymce/plugins/autolink/editor_plugin.js +0 -1
  127. data/vendor/assets/javascripts/tinymce/plugins/autolink/editor_plugin_src.js +0 -184
  128. data/vendor/assets/javascripts/tinymce/plugins/autoresize/editor_plugin.js +0 -1
  129. data/vendor/assets/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js +0 -119
  130. data/vendor/assets/javascripts/tinymce/plugins/autosave/editor_plugin.js +0 -1
  131. data/vendor/assets/javascripts/tinymce/plugins/autosave/editor_plugin_src.js +0 -433
  132. data/vendor/assets/javascripts/tinymce/plugins/bbcode/editor_plugin.js +0 -1
  133. data/vendor/assets/javascripts/tinymce/plugins/bbcode/editor_plugin_src.js +0 -120
  134. data/vendor/assets/javascripts/tinymce/plugins/contextmenu/editor_plugin.js +0 -1
  135. data/vendor/assets/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js +0 -163
  136. data/vendor/assets/javascripts/tinymce/plugins/directionality/editor_plugin.js +0 -1
  137. data/vendor/assets/javascripts/tinymce/plugins/directionality/editor_plugin_src.js +0 -85
  138. data/vendor/assets/javascripts/tinymce/plugins/emotions/editor_plugin.js +0 -1
  139. data/vendor/assets/javascripts/tinymce/plugins/emotions/editor_plugin_src.js +0 -43
  140. data/vendor/assets/javascripts/tinymce/plugins/emotions/emotions.htm +0 -42
  141. data/vendor/assets/javascripts/tinymce/plugins/emotions/js/emotions.js +0 -43
  142. data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/en_dlg.js +0 -1
  143. data/vendor/assets/javascripts/tinymce/plugins/example/dialog.htm +0 -22
  144. data/vendor/assets/javascripts/tinymce/plugins/example/editor_plugin.js +0 -1
  145. data/vendor/assets/javascripts/tinymce/plugins/example/editor_plugin_src.js +0 -84
  146. data/vendor/assets/javascripts/tinymce/plugins/example/img/example.gif +0 -0
  147. data/vendor/assets/javascripts/tinymce/plugins/example/js/dialog.js +0 -19
  148. data/vendor/assets/javascripts/tinymce/plugins/example/langs/en.js +0 -3
  149. data/vendor/assets/javascripts/tinymce/plugins/example/langs/en_dlg.js +0 -3
  150. data/vendor/assets/javascripts/tinymce/plugins/example_dependency/editor_plugin.js +0 -1
  151. data/vendor/assets/javascripts/tinymce/plugins/example_dependency/editor_plugin_src.js +0 -50
  152. data/vendor/assets/javascripts/tinymce/plugins/fullpage/css/fullpage.css +0 -143
  153. data/vendor/assets/javascripts/tinymce/plugins/fullpage/editor_plugin.js +0 -1
  154. data/vendor/assets/javascripts/tinymce/plugins/fullpage/editor_plugin_src.js +0 -405
  155. data/vendor/assets/javascripts/tinymce/plugins/fullpage/fullpage.htm +0 -259
  156. data/vendor/assets/javascripts/tinymce/plugins/fullpage/js/fullpage.js +0 -232
  157. data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/en_dlg.js +0 -1
  158. data/vendor/assets/javascripts/tinymce/plugins/fullscreen/editor_plugin.js +0 -1
  159. data/vendor/assets/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js +0 -234
  160. data/vendor/assets/javascripts/tinymce/plugins/fullscreen/fullscreen.htm +0 -117
  161. data/vendor/assets/javascripts/tinymce/plugins/iespell/editor_plugin.js +0 -1
  162. data/vendor/assets/javascripts/tinymce/plugins/iespell/editor_plugin_src.js +0 -54
  163. data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/editor_plugin.js +0 -1
  164. data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/editor_plugin_src.js +0 -699
  165. data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
  166. data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
  167. data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
  168. data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
  169. data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
  170. data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
  171. data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
  172. data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -90
  173. data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/template.htm +0 -387
  174. data/vendor/assets/javascripts/tinymce/plugins/insertdatetime/editor_plugin.js +0 -1
  175. data/vendor/assets/javascripts/tinymce/plugins/insertdatetime/editor_plugin_src.js +0 -83
  176. data/vendor/assets/javascripts/tinymce/plugins/layer/editor_plugin.js +0 -1
  177. data/vendor/assets/javascripts/tinymce/plugins/layer/editor_plugin_src.js +0 -262
  178. data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js +0 -1
  179. data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js +0 -139
  180. data/vendor/assets/javascripts/tinymce/plugins/lists/editor_plugin.js +0 -1
  181. data/vendor/assets/javascripts/tinymce/plugins/lists/editor_plugin_src.js +0 -955
  182. data/vendor/assets/javascripts/tinymce/plugins/media/css/media.css +0 -17
  183. data/vendor/assets/javascripts/tinymce/plugins/media/editor_plugin.js +0 -1
  184. data/vendor/assets/javascripts/tinymce/plugins/media/editor_plugin_src.js +0 -898
  185. data/vendor/assets/javascripts/tinymce/plugins/media/js/embed.js +0 -73
  186. data/vendor/assets/javascripts/tinymce/plugins/media/js/media.js +0 -513
  187. data/vendor/assets/javascripts/tinymce/plugins/media/langs/en_dlg.js +0 -1
  188. data/vendor/assets/javascripts/tinymce/plugins/media/media.htm +0 -922
  189. data/vendor/assets/javascripts/tinymce/plugins/nonbreaking/editor_plugin.js +0 -1
  190. data/vendor/assets/javascripts/tinymce/plugins/nonbreaking/editor_plugin_src.js +0 -54
  191. data/vendor/assets/javascripts/tinymce/plugins/noneditable/editor_plugin.js +0 -1
  192. data/vendor/assets/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js +0 -537
  193. data/vendor/assets/javascripts/tinymce/plugins/pagebreak/editor_plugin.js +0 -1
  194. data/vendor/assets/javascripts/tinymce/plugins/pagebreak/editor_plugin_src.js +0 -74
  195. data/vendor/assets/javascripts/tinymce/plugins/paste/editor_plugin.js +0 -1
  196. data/vendor/assets/javascripts/tinymce/plugins/paste/editor_plugin_src.js +0 -887
  197. data/vendor/assets/javascripts/tinymce/plugins/paste/js/pastetext.js +0 -36
  198. data/vendor/assets/javascripts/tinymce/plugins/paste/js/pasteword.js +0 -51
  199. data/vendor/assets/javascripts/tinymce/plugins/paste/langs/en_dlg.js +0 -1
  200. data/vendor/assets/javascripts/tinymce/plugins/paste/pastetext.htm +0 -27
  201. data/vendor/assets/javascripts/tinymce/plugins/paste/pasteword.htm +0 -21
  202. data/vendor/assets/javascripts/tinymce/plugins/preview/editor_plugin.js +0 -1
  203. data/vendor/assets/javascripts/tinymce/plugins/preview/editor_plugin_src.js +0 -53
  204. data/vendor/assets/javascripts/tinymce/plugins/preview/example.html +0 -28
  205. data/vendor/assets/javascripts/tinymce/plugins/preview/jscripts/embed.js +0 -73
  206. data/vendor/assets/javascripts/tinymce/plugins/preview/preview.html +0 -17
  207. data/vendor/assets/javascripts/tinymce/plugins/print/editor_plugin.js +0 -1
  208. data/vendor/assets/javascripts/tinymce/plugins/print/editor_plugin_src.js +0 -34
  209. data/vendor/assets/javascripts/tinymce/plugins/save/editor_plugin.js +0 -1
  210. data/vendor/assets/javascripts/tinymce/plugins/save/editor_plugin_src.js +0 -101
  211. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/css/searchreplace.css +0 -6
  212. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/editor_plugin.js +0 -1
  213. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/editor_plugin_src.js +0 -61
  214. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/js/searchreplace.js +0 -152
  215. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/en_dlg.js +0 -1
  216. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/searchreplace.htm +0 -100
  217. data/vendor/assets/javascripts/tinymce/plugins/spellchecker/css/content.css +0 -1
  218. data/vendor/assets/javascripts/tinymce/plugins/spellchecker/editor_plugin.js +0 -1
  219. data/vendor/assets/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js +0 -471
  220. data/vendor/assets/javascripts/tinymce/plugins/style/css/props.css +0 -14
  221. data/vendor/assets/javascripts/tinymce/plugins/style/editor_plugin.js +0 -1
  222. data/vendor/assets/javascripts/tinymce/plugins/style/editor_plugin_src.js +0 -71
  223. data/vendor/assets/javascripts/tinymce/plugins/style/js/props.js +0 -709
  224. data/vendor/assets/javascripts/tinymce/plugins/style/langs/en_dlg.js +0 -1
  225. data/vendor/assets/javascripts/tinymce/plugins/style/props.htm +0 -845
  226. data/vendor/assets/javascripts/tinymce/plugins/style/readme.txt +0 -19
  227. data/vendor/assets/javascripts/tinymce/plugins/tabfocus/editor_plugin.js +0 -1
  228. data/vendor/assets/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js +0 -122
  229. data/vendor/assets/javascripts/tinymce/plugins/table/cell.htm +0 -180
  230. data/vendor/assets/javascripts/tinymce/plugins/table/css/cell.css +0 -17
  231. data/vendor/assets/javascripts/tinymce/plugins/table/css/row.css +0 -25
  232. data/vendor/assets/javascripts/tinymce/plugins/table/css/table.css +0 -13
  233. data/vendor/assets/javascripts/tinymce/plugins/table/editor_plugin.js +0 -1
  234. data/vendor/assets/javascripts/tinymce/plugins/table/editor_plugin_src.js +0 -1456
  235. data/vendor/assets/javascripts/tinymce/plugins/table/js/cell.js +0 -319
  236. data/vendor/assets/javascripts/tinymce/plugins/table/js/merge_cells.js +0 -27
  237. data/vendor/assets/javascripts/tinymce/plugins/table/js/row.js +0 -254
  238. data/vendor/assets/javascripts/tinymce/plugins/table/js/table.js +0 -501
  239. data/vendor/assets/javascripts/tinymce/plugins/table/langs/en_dlg.js +0 -1
  240. data/vendor/assets/javascripts/tinymce/plugins/table/merge_cells.htm +0 -32
  241. data/vendor/assets/javascripts/tinymce/plugins/table/row.htm +0 -158
  242. data/vendor/assets/javascripts/tinymce/plugins/table/table.htm +0 -188
  243. data/vendor/assets/javascripts/tinymce/plugins/template/blank.htm +0 -12
  244. data/vendor/assets/javascripts/tinymce/plugins/template/css/template.css +0 -23
  245. data/vendor/assets/javascripts/tinymce/plugins/template/editor_plugin.js +0 -1
  246. data/vendor/assets/javascripts/tinymce/plugins/template/editor_plugin_src.js +0 -159
  247. data/vendor/assets/javascripts/tinymce/plugins/template/js/template.js +0 -106
  248. data/vendor/assets/javascripts/tinymce/plugins/template/langs/en_dlg.js +0 -1
  249. data/vendor/assets/javascripts/tinymce/plugins/template/template.htm +0 -31
  250. data/vendor/assets/javascripts/tinymce/plugins/visualblocks/editor_plugin.js +0 -1
  251. data/vendor/assets/javascripts/tinymce/plugins/visualblocks/editor_plugin_src.js +0 -63
  252. data/vendor/assets/javascripts/tinymce/plugins/visualchars/editor_plugin.js +0 -1
  253. data/vendor/assets/javascripts/tinymce/plugins/visualchars/editor_plugin_src.js +0 -83
  254. data/vendor/assets/javascripts/tinymce/plugins/wordcount/editor_plugin.js +0 -1
  255. data/vendor/assets/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js +0 -122
  256. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/abbr.htm +0 -142
  257. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/acronym.htm +0 -142
  258. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/attributes.htm +0 -149
  259. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/cite.htm +0 -142
  260. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/css/attributes.css +0 -11
  261. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/css/popup.css +0 -9
  262. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/del.htm +0 -162
  263. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin.js +0 -1
  264. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin_src.js +0 -132
  265. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/ins.htm +0 -162
  266. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/abbr.js +0 -28
  267. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/acronym.js +0 -28
  268. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/attributes.js +0 -111
  269. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/cite.js +0 -28
  270. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/del.js +0 -53
  271. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/element_common.js +0 -229
  272. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/ins.js +0 -53
  273. data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/en_dlg.js +0 -1
  274. data/vendor/assets/javascripts/tinymce/themes/advanced/about.htm +0 -52
  275. data/vendor/assets/javascripts/tinymce/themes/advanced/anchor.htm +0 -26
  276. data/vendor/assets/javascripts/tinymce/themes/advanced/charmap.htm +0 -55
  277. data/vendor/assets/javascripts/tinymce/themes/advanced/color_picker.htm +0 -70
  278. data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template.js +0 -1
  279. data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template_src.js +0 -1490
  280. data/vendor/assets/javascripts/tinymce/themes/advanced/image.htm +0 -80
  281. data/vendor/assets/javascripts/tinymce/themes/advanced/img/colorpicker.jpg +0 -0
  282. data/vendor/assets/javascripts/tinymce/themes/advanced/img/flash.gif +0 -0
  283. data/vendor/assets/javascripts/tinymce/themes/advanced/img/icons.gif +0 -0
  284. data/vendor/assets/javascripts/tinymce/themes/advanced/img/iframe.gif +0 -0
  285. data/vendor/assets/javascripts/tinymce/themes/advanced/img/pagebreak.gif +0 -0
  286. data/vendor/assets/javascripts/tinymce/themes/advanced/img/quicktime.gif +0 -0
  287. data/vendor/assets/javascripts/tinymce/themes/advanced/img/realmedia.gif +0 -0
  288. data/vendor/assets/javascripts/tinymce/themes/advanced/img/shockwave.gif +0 -0
  289. data/vendor/assets/javascripts/tinymce/themes/advanced/img/video.gif +0 -0
  290. data/vendor/assets/javascripts/tinymce/themes/advanced/img/windowsmedia.gif +0 -0
  291. data/vendor/assets/javascripts/tinymce/themes/advanced/js/about.js +0 -73
  292. data/vendor/assets/javascripts/tinymce/themes/advanced/js/anchor.js +0 -56
  293. data/vendor/assets/javascripts/tinymce/themes/advanced/js/charmap.js +0 -363
  294. data/vendor/assets/javascripts/tinymce/themes/advanced/js/color_picker.js +0 -345
  295. data/vendor/assets/javascripts/tinymce/themes/advanced/js/image.js +0 -253
  296. data/vendor/assets/javascripts/tinymce/themes/advanced/js/link.js +0 -159
  297. data/vendor/assets/javascripts/tinymce/themes/advanced/js/source_editor.js +0 -78
  298. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en.js +0 -1
  299. data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en_dlg.js +0 -1
  300. data/vendor/assets/javascripts/tinymce/themes/advanced/link.htm +0 -57
  301. data/vendor/assets/javascripts/tinymce/themes/advanced/shortcuts.htm +0 -47
  302. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/content.css +0 -50
  303. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/dialog.css +0 -118
  304. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/img/buttons.png +0 -0
  305. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/img/items.gif +0 -0
  306. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  307. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  308. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/img/progress.gif +0 -0
  309. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/img/tabs.gif +0 -0
  310. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/ui.css +0 -219
  311. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/content.css +0 -24
  312. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css +0 -106
  313. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css +0 -106
  314. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/content.css +0 -48
  315. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css +0 -118
  316. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  317. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  318. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  319. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css +0 -222
  320. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/ui_black.css +0 -8
  321. data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/ui_silver.css +0 -5
  322. data/vendor/assets/javascripts/tinymce/themes/advanced/source_editor.htm +0 -25
  323. data/vendor/assets/javascripts/tinymce/themes/simple/editor_template.js +0 -1
  324. data/vendor/assets/javascripts/tinymce/themes/simple/editor_template_src.js +0 -84
  325. data/vendor/assets/javascripts/tinymce/themes/simple/img/icons.gif +0 -0
  326. data/vendor/assets/javascripts/tinymce/themes/simple/langs/en.js +0 -1
  327. data/vendor/assets/javascripts/tinymce/themes/simple/skins/default/content.css +0 -25
  328. data/vendor/assets/javascripts/tinymce/themes/simple/skins/default/ui.css +0 -32
  329. data/vendor/assets/javascripts/tinymce/themes/simple/skins/o2k7/content.css +0 -17
  330. data/vendor/assets/javascripts/tinymce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
  331. data/vendor/assets/javascripts/tinymce/themes/simple/skins/o2k7/ui.css +0 -35
  332. data/vendor/assets/javascripts/tinymce/tiny_mce.js +0 -1
  333. data/vendor/assets/javascripts/tinymce/tiny_mce_jquery.js +0 -1
  334. data/vendor/assets/javascripts/tinymce/tiny_mce_jquery_src.js +0 -17942
  335. data/vendor/assets/javascripts/tinymce/tiny_mce_popup.js +0 -5
  336. data/vendor/assets/javascripts/tinymce/tiny_mce_src.js +0 -19156
@@ -1 +0,0 @@
1
- tinyMCE.addI18n('en.advlink_dlg',{"target_name":"Target Name",classes:"Classes",style:"Style",id:"ID","popup_position":"Position (X/Y)",langdir:"Language Direction","popup_size":"Size","popup_dependent":"Dependent (Mozilla/Firefox Only)","popup_resizable":"Make Window Resizable","popup_location":"Show Location Bar","popup_menubar":"Show Menu Bar","popup_toolbar":"Show Toolbars","popup_statusbar":"Show Status Bar","popup_scrollbars":"Show Scrollbars","popup_return":"Insert \'return false\'","popup_name":"Window Name","popup_url":"Popup URL",popup:"JavaScript Popup","target_blank":"Open in New Window","target_top":"Open in Top Frame (Replaces All Frames)","target_parent":"Open in Parent Window/Frame","target_same":"Open in This Window/Frame","anchor_names":"Anchors","popup_opts":"Options","advanced_props":"Advanced Properties","event_props":"Events","popup_props":"Popup Properties","general_props":"General Properties","advanced_tab":"Advanced","events_tab":"Events","popup_tab":"Popup","general_tab":"General",list:"Link List","is_external":"The URL you entered seems to be an external link. Do you want to add the required http:// prefix?","is_email":"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",titlefield:"Title",target:"Target",url:"Link URL",title:"Insert/Edit Link","link_list":"Link List",rtl:"Right to Left",ltr:"Left to Right",accesskey:"AccessKey",tabindex:"TabIndex",rev:"Relationship Target to Page",rel:"Relationship Page to Target",mime:"Target MIME Type",encoding:"Target Character Encoding",langcode:"Language Code","target_langcode":"Target Language",width:"Width",height:"Height"});
@@ -1,338 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <title>{#advlink_dlg.title}</title>
5
- <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6
- <script type="text/javascript" src="../../utils/mctabs.js"></script>
7
- <script type="text/javascript" src="../../utils/form_utils.js"></script>
8
- <script type="text/javascript" src="../../utils/validate.js"></script>
9
- <script type="text/javascript" src="js/advlink.js"></script>
10
- <link href="css/advlink.css" rel="stylesheet" type="text/css" />
11
- </head>
12
- <body id="advlink" style="display: none" role="application" onload="javascript:mcTabs.displayTab('general_tab','general_panel', true);" aria-labelledby="app_label">
13
- <span class="mceVoiceLabel" id="app_label" style="display:none;">{#advlink_dlg.title}</span>
14
- <form onsubmit="insertAction();return false;" action="#">
15
- <div class="tabs" role="presentation">
16
- <ul>
17
- <li id="general_tab" class="current" aria-controls="general_panel" ><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advlink_dlg.general_tab}</a></span></li>
18
- <li id="popup_tab" aria-controls="popup_panel" ><span><a href="javascript:mcTabs.displayTab('popup_tab','popup_panel');" onmousedown="return false;">{#advlink_dlg.popup_tab}</a></span></li>
19
- <li id="events_tab" aria-controls="events_panel"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#advlink_dlg.events_tab}</a></span></li>
20
- <li id="advanced_tab" aria-controls="advanced_panel"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advlink_dlg.advanced_tab}</a></span></li>
21
- </ul>
22
- </div>
23
-
24
- <div class="panel_wrapper" role="presentation">
25
- <div id="general_panel" class="panel current">
26
- <fieldset>
27
- <legend>{#advlink_dlg.general_props}</legend>
28
-
29
- <table border="0" cellpadding="4" cellspacing="0" role="presentation">
30
- <tr>
31
- <td class="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td>
32
- <td><table border="0" cellspacing="0" cellpadding="0">
33
- <tr>
34
- <td><input id="href" name="href" type="text" class="mceFocus" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" aria-required="true" /></td>
35
- <td id="hrefbrowsercontainer">&nbsp;</td>
36
- </tr>
37
- </table></td>
38
- </tr>
39
- <tr id="linklisthrefrow">
40
- <td class="column1"><label for="linklisthref">{#advlink_dlg.list}</label></td>
41
- <td colspan="2" id="linklisthrefcontainer"><select id="linklisthref"><option value=""></option></select></td>
42
- </tr>
43
- <tr id="anchorlistrow">
44
- <td class="column1"><label for="anchorlist">{#advlink_dlg.anchor_names}</label></td>
45
- <td colspan="2" id="anchorlistcontainer"><select id="anchorlist"><option value=""></option></select></td>
46
- </tr>
47
- <tr>
48
- <td><label id="targetlistlabel" for="targetlist">{#advlink_dlg.target}</label></td>
49
- <td id="targetlistcontainer"><select id="targetlist"><option value=""></option></select></td>
50
- </tr>
51
- <tr>
52
- <td class="nowrap"><label id="titlelabel" for="title">{#advlink_dlg.titlefield}</label></td>
53
- <td><input id="title" name="title" type="text" value="" /></td>
54
- </tr>
55
- <tr>
56
- <td><label id="classlabel" for="classlist">{#class_name}</label></td>
57
- <td>
58
- <select id="classlist" name="classlist" onchange="changeClass();">
59
- <option value="" selected="selected">{#not_set}</option>
60
- </select>
61
- </td>
62
- </tr>
63
- </table>
64
- </fieldset>
65
- </div>
66
-
67
- <div id="popup_panel" class="panel">
68
- <fieldset>
69
- <legend>{#advlink_dlg.popup_props}</legend>
70
-
71
- <input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" />
72
- <label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label>
73
-
74
- <table border="0" cellpadding="0" cellspacing="4" role="presentation" >
75
- <tr>
76
- <td class="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label>&nbsp;</td>
77
- <td>
78
- <table border="0" cellspacing="0" cellpadding="0">
79
- <tr>
80
- <td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td>
81
- <td id="popupurlbrowsercontainer">&nbsp;</td>
82
- </tr>
83
- </table>
84
- </td>
85
- </tr>
86
- <tr>
87
- <td class="nowrap"><label for="popupname">{#advlink_dlg.popup_name}</label>&nbsp;</td>
88
- <td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td>
89
- </tr>
90
- <tr role="group" aria-labelledby="popup_size_label">
91
- <td class="nowrap"><label id="popup_size_label">{#advlink_dlg.popup_size}</label>&nbsp;</td>
92
- <td class="nowrap">
93
- <span style="display:none" id="width_voiceLabel">{#advlink_dlg.width}</span>
94
- <input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" aria-labelledby="width_voiceLabel" /> x
95
- <span style="display:none" id="height_voiceLabel">{#advlink_dlg.height}</span>
96
- <input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" aria-labelledby="height_voiceLabel" /> px
97
- </td>
98
- </tr>
99
- <tr role="group" aria-labelledby="popup_position_label center_hint">
100
- <td class="nowrap" id="labelleft"><label id="popup_position_label">{#advlink_dlg.popup_position}</label>&nbsp;</td>
101
- <td class="nowrap">
102
- <span style="display:none" id="x_voiceLabel">X</span>
103
- <input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" aria-labelledby="x_voiceLabel" /> /
104
- <span style="display:none" id="y_voiceLabel">Y</span>
105
- <input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" aria-labelledby="y_voiceLabel" /> <span id="center_hint">(c /c = center)</span>
106
- </td>
107
- </tr>
108
- </table>
109
-
110
- <fieldset>
111
- <legend>{#advlink_dlg.popup_opts}</legend>
112
-
113
- <table border="0" cellpadding="0" cellspacing="4" role="presentation" >
114
- <tr>
115
- <td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td>
116
- <td class="nowrap"><label id="popuplocationlabel" for="popuplocation">{#advlink_dlg.popup_location}</label></td>
117
- <td><input type="checkbox" id="popupscrollbars" name="popupscrollbars" class="checkbox" onchange="buildOnClick();" /></td>
118
- <td class="nowrap"><label id="popupscrollbarslabel" for="popupscrollbars">{#advlink_dlg.popup_scrollbars}</label></td>
119
- </tr>
120
- <tr>
121
- <td><input type="checkbox" id="popupmenubar" name="popupmenubar" class="checkbox" onchange="buildOnClick();" /></td>
122
- <td class="nowrap"><label id="popupmenubarlabel" for="popupmenubar">{#advlink_dlg.popup_menubar}</label></td>
123
- <td><input type="checkbox" id="popupresizable" name="popupresizable" class="checkbox" onchange="buildOnClick();" /></td>
124
- <td class="nowrap"><label id="popupresizablelabel" for="popupresizable">{#advlink_dlg.popup_resizable}</label></td>
125
- </tr>
126
- <tr>
127
- <td><input type="checkbox" id="popuptoolbar" name="popuptoolbar" class="checkbox" onchange="buildOnClick();" /></td>
128
- <td class="nowrap"><label id="popuptoolbarlabel" for="popuptoolbar">{#advlink_dlg.popup_toolbar}</label></td>
129
- <td><input type="checkbox" id="popupdependent" name="popupdependent" class="checkbox" onchange="buildOnClick();" /></td>
130
- <td class="nowrap"><label id="popupdependentlabel" for="popupdependent">{#advlink_dlg.popup_dependent}</label></td>
131
- </tr>
132
- <tr>
133
- <td><input type="checkbox" id="popupstatus" name="popupstatus" class="checkbox" onchange="buildOnClick();" /></td>
134
- <td class="nowrap"><label id="popupstatuslabel" for="popupstatus">{#advlink_dlg.popup_statusbar}</label></td>
135
- <td><input type="checkbox" id="popupreturn" name="popupreturn" class="checkbox" onchange="buildOnClick();" checked="checked" /></td>
136
- <td class="nowrap"><label id="popupreturnlabel" for="popupreturn">{#advlink_dlg.popup_return}</label></td>
137
- </tr>
138
- </table>
139
- </fieldset>
140
- </fieldset>
141
- </div>
142
-
143
- <div id="advanced_panel" class="panel">
144
- <fieldset>
145
- <legend>{#advlink_dlg.advanced_props}</legend>
146
-
147
- <table border="0" cellpadding="0" cellspacing="4" role="presentation" >
148
- <tr>
149
- <td class="column1"><label id="idlabel" for="id">{#advlink_dlg.id}</label></td>
150
- <td><input id="id" name="id" type="text" value="" /></td>
151
- </tr>
152
-
153
- <tr>
154
- <td><label id="stylelabel" for="style">{#advlink_dlg.style}</label></td>
155
- <td><input type="text" id="style" name="style" value="" /></td>
156
- </tr>
157
-
158
- <tr>
159
- <td><label id="classeslabel" for="classes">{#advlink_dlg.classes}</label></td>
160
- <td><input type="text" id="classes" name="classes" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td>
161
- </tr>
162
-
163
- <tr>
164
- <td><label id="targetlabel" for="target">{#advlink_dlg.target_name}</label></td>
165
- <td><input type="text" id="target" name="target" value="" onchange="selectByValue(this.form,'targetlist',this.value,true);" /></td>
166
- </tr>
167
-
168
- <tr>
169
- <td class="column1"><label id="dirlabel" for="dir">{#advlink_dlg.langdir}</label></td>
170
- <td>
171
- <select id="dir" name="dir">
172
- <option value="">{#not_set}</option>
173
- <option value="ltr">{#advlink_dlg.ltr}</option>
174
- <option value="rtl">{#advlink_dlg.rtl}</option>
175
- </select>
176
- </td>
177
- </tr>
178
-
179
- <tr>
180
- <td><label id="hreflanglabel" for="hreflang">{#advlink_dlg.target_langcode}</label></td>
181
- <td><input type="text" id="hreflang" name="hreflang" value="" /></td>
182
- </tr>
183
-
184
- <tr>
185
- <td class="column1"><label id="langlabel" for="lang">{#advlink_dlg.langcode}</label></td>
186
- <td>
187
- <input id="lang" name="lang" type="text" value="" />
188
- </td>
189
- </tr>
190
-
191
- <tr>
192
- <td><label id="charsetlabel" for="charset">{#advlink_dlg.encoding}</label></td>
193
- <td><input type="text" id="charset" name="charset" value="" /></td>
194
- </tr>
195
-
196
- <tr>
197
- <td><label id="typelabel" for="type">{#advlink_dlg.mime}</label></td>
198
- <td><input type="text" id="type" name="type" value="" /></td>
199
- </tr>
200
-
201
- <tr>
202
- <td><label id="rellabel" for="rel">{#advlink_dlg.rel}</label></td>
203
- <td><select id="rel" name="rel">
204
- <option value="">{#not_set}</option>
205
- <option value="lightbox">Lightbox</option>
206
- <option value="alternate">Alternate</option>
207
- <option value="designates">Designates</option>
208
- <option value="stylesheet">Stylesheet</option>
209
- <option value="start">Start</option>
210
- <option value="next">Next</option>
211
- <option value="prev">Prev</option>
212
- <option value="contents">Contents</option>
213
- <option value="index">Index</option>
214
- <option value="glossary">Glossary</option>
215
- <option value="copyright">Copyright</option>
216
- <option value="chapter">Chapter</option>
217
- <option value="subsection">Subsection</option>
218
- <option value="appendix">Appendix</option>
219
- <option value="help">Help</option>
220
- <option value="bookmark">Bookmark</option>
221
- <option value="nofollow">No Follow</option>
222
- <option value="tag">Tag</option>
223
- </select>
224
- </td>
225
- </tr>
226
-
227
- <tr>
228
- <td><label id="revlabel" for="rev">{#advlink_dlg.rev}</label></td>
229
- <td><select id="rev" name="rev">
230
- <option value="">{#not_set}</option>
231
- <option value="alternate">Alternate</option>
232
- <option value="designates">Designates</option>
233
- <option value="stylesheet">Stylesheet</option>
234
- <option value="start">Start</option>
235
- <option value="next">Next</option>
236
- <option value="prev">Prev</option>
237
- <option value="contents">Contents</option>
238
- <option value="index">Index</option>
239
- <option value="glossary">Glossary</option>
240
- <option value="copyright">Copyright</option>
241
- <option value="chapter">Chapter</option>
242
- <option value="subsection">Subsection</option>
243
- <option value="appendix">Appendix</option>
244
- <option value="help">Help</option>
245
- <option value="bookmark">Bookmark</option>
246
- </select>
247
- </td>
248
- </tr>
249
-
250
- <tr>
251
- <td><label id="tabindexlabel" for="tabindex">{#advlink_dlg.tabindex}</label></td>
252
- <td><input type="text" id="tabindex" name="tabindex" value="" /></td>
253
- </tr>
254
-
255
- <tr>
256
- <td><label id="accesskeylabel" for="accesskey">{#advlink_dlg.accesskey}</label></td>
257
- <td><input type="text" id="accesskey" name="accesskey" value="" /></td>
258
- </tr>
259
- </table>
260
- </fieldset>
261
- </div>
262
-
263
- <div id="events_panel" class="panel">
264
- <fieldset>
265
- <legend>{#advlink_dlg.event_props}</legend>
266
-
267
- <table border="0" cellpadding="0" cellspacing="4" role="presentation" >
268
- <tr>
269
- <td class="column1"><label for="onfocus">onfocus</label></td>
270
- <td><input id="onfocus" name="onfocus" type="text" value="" /></td>
271
- </tr>
272
-
273
- <tr>
274
- <td class="column1"><label for="onblur">onblur</label></td>
275
- <td><input id="onblur" name="onblur" type="text" value="" /></td>
276
- </tr>
277
-
278
- <tr>
279
- <td class="column1"><label for="onclick">onclick</label></td>
280
- <td><input id="onclick" name="onclick" type="text" value="" /></td>
281
- </tr>
282
-
283
- <tr>
284
- <td class="column1"><label for="ondblclick">ondblclick</label></td>
285
- <td><input id="ondblclick" name="ondblclick" type="text" value="" /></td>
286
- </tr>
287
-
288
- <tr>
289
- <td class="column1"><label for="onmousedown">onmousedown</label></td>
290
- <td><input id="onmousedown" name="onmousedown" type="text" value="" /></td>
291
- </tr>
292
-
293
- <tr>
294
- <td class="column1"><label for="onmouseup">onmouseup</label></td>
295
- <td><input id="onmouseup" name="onmouseup" type="text" value="" /></td>
296
- </tr>
297
-
298
- <tr>
299
- <td class="column1"><label for="onmouseover">onmouseover</label></td>
300
- <td><input id="onmouseover" name="onmouseover" type="text" value="" /></td>
301
- </tr>
302
-
303
- <tr>
304
- <td class="column1"><label for="onmousemove">onmousemove</label></td>
305
- <td><input id="onmousemove" name="onmousemove" type="text" value="" /></td>
306
- </tr>
307
-
308
- <tr>
309
- <td class="column1"><label for="onmouseout">onmouseout</label></td>
310
- <td><input id="onmouseout" name="onmouseout" type="text" value="" /></td>
311
- </tr>
312
-
313
- <tr>
314
- <td class="column1"><label for="onkeypress">onkeypress</label></td>
315
- <td><input id="onkeypress" name="onkeypress" type="text" value="" /></td>
316
- </tr>
317
-
318
- <tr>
319
- <td class="column1"><label for="onkeydown">onkeydown</label></td>
320
- <td><input id="onkeydown" name="onkeydown" type="text" value="" /></td>
321
- </tr>
322
-
323
- <tr>
324
- <td class="column1"><label for="onkeyup">onkeyup</label></td>
325
- <td><input id="onkeyup" name="onkeyup" type="text" value="" /></td>
326
- </tr>
327
- </table>
328
- </fieldset>
329
- </div>
330
- </div>
331
-
332
- <div class="mceActionPanel">
333
- <input type="submit" id="insert" name="insert" value="{#insert}" />
334
- <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
335
- </div>
336
- </form>
337
- </body>
338
- </html>
@@ -1 +0,0 @@
1
- (function(){var a=tinymce.each;tinymce.create("tinymce.plugins.AdvListPlugin",{init:function(b,c){var d=this;d.editor=b;function e(g){var f=[];a(g.split(/,/),function(h){f.push({title:"advlist."+(h=="default"?"def":h.replace(/-/g,"_")),styles:{listStyleType:h=="default"?"":h}})});return f}d.numlist=b.getParam("advlist_number_styles")||e("default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman");d.bullist=b.getParam("advlist_bullet_styles")||e("default,circle,disc,square");if(tinymce.isIE&&/MSIE [2-7]/.test(navigator.userAgent)){d.isIE7=true}},createControl:function(d,b){var f=this,e,i,g=f.editor;if(d=="numlist"||d=="bullist"){if(f[d][0].title=="advlist.def"){i=f[d][0]}function c(j,l){var k=true;a(l.styles,function(n,m){if(g.dom.getStyle(j,m)!=n){k=false;return false}});return k}function h(){var k,l=g.dom,j=g.selection;k=l.getParent(j.getNode(),"ol,ul");if(!k||k.nodeName==(d=="bullist"?"OL":"UL")||c(k,i)){g.execCommand(d=="bullist"?"InsertUnorderedList":"InsertOrderedList")}if(i){k=l.getParent(j.getNode(),"ol,ul");if(k){l.setStyles(k,i.styles);k.removeAttribute("data-mce-style")}}g.focus()}e=b.createSplitButton(d,{title:"advanced."+d+"_desc","class":"mce_"+d,onclick:function(){h()}});e.onRenderMenu.add(function(j,k){k.onHideMenu.add(function(){if(f.bookmark){g.selection.moveToBookmark(f.bookmark);f.bookmark=0}});k.onShowMenu.add(function(){var n=g.dom,m=n.getParent(g.selection.getNode(),"ol,ul"),l;if(m||i){l=f[d];a(k.items,function(o){var p=true;o.setSelected(0);if(m&&!o.isDisabled()){a(l,function(q){if(q.id==o.id){if(!c(m,q)){p=false;return false}}});if(p){o.setSelected(1)}}});if(!m){k.items[i.id].setSelected(1)}}g.focus();if(tinymce.isIE){f.bookmark=g.selection.getBookmark(1)}});k.add({id:g.dom.uniqueId(),title:"advlist.types","class":"mceMenuItemTitle",titleItem:true}).setDisabled(1);a(f[d],function(l){if(f.isIE7&&l.styles.listStyleType=="lower-greek"){return}l.id=g.dom.uniqueId();k.add({id:l.id,title:l.title,onclick:function(){i=l;h()}})})});return e}},getInfo:function(){return{longname:"Advanced lists",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlist",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advlist",tinymce.plugins.AdvListPlugin)})();
@@ -1,176 +0,0 @@
1
- /**
2
- * editor_plugin_src.js
3
- *
4
- * Copyright 2009, Moxiecode Systems AB
5
- * Released under LGPL License.
6
- *
7
- * License: http://tinymce.moxiecode.com/license
8
- * Contributing: http://tinymce.moxiecode.com/contributing
9
- */
10
-
11
- (function() {
12
- var each = tinymce.each;
13
-
14
- tinymce.create('tinymce.plugins.AdvListPlugin', {
15
- init : function(ed, url) {
16
- var t = this;
17
-
18
- t.editor = ed;
19
-
20
- function buildFormats(str) {
21
- var formats = [];
22
-
23
- each(str.split(/,/), function(type) {
24
- formats.push({
25
- title : 'advlist.' + (type == 'default' ? 'def' : type.replace(/-/g, '_')),
26
- styles : {
27
- listStyleType : type == 'default' ? '' : type
28
- }
29
- });
30
- });
31
-
32
- return formats;
33
- };
34
-
35
- // Setup number formats from config or default
36
- t.numlist = ed.getParam("advlist_number_styles") || buildFormats("default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman");
37
- t.bullist = ed.getParam("advlist_bullet_styles") || buildFormats("default,circle,disc,square");
38
-
39
- if (tinymce.isIE && /MSIE [2-7]/.test(navigator.userAgent))
40
- t.isIE7 = true;
41
- },
42
-
43
- createControl: function(name, cm) {
44
- var t = this, btn, format, editor = t.editor;
45
-
46
- if (name == 'numlist' || name == 'bullist') {
47
- // Default to first item if it's a default item
48
- if (t[name][0].title == 'advlist.def')
49
- format = t[name][0];
50
-
51
- function hasFormat(node, format) {
52
- var state = true;
53
-
54
- each(format.styles, function(value, name) {
55
- // Format doesn't match
56
- if (editor.dom.getStyle(node, name) != value) {
57
- state = false;
58
- return false;
59
- }
60
- });
61
-
62
- return state;
63
- };
64
-
65
- function applyListFormat() {
66
- var list, dom = editor.dom, sel = editor.selection;
67
-
68
- // Check for existing list element
69
- list = dom.getParent(sel.getNode(), 'ol,ul');
70
-
71
- // Switch/add list type if needed
72
- if (!list || list.nodeName == (name == 'bullist' ? 'OL' : 'UL') || hasFormat(list, format))
73
- editor.execCommand(name == 'bullist' ? 'InsertUnorderedList' : 'InsertOrderedList');
74
-
75
- // Append styles to new list element
76
- if (format) {
77
- list = dom.getParent(sel.getNode(), 'ol,ul');
78
- if (list) {
79
- dom.setStyles(list, format.styles);
80
- list.removeAttribute('data-mce-style');
81
- }
82
- }
83
-
84
- editor.focus();
85
- };
86
-
87
- btn = cm.createSplitButton(name, {
88
- title : 'advanced.' + name + '_desc',
89
- 'class' : 'mce_' + name,
90
- onclick : function() {
91
- applyListFormat();
92
- }
93
- });
94
-
95
- btn.onRenderMenu.add(function(btn, menu) {
96
- menu.onHideMenu.add(function() {
97
- if (t.bookmark) {
98
- editor.selection.moveToBookmark(t.bookmark);
99
- t.bookmark = 0;
100
- }
101
- });
102
-
103
- menu.onShowMenu.add(function() {
104
- var dom = editor.dom, list = dom.getParent(editor.selection.getNode(), 'ol,ul'), fmtList;
105
-
106
- if (list || format) {
107
- fmtList = t[name];
108
-
109
- // Unselect existing items
110
- each(menu.items, function(item) {
111
- var state = true;
112
-
113
- item.setSelected(0);
114
-
115
- if (list && !item.isDisabled()) {
116
- each(fmtList, function(fmt) {
117
- if (fmt.id == item.id) {
118
- if (!hasFormat(list, fmt)) {
119
- state = false;
120
- return false;
121
- }
122
- }
123
- });
124
-
125
- if (state)
126
- item.setSelected(1);
127
- }
128
- });
129
-
130
- // Select the current format
131
- if (!list)
132
- menu.items[format.id].setSelected(1);
133
- }
134
-
135
- editor.focus();
136
-
137
- // IE looses it's selection so store it away and restore it later
138
- if (tinymce.isIE) {
139
- t.bookmark = editor.selection.getBookmark(1);
140
- }
141
- });
142
-
143
- menu.add({id : editor.dom.uniqueId(), title : 'advlist.types', 'class' : 'mceMenuItemTitle', titleItem: true}).setDisabled(1);
144
-
145
- each(t[name], function(item) {
146
- // IE<8 doesn't support lower-greek, skip it
147
- if (t.isIE7 && item.styles.listStyleType == 'lower-greek')
148
- return;
149
-
150
- item.id = editor.dom.uniqueId();
151
-
152
- menu.add({id : item.id, title : item.title, onclick : function() {
153
- format = item;
154
- applyListFormat();
155
- }});
156
- });
157
- });
158
-
159
- return btn;
160
- }
161
- },
162
-
163
- getInfo : function() {
164
- return {
165
- longname : 'Advanced lists',
166
- author : 'Moxiecode Systems AB',
167
- authorurl : 'http://tinymce.moxiecode.com',
168
- infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlist',
169
- version : tinymce.majorVersion + "." + tinymce.minorVersion
170
- };
171
- }
172
- });
173
-
174
- // Register plugin
175
- tinymce.PluginManager.add('advlist', tinymce.plugins.AdvListPlugin);
176
- })();