Content

23 Sep 20251 minute to read

Defines the properties of block.

Properties

content string

Specifies the actual content of the block.

Defaults to ’’

id string

Specifies the unique identifier for the block.
For standard types, this acts as the unique identifier of the content.
For special types like Label or Mention, this should be set to the corresponding item ID
from the datasource to render the resolved content.

Defaults to ’’

props ContentProperties

Specifies the type specific properties for the content.

Defaults to null

type ContentType|string

Defines the type of content for the block.
It can be text, link, code, mention, or label.

Defaults to ContentType.Text