mardi 27 février 2018

How to save Quill.js values to Database Laravel 5.6

I'm trying to use Quill.js - Your Powerful Rich Text Editor for my project in laravel.

But, since quill uses:

<div id="editor"></div> || <div id="editor" name="body"></div>

Instead of a regular old:

<textarea id="editor" name="body"></textarea>

$post->body = $request->input('body'); won't work.

What do I use to save the information I get from a div with the id of #editor into a database.

Thanks



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2oscTWL
via IFTTT

Aucun commentaire:

Enregistrer un commentaire