This module allows to customize the built-in toolbar of the Rich Text Editor and use commands from the [HTML Editing APIs][1].
It's highly recommended to keep this toolbar as small as possible, especially from styling commands (eg. 'fontSize') and leave this task to the Style Manager
It's highly recommended to keep this toolbar as small as possible, especially from styling commands (eg. 'fontSize')
and leave this task to the Style Manager.
You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object][2]
Before using methods you should get first the module from the editor instance, in this way:
```js
const editor = grapesjs.init({
rte: {
// options
}
})
```
Once the editor is instantiated you can use its API. Before using these methods you should get the module from the instance