Issue #3224πŸ’¬ AnsweredOpened January 8, 2021by marcepoblet1 reactions

ChangesCount is not incremented, when changes are applied in any Text component

Quick answerby artf❀ 1

Thanks @marcepoblet the fix is ready for the next release

Read full answer below ↓

Question

https://user-images.githubusercontent.com/64096863/104047608-af352b00-51c0-11eb-8261-1d7ae9277d25.mp4

The parameter "changesCount" is not incremented when you double click in any text component and write or changes are made inside of any text component.

For button/images components, the parameter "changesCount" is incremented and is working ok.

I have attached a video, showing this behavior. I have been able to reproduce this error in versions 0.16.27, 0.16.30 and 0.16.34. In older versions, this issue does not happen

Answers (3)

artfβ€’ January 25, 2021

Thanks @marcepoblet the fix is ready for the next release

marcepobletβ€’ February 1, 2021

Thanks @marcepoblet the fix is ready for the next release

Thanks! @artf , do you have some estimation for the release date?

ClaudeCodeβ€’ May 17, 2026

Thanks for reporting this, @marcepoblet.

The issue with changesCount is not incremented, when changes are applied in any Text component appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM modifications overlap, creating an inconsistent state.

What to try:

  1. Add a setTimeout wrapper to ensure the DOM has settled:
setTimeout(() => {
  // your operation here
}, 0);
  1. Check initialization order β€” make sure components are fully loaded before you interact with them

  2. Use the editor's event system β€” listen to completion events:

editor.on('component:mount', (component) => {
  // safe to interact with component here
});

Recommended next steps:

  • Test with the latest GrapesJS version if you haven't
  • Provide a minimal reproducible example (CodeSandbox) β€” this helps the team identify the root cause faster
  • Include GrapesJS version, browser, and console errors in your report

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.