How to get tinymce content in jquery?
<p>i am trying to get tinymce data but getting tinyMCE undefined error. Here is my code:   </p>

<pre><code>function savePost( ){ 

    console.log(  jQuery('#wp_tinymce_editor').tinyMCE().getContent() );
}
</code></pre>

<p>please check</p>