Comments (3)
Grapesjs' built in storages don't work with this plugin, here's the list of supported storage types and how to setup https://github.com/Ju99ernaut/grapesjs-template-manager#localindexeddb
In your case just change type: 'local'
to type: 'indexeddb'
from grapesjs-template-manager.
container: '#gjs',
height: '100%',
storageManager: {
id: 'gjs-', // Prefix identifier that will be used on parameters
type: 'indexeddb', // Type of the storage
fromElement: true, //used for tempalate manager
autosave: 0, // Store data automatically
autoload: 1, // Autoload stored data on init
stepsBeforeSave: 1, // If autosave enabled, indicates how many changes are necessary before store method is triggered
},
I switched to indexeddb and made sure indexeddb is working. I am still getting the same errors.
from grapesjs-template-manager.
I'm not sure what's wrong on your end, your configuration works fine on my end, anyways the errors you're getting indicate that whichever storage you're using doesn't have the loadAll method, which is available in the indexeddb version that comes built in https://github.com/Ju99ernaut/grapesjs-template-manager/blob/master/src/storage/indexeddb.js
from grapesjs-template-manager.
Related Issues (20)
- Grapesjs adds "-2" to ids in the html. HOT 1
- Open projects and templates not working HOT 1
- add additional values ββon page edit HOT 1
- Disable blocks depending on the page HOT 4
- loading assets HOT 1
- TypeError from file src/index.js HOT 1
- Is there any method to get html and css in the content HOT 1
- Saving generated thumbnail fail HOT 3
- Append to div HOT 1
- Display current page name HOT 1
- Pages within site not saved HOT 1
- Request: Custom view options for pages and/or template view HOT 1
- grapejs storage
- grapejsstorage
- Add save(update) button in panels HOT 1
- Storage with rest api HOT 1
- crypto.randomUUID is not a function error
- dist/grapesjs-project-manager.min.css does not found HOT 3
- Storage Re-names element IDs HOT 2
- Can't rename open project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grapesjs-template-manager.