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?
- The topic ‘tinymce setup issue in plugin’ is closed to new replies.