Support » Plugins » php code to add html editor to plugin

  • Resolved jbowshaw

    (@jbowshaw)


    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

    (@jbowshaw)

    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

    (@jbowshaw)

    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

    (@jbowshaw)

    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

    (@caue)

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘php code to add html editor to plugin’ is closed to new replies.