The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.

Home > @edtr-io/default-document-editor > createDefaultDocumentEditor

createDefaultDocumentEditor() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Creates the default document editor

Signature:
export declare function createDefaultDocumentEditor(
  config?: DefaultDocumentEditorConfig
): React.ComponentType<DocumentEditorProps>

Parameters

ParameterTypeDescription
configDefaultDocumentEditorConfigConfiguration
Returns:

React.ComponentType<DocumentEditorProps>

The default document editor