Text

@Serializable
@SerialName(value = "text")
class Text(val text: String = "", val marks: List<RichText.Mark> = emptyList()) : RichText(source)

Text node containing plain text with optional marks (formatting).

Constructors

Link copied to clipboard
constructor(text: String = "", marks: List<RichText.Mark> = emptyList())

Properties

Link copied to clipboard

Applied formatting marks.

Link copied to clipboard

The text content.

Link copied to clipboard

Technical name of the node type.