E
E
Egor Babintsev2019-11-06 10:28:00
WYSIWYG
Egor Babintsev, 2019-11-06 10:28:00

How to enter articles into the database?

I'm making a site on laravel, the question arose about how to correctly enter articles written in the admin panel into the database? That is, if I get the code from the wysiwyg html editor, I just need to enter it into the database, and then output it to the blade template using unescaped output? But what if you use an editor like Quill, in which you get not text with html tags at the output, but a Delta object that describes the state of the text? Is there any default case for adding articles to the database? I looked at blogging guides, but there I saw just entering plain text from input and textarea, without any decoration. Thank you in advance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question