-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
What is the content of |
Beta Was this translation helpful? Give feedback.
-
@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). So, I highly recommend creating custom components (similar to what you have done with blocks) and then adding the custom block by simply using |
Beta Was this translation helpful? Give feedback.
@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' }