I have a form in laravel (not using blade) using CKEditor. I am trying to get the content from it in a div called editorcontents when I submit the form as it is submitting a blog post (so it needs to have the formatting from that div as well).
I tried assigning a name to the div, but no luck. How can I use the div just as a input field?
<div id="editorcontents" name="editorcontents">
</div>
$content = Input::get('editorcontents');
return $content;