Configure tinymce with various plugins.
authorAditi <aditi.iitr@gmail.com>
Mon, 5 Aug 2013 22:12:14 +0000 (03:42 +0530)
committerAditi <aditi.iitr@gmail.com>
Mon, 5 Aug 2013 22:12:14 +0000 (03:42 +0530)
mediagoblin/templates/mediagoblin/extra_head.html

index 176a77da6cb61fd30bcefe7531e66bcc2c081d14..f350774e436daf3f0573e521545ccc501ab25b99 100644 (file)
 
 <script type="text/javascript"  
             src="{{request.staticdirect('/tinymce/js/tinymce/tinymce.min.js')}}"></script>
+    
     <script type="text/javascript">
     tinyMCE.init({
         selector: "div.blog_form_field_input textarea",
-        height: "100%",
-        width:"100%"
-    
-        })
+        height: 300,
+        width:  800,
+        plugins: [
+         "advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker",
+         "searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking",
+         "save table contextmenu directionality emoticons template paste textcolor"
+        ]
+       })
 </script>