BUG: Editor's strange behavior!
Question
When I enter the editor and use setComponents or addComponents to add components in the store, the first class of the first element will be added to the class of a certain element inexplicably. Does anyone know the reason? I need help! ! !

Answers (2)
@artf
That class is coming from your app so there could be thousands of reasons, we can't help you just by looking at 2 screenshots. If you think there is a bug, open the issue correctly (by following the template) and create a reproducible demo.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #5042
BUG: Every time editor.loadData(data, opts) is called, it triggers the store method defined in editor.Storage.add("api-remote", {...}), which logs the message 'api-remote store'
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? latest version of Chrome Reproducible demo...
Issue #3359
double click copy bug.
When I click in one element, next second element first element clone to second element and lost all styles. Can You help me?
Issue #6172
BUG: Need dark theme support in editor
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link --- Describe...
Issue #5914
BUG: SVG containing mask and image doesn't render correctly
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Microsoft Edge 125.0.2535.51 Reproducible...
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.