Open wunksert opened 10 months ago
For ids setting -2 refer to this issue https://github.com/Ju99ernaut/grapesjs-template-manager/issues/25 also if you’re using autosave save will get triggered on minimal changes such as component selection so those events will be fired multiple times.
@Ju99ernaut - I uploaded a screen capture to demonstrate. It seems like this is a lot of update calls (storage:store
) for adding just one element, doesn't it?
I've built Template manager from source so I can specify where the break is happening
Reproduce
editor.storageManager.autosave: true
id123
toid123-2
so the CSS selector#id123
doesn't select any moreThe
storage:store
andstorage:load
events are also fired like 10 times. Why is it built like that?