]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/t/richedit.html
Revert "serv_rssclient.c: style update"
[citadel.git] / webcit / static / t / richedit.html
diff --git a/webcit/static/t/richedit.html b/webcit/static/t/richedit.html
new file mode 100644 (file)
index 0000000..e839738
--- /dev/null
@@ -0,0 +1,19 @@
+<script type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
+<script type="text/javascript">
+idealHeight = $('entmsg').offsetHeight - $('msgtext').offsetTop - 10;
+tinyMCE.init({
+       mode : "textareas",
+       width : "100%",
+       height : idealHeight,
+       browsers : "msie,gecko,safari,opera",
+       theme : "advanced",
+       plugins : "iespell",
+       gecko_spellcheck : true,
+       theme_advanced_buttons1 : "bold, italic, underline, strikethrough, justifyleft, justifycenter, justifyright, justifyfull, blockquote, bullist, numlist, cut, copy, paste, link, image, help, forecolor, iespell, code",
+       theme_advanced_buttons2 : "",
+       theme_advanced_buttons3 : "",
+       theme_advanced_toolbar_location : "top",
+       content_css : "static/styles/webcit-tinymce.css",
+       entity_encoding : "raw"
+});
+</script>