[Question]: Track custom storable with UndoManager #6178
Unanswered
rhoenerSBS
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hey @rhoenerSBS please avoid opening bug issues for questions. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
GrapesJS version
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
Beta Was this translation helpful? Give feedback.
All reactions