# How do I enable the advanced mode of the TinyMCE editor for Plone?

The TinyMCE editor is a feature-rich <span class="caps">WYSIWYG</span> editor for Plone, similar to Kupu. However, many of TinyMCE’s best features are hidden away in so-called “advanced mode”. Installing TinyMCE is straightforward – install it like you would any other Plone product.

To enable advanced mode:

1. In the <span class="caps">ZMI</span>, go to /portal\_skins/tinymce/tinymce\_wysiwyg\_support. Make a copy into “custom”.
2. Edit the file in custom. Near the top there is a line that says: *&lt;script type=“text/javascript” charset=“iso-8859-1” tal:attributes=“src string:${portal\_url}/jscripts/tiny\_mce/tiny\_mce\_init.js”&gt; &lt;/script&gt;* — Delete this line or comment it out.
3. In its place, add this code: *&lt;script language=“javascript” type=“text/javascript”&gt;  
    tinyMCE.init({  
    theme: “advanced”,  
    mode: "specific*textareas"  
    });  
    &lt;/script&gt;

Within the body of the tinyMCE.init function, you can add other lines to change the appearance of the toolbar, change its location, add more buttons, etc.

Here is a reference of all the settings for the TinyMCE editor:  
[http://tinymce.moxiecode.com/tinymce/docs/reference\_configuration.html](http://tinymce.moxiecode.com/tinymce/docs/reference_configuration.html)

Pay special attention to the function theme\_advanced\_buttons&lt;1-n&gt;\_add: you can use it to add more buttons to the toolbar. For example, to add an undo button to row 2, put this line into tinyMCE.init:  
*theme\_advanced\_buttons2\_add: “undo”*

A full list of available buttons can be found here:  
[http://tinymce.moxiecode.com/tinymce/docs/reference\_buttons.html](http://tinymce.moxiecode.com/tinymce/docs/reference_buttons.html)

Remember that customizing the TinyMCE editor is only possible when using the Advanced theme.