I successfully built a basic page builder using the GrapeJS Docs and it is functioning smoothly. I believe that adding two functions to save and load the created page would enhance its capabilities. How can I implement this?
const editor = grapesjs.init({
// Specify where to initialize the editor. You can also provide an HTMLElement instead
container: '#gjs',
// Retrieve the canvas content directly from the element
// Alternatively, we could use: `components: '<h1>Hello World Component!</h1>'`,
fromElement: true,
// Editor size
height: '300px',
width: 'auto',
// Temporarily disable the storage manager
storageManager: false,
// Remove all default panels
panels: { defaults: [] },
blockManager: { },
layerManager: { },
deviceManager: { },
selectorManager: { },
styleManager: { },
storageManager: { }
});