Skip to main content

TipTapDocumentOutput

@gravity-rail/sdk


@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?​

optional content: TipTapNodeOutput[] | null


translations?​

optional translations: TipTapDocumentOutputTranslations


type?​

optional type: "doc"