The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.
Home > @edtr-io/math > MathEditorProps
MathEditorProps interface
Signature:export interface MathEditorProps
Properties
| Property | Type | Description |
|---|---|---|
| additionalContainerProps? | Record<string, unknown> | (Optional) |
| autofocus? | boolean | (Optional) |
| config | DeepPartial<MathEditorConfig> | |
| disableBlock? | boolean | (Optional) |
| inline? | boolean | (Optional) |
| readOnly? | boolean | (Optional) |
| state | string | |
| visual? | boolean | (Optional) |
Methods
| Method | Description |
|---|---|
| onBlur()? | (Optional) |
| onChange(state) | |
| onDeleteOutLeft()? | (Optional) |
| onDeleteOutRight()? | (Optional) |
| onEditorChange(visual) | |
| onInlineChange(inline)? | (Optional) |
| onMoveOutLeft()? | (Optional) |
| onMoveOutRight()? | (Optional) |