> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Editor Content

> Wrapper for Tiptap Provider 

For all the available props, see [Tiptap Settings](https://tiptap.dev/docs/editor/api/editor#settings).

```tsx
<EditorRoot>
  <EditorContent>{children}</EditorContent>
</EditorRoot>
```

## Props

**children** `ReactNode` *required*

A ReactNode that represents the content of the editor.

**extensions** `Extension[]` *required*

An array of Tiptap extensions to be used in the editor.

**initialContent** `JSONContent`

Initial editor content in JSON format. [Tiptap
Output](https://tiptap.dev/docs/editor/guide/output)

**onUpdate** `(props: \{
editor: Editor;
transaction: Transaction;
\}) =\> void`

Function that is called when the editor content is updated.

**onCreate** `onCreate?: (props: \{
editor: Editor;
\}) =\> void`

Function that is called when the editor is created.

**className** `string`

Classname for the parent container.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.