Open canaryGrapher opened 3 years ago
How do I export the various CSS and the HTML objects in the editor state into one single HTML file?
I don't know if GrapesJS supports this feature or not. Please refer to its documentation for more details.
You can save the editor to component state by using onInit
function.
Then access editor's methods and properties to achieve your purpose.
How do I export the various CSS and the HTML objects in the editor state into one single HTML file?