# MDXEditorProps

**Kind:** Interface

**Source:** [`atloria-monorepo/packages/editor/src/MDXEditor.tsx`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/editor/src/MDXEditor.tsx#L300)

## Properties

| Property | Type |
|---|---|
| `contentEditableClassName` | `string` |
| `spellCheck` | `boolean` |
| `markdown` | `string` |
| `onChange` | `(markdown: string, initialMarkdownNormalize: boolean) => void` |
| `onError` | `(payload: { error: string; source: string }) => void` |
| `toMarkdownOptions` | `ToMarkdownOptions` |
| `plugins` | `RealmPlugin[]` |
| `className` | `string` |
| `autoFocus` | `boolean | { defaultSelection?: 'rootStart' | 'rootEnd'; preventScroll?: boolean }` |
| `onBlur` | `(e: FocusEvent) => void` |
| `placeholder` | `React.ReactNode` |
| `readOnly` | `boolean` |
| `iconComponentFor` | `(name: IconKey) => JSX.Element` |
| `suppressHtmlProcessing` | `boolean` |
| `translation` | `Translation` |
| `trim` | `boolean` |
| `lexicalTheme` | `EditorThemeClasses` |
| `overlayContainer` | `HTMLElement | null` |
| `suppressSharedHistory` | `boolean` |
| `editorState` | `EditorState | undefined | null` |
| `additionalLexicalNodes` | `AdditionalLexicalNode[]` |
| `lexicalEditorNamespace` | `string` |
