Skip to content
Discussion options

You must be logged in to vote

@momu-2016 Please check the guide about Component & CSS and also what you shouldn't be doing in your Blocks (now you're doing the opposite).
Your styles:JSON.parse(item.component_style) concept should work properly just move them in a custom component and ensure to have the latest version as it was added recently.

So, I highly recommend creating custom components (similar to what you have done with blocks) and then adding the custom block by simply using content: { type: 'your-custom-component-id' }

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@momu-2016
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by momu-2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants