var ed = tinymce.get('your_editor_id');
var content = $(ed.getBody).html();
Be aware that there may be some tinymce internal markers (spans) inside the content.
Thanks, works nice. I guess I can use tinymce.get(0) as most of the time there is only 1 tinymce.
this is correct in case there is only one editor instance you may also use tinymce.editors
nearly correct, but keep in mind that tinymce.activeEditor will be null if the user has not already clicked into the editor