Forum Replies Created

Viewing 1 replies (of 1 total)
  • Nice that worked great. The only thing I needed to add was the media-upload Javascript file so that the media library popup would both be the right size and be able to insert an image back into the editor (Firefox reported a “win.send_to_editor is not a function” error without it).

    function do_jslibs()
    {
    	wp_enqueue_script('editor');
    	wp_enqueue_script('thickbox');
    	wp_enqueue_script('media-upload');
    	add_action( 'admin_head', 'wp_tiny_mce' );
    }
Viewing 1 replies (of 1 total)