<EmailEditor /> component is the heart of the library. It acts as the orchestrator, wrapping the editor engine and layout components.
Usage
Props
The initial document to load.
Callback fired when the document changes.
Configuration object for the editor.
Inline styles for the editor container.
Custom class name for the editor container.
Configuration (config)
The config prop allows you to toggle features and customize the editor behavior.
Slot Overrides
You can replace parts of the editor UI with your own components using slot props.Replace or hide the toolbar.
Replace or hide the sidebar.
Replace or hide the properties panel.
Replace the canvas area (advanced).
Render additional content in the toolbar (e.g., a “Send Test” button).
