Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. <script type="text/javascript" src="./tiny_mce.js"></script>
  2. <script type="text/javascript">
  3. tinyMCE.init({
  4. // General options
  5. mode : "textareas",
  6. theme : "advanced",
  7. plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
  8.  
  9. // Theme options
  10. theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
  11. theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
  12. theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
  13. theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
  14. theme_advanced_toolbar_location : "top",
  15. theme_advanced_toolbar_align : "left",
  16. theme_advanced_path_location : "bottom",
  17. theme_advanced_resizing : true,
  18.  
  19. // Example content CSS (should be your site CSS)
  20. content_css : "css/content.css",
  21.  
  22. // Drop lists for link/image/media/template dialogs
  23. template_external_list_url : "lists/template_list.js",
  24. external_link_list_url : "lists/link_list.js",
  25. external_image_list_url : "lists/image_list.js",
  26. media_external_list_url : "lists/media_list.js",
  27.  
  28. // Replace values for the template plugin
  29. template_replace_values : {
  30. username : "Some User",
  31. staffid : "991234"
  32. },
  33.  
  34. // Enable translation mode
  35. translate_mode : true,
  36. language : "cs"
  37. });
  38. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement