Replies: 1 comment 2 replies
-
CMS blocks just contain slots for CMS elements. The DOM structure for this will be auto generated based on the XML content. If you want to create CMS elements you need to follow this guide: https://developer.shopware.com/docs/guides/plugins/plugins/content/cms/add-cms-element-via-admin-sdk.html |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What kind of question do you have about the app system?
App Scripting Advanced
Describe your question or feedback
I'm following the app guide to create custom CMS elements, the sidebar preview works but not the preview inside the CMS editor window, what am I missing?
https://developer.shopware.com/docs/guides/plugins/apps/content/cms/add-custom-cms-blocks.html
The DOM structure of the block in the CMS editor will look like this:
Where should I add this code?
Beta Was this translation helpful? Give feedback.
All reactions