Attributes not loading on editor
Please read carefully this part https://grapesjs.com/docs/modules/Storage.html if it's still not working, open a bug issue and create a reproducible demo
Read full answer below ↓Question
Hi @artf ,
I have created some custom components with traits. I save the file and reload not able to see the attributes in the editor and in preview mode. However those attributes can be seen in the code manager. Is there anyway to make show it? If i give any event based on the attributes events are not getting triggered in preview mode.
Component in the editor

Component in the code manager

Answers (1)
Please read carefully this part https://grapesjs.com/docs/modules/Storage.html if it's still not working, open a bug issue and create a reproducible demo
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1289
data-gjs-custom-name question
I've created a simple block content with a custom data-gjs-custom-name = "test". When i save the page i cant see those attributes on the ge...
Issue #3213
How to save the dynamically added traits
Hi, @artf, I have a custom component that has a button trait. When the button is pressed, I am adding a custom trait dynamically using comp...
Issue #2165
[QUESTION] How to extend style manger Sector's property
Hi @artf , We have created a custom asset manager which is working perfectly for image component. However we are not able to call custom as...
Issue #2007
[QUESTION] Adding new traits to component and update current ones with these
I have some custom components created before modifying their traits (for example, I created a new trait for it), these components wont cont...
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 →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.