WordPress.org

Forums

How to use tinyMCE in my plugin development ? (4 posts)

  1. ArthuStuartr
    Member
    Posted 4 years ago #

    Hy everybody,

    I'm quite new at plugin's development for wordpress...
    I'm developing a plugin that manage products and allow users to sale online.

    I need TinyMCE for the description fields of the products.
    Can anybody tell me how to call tinyMCE in my plugin ini ?

  2. ArthuStuartr
    Member
    Posted 4 years ago #

    Welcome to publish your ideas and Suggestions

  3. Mr Brainz
    Member
    Posted 4 years ago #

    I found you can call it just by adding a class to your textarea field, though the exact class escapes me now.

    I didn't work out how to have a switch between TinyMCE and HTML with a JS tab like the main WordPress version.

    * Does some Googling *

    Ok the class you need to add is mceEditor

    I found some info here: http://stackoverflow.com/questions/3359320/how-to-add-a-wordpress-custom-post-type-field-with-tiny-mce

  4. Mark / t31os
    Moderator
    Posted 4 years ago #

    We've had quite a few TinyMCE related questions on the WordPress Stack Exchange, i'd be surprised if you don't find the answer you need in one of the following questions.

    http://wordpress.stackexchange.com/search?q=tinymce

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.