Title: tinymce
Last modified: August 21, 2016

---

# tinymce

 *  Resolved [clayborn](https://wordpress.org/support/users/nhoullet/)
 * (@nhoullet)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/tinymce-9/)
 * How come the tinymce editor function is disabled ? Trying every solution that
   wordpress has for that doesn’t enable the editor in the ac-textarea box, any 
   idea ?
 * [http://wordpress.org/plugins/ajaxed-comments/](http://wordpress.org/plugins/ajaxed-comments/)

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

 *  Thread Starter [clayborn](https://wordpress.org/support/users/nhoullet/)
 * (@nhoullet)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/tinymce-9/#post-4222612)
 * tried this …
 *     ```
       public function add_section_to_comment($text)
       	{ global $comment; $coid = $this->comments[$comment->comment_ID];  $coba = $comment->comment_ID;
         ?><script type="text/javascript">/* <![CDATA[ */
       jQuery(document).ready(function($)
                              {
                              var i=1; var id = $(this).attr('id');
   
                              if (!id)
                              {
                              id = 'ac-textarea' + i++;
                              $(this).attr('id',id);
                              }
                              $('.ac-textarea textarea').each(function() {
        tinyMCE.execCommand('mceAddControl', false, 'ac-textarea'); }); });
        /* ]]> */</script><?php
       		return '<div  id="ac-section-'.$comment->comment_ID.'">'.$text.'</div><div class="ac-textarea" id="ac-textarea-'.$comment->comment_ID.'" style="display: none;"><textarea  id="ac-textarea" name="ac-textarea" >'.$this->comments[$comment->comment_ID] .  '</textarea></div>';
       	}
       ```
   
 * and tried to replace the textarea with the wp_editor function without success
   too bad that it doesn’t work with the wp functions out of the box
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/tinymce-9/#post-4222614)
 * We didn’t plan to allow TinyMCE editor in comments, and we generally find it 
   a bad idea.
 * However, I’m adding this to our to-do list for one of the future releases, because
   that’s not the first time someone is asking for it.
 *  Thread Starter [clayborn](https://wordpress.org/support/users/nhoullet/)
 * (@nhoullet)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/tinymce-9/#post-4222628)
 * looking forward to seeing it

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

The topic ‘tinymce’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ajaxed-comments_514f52.svg)
 * [Ajaxed Comments](https://wordpress.org/plugins/ajaxed-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajaxed-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajaxed-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/ajaxed-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajaxed-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajaxed-comments/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [clayborn](https://wordpress.org/support/users/nhoullet/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/tinymce-9/#post-4222628)
 * Status: resolved