I need to used TextArea with Wysiwyg editor. That works when textarea is write on page ( Not dynamic , static ).. but my problem is for dynamically textarea.
My code :
add_action('admin_head', 'load_tiny_mce');
function load_tiny_mce() {
// The 'mode' and 'editor_selector' options are for adding
// TinyMCE to any textarea with class="tinymce-textarea"
wp_tiny_mce(true, array(
'mode' => 'specific_textareas',
'editor_selector' => 'tinymce-textarea'
));
}
I added textarea with javascript code when i push a button. textareas is basic not with wysiwyg editor ... ! I think i need to bind function ... but how to !
I hope, you understand me .. !
Regards