diff options
-rw-r--r-- | mediagoblin/templates/mediagoblin/extra_head.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/mediagoblin/templates/mediagoblin/extra_head.html b/mediagoblin/templates/mediagoblin/extra_head.html index 176a77da..f350774e 100644 --- a/mediagoblin/templates/mediagoblin/extra_head.html +++ b/mediagoblin/templates/mediagoblin/extra_head.html @@ -20,11 +20,16 @@ <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> |