| Subscribe via RSS

TinyMCE – A Common Sense Configuration

December 30th, 2008 Posted in JavaScript

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>

Comments are closed.

  • Cloud

    Ajax AmpliFeeder ASP.NET Blabnote C# Cloud Design EntityFramework Framework JavaScript JQuery LINQ Live Mesh MicroBlog Mix07 Mobile Productivity Rails Remix08 SDS Silverlight2 SQL SSDS TDD Telecommunications Uncategorized VOIP WCF Web 2.0 Webcast

  • @jonpauldavies