Universal Editor for developers (deprecated)
This reference applies to existing Universal Editor projects that use Document Authoring (DA.live) and already include the block definitions and generation hook described below.
For Adobe Experience Manager Sites projects, see the Universal Editor blocks guide .
Block definition files
Section titled βBlock definition filesβIn an existing storefront with Universal Editor instrumentation, each blockβs JSON definition is stored at blocks/{block-name}/_{block-name}.json. Replace {block-name} with the blockβs name.
If your project includes the pre-commit generation hook, it combines these definitions into the component-*.json files in the project root. The Universal Editor reads these generated files.
aem-boilerplate-commerce/βββ component-definition.json β generatedβββ component-filters.json β generatedβββ component-models.json β generatedβββ models/β βββ _section.json β add new blocks to component listβββ blocks/ βββ accordion/ βββ _accordion.json β UE instrumentationMore help on this topic
Section titled βMore help on this topicβ- Universal Editor developer reference : instrumentation syntax and options