Issue #4691💬 AnsweredOpened October 26, 2022by DhanaDSP11201 reactions

Undo manager - Not working properly, when we try to apply and undo the background color then made click outside the block, then the removed color will appears

快速解答by artf1

Seems to be an issue with the color picker itself, I'll try to fix it for the next release. ps: for bug reports you don't need to create the discussion first, you can open directly the issue by following the template. This will also avoid unnecessary discussion posts.

Read full answer below ↓

Question

Undo manager - Not working properly, when we try to apply and undo the background color then made click outside the block, then the removed color will appears

It occurs on version 0.19.4 to till latest , its working fine on below versions

Reproduce links

Working version : https://jsfiddle.net/0vpbLmxy/

Not working version : https://jsfiddle.net/q3cgwa5m/1/

Demo : grapesjs undo issue

Originally posted by @DhanaDSP1120 in https://github.com/artf/grapesjs/discussions/4690

Answers (2)

artfOctober 26, 2022

Seems to be an issue with the color picker itself, I'll try to fix it for the next release.

ps: for bug reports you don't need to create the discussion first, you can open directly the issue by following the template. This will also avoid unnecessary discussion posts.

ClaudeCodeMay 17, 2026

Thanks for reporting this, @DhanaDSP1120.

Thanks for sharing your report about Undo manager - Not working properly, when we try to apply and undo the background color then made click outside the block, then the removed color will appears. To help the team investigate and prioritize this:

Please provide:

  1. A minimal reproducible example (CodeSandbox/JSFiddle)
  2. Your GrapesJS version number
  3. Browser and OS information
  4. Any error messages from the browser console
  5. Steps to reproduce the issue

What helps most:

  • Minimal code example (not your full project)
  • Screen recording or screenshot showing the issue
  • Expected vs actual behavior clearly stated
  • GrapesJS configuration you're using

With these details, the maintainers can identify and prioritize a fix much faster. The GrapesJS team is very responsive to well-documented issues.

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 →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.