Schema definition for a text block annotation object.
{ name: 'blockContent', title: 'Content', type: 'array', of: [ { type: 'block', marks: { annotations: [ { type: 'object', name: 'link', fields: [ { type: 'string', name: 'href', }, ], }, ] }, } ]} Copy
{ name: 'blockContent', title: 'Content', type: 'array', of: [ { type: 'block', marks: { annotations: [ { type: 'object', name: 'link', fields: [ { type: 'string', name: 'href', }, ], }, ] }, } ]}
Object must have at least one field. This is validated at Studio startup.
Schema definition for a text block annotation object.
Example: The default link annotation