[wp-hackers] Calling WP TinyMCE from a plugin?
xel at netgra.de
Fri May 16 06:56:22 GMT 2008
You could try adding this to the print_scripts
if ( user_can_richedit() )
and then try something like
<?php the_editor($myContent); ?>
while i haven't tried it for widget it works for custom admin pages.
2008/5/16 Keith Solomon <ksolomon at gmail.com>:
> I'm working on an upgrade of the standard WP text widget to use TinyMCE for
> a client. Is there an easy way (hook, etc) to call the WP implementation of
> TinyMCE, or do I need to build the script out from scratch in my plugin?
> Keith Solomon - ksolomon at gmail.com
> My Blog - http://reciprocity.be/
> My Flickr - http://www.flickr.com/photos/zarath0s/
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers