Can someone help me with the default
textarea
summernote
note-codable
text-area
$('#summernote').summernote({height: 300});
var sHTML = $('#summernote').code();
<div name="summernote" id="summernote"><?php echo $news_body; ?></div>
content
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);
This turned out to be a very simple fix. The root of the confusion is the documentation that says to use a div. Just use a text-area instead. Although summernote creates a text-area dynamically, do it anyway. It'll work.