Edge Delivery Services how-tos · updated
How to make an Edge Delivery Services block editable in the Universal Editor
When AEM authoring is the content source, a block becomes available in the Universal Editor through three files in the project root. They are component-definition.json (the block and its template), component-models.json (the fields authors fill in) and component-filters.json (where the block may be added). Adobe recommends shipping the definition and model first, then creating content, then writing the decoration and styles.
The three files
| File | Holds | Example for a quote block |
|---|---|---|
| component-definition.json | Title, id and the xwalk page template | id: quote, resourceType core/franklin/components/block/v1/block |
| component-models.json | Fields shown in the properties panel | richtext 'quote', text 'author' |
| component-filters.json | Which containers allow the block | Add 'quote' to the section filter |
Adobe's three-phase approach
- Create the definition and model, review them and bring them to production.
- Create content with the new block in the Universal Editor.
- Implement decoration (JS) and styles (CSS) against the real content.
This order means authors can start adding content while developers finish styling, and the markup developers decorate is what authors really produce. Adobe's tutorial uses the main branch for brevity but recommends feature branches and pull requests for real work.
Content modelling matters more here than in document authoring: field names and types decide the markup your decorate() receives, so agree them with authors before you write code.
component-models.json entry (from Adobe's quote example)
{
"id": "quote",
"fields": [
{ "component": "richtext", "name": "quote", "value": "", "label": "Quote", "valueType": "string" },
{ "component": "text", "valueType": "string", "name": "author", "label": "Author", "value": "" }
]
}How to do it
- Add the block to component-definition.json with an xwalk template.
- Add its fields to component-models.json.
- Allow it in component-filters.json (for example in section).
- Commit via a pull request and deploy.
- Add the block to a page in the Universal Editor, then write decorate() and CSS.
Related pages on this site
Questions
Why doesn't my new block appear in the Universal Editor's add menu?
It is usually missing from component-filters.json for the container you're adding to, or the definition hasn't been deployed.
Do document-authored EDS sites need these JSON files?
No. They are for AEM authoring with the Universal Editor as the content source.
In what order should I build a UE block?
Definition and model first, then content, then decoration and styles, as Adobe recommends.
Sources
- aem.live: Creating Blocks Instrumented for use with the Universal Editor (checked 10 Nov 2026)
- aem.live: Markup, Sections, Blocks, and Auto Blocking (checked 10 Nov 2026)
Facts about Adobe's platform are from the linked Adobe pages, checked 10 Nov 2026. Explanations and examples are ours unless marked as Adobe's.