Used to set a different width, wether the default width or the 100% of the parent container.
layout
The way the toolbar behaves. If 'wrap' then elements are wrapped, if not an automatic overflow is shown.
centeredToolbar
Used to render a centered toolbar.
You can use this prop ONLY if the variant passed is full-width, and the viewport is large. Otherwise, an overflow is passed when rendering smaller viewports.
defaultContent and content
The defaultContent prop is used to render the initial content. The content prop, is normally a state connected to the onChange listener, which updates the state using a controlled approach..
macros
A string array passed to render predefined strings.
onChange
Function executed everytime the content in the editor changes.
schema
The schema is a prop used to personalize the way you want to render your Wysiwyg,
WysiwygExtensionsSchema
You can define your own schema by following this interface.