I would like to get the html code of a texteditor.
I use this texteditor http://adminbootstrap.com/wb/right/0.3.0/texteditor.html .
I've a form with the texteditor inside it but when I would like to get the html code with:
$request->input('texteditor');
It doesn't work and whereas I gave a name to the texteditor,
What is going wrong ?
My view code :
<form>
<div class="container-fluid half-padding">
<div class="pages pages_dashboard">
<div class="row">
<div class="col-md-12">
<div class="panel panel-warning">
<div class="panel-heading">
<h3 class="panel-title">Contenu de l'actualitée</h3>
</div>
<div class="template template_texteditor">
<div class="summernote"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
And
<div class='summernote'></div>
dynamically creating other div and the html code is contained in
<div class='note-editable panel-body' name='texteditor'></div>
EDIT 1
Another way :
$('.summernote').summernote('code');
to get the entire html code of summernote texteditor