TinyMCE – A Common Sense Configuration
TinyMCE is an open source WYSIWYG editor that is pretty popular, and used in many applications including being the editor installed into Wordpress. It’s small and gets the job done. The only downside is that it’s a pig to configure and the documentation is of a chocolate fireguard caliber. So here, if anyone wants it, is a TinyMCE configuration block I knocked together that contains all the stuff you need to act as a web based content entry text area. In fact, it’s an exact clone of the Wordpress editor.
<script type=”text/javascript”>
tinyMCE.init({
mode: “textareas”,
theme: “advanced”,
theme_advanced_toolbar_location: “top”,
theme_advanced_toolbar_align: “left”,
theme_advanced_buttons2 : “”,
theme_advanced_buttons3: “”,
plugins : “inlinepopups”,
dialog_type : “modal”,
theme_advanced_buttons1_add: “bullist,numlist,blockquote,image,link,unlink,code “,
theme_advanced_disable: “formatselect, fontselect, fontsizeselect, styleselect, justifyfull ”
});
</script>
