ContentModel
23 Sep 20251 minute to read
Interface for a class Content
Properties
content string
Specifies the actual content of the block.
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.
props ContentProperties
Specifies the type specific properties for the content.
type ContentType|string
Defines the type of content for the block.
It can be text, link, code, mention, or label.