grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

[QUESTION] How to load a new trait I added in a built-in component?

Open josefph opened this issue 8 years ago • 2 comments

Hi guys I added a trait for my Link element which is a built-in component for gjs-blocks-basic. When I drag a new link component to the canvas it would show the trait in the component settings. But when I open the editor again it only shows the default traits and not the new one I added.

Is there something that I should load on my editor first? because the way I load my editor is just to paste the html code which I saved on my DB and my css code.

josefph avatar Mar 15 '18 19:03 josefph

this was an issue on my loading of my editor. after loading the editor with the components and styles correctly. it would also show the correct traits.

josefph avatar Mar 15 '18 20:03 josefph

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.

lock[bot] avatar Sep 17 '19 20:09 lock[bot]