Skip to content

@sqlrooms/documents / BlockDocumentEditorContextValue

Type Alias: BlockDocumentEditorContextValue ​

BlockDocumentEditorContextValue = object

Properties ​

editor ​

editor: Editor | null


documentId ​

documentId: string


value ​

value: BlockDocumentContent


assets ​

assets: Record<string, DocumentAsset>


onChange ​

onChange: BlockDocumentEditorChangeHandler


readOnly ​

readOnly: boolean


generateBlockId ​

generateBlockId: () => string

Returns ​

string