MessageNode Interface
Packages > @anticrm/text > MessageNode
Signature:
export interface MessageNode
Properties
Property | Type | Description |
---|---|---|
attrs | { [key: string]: string; } | |
content | MessageNode[] | |
marks | MessageMark[] | |
text | string | |
type | MessageNodeType |
Events
attrs
Signature:
attrs?: {
[key: string]: string;
};
content
Signature:
content?: MessageNode[];
marks
Signature:
marks?: MessageMark[];
text
Signature:
text?: string;
type
Signature:
type: MessageNodeType;