React Mui Draft Wysiwyg
Edit page
Introduction
Configuration
Default configurationlangtranslationsdraftEditoreditoreditor.wrapperElementeditor.classNameeditor.styletoolbar
Data conversion
Examples

editor

The editor options only affect the part where the user types, the editor.

editor.wrapperElement

It is the component that wraps the editor (excluding the toolbar). By default, is the Paper component from Material UI.

You can pass a string (for example: 'div') or a component.




Normal
default
default


You can edit the code above and try other wrappers.

editor.className

It is the className for the editor.




Normal
default
default


editor.style

It is the style for the editor.




Normal
default
default


You can edit the code above and try other styles.