use_tinymce 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (501) hide show
  1. data/README.markdown +124 -50
  2. data/Rakefile +1 -1
  3. data/assets/tinymce_jquery/tinymce/jscripts/tiny_mce/jquery.tinymce.js +1 -0
  4. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/langs/en.js +0 -0
  5. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/license.txt +0 -0
  6. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advhr/css/advhr.css +0 -0
  7. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advhr/editor_plugin.js +0 -0
  8. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advhr/js/rule.js +0 -0
  9. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advhr/langs/en_dlg.js +0 -0
  10. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advhr/rule.htm +0 -0
  11. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advimage/css/advimage.css +0 -0
  12. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advimage/editor_plugin.js +0 -0
  13. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advimage/image.htm +0 -0
  14. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
  15. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advimage/js/image.js +0 -0
  16. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js +0 -0
  17. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advlink/css/advlink.css +0 -0
  18. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advlink/editor_plugin.js +0 -0
  19. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advlink/js/advlink.js +0 -0
  20. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js +0 -0
  21. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advlink/link.htm +0 -0
  22. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advlist/editor_plugin.js +0 -0
  23. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/autolink/editor_plugin.js +0 -0
  24. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/autoresize/editor_plugin.js +0 -0
  25. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/autosave/editor_plugin.js +0 -0
  26. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/autosave/langs/en.js +0 -0
  27. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js +0 -0
  28. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js +0 -0
  29. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/directionality/editor_plugin.js +0 -0
  30. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/editor_plugin.js +0 -0
  31. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/emotions.htm +0 -0
  32. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
  33. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
  34. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
  35. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
  36. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
  37. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
  38. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
  39. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
  40. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
  41. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
  42. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
  43. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
  44. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
  45. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
  46. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
  47. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
  48. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/js/emotions.js +0 -0
  49. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js +0 -0
  50. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/example/dialog.htm +0 -0
  51. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/example/editor_plugin.js +0 -0
  52. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/example/img/example.gif +0 -0
  53. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/example/js/dialog.js +0 -0
  54. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/example/langs/en.js +0 -0
  55. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/example/langs/en_dlg.js +0 -0
  56. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css +0 -0
  57. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js +0 -0
  58. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullpage/fullpage.htm +0 -0
  59. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullpage/js/fullpage.js +0 -0
  60. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +0 -0
  61. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullscreen/editor_plugin.js +0 -0
  62. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullscreen/fullscreen.htm +0 -0
  63. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/iespell/editor_plugin.js +0 -0
  64. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +0 -0
  65. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
  66. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
  67. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
  68. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
  69. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
  70. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
  71. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
  72. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -0
  73. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/template.htm +0 -0
  74. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +0 -0
  75. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/layer/editor_plugin.js +0 -0
  76. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin.js +0 -0
  77. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/lists/editor_plugin.js +0 -0
  78. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/css/media.css +0 -0
  79. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/editor_plugin.js +0 -0
  80. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/js/embed.js +0 -0
  81. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/js/media.js +0 -0
  82. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/langs/en_dlg.js +0 -0
  83. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/media.htm +0 -0
  84. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/moxieplayer.swf +0 -0
  85. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +0 -0
  86. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/noneditable/editor_plugin.js +0 -0
  87. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/pagebreak/editor_plugin.js +0 -0
  88. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/paste/editor_plugin.js +0 -0
  89. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/paste/js/pastetext.js +0 -0
  90. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/paste/js/pasteword.js +0 -0
  91. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/paste/langs/en_dlg.js +0 -0
  92. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/paste/pastetext.htm +0 -0
  93. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/paste/pasteword.htm +0 -0
  94. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/preview/editor_plugin.js +0 -0
  95. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/preview/example.html +0 -0
  96. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/preview/jscripts/embed.js +0 -0
  97. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/preview/preview.html +0 -0
  98. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/print/editor_plugin.js +0 -0
  99. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/save/editor_plugin.js +0 -0
  100. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +0 -0
  101. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/searchreplace/editor_plugin.js +0 -0
  102. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +0 -0
  103. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +0 -0
  104. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm +0 -0
  105. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/spellchecker/css/content.css +0 -0
  106. data/assets/tinymce_jquery/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -0
  107. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
  108. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/style/css/props.css +0 -0
  109. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/style/editor_plugin.js +0 -0
  110. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/style/js/props.js +0 -0
  111. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/style/langs/en_dlg.js +0 -0
  112. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/style/props.htm +0 -0
  113. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/tabfocus/editor_plugin.js +0 -0
  114. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/cell.htm +0 -0
  115. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/css/cell.css +0 -0
  116. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/css/row.css +0 -0
  117. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/css/table.css +0 -0
  118. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/editor_plugin.js +0 -0
  119. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/js/cell.js +0 -0
  120. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/js/merge_cells.js +0 -0
  121. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/js/row.js +0 -0
  122. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/js/table.js +0 -0
  123. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/langs/en_dlg.js +0 -0
  124. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/merge_cells.htm +0 -0
  125. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/row.htm +0 -0
  126. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/table.htm +0 -0
  127. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/template/blank.htm +0 -0
  128. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/template/css/template.css +0 -0
  129. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/template/editor_plugin.js +0 -0
  130. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/template/js/template.js +0 -0
  131. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/template/langs/en_dlg.js +0 -0
  132. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/template/template.htm +0 -0
  133. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/visualchars/editor_plugin.js +0 -0
  134. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/wordcount/editor_plugin.js +0 -0
  135. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +0 -0
  136. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +0 -0
  137. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +0 -0
  138. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/cite.htm +0 -0
  139. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +0 -0
  140. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +0 -0
  141. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/del.htm +0 -0
  142. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +0 -0
  143. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/ins.htm +0 -0
  144. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +0 -0
  145. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +0 -0
  146. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +0 -0
  147. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +0 -0
  148. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js +0 -0
  149. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +0 -0
  150. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +0 -0
  151. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +0 -0
  152. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/about.htm +0 -0
  153. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/anchor.htm +0 -0
  154. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/charmap.htm +0 -0
  155. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/color_picker.htm +0 -0
  156. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/editor_template.js +0 -0
  157. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/editor_template_src.js +0 -0
  158. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/image.htm +0 -0
  159. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  160. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/flash.gif +0 -0
  161. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
  162. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/iframe.gif +0 -0
  163. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/pagebreak.gif +0 -0
  164. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/quicktime.gif +0 -0
  165. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/realmedia.gif +0 -0
  166. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/shockwave.gif +0 -0
  167. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/trans.gif +0 -0
  168. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/video.gif +0 -0
  169. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/windowsmedia.gif +0 -0
  170. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/about.js +0 -0
  171. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/anchor.js +0 -0
  172. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/charmap.js +0 -0
  173. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/color_picker.js +0 -0
  174. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/image.js +0 -0
  175. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/link.js +0 -0
  176. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/source_editor.js +0 -0
  177. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/langs/en.js +0 -0
  178. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/langs/en_dlg.js +0 -0
  179. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/link.htm +0 -0
  180. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/shortcuts.htm +0 -0
  181. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/content.css +0 -0
  182. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/dialog.css +0 -0
  183. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
  184. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
  185. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  186. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  187. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
  188. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
  189. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/ui.css +0 -0
  190. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/highcontrast/content.css +0 -0
  191. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +0 -0
  192. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/highcontrast/ui.css +0 -0
  193. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/content.css +0 -0
  194. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +0 -0
  195. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  196. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  197. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  198. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +0 -0
  199. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +0 -0
  200. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +0 -0
  201. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/source_editor.htm +0 -0
  202. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/editor_template.js +0 -0
  203. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/editor_template_src.js +0 -0
  204. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/img/icons.gif +0 -0
  205. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/langs/en.js +0 -0
  206. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/skins/default/content.css +0 -0
  207. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/skins/default/ui.css +0 -0
  208. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/skins/o2k7/content.css +0 -0
  209. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
  210. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/skins/o2k7/ui.css +0 -0
  211. data/assets/tinymce_jquery/tinymce/jscripts/tiny_mce/tiny_mce.js +1 -0
  212. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/tiny_mce_popup.js +0 -0
  213. data/assets/tinymce_jquery/tinymce/jscripts/tiny_mce/tiny_mce_src.js +14994 -0
  214. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/utils/editable_selects.js +0 -0
  215. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/utils/form_utils.js +0 -0
  216. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/utils/mctabs.js +0 -0
  217. data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/utils/validate.js +0 -0
  218. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/langs/en.js +223 -0
  219. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/license.txt +504 -0
  220. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advhr/css/advhr.css +5 -0
  221. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin.js +1 -0
  222. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advhr/js/rule.js +43 -0
  223. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advhr/langs/en_dlg.js +7 -0
  224. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advhr/rule.htm +58 -0
  225. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advimage/css/advimage.css +13 -0
  226. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js +1 -0
  227. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm +235 -0
  228. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
  229. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js +458 -0
  230. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js +45 -0
  231. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advlink/css/advlink.css +8 -0
  232. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js +1 -0
  233. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js +532 -0
  234. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js +54 -0
  235. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm +338 -0
  236. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advlist/editor_plugin.js +1 -0
  237. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/autolink/editor_plugin.js +1 -0
  238. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin.js +1 -0
  239. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin.js +1 -0
  240. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/autosave/langs/en.js +4 -0
  241. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js +1 -0
  242. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -0
  243. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin.js +1 -0
  244. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin.js +1 -0
  245. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm +41 -0
  246. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
  247. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
  248. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
  249. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
  250. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
  251. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
  252. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
  253. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
  254. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
  255. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
  256. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
  257. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
  258. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
  259. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
  260. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
  261. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
  262. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js +22 -0
  263. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js +20 -0
  264. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/example/dialog.htm +22 -0
  265. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin.js +1 -0
  266. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/example/img/example.gif +0 -0
  267. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/example/js/dialog.js +19 -0
  268. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/example/langs/en.js +3 -0
  269. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/example/langs/en_dlg.js +3 -0
  270. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css +143 -0
  271. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js +1 -0
  272. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullpage/fullpage.htm +259 -0
  273. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullpage/js/fullpage.js +232 -0
  274. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +85 -0
  275. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -0
  276. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullscreen/fullscreen.htm +109 -0
  277. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin.js +1 -0
  278. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -0
  279. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
  280. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
  281. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
  282. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
  283. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
  284. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
  285. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
  286. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
  287. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/template.htm +387 -0
  288. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -0
  289. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/layer/editor_plugin.js +1 -0
  290. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -0
  291. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin.js +1 -0
  292. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/css/media.css +17 -0
  293. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/editor_plugin.js +1 -0
  294. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/js/embed.js +73 -0
  295. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/js/media.js +354 -0
  296. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/langs/en_dlg.js +109 -0
  297. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/media.htm +812 -0
  298. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/moxieplayer.swf +0 -0
  299. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -0
  300. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/noneditable/editor_plugin.js +1 -0
  301. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -0
  302. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/paste/editor_plugin.js +1 -0
  303. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/paste/js/pastetext.js +36 -0
  304. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/paste/js/pasteword.js +51 -0
  305. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/paste/langs/en_dlg.js +5 -0
  306. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/paste/pastetext.htm +27 -0
  307. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/paste/pasteword.htm +21 -0
  308. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin.js +1 -0
  309. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/preview/example.html +28 -0
  310. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/preview/jscripts/embed.js +73 -0
  311. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/preview/preview.html +17 -0
  312. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js +1 -0
  313. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin.js +1 -0
  314. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +6 -0
  315. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -0
  316. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +142 -0
  317. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +16 -0
  318. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm +100 -0
  319. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/spellchecker/css/content.css +1 -0
  320. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -0
  321. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
  322. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/style/css/props.css +13 -0
  323. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/style/editor_plugin.js +1 -0
  324. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/style/js/props.js +635 -0
  325. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/style/langs/en_dlg.js +70 -0
  326. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/style/props.htm +838 -0
  327. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -0
  328. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/cell.htm +178 -0
  329. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/css/cell.css +17 -0
  330. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/css/row.css +25 -0
  331. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/css/table.css +13 -0
  332. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin.js +1 -0
  333. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/js/cell.js +284 -0
  334. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/js/merge_cells.js +27 -0
  335. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/js/row.js +232 -0
  336. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/js/table.js +450 -0
  337. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/langs/en_dlg.js +74 -0
  338. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/merge_cells.htm +32 -0
  339. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/row.htm +157 -0
  340. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/table.htm +188 -0
  341. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/template/blank.htm +12 -0
  342. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/template/css/template.css +23 -0
  343. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/template/editor_plugin.js +1 -0
  344. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/template/js/template.js +106 -0
  345. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/template/langs/en_dlg.js +15 -0
  346. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/template/template.htm +31 -0
  347. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/visualchars/editor_plugin.js +1 -0
  348. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/wordcount/editor_plugin.js +1 -0
  349. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +142 -0
  350. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +142 -0
  351. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +149 -0
  352. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/cite.htm +142 -0
  353. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +11 -0
  354. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +9 -0
  355. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/del.htm +162 -0
  356. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -0
  357. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/ins.htm +162 -0
  358. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +28 -0
  359. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +28 -0
  360. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +111 -0
  361. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +28 -0
  362. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js +53 -0
  363. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +229 -0
  364. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +53 -0
  365. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
  366. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/about.htm +52 -0
  367. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/anchor.htm +26 -0
  368. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/charmap.htm +51 -0
  369. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/color_picker.htm +74 -0
  370. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js +1 -0
  371. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/editor_template_src.js +1360 -0
  372. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/image.htm +80 -0
  373. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  374. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/flash.gif +0 -0
  375. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
  376. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/iframe.gif +0 -0
  377. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/pagebreak.gif +0 -0
  378. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/quicktime.gif +0 -0
  379. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/realmedia.gif +0 -0
  380. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/shockwave.gif +0 -0
  381. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/trans.gif +0 -0
  382. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/video.gif +0 -0
  383. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/windowsmedia.gif +0 -0
  384. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/about.js +73 -0
  385. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/anchor.js +42 -0
  386. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/charmap.js +355 -0
  387. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/color_picker.js +329 -0
  388. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/image.js +247 -0
  389. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/link.js +153 -0
  390. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/source_editor.js +56 -0
  391. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/langs/en.js +68 -0
  392. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/langs/en_dlg.js +54 -0
  393. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/link.htm +57 -0
  394. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/shortcuts.htm +47 -0
  395. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/content.css +47 -0
  396. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/dialog.css +117 -0
  397. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
  398. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
  399. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  400. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  401. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
  402. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
  403. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/ui.css +213 -0
  404. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/highcontrast/content.css +23 -0
  405. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +105 -0
  406. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/highcontrast/ui.css +101 -0
  407. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/content.css +46 -0
  408. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +117 -0
  409. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  410. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  411. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  412. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +216 -0
  413. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +8 -0
  414. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
  415. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/source_editor.htm +25 -0
  416. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/editor_template.js +1 -0
  417. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/editor_template_src.js +84 -0
  418. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/img/icons.gif +0 -0
  419. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/langs/en.js +11 -0
  420. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/skins/default/content.css +25 -0
  421. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/skins/default/ui.css +32 -0
  422. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/content.css +17 -0
  423. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
  424. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/ui.css +35 -0
  425. data/assets/{tinymce → tinymce_no_jquery/tinymce}/jscripts/tiny_mce/tiny_mce.js +0 -0
  426. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/tiny_mce_popup.js +5 -0
  427. data/assets/{tinymce → tinymce_no_jquery/tinymce}/jscripts/tiny_mce/tiny_mce_src.js +6 -0
  428. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/utils/editable_selects.js +70 -0
  429. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/utils/form_utils.js +210 -0
  430. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/utils/mctabs.js +162 -0
  431. data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/utils/validate.js +252 -0
  432. data/assets/use_tinymce_init_advanced.js +1 -1
  433. data/assets/use_tinymce_init_simple.js +1 -1
  434. data/lib/tasks/use_tinymce.rake +76 -13
  435. data/lib/use_tinymce/railengine.rb +8 -6
  436. data/lib/use_tinymce/use_tinymce.rb +23 -3
  437. metadata +433 -282
  438. data/assets/tinymce/changelog.txt +0 -1303
  439. data/assets/tinymce/examples/accessibility.html +0 -101
  440. data/assets/tinymce/examples/css/content.css +0 -105
  441. data/assets/tinymce/examples/css/word.css +0 -53
  442. data/assets/tinymce/examples/custom_formats.html +0 -111
  443. data/assets/tinymce/examples/full.html +0 -101
  444. data/assets/tinymce/examples/index.html +0 -10
  445. data/assets/tinymce/examples/lists/image_list.js +0 -9
  446. data/assets/tinymce/examples/lists/link_list.js +0 -10
  447. data/assets/tinymce/examples/lists/media_list.js +0 -14
  448. data/assets/tinymce/examples/lists/template_list.js +0 -9
  449. data/assets/tinymce/examples/media/logo.jpg +0 -0
  450. data/assets/tinymce/examples/media/logo_over.jpg +0 -0
  451. data/assets/tinymce/examples/media/sample.avi +0 -0
  452. data/assets/tinymce/examples/media/sample.dcr +0 -0
  453. data/assets/tinymce/examples/media/sample.flv +0 -0
  454. data/assets/tinymce/examples/media/sample.mov +0 -0
  455. data/assets/tinymce/examples/media/sample.ram +0 -1
  456. data/assets/tinymce/examples/media/sample.rm +0 -0
  457. data/assets/tinymce/examples/media/sample.swf +0 -0
  458. data/assets/tinymce/examples/menu.html +0 -18
  459. data/assets/tinymce/examples/simple.html +0 -47
  460. data/assets/tinymce/examples/skins.html +0 -216
  461. data/assets/tinymce/examples/templates/layout1.htm +0 -15
  462. data/assets/tinymce/examples/templates/snippet1.htm +0 -1
  463. data/assets/tinymce/examples/word.html +0 -72
  464. data/assets/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin_src.js +0 -57
  465. data/assets/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js +0 -50
  466. data/assets/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin_src.js +0 -61
  467. data/assets/tinymce/jscripts/tiny_mce/plugins/advlist/editor_plugin_src.js +0 -161
  468. data/assets/tinymce/jscripts/tiny_mce/plugins/autolink/editor_plugin_src.js +0 -169
  469. data/assets/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin_src.js +0 -128
  470. data/assets/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin_src.js +0 -431
  471. data/assets/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +0 -120
  472. data/assets/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +0 -161
  473. data/assets/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin_src.js +0 -82
  474. data/assets/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin_src.js +0 -43
  475. data/assets/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin_src.js +0 -84
  476. data/assets/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin_src.js +0 -399
  477. data/assets/tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js +0 -159
  478. data/assets/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin_src.js +0 -54
  479. data/assets/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +0 -696
  480. data/assets/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +0 -83
  481. data/assets/tinymce/jscripts/tiny_mce/plugins/layer/editor_plugin_src.js +0 -214
  482. data/assets/tinymce/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +0 -139
  483. data/assets/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin_src.js +0 -617
  484. data/assets/tinymce/jscripts/tiny_mce/plugins/media/editor_plugin_src.js +0 -770
  485. data/assets/tinymce/jscripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +0 -53
  486. data/assets/tinymce/jscripts/tiny_mce/plugins/noneditable/editor_plugin_src.js +0 -92
  487. data/assets/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +0 -74
  488. data/assets/tinymce/jscripts/tiny_mce/plugins/paste/editor_plugin_src.js +0 -933
  489. data/assets/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin_src.js +0 -53
  490. data/assets/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin_src.js +0 -34
  491. data/assets/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin_src.js +0 -101
  492. data/assets/tinymce/jscripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +0 -61
  493. data/assets/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js +0 -1
  494. data/assets/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +0 -435
  495. data/assets/tinymce/jscripts/tiny_mce/plugins/style/editor_plugin_src.js +0 -55
  496. data/assets/tinymce/jscripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js +0 -114
  497. data/assets/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin_src.js +0 -1202
  498. data/assets/tinymce/jscripts/tiny_mce/plugins/template/editor_plugin_src.js +0 -159
  499. data/assets/tinymce/jscripts/tiny_mce/plugins/visualchars/editor_plugin_src.js +0 -83
  500. data/assets/tinymce/jscripts/tiny_mce/plugins/wordcount/editor_plugin_src.js +0 -114
  501. data/assets/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +0 -132
@@ -1,53 +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
- tinymce.create('tinymce.plugins.Preview', {
13
- init : function(ed, url) {
14
- var t = this, css = tinymce.explode(ed.settings.content_css);
15
-
16
- t.editor = ed;
17
-
18
- // Force absolute CSS urls
19
- tinymce.each(css, function(u, k) {
20
- css[k] = ed.documentBaseURI.toAbsolute(u);
21
- });
22
-
23
- ed.addCommand('mcePreview', function() {
24
- ed.windowManager.open({
25
- file : ed.getParam("plugin_preview_pageurl", url + "/preview.html"),
26
- width : parseInt(ed.getParam("plugin_preview_width", "550")),
27
- height : parseInt(ed.getParam("plugin_preview_height", "600")),
28
- resizable : "yes",
29
- scrollbars : "yes",
30
- popup_css : css ? css.join(',') : ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css"),
31
- inline : ed.getParam("plugin_preview_inline", 1)
32
- }, {
33
- base : ed.documentBaseURI.getURI()
34
- });
35
- });
36
-
37
- ed.addButton('preview', {title : 'preview.preview_desc', cmd : 'mcePreview'});
38
- },
39
-
40
- getInfo : function() {
41
- return {
42
- longname : 'Preview',
43
- author : 'Moxiecode Systems AB',
44
- authorurl : 'http://tinymce.moxiecode.com',
45
- infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview',
46
- version : tinymce.majorVersion + "." + tinymce.minorVersion
47
- };
48
- }
49
- });
50
-
51
- // Register plugin
52
- tinymce.PluginManager.add('preview', tinymce.plugins.Preview);
53
- })();
@@ -1,34 +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
- tinymce.create('tinymce.plugins.Print', {
13
- init : function(ed, url) {
14
- ed.addCommand('mcePrint', function() {
15
- ed.getWin().print();
16
- });
17
-
18
- ed.addButton('print', {title : 'print.print_desc', cmd : 'mcePrint'});
19
- },
20
-
21
- getInfo : function() {
22
- return {
23
- longname : 'Print',
24
- author : 'Moxiecode Systems AB',
25
- authorurl : 'http://tinymce.moxiecode.com',
26
- infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print',
27
- version : tinymce.majorVersion + "." + tinymce.minorVersion
28
- };
29
- }
30
- });
31
-
32
- // Register plugin
33
- tinymce.PluginManager.add('print', tinymce.plugins.Print);
34
- })();
@@ -1,101 +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
- tinymce.create('tinymce.plugins.Save', {
13
- init : function(ed, url) {
14
- var t = this;
15
-
16
- t.editor = ed;
17
-
18
- // Register commands
19
- ed.addCommand('mceSave', t._save, t);
20
- ed.addCommand('mceCancel', t._cancel, t);
21
-
22
- // Register buttons
23
- ed.addButton('save', {title : 'save.save_desc', cmd : 'mceSave'});
24
- ed.addButton('cancel', {title : 'save.cancel_desc', cmd : 'mceCancel'});
25
-
26
- ed.onNodeChange.add(t._nodeChange, t);
27
- ed.addShortcut('ctrl+s', ed.getLang('save.save_desc'), 'mceSave');
28
- },
29
-
30
- getInfo : function() {
31
- return {
32
- longname : 'Save',
33
- author : 'Moxiecode Systems AB',
34
- authorurl : 'http://tinymce.moxiecode.com',
35
- infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/save',
36
- version : tinymce.majorVersion + "." + tinymce.minorVersion
37
- };
38
- },
39
-
40
- // Private methods
41
-
42
- _nodeChange : function(ed, cm, n) {
43
- var ed = this.editor;
44
-
45
- if (ed.getParam('save_enablewhendirty')) {
46
- cm.setDisabled('save', !ed.isDirty());
47
- cm.setDisabled('cancel', !ed.isDirty());
48
- }
49
- },
50
-
51
- // Private methods
52
-
53
- _save : function() {
54
- var ed = this.editor, formObj, os, i, elementId;
55
-
56
- formObj = tinymce.DOM.get(ed.id).form || tinymce.DOM.getParent(ed.id, 'form');
57
-
58
- if (ed.getParam("save_enablewhendirty") && !ed.isDirty())
59
- return;
60
-
61
- tinyMCE.triggerSave();
62
-
63
- // Use callback instead
64
- if (os = ed.getParam("save_onsavecallback")) {
65
- if (ed.execCallback('save_onsavecallback', ed)) {
66
- ed.startContent = tinymce.trim(ed.getContent({format : 'raw'}));
67
- ed.nodeChanged();
68
- }
69
-
70
- return;
71
- }
72
-
73
- if (formObj) {
74
- ed.isNotDirty = true;
75
-
76
- if (formObj.onsubmit == null || formObj.onsubmit() != false)
77
- formObj.submit();
78
-
79
- ed.nodeChanged();
80
- } else
81
- ed.windowManager.alert("Error: No form element found.");
82
- },
83
-
84
- _cancel : function() {
85
- var ed = this.editor, os, h = tinymce.trim(ed.startContent);
86
-
87
- // Use callback instead
88
- if (os = ed.getParam("save_oncancelcallback")) {
89
- ed.execCallback('save_oncancelcallback', ed);
90
- return;
91
- }
92
-
93
- ed.setContent(h);
94
- ed.undoManager.clear();
95
- ed.nodeChanged();
96
- }
97
- });
98
-
99
- // Register plugin
100
- tinymce.PluginManager.add('save', tinymce.plugins.Save);
101
- })();
@@ -1,61 +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
- tinymce.create('tinymce.plugins.SearchReplacePlugin', {
13
- init : function(ed, url) {
14
- function open(m) {
15
- // Keep IE from writing out the f/r character to the editor
16
- // instance while initializing a new dialog. See: #3131190
17
- window.focus();
18
-
19
- ed.windowManager.open({
20
- file : url + '/searchreplace.htm',
21
- width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)),
22
- height : 170 + parseInt(ed.getLang('searchreplace.delta_height', 0)),
23
- inline : 1,
24
- auto_focus : 0
25
- }, {
26
- mode : m,
27
- search_string : ed.selection.getContent({format : 'text'}),
28
- plugin_url : url
29
- });
30
- };
31
-
32
- // Register commands
33
- ed.addCommand('mceSearch', function() {
34
- open('search');
35
- });
36
-
37
- ed.addCommand('mceReplace', function() {
38
- open('replace');
39
- });
40
-
41
- // Register buttons
42
- ed.addButton('search', {title : 'searchreplace.search_desc', cmd : 'mceSearch'});
43
- ed.addButton('replace', {title : 'searchreplace.replace_desc', cmd : 'mceReplace'});
44
-
45
- ed.addShortcut('ctrl+f', 'searchreplace.search_desc', 'mceSearch');
46
- },
47
-
48
- getInfo : function() {
49
- return {
50
- longname : 'Search/Replace',
51
- author : 'Moxiecode Systems AB',
52
- authorurl : 'http://tinymce.moxiecode.com',
53
- infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace',
54
- version : tinymce.majorVersion + "." + tinymce.minorVersion
55
- };
56
- }
57
- });
58
-
59
- // Register plugin
60
- tinymce.PluginManager.add('searchreplace', tinymce.plugins.SearchReplacePlugin);
61
- })();
@@ -1 +0,0 @@
1
- (function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});if(e.settings.content_css!==false){e.contentCSS.push(f+"/css/content.css")}e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){if(n==f.selectedLang){return}l.setSelected(1);f.selectedItem.setSelected(0);f.selectedItem=l;f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);if(n==f.selectedLang){f.selectedItem=l}})});return g}},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}����������������\u201d\u201c');for(d=0;d<f.length;d++){e+="\\"+f.charAt(d)}return e},_getWords:function(){var e=this.editor,g=[],d="",f={},h=[];this._walk(e.getBody(),function(i){if(i.nodeType==3){d+=i.nodeValue+" "}});if(e.getParam("spellchecker_word_pattern")){h=d.match("("+e.getParam("spellchecker_word_pattern")+")","gi")}else{d=d.replace(new RegExp("([0-9]|["+this._getSeparators()+"])","g")," ");d=tinymce.trim(d.replace(/(\s+)/g," "));h=d.split(" ")}c(h,function(i){if(!f[i]){g.push(i);f[i]=1}});return g},_removeWords:function(e){var f=this.editor,h=f.dom,g=f.selection,d=g.getBookmark();c(h.select("span").reverse(),function(i){if(i&&(h.hasClass(i,"mceItemHiddenSpellWord")||h.hasClass(i,"mceItemHidden"))){if(!e||h.decode(i.innerHTML)==e){h.remove(i,1)}}});g.moveToBookmark(d)},_markWords:function(l){var g=this.editor,f=g.dom,j=g.getDoc(),h=g.selection,i=h.getBookmark(),d=[],k=l.join("|"),m=this._getSeparators(),e=new RegExp("(^|["+m+"])("+k+")(?=["+m+"]|$)","g");this._walk(g.getBody(),function(o){if(o.nodeType==3){d.push(o)}});c(d,function(t){var r,q,o,s,p=t.nodeValue;if(e.test(p)){p=f.encode(p);q=f.create("span",{"class":"mceItemHidden"});if(tinymce.isIE){p=p.replace(e,"$1<mcespell>$2</mcespell>");while((s=p.indexOf("<mcespell>"))!=-1){o=p.substring(0,s);if(o.length){r=j.createTextNode(f.decode(o));q.appendChild(r)}p=p.substring(s+10);s=p.indexOf("</mcespell>");o=p.substring(0,s);p=p.substring(s+11);q.appendChild(f.create("span",{"class":"mceItemHiddenSpellWord"},o))}if(p.length){r=j.createTextNode(f.decode(p));q.appendChild(r)}}else{q.innerHTML=p.replace(e,'$1<span class="mceItemHiddenSpellWord">$2</span>')}f.replace(q,t)}});h.moveToBookmark(i)},_showMenu:function(h,j){var i=this,h=i.editor,d=i._menu,l,k=h.dom,g=k.getViewPort(h.getWin()),f=j.target;j=0;if(!d){d=h.controlManager.createDropMenu("spellcheckermenu",{"class":"mceNoIcons"});i._menu=d}if(k.hasClass(f,"mceItemHiddenSpellWord")){d.removeAll();d.add({title:"spellchecker.wait","class":"mceMenuItemTitle"}).setDisabled(1);i._sendRPC("getSuggestions",[i.selectedLang,k.decode(f.innerHTML)],function(m){var e;d.removeAll();if(m.length>0){d.add({title:"spellchecker.sug","class":"mceMenuItemTitle"}).setDisabled(1);c(m,function(n){d.add({title:n,onclick:function(){k.replace(h.getDoc().createTextNode(n),f);i._checkDone()}})});d.addSeparator()}else{d.add({title:"spellchecker.no_sug","class":"mceMenuItemTitle"}).setDisabled(1)}e=i.editor.getParam("spellchecker_enable_ignore_rpc","");d.add({title:"spellchecker.ignore_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});d.add({title:"spellchecker.ignore_words",onclick:function(){var n=f.innerHTML;i._removeWords(k.decode(n));i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWords",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});if(i.editor.getParam("spellchecker_enable_learn_rpc")){d.add({title:"spellchecker.learn_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();h.setProgressState(1);i._sendRPC("learnWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}})}d.update()});l=k.getPos(h.getContentAreaContainer());d.settings.offset_x=l.x;d.settings.offset_y=l.y;h.selection.select(f);l=k.getPos(f);d.showMenu(l.x,l.y+f.offsetHeight-g.y);return tinymce.dom.Event.cancel(j)}else{d.hideMenu()}},_checkDone:function(){var e=this,d=e.editor,g=d.dom,f;c(g.select("span"),function(h){if(h&&g.hasClass(h,"mceItemHiddenSpellWord")){f=true;return false}});if(!f){e._done()}},_done:function(){var d=this,e=d.active;if(d.active){d.active=0;d._removeWords();if(d._menu){d._menu.hideMenu()}if(e){d.editor.nodeChanged()}}},_sendRPC:function(e,g,d){var f=this;a.sendRPC({url:f.rpcUrl,method:e,params:g,success:d,error:function(i,h){f.editor.setProgressState(0);f.editor.windowManager.alert(i.errstr||("Error response: "+h.responseText))}})}});tinymce.PluginManager.add("spellchecker",tinymce.plugins.SpellcheckerPlugin)})();
@@ -1,435 +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 JSONRequest = tinymce.util.JSONRequest, each = tinymce.each, DOM = tinymce.DOM;
13
-
14
- tinymce.create('tinymce.plugins.SpellcheckerPlugin', {
15
- getInfo : function() {
16
- return {
17
- longname : 'Spellchecker',
18
- author : 'Moxiecode Systems AB',
19
- authorurl : 'http://tinymce.moxiecode.com',
20
- infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker',
21
- version : tinymce.majorVersion + "." + tinymce.minorVersion
22
- };
23
- },
24
-
25
- init : function(ed, url) {
26
- var t = this, cm;
27
-
28
- t.url = url;
29
- t.editor = ed;
30
- t.rpcUrl = ed.getParam("spellchecker_rpc_url", "{backend}");
31
-
32
- if (t.rpcUrl == '{backend}') {
33
- // Sniff if the browser supports native spellchecking (Don't know of a better way)
34
- if (tinymce.isIE)
35
- return;
36
-
37
- t.hasSupport = true;
38
-
39
- // Disable the context menu when spellchecking is active
40
- ed.onContextMenu.addToTop(function(ed, e) {
41
- if (t.active)
42
- return false;
43
- });
44
- }
45
-
46
- // Register commands
47
- ed.addCommand('mceSpellCheck', function() {
48
- if (t.rpcUrl == '{backend}') {
49
- // Enable/disable native spellchecker
50
- t.editor.getBody().spellcheck = t.active = !t.active;
51
- return;
52
- }
53
-
54
- if (!t.active) {
55
- ed.setProgressState(1);
56
- t._sendRPC('checkWords', [t.selectedLang, t._getWords()], function(r) {
57
- if (r.length > 0) {
58
- t.active = 1;
59
- t._markWords(r);
60
- ed.setProgressState(0);
61
- ed.nodeChanged();
62
- } else {
63
- ed.setProgressState(0);
64
-
65
- if (ed.getParam('spellchecker_report_no_misspellings', true))
66
- ed.windowManager.alert('spellchecker.no_mpell');
67
- }
68
- });
69
- } else
70
- t._done();
71
- });
72
-
73
- if (ed.settings.content_css !== false)
74
- ed.contentCSS.push(url + '/css/content.css');
75
-
76
- ed.onClick.add(t._showMenu, t);
77
- ed.onContextMenu.add(t._showMenu, t);
78
- ed.onBeforeGetContent.add(function() {
79
- if (t.active)
80
- t._removeWords();
81
- });
82
-
83
- ed.onNodeChange.add(function(ed, cm) {
84
- cm.setActive('spellchecker', t.active);
85
- });
86
-
87
- ed.onSetContent.add(function() {
88
- t._done();
89
- });
90
-
91
- ed.onBeforeGetContent.add(function() {
92
- t._done();
93
- });
94
-
95
- ed.onBeforeExecCommand.add(function(ed, cmd) {
96
- if (cmd == 'mceFullScreen')
97
- t._done();
98
- });
99
-
100
- // Find selected language
101
- t.languages = {};
102
- each(ed.getParam('spellchecker_languages', '+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv', 'hash'), function(v, k) {
103
- if (k.indexOf('+') === 0) {
104
- k = k.substring(1);
105
- t.selectedLang = v;
106
- }
107
-
108
- t.languages[k] = v;
109
- });
110
- },
111
-
112
- createControl : function(n, cm) {
113
- var t = this, c, ed = t.editor;
114
-
115
- if (n == 'spellchecker') {
116
- // Use basic button if we use the native spellchecker
117
- if (t.rpcUrl == '{backend}') {
118
- // Create simple toggle button if we have native support
119
- if (t.hasSupport)
120
- c = cm.createButton(n, {title : 'spellchecker.desc', cmd : 'mceSpellCheck', scope : t});
121
-
122
- return c;
123
- }
124
-
125
- c = cm.createSplitButton(n, {title : 'spellchecker.desc', cmd : 'mceSpellCheck', scope : t});
126
-
127
- c.onRenderMenu.add(function(c, m) {
128
- m.add({title : 'spellchecker.langs', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
129
- each(t.languages, function(v, k) {
130
- var o = {icon : 1}, mi;
131
-
132
- o.onclick = function() {
133
- if (v == t.selectedLang) {
134
- return;
135
- }
136
- mi.setSelected(1);
137
- t.selectedItem.setSelected(0);
138
- t.selectedItem = mi;
139
- t.selectedLang = v;
140
- };
141
-
142
- o.title = k;
143
- mi = m.add(o);
144
- mi.setSelected(v == t.selectedLang);
145
-
146
- if (v == t.selectedLang)
147
- t.selectedItem = mi;
148
- })
149
- });
150
-
151
- return c;
152
- }
153
- },
154
-
155
- // Internal functions
156
-
157
- _walk : function(n, f) {
158
- var d = this.editor.getDoc(), w;
159
-
160
- if (d.createTreeWalker) {
161
- w = d.createTreeWalker(n, NodeFilter.SHOW_TEXT, null, false);
162
-
163
- while ((n = w.nextNode()) != null)
164
- f.call(this, n);
165
- } else
166
- tinymce.walk(n, f, 'childNodes');
167
- },
168
-
169
- _getSeparators : function() {
170
- var re = '', i, str = this.editor.getParam('spellchecker_word_separator_chars', '\\s!"#$%&()*+,-./:;<=>?@[\]^_{|}����������������\u201d\u201c');
171
-
172
- // Build word separator regexp
173
- for (i=0; i<str.length; i++)
174
- re += '\\' + str.charAt(i);
175
-
176
- return re;
177
- },
178
-
179
- _getWords : function() {
180
- var ed = this.editor, wl = [], tx = '', lo = {}, rawWords = [];
181
-
182
- // Get area text
183
- this._walk(ed.getBody(), function(n) {
184
- if (n.nodeType == 3)
185
- tx += n.nodeValue + ' ';
186
- });
187
-
188
- // split the text up into individual words
189
- if (ed.getParam('spellchecker_word_pattern')) {
190
- // look for words that match the pattern
191
- rawWords = tx.match('(' + ed.getParam('spellchecker_word_pattern') + ')', 'gi');
192
- } else {
193
- // Split words by separator
194
- tx = tx.replace(new RegExp('([0-9]|[' + this._getSeparators() + '])', 'g'), ' ');
195
- tx = tinymce.trim(tx.replace(/(\s+)/g, ' '));
196
- rawWords = tx.split(' ');
197
- }
198
-
199
- // Build word array and remove duplicates
200
- each(rawWords, function(v) {
201
- if (!lo[v]) {
202
- wl.push(v);
203
- lo[v] = 1;
204
- }
205
- });
206
-
207
- return wl;
208
- },
209
-
210
- _removeWords : function(w) {
211
- var ed = this.editor, dom = ed.dom, se = ed.selection, b = se.getBookmark();
212
-
213
- each(dom.select('span').reverse(), function(n) {
214
- if (n && (dom.hasClass(n, 'mceItemHiddenSpellWord') || dom.hasClass(n, 'mceItemHidden'))) {
215
- if (!w || dom.decode(n.innerHTML) == w)
216
- dom.remove(n, 1);
217
- }
218
- });
219
-
220
- se.moveToBookmark(b);
221
- },
222
-
223
- _markWords : function(wl) {
224
- var ed = this.editor, dom = ed.dom, doc = ed.getDoc(), se = ed.selection, b = se.getBookmark(), nl = [],
225
- w = wl.join('|'), re = this._getSeparators(), rx = new RegExp('(^|[' + re + '])(' + w + ')(?=[' + re + ']|$)', 'g');
226
-
227
- // Collect all text nodes
228
- this._walk(ed.getBody(), function(n) {
229
- if (n.nodeType == 3) {
230
- nl.push(n);
231
- }
232
- });
233
-
234
- // Wrap incorrect words in spans
235
- each(nl, function(n) {
236
- var node, elem, txt, pos, v = n.nodeValue;
237
-
238
- if (rx.test(v)) {
239
- // Encode the content
240
- v = dom.encode(v);
241
- // Create container element
242
- elem = dom.create('span', {'class' : 'mceItemHidden'});
243
-
244
- // Following code fixes IE issues by creating text nodes
245
- // using DOM methods instead of innerHTML.
246
- // Bug #3124: <PRE> elements content is broken after spellchecking.
247
- // Bug #1408: Preceding whitespace characters are removed
248
- // @TODO: I'm not sure that both are still issues on IE9.
249
- if (tinymce.isIE) {
250
- // Enclose mispelled words with temporal tag
251
- v = v.replace(rx, '$1<mcespell>$2</mcespell>');
252
- // Loop over the content finding mispelled words
253
- while ((pos = v.indexOf('<mcespell>')) != -1) {
254
- // Add text node for the content before the word
255
- txt = v.substring(0, pos);
256
- if (txt.length) {
257
- node = doc.createTextNode(dom.decode(txt));
258
- elem.appendChild(node);
259
- }
260
- v = v.substring(pos+10);
261
- pos = v.indexOf('</mcespell>');
262
- txt = v.substring(0, pos);
263
- v = v.substring(pos+11);
264
- // Add span element for the word
265
- elem.appendChild(dom.create('span', {'class' : 'mceItemHiddenSpellWord'}, txt));
266
- }
267
- // Add text node for the rest of the content
268
- if (v.length) {
269
- node = doc.createTextNode(dom.decode(v));
270
- elem.appendChild(node);
271
- }
272
- } else {
273
- // Other browsers preserve whitespace characters on innerHTML usage
274
- elem.innerHTML = v.replace(rx, '$1<span class="mceItemHiddenSpellWord">$2</span>');
275
- }
276
-
277
- // Finally, replace the node with the container
278
- dom.replace(elem, n);
279
- }
280
- });
281
-
282
- se.moveToBookmark(b);
283
- },
284
-
285
- _showMenu : function(ed, e) {
286
- var t = this, ed = t.editor, m = t._menu, p1, dom = ed.dom, vp = dom.getViewPort(ed.getWin()), wordSpan = e.target;
287
-
288
- e = 0; // Fixes IE memory leak
289
-
290
- if (!m) {
291
- m = ed.controlManager.createDropMenu('spellcheckermenu', {'class' : 'mceNoIcons'});
292
- t._menu = m;
293
- }
294
-
295
- if (dom.hasClass(wordSpan, 'mceItemHiddenSpellWord')) {
296
- m.removeAll();
297
- m.add({title : 'spellchecker.wait', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
298
-
299
- t._sendRPC('getSuggestions', [t.selectedLang, dom.decode(wordSpan.innerHTML)], function(r) {
300
- var ignoreRpc;
301
-
302
- m.removeAll();
303
-
304
- if (r.length > 0) {
305
- m.add({title : 'spellchecker.sug', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
306
- each(r, function(v) {
307
- m.add({title : v, onclick : function() {
308
- dom.replace(ed.getDoc().createTextNode(v), wordSpan);
309
- t._checkDone();
310
- }});
311
- });
312
-
313
- m.addSeparator();
314
- } else
315
- m.add({title : 'spellchecker.no_sug', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
316
-
317
- ignoreRpc = t.editor.getParam("spellchecker_enable_ignore_rpc", '');
318
- m.add({
319
- title : 'spellchecker.ignore_word',
320
- onclick : function() {
321
- var word = wordSpan.innerHTML;
322
-
323
- dom.remove(wordSpan, 1);
324
- t._checkDone();
325
-
326
- // tell the server if we need to
327
- if (ignoreRpc) {
328
- ed.setProgressState(1);
329
- t._sendRPC('ignoreWord', [t.selectedLang, word], function(r) {
330
- ed.setProgressState(0);
331
- });
332
- }
333
- }
334
- });
335
-
336
- m.add({
337
- title : 'spellchecker.ignore_words',
338
- onclick : function() {
339
- var word = wordSpan.innerHTML;
340
-
341
- t._removeWords(dom.decode(word));
342
- t._checkDone();
343
-
344
- // tell the server if we need to
345
- if (ignoreRpc) {
346
- ed.setProgressState(1);
347
- t._sendRPC('ignoreWords', [t.selectedLang, word], function(r) {
348
- ed.setProgressState(0);
349
- });
350
- }
351
- }
352
- });
353
-
354
-
355
- if (t.editor.getParam("spellchecker_enable_learn_rpc")) {
356
- m.add({
357
- title : 'spellchecker.learn_word',
358
- onclick : function() {
359
- var word = wordSpan.innerHTML;
360
-
361
- dom.remove(wordSpan, 1);
362
- t._checkDone();
363
-
364
- ed.setProgressState(1);
365
- t._sendRPC('learnWord', [t.selectedLang, word], function(r) {
366
- ed.setProgressState(0);
367
- });
368
- }
369
- });
370
- }
371
-
372
- m.update();
373
- });
374
-
375
- p1 = dom.getPos(ed.getContentAreaContainer());
376
- m.settings.offset_x = p1.x;
377
- m.settings.offset_y = p1.y;
378
-
379
- ed.selection.select(wordSpan);
380
- p1 = dom.getPos(wordSpan);
381
- m.showMenu(p1.x, p1.y + wordSpan.offsetHeight - vp.y);
382
-
383
- return tinymce.dom.Event.cancel(e);
384
- } else
385
- m.hideMenu();
386
- },
387
-
388
- _checkDone : function() {
389
- var t = this, ed = t.editor, dom = ed.dom, o;
390
-
391
- each(dom.select('span'), function(n) {
392
- if (n && dom.hasClass(n, 'mceItemHiddenSpellWord')) {
393
- o = true;
394
- return false;
395
- }
396
- });
397
-
398
- if (!o)
399
- t._done();
400
- },
401
-
402
- _done : function() {
403
- var t = this, la = t.active;
404
-
405
- if (t.active) {
406
- t.active = 0;
407
- t._removeWords();
408
-
409
- if (t._menu)
410
- t._menu.hideMenu();
411
-
412
- if (la)
413
- t.editor.nodeChanged();
414
- }
415
- },
416
-
417
- _sendRPC : function(m, p, cb) {
418
- var t = this;
419
-
420
- JSONRequest.sendRPC({
421
- url : t.rpcUrl,
422
- method : m,
423
- params : p,
424
- success : cb,
425
- error : function(e, x) {
426
- t.editor.setProgressState(0);
427
- t.editor.windowManager.alert(e.errstr || ('Error response: ' + x.responseText));
428
- }
429
- });
430
- }
431
- });
432
-
433
- // Register plugin
434
- tinymce.PluginManager.add('spellchecker', tinymce.plugins.SpellcheckerPlugin);
435
- })();