PageKit — the self-hosted GrapesJS site builder, sold as source. Get early access

IndexedDB Storage
1 images
OFOfficial

IndexedDB Storage

Free
GrapesJS:0.19.x0.20.x

What's Included

  • Free to download & use
  • Open for personal & commercial use

Support The Creator

Use one-time or monthly support to thank the creator for this free product.

GrapesJS Compatible

Tested with GrapesJS 0.19.x, 0.20.x

Open Source on GitHub

Free to use, fork, and contribute

Editor Compatible

Designed for the GrapesJS open-source editor

Free to Use

Open for personal and commercial projects

GrapesJS saves to localStorage by default, which caps out at a few megabytes and stores everything as strings. Any project with embedded images hits that ceiling quickly. This plugin registers IndexedDB as a storage backend instead.

What it adds

A storage type called indexeddb, selected by setting storageManager: { type: 'indexeddb' } at init. From there the Storage Manager behaves exactly as before — the plugin only changes where the data lands.

Options

  • type — the id the storage registers under. Set it to local to replace the built-in localStorage backend outright, so existing code needs no change.
  • options.key — the project key, defaulting to gjsProject. Give each project its own key when several editors share a page, otherwise they overwrite one another.
  • options.dbName — the IndexedDB database name, defaulting to gjs.
  • options.objectStoreName — the object store holding project data, defaulting to projects.

Requirements

GrapesJS v0.19 or higher. Install as grapesjs-indexeddb. BSD-3-Clause.

Ratings:

No reviews yet. Be the first to share your experience.


Share this item:
Last Update:Sep 8, 2026
Published:Sep 22, 2022
Versions:
0.19.x0.20.x

Questions & Answers

No questions yet. Have something to ask?