DocumentType
@blockslides/core / DocumentType
Type Alias: DocumentType<TDocAttributes, TContentType>
DocumentType<
TDocAttributes,TContentType> =Omit<NodeType<"doc",TDocAttributes,never,TContentType>,"marks"|"content"> &object
Defined in: blockslides/packages/core/src/types.ts:535
A node type is either a JSON representation of a doc node or a Prosemirror doc node instance
Type Declaration
content
content:
TContentType
Type Parameters
TDocAttributes
TDocAttributes extends Record<string, any> | undefined = Record<string, any>