Wiki
Clone wikiadf-builder-java / node-extension
Node: extension
Description
Extensions provide hook points for ecosystem add-ons to integrate with how ADF content is rendered.
Like bodiedExtension nodes, the generic extension
node type is used in
contexts that only permit "block" content, such as the top-level doc node itself.
However, there are some important differences:
extension
nodes are leaves, butbodiedExtension
nodes wrap other contentextension
nodes can be used in places thatbodiedExtension
can not, such as inside tableCell, tableHeader, orbodiedExtension
itself.
Compatibility
Products
Confluence | Jira |
---|---|
✅ | ⚠️1 |
Usage
Marks
Structure
- type -
extension
- attrs
- extensionKey - string – not empty
- extensionType - string – not empty
- localId? - string – not empty, UUID2
- layout? -
wide
|full-width
|default
- parameters? - object
- text? - string
- marks? - array(dataConsumer?, fragment?)
Updated