BUG: block.get('category') returns different results in Chrome and Firefox
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 (2)
@kuhelbeher I got same issue, did you resolve your problem?
This seems to be solved with the latest version of GrapesJS
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1514
How to add video block on blockManager
Hello All. i want to add a video block on blockmanager same as mentioned on below snapshot i am using following code for adding video block...
Issue #987
[BUG/Question] Dropdown indicator not displayed for a custom trait
Hello, the dropdown (select) element arrow indicator icon is not rendered when adding a custom trait to a component: I'm using following co...
Issue #4600
After Update to 0.20 from 0.19 the error Cannot assign to read only property 'defaults' of object '[object Object]' occurs
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? chrome Reproducible demo link none Describ...
Issue #3350
Uncaught TypeError: can't access property "el", n is undefined
Hello, I'm using grapesjs 0.16.44 and only in firefox I'm faceing this issue. Using grapesjs block basic preset. Anyone can help me? Thank...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.