Document Type
The Typescript definition of the visual editor's Document type
The following Document interface is extracted from the @stackbit/types package.
To extend the visual editor's Document with custom data, you can use the DocumentContext generic type when defining your content source class.
1234567891011121314
Please install @stackbit/types package to introspect the DocumentField type.