Issue #3257πŸ’¬ AnsweredOpened February 2, 2021by kuhelbeher0 reactions

Block.get('category') returns different results in Chrome and Firefox

Quick answerby xinnai

@kuhelbeher I got same issue, did you resolve your problem?

Read full answer below ↓

Question

Hello, I've hit weird bug when I tried to get block category. block.get('category') returns object in Chrome, but in Firefox the same code returns string: Left - Chrome, rIght - Firefox Also with enabled adblock or selenium extensions this code also returns string. Some other extensions might cause this problem too, so try it in incognito mode. You can check the issue here

Answers (3)

xinnaiβ€’ February 23, 2021

@kuhelbeher I got same issue, did you resolve your problem?

artfβ€’ July 27, 2023

This seems to be solved with the latest version of GrapesJS

GJSBlockβ€’ May 17, 2026

Thanks for reporting this, @kuhelbeher. The issue with block.get('category') returns different results in Chrome and Firefox appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM modifications overlap, creating an inconsist...

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.