Wiki
Clone wikiadf-builder-java / mark-annotation
Mark: annotation
Usage
Description
The annotation
mark shows the presence of an annotation or comment on a node.
Confluence uses annotation
marks to indicate when a selection from the text
has an associated inline comment.
Example
Java
p( text("hello "), text("there") .mark(inlineComment("123456")) );
ADF
{ "type": "paragraph", "content": [ { "type": "text", "text": "hello " }, { "type": "text", "text": "there", "marks": [ { "type": "annotation", "attrs": { "id": "123456", "annotationType": "inlineComment" } } ] } ] }
Compatibility
Products
Confluence | Jira |
---|---|
✅ | ❌ |
Nodes
Marks
✅ Not restricted
Structure
- type -
annotation
- attrs
- id - string
- annotationType -
inlineComment
Updated