0f5b6d2a666bbda15b0ec34d65a702ca5df48181
[citadel.git] / webcit / static / t / richedit.html
1 <script type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
2 <script type="text/javascript">
3 idealHeight = $('entmsg').offsetHeight - $('msgtext').offsetTop - 10;
4 tinyMCE.init({
5         mode : "textareas",
6         width : "100%",
7         height : idealHeight,
8         browsers : "msie,gecko,safari,opera",
9         theme : "advanced",
10         plugins : "iespell",
11         theme_advanced_buttons1 : "bold, italic, underline, strikethrough, justifyleft, justifycenter, justifyright, justifyfull, blockquote, bullist, numlist, cut, copy, paste, link, image, help, forecolor, iespell, code",
12         theme_advanced_buttons2 : "",
13         theme_advanced_buttons3 : "",
14         theme_advanced_toolbar_location : "top",
15         content_css : "static/styles/webcit-tinymce.css",
16         entity_encoding : "raw"
17 });
18 </script>