Hello,
first of all i would like to thank you for creating grapesjs-react. I am just new to grapesjs.
Can I ask how to access the html elements and the style of it? I want to save it to the database. I can access it through localstorage and save it as a state. But i also want to load the whole object so that it can still be editable once it is saved from the database.
when i view the heroku console, i can see it coming but there is no object inside.
It says Status code: 204 No Content when i try to check it on the network tab. Hope you could help me on this. Thanks.
Hello, first of all i would like to thank you for creating grapesjs-react. I am just new to grapesjs.
Can I ask how to access the html elements and the style of it? I want to save it to the database. I can access it through localstorage and save it as a state. But i also want to load the whole object so that it can still be editable once it is saved from the database.
Thank you so much.
edit: so in the storemanager I used this config:
const storageManager = { id: 'gjs-', type: 'remote', autosave: true, autoload: true, stepsBeforeSave:1, urlStore: 'https://xxxxxx/v1/store/grapejs/1', urlLoad: 'https://xxxxxx/v1/load/grapejs/1', storeComponents: true, storeStyles: true, storeHtml: true, storeCss: true, };
when i view the heroku console, i can see it coming but there is no object inside. It says Status code: 204 No Content when i try to check it on the network tab. Hope you could help me on this. Thanks.