Closed maxtsh closed 3 years ago
Thanks @maxtsh for the report, there is actually an issue with those old blocks from the basic plugin which breaks the storage counter. I'll push the fix soon. For now, as a hotfix, update those blocks in this way.
editor.Blocks.get('text').set({
activate: true,
select: true,
content: {
type: 'text',
content: 'Insert your text here',
style: { padding: '10px' },
}
});
editor.Blocks.get('image').set({
activate: true,
select: true,
content: { type: 'image' }
});
hello guys. I am using this awesome project for a production app written with React.js, So I integrated it inside my app. everything works fine but I have a problem with auto saving the editor data on each change to editor.
OS: Windows 10 Browser: Chrome 90 GrapesJS version: 0.17.03 latest on 26/04/2021
EDITOR INSTANCE:
EDITOR CUSTOM STORAGE:
I uses the docs to setup a custom storage which should update my state on change.
The issue is that it works when I drag and drop some components like sections, divider, button but as soon as I add a text or image it stops auto saving.
I use a button to call editor.store(); each time but I want to have auto saving feature fully working and not using any extra stuff.