[wp-hackers] Re: Initializing TinyMCE

Chris Poteet cpoteet at siolon.com
Wed Jul 9 00:24:14 GMT 2008


> The 'mode' => 'none' stops TinyMCE from loading if the HTML editor is
> set as default. Later it's initialized with
> tinyMCE.execCommand("mceAddControl", false, "textarea id");

Thanks guys, but I had to edit the core to get what I wanted.  I had
to change the "mode" in the tinyMCE config to mode: textareas and
comment out the other initialization used in editor.js on line 5.

It would be nice to not have to edit the core and do it through a
plugin but whatever.


More information about the wp-hackers mailing list