TipTapDocumentOutput
@gravity-rail/sdk / TipTapDocumentOutput
Interface: TipTapDocumentOutput
TipTap native document structure.
Matches the TypeScript interface: { type: 'doc'; content?: Array<{ type: string; attrs?: Record<string, any>; content?: any[]; marks?: Array<{ type: string; attrs?: Record<string, any> }>; text?: string; }>; }
Indexable
[key: string]: unknown
Properties
content?
optionalcontent:TipTapNodeOutput[] |null
translations?
optionaltranslations:TipTapDocumentOutputTranslations
type?
optionaltype:"doc"