ID isn't updating after change
This is indeed a known synchronization issue within GrapesJS where the Styles tab's selector display doesn't immediately reflect changes made to a component's ID via the Traits panel. The behavior you described is accurate and reproducible. Root Cause TheThe root cause lies in how the GrapesJS UI components, specifica...
Read full answer below βQuestion
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://jsfiddle.net/szLp8h4n Describe the bug How to reproduce the bug?Create a blockClick itGo to the traits tabSet an new IDGo to the styles tabSee the ID hasn't changed (under class) To see the ID you must:Do the previous stepsunfocus the block (e.g clicking the body)focus the block What is the expected behavior? To have the ID updated without refocusing What is the current behavior? Needing to refocus to see the ID change Code of Conduct [X] I agree to follow thi...
Answers (1)
This is indeed a known synchronization issue within GrapesJS where the Styles tab's selector display doesn't immediately reflect changes made to a component's ID via the Traits panel. The behavior you described is accurate and reproducible. Root Cause TheThe root cause lies in how the GrapesJS UI c...
Related Questions and Answers
Continue research with similar issue discussions.
Issue #6318
Unable to use transparent fill in Block media svg
GrapesJS version[X] I confirm to use the latest version of [email protected] when this issue was filedWhat browser are you using? Fir...
Issue #5269
Object literal may only specify known properties, and 'el' does not exist in type 'PanelProps'.
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome 115.0Reproducible demo link https://j...
Issue #6659
Symbol styles not synced
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Firefox 145.0 (64-bit) Reproducible demo l...
Issue #5720
Propagating component defaults can break layers when child comments are introduced
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v122 Reproducible demo link https:/...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins β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.
Tutorial
PageKit: the GrapesJS application you'd have to build anyway
A source-available Next.js app around the open-source GrapesJS core β publishing, custom domains, leads, checkout and a plugin loader.
Tutorial
UnStudio for GrapesJS: 4 Plugins to Build Better Visual Editors
Meet UnStudio, a new GrapesJS plugin studio with four tools, safer and better editor: Command Palette, Responsive Pack, Autosave & Restore, and Autofill
Tutorial
Messaging on gjs.market: talk to a studio before you buy, not after
We've launched private messaging between buyers and studios. One thread per buyerβstudio pair, the whole history in one place.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.