How to retrieve data from database in Editor of draft Js in next js? #10968
Unanswered
Shawan1008
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working with draftjs editor for post's content in next.js. And there is a page called postlist from where i can click against particular post for edit purpose. Now when i clicked on a particular post for edit it will redirect me to a new page where each details of the post retrieved from mongodb database. Now in the the page each details like post title, post subtitle, post slug, post featured image etc retrieved from database else description where i can edit each field. Now my post's content field is not retrieved from database in draftjs editor part. How to resolve this problem?
This Is My Code
Beta Was this translation helpful? Give feedback.
All reactions