Issue #5530πŸ’¬ AnsweredOpened Nov 25, 2023by Harshsne260 reactions

Undo manager start and stop doesnt work as expected

Quick answerby GJS Helper

The issue you've described with the GrapesJS Undo Manager (um.stop() and um.start()) is a known behavior where the um.stop() method, despite setting the internal enabled flag to false, doesn't consistently prevent all internal GrapesJS operations from pushing commands to the undo stack. This leads to changes made whil...

Read full answer below ↓

Question

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v91 Reproducible demo link https://codepen.io/dhanadsp1120/pen/ExrRvOB Describe the bug How to reproduce the bug?Disable the undo manager by invoking um.stop().Make alterations to the content.Re-enable the undo manager using um.start(). What is the expected behavior? Upon pressing Ctrl+Z, the system should revert to the state before stopping the undo manager, reflecting only changes made after re-enabling it. What is the current behavior? Pressing Ctrl+Z navigates to the preceding step, ind...

Answers (1)

GJS Helperβ€’ May 17, 2026

The issue you've described with the GrapesJS Undo Manager (um.stop() and um.start()) is a known behavior where the um.stop() method, despite setting the internal enabled flag to false, doesn't consistently prevent all internal GrapesJS operations from pushing commands to the undo stack. This leads...

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.