How to render data from data base to text editor (quill-editor)?
-
Hi everyone how it doing?
I want to know, how can render the info that i persist in the database on my text-editor to edit the info i was save in database?Note: I have 4 step each one of them have the text-editor, i want to rescue all information from database and put each one step
Eg. i'll show you an image to ilustrate the case, that i want that be. To edit the documento that i saved in database.
-
The WYSIWYG editor will provide you typically html. I believe that is what you have saved in your database.
To embed html into the template, you just need to use triple brackets to tell handlebars to not escape it.{{{somePropWithHtml}}}