Skip to content
This page is available as Markdown at /api/editor/functions/editorprovider.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.

EditorProvider

EditorProvider(props): Element

Defined in: packages/editor/src/editor/editor-provider.tsx:39

The EditorProvider component is used to set up the editor context and configure the Portable Text Editor.

EditorProviderProps

Element

import {EditorProvider} from '@portabletext/editor'
function App() {
return (
<EditorProvider initialConfig={{ ... }} >
...
</EditorProvider>
)
}