I am trying to add the embedded TinyMCE editor to content area using the code:
add_action( 'comment_form_after', 'tinyMCE_comment_form' );
function tinyMCE_comment_form() {
wp_tiny_mce(false, array(
'mode' => 'exact',
'elements' => 'comment',
'height' => 200,
'plugins' => 'inlinepopups,wpdialogs,wplink,media,wpeditimage,wpgallery,paste,tabfocus',
'forced_root_block' => false,
'force_br_newlines' => true,
'force_p_newlines' => false,
'convert_newlines_to_brs' => true
));
}
defined in functions.php of my theme. For some reason if I load a page with comments there it returns the error wp_tiny_mce is not found. Do you know how to fix it? Maybe I chosen the wrong action?
