Set data-gjs-type in tag i (Why iscomponent not working)
You store/load incorrectly, read here please https://grapesjs.com/docs/modules/Storage.html#store-and-load-templates
Read full answer below βQuestion
when i add block(tag i), data-gjs type is "I" (there is no problem from the trait that I made)
i'm have trait
but if save and reload, data-gjs type to be "default" (trait doesn't work)
Thank's
Answers (2)
You store/load incorrectly, read here please https://grapesjs.com/docs/modules/Storage.html#store-and-load-templates
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #508
If you add a checkbox trait, it does not render correctly in the settings panel unless there is also a text trait
A text trait and a checkbox: Results in: If checkbox only: The checkbox overlaps the label:
Issue #1987
[QUESTIONS] Create toolbar in bottom
can I make a new toolbar that is located at the bottom (as shown by the cursor) when selected component? Thank's
Issue #1695
Adding new trait to Video component
I want to add a new trait for existing VIDEO '' component. I follow the docs and I didn't find what I want. Now I got the new trait added t...
Issue #1926
[QUESTIONS] Edit Placeholder on keyup in Trait
How so that Placeholders can change when typing a word in the trait directly, current placeholders can change only when mouseover I have a...
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.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.