trying to use the tiny_mce editor within a plugin
-
is there a way to access/integrate the tiny_mce editor to a <textarea> when writing a plugin? I have a the plugin attaching to the admin menu properly, but I can’t for the life of me figure out how to get it to render the textarea with the tiny_mce editor.
I am using add_submenu_page(), which attaches my plugin page to users.php via users.php?page=pluginPage.php, which does not allow me access to the header information, or the ability to embed tiny_mce before the page is drawn.
I can get it to render a basic one with b, i, link, b-quote like it has here, via:
<?php the_editor($extraDescription,”extraDescription”); ?>
but I would like the rich editor. The users see the visual editor when making posts, but this is an extended author profile plugin where I am allowing them to provide an avatar and a more extensive writeup about themselves. (beyond the “about” in profile.php) I know there has to be a way… I am just not seeing it…
Thanks for any guidance…
- The topic ‘trying to use the tiny_mce editor within a plugin’ is closed to new replies.