Title: php code to add html editor to plugin
Last modified: August 19, 2016

---

# php code to add html editor to plugin

 *  Resolved [jbowshaw](https://wordpress.org/support/users/jbowshaw/)
 * (@jbowshaw)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/php-code-to-add-html-editor-to-plugin/)
 * Hi
 * I’m developing a plugin where I’d like to use wordpresses
    html editor instead
   of a textarea html form field. How do I incorporate the editor into my plugin?
 * J

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [jbowshaw](https://wordpress.org/support/users/jbowshaw/)
 * (@jbowshaw)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/php-code-to-add-html-editor-to-plugin/#post-1474393)
 * Anyone have a answer to this question?
 * using wordpress wysiwyg html editor on plugin page
    instead of using a textarea
   form field?
 * J
 *  Thread Starter [jbowshaw](https://wordpress.org/support/users/jbowshaw/)
 * (@jbowshaw)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/php-code-to-add-html-editor-to-plugin/#post-1474470)
 * This must be something really difficult to do.
 * I found the_editor() works sort. The javascript doesn’t work
    to toggle in and
   out of html mode. Nor do the buttons to add media files.
 * Does anyone have a solution or am I falling on deaf ears?
 *  Thread Starter [jbowshaw](https://wordpress.org/support/users/jbowshaw/)
 * (@jbowshaw)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/php-code-to-add-html-editor-to-plugin/#post-1474479)
 * SOLVED.
 * Just downloaded tinymce. Put in a subdirectory off of my plugin.
    Copied in the
   javascript code and bingo bango I have a wysiwyg text editor. much better than
   the wordpress one.
 * I do believe wordpress should have a standard function call
    to bring in its 
   html editor.
 * of course what do i know.
 *  [caue](https://wordpress.org/support/users/caue/)
 * (@caue)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/php-code-to-add-html-editor-to-plugin/#post-1474707)
 * no need to download tinymce and build up a mess on wordpress. try this: [http://stackoverflow.com/questions/2855890/add-tinymce-to-wordpress-plugin/5285847#5285847](http://stackoverflow.com/questions/2855890/add-tinymce-to-wordpress-plugin/5285847#5285847)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘php code to add html editor to plugin’ is closed to new replies.

## Tags

 * [html editor](https://wordpress.org/support/topic-tag/html-editor/)

 * 4 replies
 * 2 participants
 * Last reply from: [caue](https://wordpress.org/support/users/caue/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/php-code-to-add-html-editor-to-plugin/#post-1474707)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
