WordPress.org

Support

Support » Plugins and Hacks » Hacks » tinymce setup issue in plugin

tinymce setup issue in plugin

  • zuotian
    Member

    @zuotian

    Hi,

    In my plugin I try to add a rich text field on user profile page. I followed the example of the post and added following lines for profile.php.

    <?php wp_editor($profileuser->author_bio, 'author_bio', array('dfw' => true, 'media_buttons' => false) ); ?>

    TinyMCE loaded correctly. However, once I added formatting to the content, ex, <strong>test</strong>, then save, the content in the visual editor starts to show html tags.

    I suspect that the editor didn’t initialize to visual mode, but not sure how to confirm it.

    Are there any other setups I need to do to initialize TinyMCE?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘tinymce setup issue in plugin’ is closed to new replies.