Hi,
I'm currently working on a plugin for wordpress, where I need more than one tinymce editor with all wp-functions like media-upload etc. The data will be stored into a custom table.
For generating the editors I use this:
wp_tiny_mce(false, array("editor_selector" => "class_textarea"));
foreach($text as $textareas)
{
echo '<textarea class="class_textarea" id="'.$textareas.'"></textarea>';
}
The id of the textarea is unique, the editor shows up with th regular advanced options except the media-uploads and the Visual/HTML tabs. Also, when I try to save it, all html-markup is gone. I don't have a glue where I did something wrong. Maybe some could help me out?
Thanx in Advance!