[Question]: Track custom storable with UndoManager
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
Chrome v129
Reproducible demo link
not applicable
Describe the bug
HI @artf,
I am currently implementing an editor with grapesjs in which it is possible to add chapters alongside the already existing pages. I implemented a ChapterStorage that implements the IStorableModule to store the chapters in the project data. My question is what is the best way to let the UndoManager track the changes made to the chapters? Is it necessary to extend the ItemManagerModule in some way?
Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (1)
Hey @rhoenerSBS please avoid opening bug issues for questions.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #6143
BUG/[QUESTION]: How to correctly wrap a Component on add/mount?
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v128 Reproducible demo link https:/...
Issue #5042
BUG: Every time editor.loadData(data, opts) is called, it triggers the store method defined in editor.Storage.add("api-remote", {...}), which logs the message 'api-remote store'
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? latest version of Chrome Reproducible demo...
Issue #6249
BUG: Intialized custom color picker
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? ChromeReproducible demo link ---Describe the...
Issue #6685
BUG: Custom component styles are not applied after deletion and re-addition
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v143.0.7499.193 Reproducible demo l...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.