Display data on production #4637
Answered
by
mbfuturecode
mbfuturecode
asked this question in
Q&A
-
Hello, I have a problem with displaying data on my next js page. When I save changes to the DB, I use getProjectData() to get the data from grapesjs editor and I send this data as JSON to the backend. Then I fetched this data on the production page but didn't know how to show the static content. |
Beta Was this translation helpful? Give feedback.
Answered by
mbfuturecode
Oct 4, 2022
Replies: 1 comment
-
the solution is getting the data from the editor with those methods: editor.getHtml(); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mbfuturecode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the solution is getting the data from the editor with those methods:
editor.getHtml();
editor.getCss();
editor.getJs();