Title: How can I initialize the editor in javascript
Last modified: August 31, 2016

---

# How can I initialize the editor in javascript

 *  [Kineta](https://wordpress.org/support/users/kineta/)
 * (@kineta)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-can-i-initialize-the-editor-in-javascript/)
 * I need to dynamically load the editor to use on a bbPress page. This is what 
   I’m currently using:
 *     ```
       tinyMCE.init({
       	selector: 'textarea',
       	plugins: 'hr, wplink, textcolor, image, media, emoticons, charmap, fullscreen, wp_help',
       	forced_root_block : "",
       	menubar: false,
       	toolbar1: 'styleselect,bold,italic,underline,strikethrough,blockquote,bullist,numlist,alignleft,aligncenter,alignright,fullscreen',
       	toolbar2: 'fontsizeselect,forecolor,outdent,indent,hr,charmap,emoticons,image,media,link,unlink,wp_help'
       });
       ```
   
 * Is there something specific I need to do to use tinyMCE advanced? The above doesn’t
   work without using the plugins, which makes me think I’m not loading tinyMCE 
   advanced.
 * [https://wordpress.org/plugins/tinymce-advanced/](https://wordpress.org/plugins/tinymce-advanced/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * (@azaozz)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-can-i-initialize-the-editor-in-javascript/#post-7325919)
 * TinyMCE Advanced works with the `wp_editor()` PHP function in WordPress. If it
   is not used, this plugin will not be able to change the editor settings. You 
   can add what you need to the JS init.

Viewing 1 replies (of 1 total)

The topic ‘How can I initialize the editor in javascript’ is closed to new replies.

 * ![](https://ps.w.org/tinymce-advanced/assets/icon-256x256.png?rev=971511)
 * [Advanced Editor Tools](https://wordpress.org/plugins/tinymce-advanced/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tinymce-advanced/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tinymce-advanced/)
 * [Active Topics](https://wordpress.org/support/plugin/tinymce-advanced/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tinymce-advanced/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tinymce-advanced/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/how-can-i-initialize-the-editor-in-javascript/#post-7325919)
 * Status: not a support question