where does the request body of store come from? #4880
handhikadj
started this conversation in
General
Replies: 2 comments 1 reply
-
solved: const gjsData = {
'gjs-assets': JSON.stringify(this.editor.AssetManager.getAll()),
'gjs-css': this.editor.getCss(),
'gjs-styles': JSON.stringify(this.editor.getStyle()),
'gjs-html': this.editor.getHtml(),
'gjs-components': JSON.stringify(this.editor.getComponents())
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
grapesjs sends this data.
is the json below correct?
Beta Was this translation helpful? Give feedback.
All reactions