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,83 +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.InsertDateTime', {
13
- init : function(ed, url) {
14
- var t = this;
15
-
16
- t.editor = ed;
17
-
18
- ed.addCommand('mceInsertDate', function() {
19
- var str = t._getDateTime(new Date(), ed.getParam("plugin_insertdate_dateFormat", ed.getLang('insertdatetime.date_fmt')));
20
-
21
- ed.execCommand('mceInsertContent', false, str);
22
- });
23
-
24
- ed.addCommand('mceInsertTime', function() {
25
- var str = t._getDateTime(new Date(), ed.getParam("plugin_insertdate_timeFormat", ed.getLang('insertdatetime.time_fmt')));
26
-
27
- ed.execCommand('mceInsertContent', false, str);
28
- });
29
-
30
- ed.addButton('insertdate', {title : 'insertdatetime.insertdate_desc', cmd : 'mceInsertDate'});
31
- ed.addButton('inserttime', {title : 'insertdatetime.inserttime_desc', cmd : 'mceInsertTime'});
32
- },
33
-
34
- getInfo : function() {
35
- return {
36
- longname : 'Insert date/time',
37
- author : 'Moxiecode Systems AB',
38
- authorurl : 'http://tinymce.moxiecode.com',
39
- infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/insertdatetime',
40
- version : tinymce.majorVersion + "." + tinymce.minorVersion
41
- };
42
- },
43
-
44
- // Private methods
45
-
46
- _getDateTime : function(d, fmt) {
47
- var ed = this.editor;
48
-
49
- function addZeros(value, len) {
50
- value = "" + value;
51
-
52
- if (value.length < len) {
53
- for (var i=0; i<(len-value.length); i++)
54
- value = "0" + value;
55
- }
56
-
57
- return value;
58
- };
59
-
60
- fmt = fmt.replace("%D", "%m/%d/%y");
61
- fmt = fmt.replace("%r", "%I:%M:%S %p");
62
- fmt = fmt.replace("%Y", "" + d.getFullYear());
63
- fmt = fmt.replace("%y", "" + d.getYear());
64
- fmt = fmt.replace("%m", addZeros(d.getMonth()+1, 2));
65
- fmt = fmt.replace("%d", addZeros(d.getDate(), 2));
66
- fmt = fmt.replace("%H", "" + addZeros(d.getHours(), 2));
67
- fmt = fmt.replace("%M", "" + addZeros(d.getMinutes(), 2));
68
- fmt = fmt.replace("%S", "" + addZeros(d.getSeconds(), 2));
69
- fmt = fmt.replace("%I", "" + ((d.getHours() + 11) % 12 + 1));
70
- fmt = fmt.replace("%p", "" + (d.getHours() < 12 ? "AM" : "PM"));
71
- fmt = fmt.replace("%B", "" + ed.getLang("insertdatetime.months_long").split(',')[d.getMonth()]);
72
- fmt = fmt.replace("%b", "" + ed.getLang("insertdatetime.months_short").split(',')[d.getMonth()]);
73
- fmt = fmt.replace("%A", "" + ed.getLang("insertdatetime.day_long").split(',')[d.getDay()]);
74
- fmt = fmt.replace("%a", "" + ed.getLang("insertdatetime.day_short").split(',')[d.getDay()]);
75
- fmt = fmt.replace("%%", "%");
76
-
77
- return fmt;
78
- }
79
- });
80
-
81
- // Register plugin
82
- tinymce.PluginManager.add('insertdatetime', tinymce.plugins.InsertDateTime);
83
- })();
@@ -1,214 +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.Layer', {
13
- init : function(ed, url) {
14
- var t = this;
15
-
16
- t.editor = ed;
17
-
18
- // Register commands
19
- ed.addCommand('mceInsertLayer', t._insertLayer, t);
20
-
21
- ed.addCommand('mceMoveForward', function() {
22
- t._move(1);
23
- });
24
-
25
- ed.addCommand('mceMoveBackward', function() {
26
- t._move(-1);
27
- });
28
-
29
- ed.addCommand('mceMakeAbsolute', function() {
30
- t._toggleAbsolute();
31
- });
32
-
33
- // Register buttons
34
- ed.addButton('moveforward', {title : 'layer.forward_desc', cmd : 'mceMoveForward'});
35
- ed.addButton('movebackward', {title : 'layer.backward_desc', cmd : 'mceMoveBackward'});
36
- ed.addButton('absolute', {title : 'layer.absolute_desc', cmd : 'mceMakeAbsolute'});
37
- ed.addButton('insertlayer', {title : 'layer.insertlayer_desc', cmd : 'mceInsertLayer'});
38
-
39
- ed.onInit.add(function() {
40
- if (tinymce.isIE)
41
- ed.getDoc().execCommand('2D-Position', false, true);
42
- });
43
-
44
- ed.onNodeChange.add(t._nodeChange, t);
45
- ed.onVisualAid.add(t._visualAid, t);
46
- },
47
-
48
- getInfo : function() {
49
- return {
50
- longname : 'Layer',
51
- author : 'Moxiecode Systems AB',
52
- authorurl : 'http://tinymce.moxiecode.com',
53
- infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/layer',
54
- version : tinymce.majorVersion + "." + tinymce.minorVersion
55
- };
56
- },
57
-
58
- // Private methods
59
-
60
- _nodeChange : function(ed, cm, n) {
61
- var le, p;
62
-
63
- le = this._getParentLayer(n);
64
- p = ed.dom.getParent(n, 'DIV,P,IMG');
65
-
66
- if (!p) {
67
- cm.setDisabled('absolute', 1);
68
- cm.setDisabled('moveforward', 1);
69
- cm.setDisabled('movebackward', 1);
70
- } else {
71
- cm.setDisabled('absolute', 0);
72
- cm.setDisabled('moveforward', !le);
73
- cm.setDisabled('movebackward', !le);
74
- cm.setActive('absolute', le && le.style.position.toLowerCase() == "absolute");
75
- }
76
- },
77
-
78
- // Private methods
79
-
80
- _visualAid : function(ed, e, s) {
81
- var dom = ed.dom;
82
-
83
- tinymce.each(dom.select('div,p', e), function(e) {
84
- if (/^(absolute|relative|static)$/i.test(e.style.position)) {
85
- if (s)
86
- dom.addClass(e, 'mceItemVisualAid');
87
- else
88
- dom.removeClass(e, 'mceItemVisualAid');
89
- }
90
- });
91
- },
92
-
93
- _move : function(d) {
94
- var ed = this.editor, i, z = [], le = this._getParentLayer(ed.selection.getNode()), ci = -1, fi = -1, nl;
95
-
96
- nl = [];
97
- tinymce.walk(ed.getBody(), function(n) {
98
- if (n.nodeType == 1 && /^(absolute|relative|static)$/i.test(n.style.position))
99
- nl.push(n);
100
- }, 'childNodes');
101
-
102
- // Find z-indexes
103
- for (i=0; i<nl.length; i++) {
104
- z[i] = nl[i].style.zIndex ? parseInt(nl[i].style.zIndex) : 0;
105
-
106
- if (ci < 0 && nl[i] == le)
107
- ci = i;
108
- }
109
-
110
- if (d < 0) {
111
- // Move back
112
-
113
- // Try find a lower one
114
- for (i=0; i<z.length; i++) {
115
- if (z[i] < z[ci]) {
116
- fi = i;
117
- break;
118
- }
119
- }
120
-
121
- if (fi > -1) {
122
- nl[ci].style.zIndex = z[fi];
123
- nl[fi].style.zIndex = z[ci];
124
- } else {
125
- if (z[ci] > 0)
126
- nl[ci].style.zIndex = z[ci] - 1;
127
- }
128
- } else {
129
- // Move forward
130
-
131
- // Try find a higher one
132
- for (i=0; i<z.length; i++) {
133
- if (z[i] > z[ci]) {
134
- fi = i;
135
- break;
136
- }
137
- }
138
-
139
- if (fi > -1) {
140
- nl[ci].style.zIndex = z[fi];
141
- nl[fi].style.zIndex = z[ci];
142
- } else
143
- nl[ci].style.zIndex = z[ci] + 1;
144
- }
145
-
146
- ed.execCommand('mceRepaint');
147
- },
148
-
149
- _getParentLayer : function(n) {
150
- return this.editor.dom.getParent(n, function(n) {
151
- return n.nodeType == 1 && /^(absolute|relative|static)$/i.test(n.style.position);
152
- });
153
- },
154
-
155
- _insertLayer : function() {
156
- var ed = this.editor, p = ed.dom.getPos(ed.dom.getParent(ed.selection.getNode(), '*'));
157
-
158
- ed.dom.add(ed.getBody(), 'div', {
159
- style : {
160
- position : 'absolute',
161
- left : p.x,
162
- top : (p.y > 20 ? p.y : 20),
163
- width : 100,
164
- height : 100
165
- },
166
- 'class' : 'mceItemVisualAid'
167
- }, ed.selection.getContent() || ed.getLang('layer.content'));
168
- },
169
-
170
- _toggleAbsolute : function() {
171
- var ed = this.editor, le = this._getParentLayer(ed.selection.getNode());
172
-
173
- if (!le)
174
- le = ed.dom.getParent(ed.selection.getNode(), 'DIV,P,IMG');
175
-
176
- if (le) {
177
- if (le.style.position.toLowerCase() == "absolute") {
178
- ed.dom.setStyles(le, {
179
- position : '',
180
- left : '',
181
- top : '',
182
- width : '',
183
- height : ''
184
- });
185
-
186
- ed.dom.removeClass(le, 'mceItemVisualAid');
187
- } else {
188
- if (le.style.left == "")
189
- le.style.left = 20 + 'px';
190
-
191
- if (le.style.top == "")
192
- le.style.top = 20 + 'px';
193
-
194
- if (le.style.width == "")
195
- le.style.width = le.width ? (le.width + 'px') : '100px';
196
-
197
- if (le.style.height == "")
198
- le.style.height = le.height ? (le.height + 'px') : '100px';
199
-
200
- le.style.position = "absolute";
201
-
202
- ed.dom.setAttrib(le, 'data-mce-style', '');
203
- ed.addVisual(ed.getBody());
204
- }
205
-
206
- ed.execCommand('mceRepaint');
207
- ed.nodeChanged();
208
- }
209
- }
210
- });
211
-
212
- // Register plugin
213
- tinymce.PluginManager.add('layer', tinymce.plugins.Layer);
214
- })();
@@ -1,139 +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
- * This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u elements, align
11
- * attributes and so forth. There are a few cases where these old items might be needed for example in email applications or with Flash
12
- *
13
- * However you should NOT use this plugin if you are building some system that produces web contents such as a CMS. All these elements are
14
- * not apart of the newer specifications for HTML and XHTML.
15
- */
16
-
17
- (function(tinymce) {
18
- // Override inline_styles setting to force TinyMCE to produce deprecated contents
19
- tinymce.onAddEditor.addToTop(function(tinymce, editor) {
20
- editor.settings.inline_styles = false;
21
- });
22
-
23
- // Create the legacy ouput plugin
24
- tinymce.create('tinymce.plugins.LegacyOutput', {
25
- init : function(editor) {
26
- editor.onInit.add(function() {
27
- var alignElements = 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img',
28
- fontSizes = tinymce.explode(editor.settings.font_size_style_values),
29
- schema = editor.schema;
30
-
31
- // Override some internal formats to produce legacy elements and attributes
32
- editor.formatter.register({
33
- // Change alignment formats to use the deprecated align attribute
34
- alignleft : {selector : alignElements, attributes : {align : 'left'}},
35
- aligncenter : {selector : alignElements, attributes : {align : 'center'}},
36
- alignright : {selector : alignElements, attributes : {align : 'right'}},
37
- alignfull : {selector : alignElements, attributes : {align : 'justify'}},
38
-
39
- // Change the basic formatting elements to use deprecated element types
40
- bold : [
41
- {inline : 'b', remove : 'all'},
42
- {inline : 'strong', remove : 'all'},
43
- {inline : 'span', styles : {fontWeight : 'bold'}}
44
- ],
45
- italic : [
46
- {inline : 'i', remove : 'all'},
47
- {inline : 'em', remove : 'all'},
48
- {inline : 'span', styles : {fontStyle : 'italic'}}
49
- ],
50
- underline : [
51
- {inline : 'u', remove : 'all'},
52
- {inline : 'span', styles : {textDecoration : 'underline'}, exact : true}
53
- ],
54
- strikethrough : [
55
- {inline : 'strike', remove : 'all'},
56
- {inline : 'span', styles : {textDecoration: 'line-through'}, exact : true}
57
- ],
58
-
59
- // Change font size and font family to use the deprecated font element
60
- fontname : {inline : 'font', attributes : {face : '%value'}},
61
- fontsize : {
62
- inline : 'font',
63
- attributes : {
64
- size : function(vars) {
65
- return tinymce.inArray(fontSizes, vars.value) + 1;
66
- }
67
- }
68
- },
69
-
70
- // Setup font elements for colors as well
71
- forecolor : {inline : 'font', styles : {color : '%value'}},
72
- hilitecolor : {inline : 'font', styles : {backgroundColor : '%value'}}
73
- });
74
-
75
- // Check that deprecated elements are allowed if not add them
76
- tinymce.each('b,i,u,strike'.split(','), function(name) {
77
- schema.addValidElements(name + '[*]');
78
- });
79
-
80
- // Add font element if it's missing
81
- if (!schema.getElementRule("font"))
82
- schema.addValidElements("font[face|size|color|style]");
83
-
84
- // Add the missing and depreacted align attribute for the serialization engine
85
- tinymce.each(alignElements.split(','), function(name) {
86
- var rule = schema.getElementRule(name), found;
87
-
88
- if (rule) {
89
- if (!rule.attributes.align) {
90
- rule.attributes.align = {};
91
- rule.attributesOrder.push('align');
92
- }
93
- }
94
- });
95
-
96
- // Listen for the onNodeChange event so that we can do special logic for the font size and font name drop boxes
97
- editor.onNodeChange.add(function(editor, control_manager) {
98
- var control, fontElm, fontName, fontSize;
99
-
100
- // Find font element get it's name and size
101
- fontElm = editor.dom.getParent(editor.selection.getNode(), 'font');
102
- if (fontElm) {
103
- fontName = fontElm.face;
104
- fontSize = fontElm.size;
105
- }
106
-
107
- // Select/unselect the font name in droplist
108
- if (control = control_manager.get('fontselect')) {
109
- control.select(function(value) {
110
- return value == fontName;
111
- });
112
- }
113
-
114
- // Select/unselect the font size in droplist
115
- if (control = control_manager.get('fontsizeselect')) {
116
- control.select(function(value) {
117
- var index = tinymce.inArray(fontSizes, value.fontSize);
118
-
119
- return index + 1 == fontSize;
120
- });
121
- }
122
- });
123
- });
124
- },
125
-
126
- getInfo : function() {
127
- return {
128
- longname : 'LegacyOutput',
129
- author : 'Moxiecode Systems AB',
130
- authorurl : 'http://tinymce.moxiecode.com',
131
- infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/legacyoutput',
132
- version : tinymce.majorVersion + "." + tinymce.minorVersion
133
- };
134
- }
135
- });
136
-
137
- // Register plugin
138
- tinymce.PluginManager.add('legacyoutput', tinymce.plugins.LegacyOutput);
139
- })(tinymce);