I try to use **wp_editor()** in content that was loaded with ajax, but none of the required files and some other configuration script not loaded :

The structure of ajax is something like this:

    function get_test_page(){
       include( TEMPLATEPATH . '/page.php' );
       die( main() );
    }
    add_action( 'wp_ajax_nopriv_get_test_page', 'get_test_page' );
    add_action( 'wp_ajax_get_test_page', 'get_test_page' );

page.php :

    function main(){
        wp_editor('','unique_id');
    }

Editor is loaded but needed files is not loaded.


 - `http://.../wp-includes/js/tinymce/wp-tinymce.php`
   
 - `http://.../wp-includes/js/tinymce/skins/lightgray/skin.min.css`

 - `http://.../wp-admin/load-scripts.php?c=1&load%5B%5D=...mce-view,imgareaselect,image-edit,word-count,editor,quicktags,wplink,thick...`

 - `http://.../wp-includes/js/tinymce/langs/{}.js` 

Some related post but doesn't help me :

 - [use wordpress wp_editor in dynamic/ajax html][1]
 - [How to load wp_editor() through AJAX/jQuery][2]
 - [Load wp_editor via ajax][3]
 - [help on wp_editor via ajax load][4]

  [1]: http://stackoverflow.com/questions/21519322/use-wordpress-wp-editor-in-dynamic-ajax-html/24324677#24324677
  [2]: https://wordpress.stackexchange.com/questions/51776/how-to-load-wp-editor-through-ajax-jquery
  [3]: https://wordpress.stackexchange.com/questions/65446/load-wp-editor-via-ajax
  [4]: https://wordpress.stackexchange.com/questions/106248/help-on-wp-editor-via-ajax-load