Skip to content
Advertisement

How to retrieve data from database and able to edit in summernote editor?

I’m facing a problem and i couldn’t find a solution to solve it. My problem is that i have apply a plugin which called as ( Wysiwyg – summernote editor into my Laravel framework project ) . Everything works fine but when i click on the edit page, the data is unable to retrieve from the database and directly edit with the editor function. Can anyone familiar with this help me out ? Thank you so much

As you can see my placeholder is the value retrieve from the database, i just wondering why i couldn't put the data into the editor function and directly edit from it

JavaScript

Expected output = i want the value in placeholder are able to show inside the editor and able to edit it directly , Thankssssss

After update , but not the expected output i want

Advertisement

Answer

I believe this code will show the data from your db.

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement