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
@@ -0,0 +1,143 @@
1
+ /* Hide the advanced tab */
2
+ #advanced_tab {
3
+ display: none;
4
+ }
5
+
6
+ #metatitle, #metakeywords, #metadescription, #metaauthor, #metacopyright {
7
+ width: 280px;
8
+ }
9
+
10
+ #doctype, #docencoding {
11
+ width: 200px;
12
+ }
13
+
14
+ #langcode {
15
+ width: 30px;
16
+ }
17
+
18
+ #bgimage {
19
+ width: 220px;
20
+ }
21
+
22
+ #fontface {
23
+ width: 240px;
24
+ }
25
+
26
+ #leftmargin, #rightmargin, #topmargin, #bottommargin {
27
+ width: 50px;
28
+ }
29
+
30
+ .panel_wrapper div.current {
31
+ height: 400px;
32
+ }
33
+
34
+ #stylesheet, #style {
35
+ width: 240px;
36
+ }
37
+
38
+ #doctypes {
39
+ width: 200px;
40
+ }
41
+
42
+ /* Head list classes */
43
+
44
+ .headlistwrapper {
45
+ width: 100%;
46
+ }
47
+
48
+ .selected {
49
+ border: 1px solid #0A246A;
50
+ background-color: #B6BDD2;
51
+ }
52
+
53
+ .toolbar {
54
+ width: 100%;
55
+ }
56
+
57
+ #headlist {
58
+ width: 100%;
59
+ margin-top: 3px;
60
+ font-size: 11px;
61
+ }
62
+
63
+ #info, #title_element, #meta_element, #script_element, #style_element, #base_element, #link_element, #comment_element, #unknown_element {
64
+ display: none;
65
+ }
66
+
67
+ #addmenu {
68
+ position: absolute;
69
+ border: 1px solid gray;
70
+ display: none;
71
+ z-index: 100;
72
+ background-color: white;
73
+ }
74
+
75
+ #addmenu a {
76
+ display: block;
77
+ width: 100%;
78
+ line-height: 20px;
79
+ text-decoration: none;
80
+ background-color: white;
81
+ }
82
+
83
+ #addmenu a:hover {
84
+ background-color: #B6BDD2;
85
+ color: black;
86
+ }
87
+
88
+ #addmenu span {
89
+ padding-left: 10px;
90
+ padding-right: 10px;
91
+ }
92
+
93
+ #updateElementPanel {
94
+ display: none;
95
+ }
96
+
97
+ #script_element .panel_wrapper div.current {
98
+ height: 108px;
99
+ }
100
+
101
+ #style_element .panel_wrapper div.current {
102
+ height: 108px;
103
+ }
104
+
105
+ #link_element .panel_wrapper div.current {
106
+ height: 140px;
107
+ }
108
+
109
+ #element_script_value {
110
+ width: 100%;
111
+ height: 100px;
112
+ }
113
+
114
+ #element_comment_value {
115
+ width: 100%;
116
+ height: 120px;
117
+ }
118
+
119
+ #element_style_value {
120
+ width: 100%;
121
+ height: 100px;
122
+ }
123
+
124
+ #element_title, #element_script_src, #element_meta_name, #element_meta_content, #element_base_href, #element_link_href, #element_link_title {
125
+ width: 250px;
126
+ }
127
+
128
+ .updateElementButton {
129
+ margin-top: 3px;
130
+ }
131
+
132
+ /* MSIE specific styles */
133
+
134
+ * html .addbutton, * html .removebutton, * html .moveupbutton, * html .movedownbutton {
135
+ width: 22px;
136
+ height: 22px;
137
+ }
138
+
139
+ textarea {
140
+ height: 55px;
141
+ }
142
+
143
+ .panel_wrapper div.current {height:420px;}
@@ -0,0 +1 @@
1
+ (function(){var b=tinymce.each,a=tinymce.html.Node;tinymce.create("tinymce.plugins.FullPagePlugin",{init:function(c,d){var e=this;e.editor=c;c.addCommand("mceFullPageProperties",function(){c.windowManager.open({file:d+"/fullpage.htm",width:430+parseInt(c.getLang("fullpage.delta_width",0)),height:495+parseInt(c.getLang("fullpage.delta_height",0)),inline:1},{plugin_url:d,data:e._htmlToData()})});c.addButton("fullpage",{title:"fullpage.desc",cmd:"mceFullPageProperties"});c.onBeforeSetContent.add(e._setContent,e);c.onGetContent.add(e._getContent,e)},getInfo:function(){return{longname:"Fullpage",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullpage",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_htmlToData:function(){var f=this._parseHeader(),h={},c,i,g,e=this.editor;function d(l,j){var k=l.attr(j);return k||""}h.fontface=e.getParam("fullpage_default_fontface","");h.fontsize=e.getParam("fullpage_default_fontsize","");i=f.firstChild;if(i.type==7){h.xml_pi=true;g=/encoding="([^"]+)"/.exec(i.value);if(g){h.docencoding=g[1]}}i=f.getAll("#doctype")[0];if(i){h.doctype="<!DOCTYPE"+i.value+">"}i=f.getAll("title")[0];if(i&&i.firstChild){h.metatitle=i.firstChild.value}b(f.getAll("meta"),function(m){var k=m.attr("name"),j=m.attr("http-equiv"),l;if(k){h["meta"+k.toLowerCase()]=m.attr("content")}else{if(j=="Content-Type"){l=/charset\s*=\s*(.*)\s*/gi.exec(m.attr("content"));if(l){h.docencoding=l[1]}}}});i=f.getAll("html")[0];if(i){h.langcode=d(i,"lang")||d(i,"xml:lang")}i=f.getAll("link")[0];if(i&&i.attr("rel")=="stylesheet"){h.stylesheet=i.attr("href")}i=f.getAll("body")[0];if(i){h.langdir=d(i,"dir");h.style=d(i,"style");h.visited_color=d(i,"vlink");h.link_color=d(i,"link");h.active_color=d(i,"alink")}return h},_dataToHtml:function(g){var f,d,h,j,k,e=this.editor.dom;function c(n,l,m){n.attr(l,m?m:undefined)}function i(l){if(d.firstChild){d.insert(l,d.firstChild)}else{d.append(l)}}f=this._parseHeader();d=f.getAll("head")[0];if(!d){j=f.getAll("html")[0];d=new a("head",1);if(j.firstChild){j.insert(d,j.firstChild,true)}else{j.append(d)}}j=f.firstChild;if(g.xml_pi){k='version="1.0"';if(g.docencoding){k+=' encoding="'+g.docencoding+'"'}if(j.type!=7){j=new a("xml",7);f.insert(j,f.firstChild,true)}j.value=k}else{if(j&&j.type==7){j.remove()}}j=f.getAll("#doctype")[0];if(g.doctype){if(!j){j=new a("#doctype",10);if(g.xml_pi){f.insert(j,f.firstChild)}else{i(j)}}j.value=g.doctype.substring(9,g.doctype.length-1)}else{if(j){j.remove()}}j=f.getAll("title")[0];if(g.metatitle){if(!j){j=new a("title",1);j.append(new a("#text",3)).value=g.metatitle;i(j)}}if(g.docencoding){j=null;b(f.getAll("meta"),function(l){if(l.attr("http-equiv")=="Content-Type"){j=l}});if(!j){j=new a("meta",1);j.attr("http-equiv","Content-Type");j.shortEnded=true;i(j)}j.attr("content","text/html; charset="+g.docencoding)}b("keywords,description,author,copyright,robots".split(","),function(m){var l=f.getAll("meta"),n,p,o=g["meta"+m];for(n=0;n<l.length;n++){p=l[n];if(p.attr("name")==m){if(o){p.attr("content",o)}else{p.remove()}return}}if(o){j=new a("meta",1);j.attr("name",m);j.attr("content",o);j.shortEnded=true;i(j)}});j=f.getAll("link")[0];if(j&&j.attr("rel")=="stylesheet"){if(g.stylesheet){j.attr("href",g.stylesheet)}else{j.remove()}}else{if(g.stylesheet){j=new a("link",1);j.attr({rel:"stylesheet",text:"text/css",href:g.stylesheet});j.shortEnded=true;i(j)}}j=f.getAll("body")[0];if(j){c(j,"dir",g.langdir);c(j,"style",g.style);c(j,"vlink",g.visited_color);c(j,"link",g.link_color);c(j,"alink",g.active_color);e.setAttribs(this.editor.getBody(),{style:g.style,dir:g.dir,vLink:g.visited_color,link:g.link_color,aLink:g.active_color})}j=f.getAll("html")[0];if(j){c(j,"lang",g.langcode);c(j,"xml:lang",g.langcode)}h=new tinymce.html.Serializer({validate:false,indent:true,apply_source_formatting:true,indent_before:"head,html,body,meta,title,script,link,style",indent_after:"head,html,body,meta,title,script,link,style"}).serialize(f);this.head=h.substring(0,h.indexOf("</body>"))},_parseHeader:function(){return new tinymce.html.DomParser({validate:false,root_name:"#document"}).parse(this.head)},_setContent:function(g,d){var m=this,i,c,h=d.content,f,l="",e=m.editor.dom,j;function k(n){return n.replace(/<\/?[A-Z]+/g,function(o){return o.toLowerCase()})}if(d.format=="raw"&&m.head){return}if(d.source_view&&g.getParam("fullpage_hide_in_source_view")){return}h=h.replace(/<(\/?)BODY/gi,"<$1body");i=h.indexOf("<body");if(i!=-1){i=h.indexOf(">",i);m.head=k(h.substring(0,i+1));c=h.indexOf("</body",i);if(c==-1){c=h.length}d.content=h.substring(i+1,c);m.foot=k(h.substring(c))}else{m.head=this._getDefaultHeader();m.foot="\n</body>\n</html>"}f=m._parseHeader();b(f.getAll("style"),function(n){if(n.firstChild){l+=n.firstChild.value}});j=f.getAll("body")[0];if(j){e.setAttribs(m.editor.getBody(),{style:j.attr("style")||"",dir:j.attr("dir")||"",vLink:j.attr("vlink")||"",link:j.attr("link")||"",aLink:j.attr("alink")||""})}if(l){e.add(m.editor.getDoc().getElementsByTagName("head")[0],"style",{id:"fullpage_styles"},l)}else{e.remove("fullpage_styles")}},_getDefaultHeader:function(){var f="",c=this.editor,e,d="";if(c.getParam("fullpage_default_xml_pi")){f+='<?xml version="1.0" encoding="'+c.getParam("fullpage_default_encoding","ISO-8859-1")+'" ?>\n'}f+=c.getParam("fullpage_default_doctype",'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');f+="\n<html>\n<head>\n";if(e=c.getParam("fullpage_default_title")){f+="<title>"+v+"</title>\n"}if(e=c.getParam("fullpage_default_encoding")){f+='<meta http-equiv="Content-Type" content="text/html; charset='+e+'" />\n'}if(e=c.getParam("fullpage_default_font_family")){d+="font-family: "+e+";"}if(e=c.getParam("fullpage_default_font_size")){d+="font-size: "+e+";"}if(e=c.getParam("fullpage_default_text_color")){d+="color: "+e+";"}f+="</head>\n<body"+(d?' style="'+d+'"':"")+">\n";return f},_getContent:function(d,e){var c=this;if(!e.source_view||!d.getParam("fullpage_hide_in_source_view")){e.content=tinymce.trim(c.head)+"\n"+tinymce.trim(e.content)+"\n"+tinymce.trim(c.foot)}}});tinymce.PluginManager.add("fullpage",tinymce.plugins.FullPagePlugin)})();
@@ -0,0 +1,259 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <title>{#fullpage_dlg.title}</title>
5
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
7
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
8
+ <script type="text/javascript" src="js/fullpage.js"></script>
9
+ <link href="css/fullpage.css" rel="stylesheet" type="text/css" />
10
+ </head>
11
+ <body id="fullpage" style="display: none">
12
+ <form onsubmit="FullPageDialog.update();return false;" name="fullpage" action="#">
13
+ <div class="tabs">
14
+ <ul>
15
+ <li id="meta_tab" class="current"><span><a href="javascript:mcTabs.displayTab('meta_tab','meta_panel');" onmousedown="return false;">{#fullpage_dlg.meta_tab}</a></span></li>
16
+ <li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{#fullpage_dlg.appearance_tab}</a></span></li>
17
+ </ul>
18
+ </div>
19
+
20
+ <div class="panel_wrapper">
21
+ <div id="meta_panel" class="panel current">
22
+ <fieldset>
23
+ <legend>{#fullpage_dlg.meta_props}</legend>
24
+
25
+ <table border="0" cellpadding="4" cellspacing="0">
26
+ <tr>
27
+ <td class="nowrap"><label for="metatitle">{#fullpage_dlg.meta_title}</label>&nbsp;</td>
28
+ <td><input type="text" id="metatitle" name="metatitle" value="" class="mceFocus" /></td>
29
+ </tr>
30
+ <tr>
31
+ <td class="nowrap"><label for="metakeywords">{#fullpage_dlg.meta_keywords}</label>&nbsp;</td>
32
+ <td><textarea id="metakeywords" name="metakeywords" rows="4"></textarea></td>
33
+ </tr>
34
+ <tr>
35
+ <td class="nowrap"><label for="metadescription">{#fullpage_dlg.meta_description}</label>&nbsp;</td>
36
+ <td><textarea id="metadescription" name="metadescription" rows="4"></textarea></td>
37
+ </tr>
38
+ <tr>
39
+ <td class="nowrap"><label for="metaauthor">{#fullpage_dlg.author}</label>&nbsp;</td>
40
+ <td><input type="text" id="metaauthor" name="metaauthor" value="" /></td>
41
+ </tr>
42
+ <tr>
43
+ <td class="nowrap"><label for="metacopyright">{#fullpage_dlg.copyright}</label>&nbsp;</td>
44
+ <td><input type="text" id="metacopyright" name="metacopyright" value="" /></td>
45
+ </tr>
46
+ <tr>
47
+ <td class="nowrap"><label for="metarobots">{#fullpage_dlg.meta_robots}</label>&nbsp;</td>
48
+ <td>
49
+ <select id="metarobots" name="metarobots">
50
+ <option value="">{#not_set}</option>
51
+ <option value="index,follow">{#fullpage_dlg.meta_index_follow}</option>
52
+ <option value="index,nofollow">{#fullpage_dlg.meta_index_nofollow}</option>
53
+ <option value="noindex,follow">{#fullpage_dlg.meta_noindex_follow}</option>
54
+ <option value="noindex,nofollow">{#fullpage_dlg.meta_noindex_nofollow}</option>
55
+ </select>
56
+ </td>
57
+ </tr>
58
+ </table>
59
+ </fieldset>
60
+
61
+ <fieldset>
62
+ <legend>{#fullpage_dlg.langprops}</legend>
63
+
64
+ <table border="0" cellpadding="4" cellspacing="0">
65
+ <tr>
66
+ <td class="column1"><label for="docencoding">{#fullpage_dlg.encoding}</label></td>
67
+ <td>
68
+ <select id="docencoding" name="docencoding">
69
+ <option value="">{#not_set}</option>
70
+ </select>
71
+ </td>
72
+ </tr>
73
+ <tr>
74
+ <td class="nowrap"><label for="doctype">{#fullpage_dlg.doctypes}</label>&nbsp;</td>
75
+ <td>
76
+ <select id="doctype" name="doctype">
77
+ <option value="">{#not_set}</option>
78
+ </select>
79
+ </td>
80
+ </tr>
81
+ <tr>
82
+ <td class="nowrap"><label for="langcode">{#fullpage_dlg.langcode}</label>&nbsp;</td>
83
+ <td><input type="text" id="langcode" name="langcode" value="" /></td>
84
+ </tr>
85
+ <tr>
86
+ <td class="column1"><label for="langdir">{#fullpage_dlg.langdir}</label></td>
87
+ <td>
88
+ <select id="langdir" name="langdir">
89
+ <option value="">{#not_set}</option>
90
+ <option value="ltr">{#fullpage_dlg.ltr}</option>
91
+ <option value="rtl">{#fullpage_dlg.rtl}</option>
92
+ </select>
93
+ </td>
94
+ </tr>
95
+ <tr>
96
+ <td class="nowrap"><label for="xml_pi">{#fullpage_dlg.xml_pi}</label>&nbsp;</td>
97
+ <td><input type="checkbox" id="xml_pi" name="xml_pi" class="checkbox" /></td>
98
+ </tr>
99
+ </table>
100
+ </fieldset>
101
+ </div>
102
+
103
+ <div id="appearance_panel" class="panel">
104
+ <fieldset>
105
+ <legend>{#fullpage_dlg.appearance_textprops}</legend>
106
+
107
+ <table border="0" cellpadding="4" cellspacing="0">
108
+ <tr>
109
+ <td class="column1"><label for="fontface">{#fullpage_dlg.fontface}</label></td>
110
+ <td>
111
+ <select id="fontface" name="fontface" onchange="FullPageDialog.changedStyleProp();">
112
+ <option value="">{#not_set}</option>
113
+ </select>
114
+ </td>
115
+ </tr>
116
+
117
+ <tr>
118
+ <td class="column1"><label for="fontsize">{#fullpage_dlg.fontsize}</label></td>
119
+ <td>
120
+ <select id="fontsize" name="fontsize" onchange="FullPageDialog.changedStyleProp();">
121
+ <option value="">{#not_set}</option>
122
+ </select>
123
+ </td>
124
+ </tr>
125
+
126
+ <tr>
127
+ <td class="column1"><label for="textcolor">{#fullpage_dlg.textcolor}</label></td>
128
+ <td>
129
+ <table border="0" cellpadding="0" cellspacing="0">
130
+ <tr>
131
+ <td><input id="textcolor" name="textcolor" type="text" value="" size="9" onchange="updateColor('textcolor_pick','textcolor');FullPageDialog.changedStyleProp();" /></td>
132
+ <td id="textcolor_pickcontainer">&nbsp;</td>
133
+ </tr>
134
+ </table>
135
+ </td>
136
+ </tr>
137
+ </table>
138
+ </fieldset>
139
+
140
+ <fieldset>
141
+ <legend>{#fullpage_dlg.appearance_bgprops}</legend>
142
+
143
+ <table border="0" cellpadding="4" cellspacing="0">
144
+ <tr>
145
+ <td class="column1"><label for="bgimage">{#fullpage_dlg.bgimage}</label></td>
146
+ <td>
147
+ <table border="0" cellpadding="0" cellspacing="0">
148
+ <tr>
149
+ <td><input id="bgimage" name="bgimage" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
150
+ <td id="bgimage_pickcontainer">&nbsp;</td>
151
+ </tr>
152
+ </table>
153
+ </td>
154
+ </tr>
155
+ <tr>
156
+ <td class="column1"><label for="bgcolor">{#fullpage_dlg.bgcolor}</label></td>
157
+ <td>
158
+ <table border="0" cellpadding="0" cellspacing="0">
159
+ <tr>
160
+ <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');FullPageDialog.changedStyleProp();" /></td>
161
+ <td id="bgcolor_pickcontainer">&nbsp;</td>
162
+ </tr>
163
+ </table>
164
+ </td>
165
+ </tr>
166
+ </table>
167
+ </fieldset>
168
+
169
+ <fieldset>
170
+ <legend>{#fullpage_dlg.appearance_marginprops}</legend>
171
+
172
+ <table border="0" cellpadding="4" cellspacing="0">
173
+ <tr>
174
+ <td class="column1"><label for="leftmargin">{#fullpage_dlg.left_margin}</label></td>
175
+ <td><input id="leftmargin" name="leftmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
176
+ <td class="column1"><label for="rightmargin">{#fullpage_dlg.right_margin}</label></td>
177
+ <td><input id="rightmargin" name="rightmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
178
+ </tr>
179
+ <tr>
180
+ <td class="column1"><label for="topmargin">{#fullpage_dlg.top_margin}</label></td>
181
+ <td><input id="topmargin" name="topmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
182
+ <td class="column1"><label for="bottommargin">{#fullpage_dlg.bottom_margin}</label></td>
183
+ <td><input id="bottommargin" name="bottommargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
184
+ </tr>
185
+ </table>
186
+ </fieldset>
187
+
188
+ <fieldset>
189
+ <legend>{#fullpage_dlg.appearance_linkprops}</legend>
190
+
191
+ <table border="0" cellpadding="4" cellspacing="0">
192
+ <tr>
193
+ <td class="column1"><label for="link_color">{#fullpage_dlg.link_color}</label></td>
194
+ <td>
195
+ <table border="0" cellpadding="0" cellspacing="0">
196
+ <tr>
197
+ <td><input id="link_color" name="link_color" type="text" value="" size="9" onchange="updateColor('link_color_pick','link_color');FullPageDialog.changedStyleProp();" /></td>
198
+ <td id="link_color_pickcontainer">&nbsp;</td>
199
+ </tr>
200
+ </table>
201
+ </td>
202
+
203
+ <td class="column1"><label for="visited_color">{#fullpage_dlg.visited_color}</label></td>
204
+ <td>
205
+ <table border="0" cellpadding="0" cellspacing="0">
206
+ <tr>
207
+ <td><input id="visited_color" name="visited_color" type="text" value="" size="9" onchange="updateColor('visited_color_pick','visited_color');FullPageDialog.changedStyleProp();" /></td>
208
+ <td id="visited_color_pickcontainer">&nbsp;</td>
209
+ </tr>
210
+ </table>
211
+ </td>
212
+ </tr>
213
+
214
+ <tr>
215
+ <td class="column1"><label for="active_color">{#fullpage_dlg.active_color}</label></td>
216
+ <td>
217
+ <table border="0" cellpadding="0" cellspacing="0">
218
+ <tr>
219
+ <td><input id="active_color" name="active_color" type="text" value="" size="9" onchange="updateColor('active_color_pick','active_color');FullPageDialog.changedStyleProp();" /></td>
220
+ <td id="active_color_pickcontainer">&nbsp;</td>
221
+ </tr>
222
+ </table>
223
+ </td>
224
+
225
+ <td>&nbsp;</td>
226
+ <td>&nbsp;</td>
227
+ </tr>
228
+ </table>
229
+ </fieldset>
230
+
231
+ <fieldset>
232
+ <legend>{#fullpage_dlg.appearance_style}</legend>
233
+
234
+ <table border="0" cellpadding="4" cellspacing="0">
235
+ <tr>
236
+ <td class="column1"><label for="stylesheet">{#fullpage_dlg.stylesheet}</label></td>
237
+ <td><table border="0" cellpadding="0" cellspacing="0">
238
+ <tr>
239
+ <td><input id="stylesheet" name="stylesheet" type="text" value="" /></td>
240
+ <td id="stylesheet_browsercontainer">&nbsp;</td>
241
+ </tr>
242
+ </table></td>
243
+ </tr>
244
+ <tr>
245
+ <td class="column1"><label for="style">{#fullpage_dlg.style}</label></td>
246
+ <td><input id="style" name="style" type="text" value="" onchange="FullPageDialog.changedStyle();" /></td>
247
+ </tr>
248
+ </table>
249
+ </fieldset>
250
+ </div>
251
+ </div>
252
+
253
+ <div class="mceActionPanel">
254
+ <input type="submit" id="insert" name="update" value="{#update}" />
255
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
256
+ </div>
257
+ </form>
258
+ </body>
259
+ </html>
@@ -0,0 +1,232 @@
1
+ /**
2
+ * fullpage.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
+ tinyMCEPopup.requireLangPack();
13
+
14
+ var defaultDocTypes =
15
+ 'XHTML 1.0 Transitional=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">,' +
16
+ 'XHTML 1.0 Frameset=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">,' +
17
+ 'XHTML 1.0 Strict=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">,' +
18
+ 'XHTML 1.1=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">,' +
19
+ 'HTML 4.01 Transitional=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">,' +
20
+ 'HTML 4.01 Strict=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">,' +
21
+ 'HTML 4.01 Frameset=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">';
22
+
23
+ var defaultEncodings =
24
+ 'Western european (iso-8859-1)=iso-8859-1,' +
25
+ 'Central European (iso-8859-2)=iso-8859-2,' +
26
+ 'Unicode (UTF-8)=utf-8,' +
27
+ 'Chinese traditional (Big5)=big5,' +
28
+ 'Cyrillic (iso-8859-5)=iso-8859-5,' +
29
+ 'Japanese (iso-2022-jp)=iso-2022-jp,' +
30
+ 'Greek (iso-8859-7)=iso-8859-7,' +
31
+ 'Korean (iso-2022-kr)=iso-2022-kr,' +
32
+ 'ASCII (us-ascii)=us-ascii';
33
+
34
+ var defaultFontNames = 'Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings';
35
+ var defaultFontSizes = '10px,11px,12px,13px,14px,15px,16px';
36
+
37
+ function setVal(id, value) {
38
+ var elm = document.getElementById(id);
39
+
40
+ if (elm) {
41
+ value = value || '';
42
+
43
+ if (elm.nodeName == "SELECT")
44
+ selectByValue(document.forms[0], id, value);
45
+ else if (elm.type == "checkbox")
46
+ elm.checked = !!value;
47
+ else
48
+ elm.value = value;
49
+ }
50
+ };
51
+
52
+ function getVal(id) {
53
+ var elm = document.getElementById(id);
54
+
55
+ if (elm.nodeName == "SELECT")
56
+ return elm.options[elm.selectedIndex].value;
57
+
58
+ if (elm.type == "checkbox")
59
+ return elm.checked;
60
+
61
+ return elm.value;
62
+ };
63
+
64
+ window.FullPageDialog = {
65
+ changedStyle : function() {
66
+ var val, styles = tinyMCEPopup.editor.dom.parseStyle(getVal('style'));
67
+
68
+ setVal('fontface', styles['font-face']);
69
+ setVal('fontsize', styles['font-size']);
70
+ setVal('textcolor', styles['color']);
71
+
72
+ if (val = styles['background-image'])
73
+ setVal('bgimage', val.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"));
74
+ else
75
+ setVal('bgimage', '');
76
+
77
+ setVal('bgcolor', styles['background-color']);
78
+
79
+ // Reset margin form elements
80
+ setVal('topmargin', '');
81
+ setVal('rightmargin', '');
82
+ setVal('bottommargin', '');
83
+ setVal('leftmargin', '');
84
+
85
+ // Expand margin
86
+ if (val = styles['margin']) {
87
+ val = val.split(' ');
88
+ styles['margin-top'] = val[0] || '';
89
+ styles['margin-right'] = val[1] || val[0] || '';
90
+ styles['margin-bottom'] = val[2] || val[0] || '';
91
+ styles['margin-left'] = val[3] || val[0] || '';
92
+ }
93
+
94
+ if (val = styles['margin-top'])
95
+ setVal('topmargin', val.replace(/px/, ''));
96
+
97
+ if (val = styles['margin-right'])
98
+ setVal('rightmargin', val.replace(/px/, ''));
99
+
100
+ if (val = styles['margin-bottom'])
101
+ setVal('bottommargin', val.replace(/px/, ''));
102
+
103
+ if (val = styles['margin-left'])
104
+ setVal('leftmargin', val.replace(/px/, ''));
105
+
106
+ updateColor('bgcolor_pick', 'bgcolor');
107
+ updateColor('textcolor_pick', 'textcolor');
108
+ },
109
+
110
+ changedStyleProp : function() {
111
+ var val, dom = tinyMCEPopup.editor.dom, styles = dom.parseStyle(getVal('style'));
112
+
113
+ styles['font-face'] = getVal('fontface');
114
+ styles['font-size'] = getVal('fontsize');
115
+ styles['color'] = getVal('textcolor');
116
+ styles['background-color'] = getVal('bgcolor');
117
+
118
+ if (val = getVal('bgimage'))
119
+ styles['background-image'] = "url('" + val + "')";
120
+ else
121
+ styles['background-image'] = '';
122
+
123
+ delete styles['margin'];
124
+
125
+ if (val = getVal('topmargin'))
126
+ styles['margin-top'] = val + "px";
127
+ else
128
+ styles['margin-top'] = '';
129
+
130
+ if (val = getVal('rightmargin'))
131
+ styles['margin-right'] = val + "px";
132
+ else
133
+ styles['margin-right'] = '';
134
+
135
+ if (val = getVal('bottommargin'))
136
+ styles['margin-bottom'] = val + "px";
137
+ else
138
+ styles['margin-bottom'] = '';
139
+
140
+ if (val = getVal('leftmargin'))
141
+ styles['margin-left'] = val + "px";
142
+ else
143
+ styles['margin-left'] = '';
144
+
145
+ // Serialize, parse and reserialize this will compress redundant styles
146
+ setVal('style', dom.serializeStyle(dom.parseStyle(dom.serializeStyle(styles))));
147
+ this.changedStyle();
148
+ },
149
+
150
+ update : function() {
151
+ var data = {};
152
+
153
+ tinymce.each(tinyMCEPopup.dom.select('select,input,textarea'), function(node) {
154
+ data[node.id] = getVal(node.id);
155
+ });
156
+
157
+ tinyMCEPopup.editor.plugins.fullpage._dataToHtml(data);
158
+ tinyMCEPopup.close();
159
+ }
160
+ };
161
+
162
+ function init() {
163
+ var form = document.forms[0], i, item, list, editor = tinyMCEPopup.editor;
164
+
165
+ // Setup doctype select box
166
+ list = editor.getParam("fullpage_doctypes", defaultDocTypes).split(',');
167
+ for (i = 0; i < list.length; i++) {
168
+ item = list[i].split('=');
169
+
170
+ if (item.length > 1)
171
+ addSelectValue(form, 'doctype', item[0], item[1]);
172
+ }
173
+
174
+ // Setup fonts select box
175
+ list = editor.getParam("fullpage_fonts", defaultFontNames).split(';');
176
+ for (i = 0; i < list.length; i++) {
177
+ item = list[i].split('=');
178
+
179
+ if (item.length > 1)
180
+ addSelectValue(form, 'fontface', item[0], item[1]);
181
+ }
182
+
183
+ // Setup fontsize select box
184
+ list = editor.getParam("fullpage_fontsizes", defaultFontSizes).split(',');
185
+ for (i = 0; i < list.length; i++)
186
+ addSelectValue(form, 'fontsize', list[i], list[i]);
187
+
188
+ // Setup encodings select box
189
+ list = editor.getParam("fullpage_encodings", defaultEncodings).split(',');
190
+ for (i = 0; i < list.length; i++) {
191
+ item = list[i].split('=');
192
+
193
+ if (item.length > 1)
194
+ addSelectValue(form, 'docencoding', item[0], item[1]);
195
+ }
196
+
197
+ // Setup color pickers
198
+ document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
199
+ document.getElementById('link_color_pickcontainer').innerHTML = getColorPickerHTML('link_color_pick','link_color');
200
+ document.getElementById('visited_color_pickcontainer').innerHTML = getColorPickerHTML('visited_color_pick','visited_color');
201
+ document.getElementById('active_color_pickcontainer').innerHTML = getColorPickerHTML('active_color_pick','active_color');
202
+ document.getElementById('textcolor_pickcontainer').innerHTML = getColorPickerHTML('textcolor_pick','textcolor');
203
+ document.getElementById('stylesheet_browsercontainer').innerHTML = getBrowserHTML('stylesheetbrowser','stylesheet','file','fullpage');
204
+ document.getElementById('bgimage_pickcontainer').innerHTML = getBrowserHTML('bgimage_browser','bgimage','image','fullpage');
205
+
206
+ // Resize some elements
207
+ if (isVisible('stylesheetbrowser'))
208
+ document.getElementById('stylesheet').style.width = '220px';
209
+
210
+ if (isVisible('link_href_browser'))
211
+ document.getElementById('element_link_href').style.width = '230px';
212
+
213
+ if (isVisible('bgimage_browser'))
214
+ document.getElementById('bgimage').style.width = '210px';
215
+
216
+ // Update form
217
+ tinymce.each(tinyMCEPopup.getWindowArg('data'), function(value, key) {
218
+ setVal(key, value);
219
+ });
220
+
221
+ FullPageDialog.changedStyle();
222
+
223
+ // Update colors
224
+ updateColor('textcolor_pick', 'textcolor');
225
+ updateColor('bgcolor_pick', 'bgcolor');
226
+ updateColor('visited_color_pick', 'visited_color');
227
+ updateColor('active_color_pick', 'active_color');
228
+ updateColor('link_color_pick', 'link_color');
229
+ };
230
+
231
+ tinyMCEPopup.onInit.add(init);
232
+ })();