IndexedDB storage wrapper plugin for GrapesJS, v1.0.5. Enables persistent project storage using IndexedDB in the browser, supporting multiple projects per page via configurable keys. Release cadence is low; last update appears minor. Differentiator: provides an alternative to localStorage or remote storage for larger projects, with configurable database name and object store. Requires GrapesJS v0.19.* or higher. ESM-compatible but also available as UMD.
npm install grapesjs-indexeddbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Complete HTML page that loads GrapesJS and the IndexedDB plugin, then initializes the editor with IndexedDB storage using custom DB name and project key.
Upgrade GrapesJS to v0.19.0 or later.
Set storageManager: { type: 'indexeddb' } in GrapesJS config.Use unique keys per project or upgrade to 1.0.3+ where documentation clarifies this.
Implement a fallback storage manager or check IndexedDB availability before relying solely on this plugin.
Add 'grapesjs-indexeddb' to the plugins array in GrapesJS init config.
Check IndexedDB availability before initializing GrapesJS, or use a different storage manager.
Ensure the plugin script is loaded and added to plugins array. If using custom type via plugin option, set storageManager.type accordingly.