title: What is the default textarea name for Summernote?
body: <p>Can someone help me with the default <code>textarea</code> name value for Summernote?  The editor looks correct on the page (I can modify text using the interface) but POST isn't working based on my understanding.  </p>
  
  <p>I've tried a variety of POST variables but none of them seem correct.  Examples are <code>summernote</code>, <code>note-codable</code> and <code>text-area</code>.  The last two came from summernote.js.  Jquery isn't something that I have much experience with, so please baby-step me.  </p>
  
  <p>These are what I am using.</p>
  
  <pre><code> $('#summernote').summernote({height: 300});
   var sHTML = $('#summernote').code();
  </code></pre>
  
  <p>and</p>
  
  <pre><code> &lt;div name="summernote" id="summernote"&gt;&lt;?php echo $news_body; ?&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I've also tried the lines below separately in an attempt to change the textarea name to <code>content</code>:</p>
  
  <pre><code>var sHTML = $('#summernote').code(); 
  $('#summernote').code();
  var content = $('textarea[name="content"]').html($('#summernote').code());
  $('textarea[name="content"]').html($('#summernote').code());
  var sHTML =  $('textarea[name="content"]').html($('#summernote').code());
  var textareaValue = $("#content").code();
  $("summernote").code(html);
  </code></pre>