Kind: Interface
Source: atloria-monorepo/packages/editor/src/MDXEditor.tsx
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 |
onBlur | (e: FocusEvent) => void |
placeholder | React.ReactNode |
readOnly | boolean |
iconComponentFor | (name: IconKey) => JSX.Element |
suppressHtmlProcessing | boolean |
translation | Translation |
trim | boolean |
lexicalTheme | EditorThemeClasses |
overlayContainer | `HTMLElement |
suppressSharedHistory | boolean |
editorState | `EditorState |
additionalLexicalNodes | AdditionalLexicalNode[] |
lexicalEditorNamespace | string |
Was this page helpful?