Issue #6171Opened September 24, 2024by rhoenerSBS0 reactions

[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)

artfSeptember 30, 20240 reactions

Hey @rhoenerSBS please avoid opening bug issues for questions.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.