BDMBlaze
2 years ago
9071
10
Laravel

How to save Quill.js values to Database Laravel 5.6

Posted 2 years ago by BDMBlaze

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 reqular 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

Please sign in or create an account to participate in this conversation.