For all the available props, see Tiptap Settings.
<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
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.