Function: toolbarPlugin()
toolbarPlugin(
params?):RealmPlugin
A plugin that adds a toolbar to the editor.
Parameters
| Parameter | Type | Description |
|---|---|---|
params? | object | - |
params.toolbarClassName? | string | The class name to apply to the toolbar element |
params.toolbarContents? | () => ReactNode | Contents of the toolbar |
params.toolbarPosition? | "top" | "bottom" | Controls the position of the toolbar (top by default) |