docs: spelling

This commit is contained in:
James
2021-03-14 12:59:19 -04:00
parent 39b30da10f
commit 65c81c7c2a

View File

@@ -98,7 +98,7 @@ Once you're up to speed with the general concepts involved, you can pass in your
| **`Button`** * | A React component to be rendered in the Rich Text toolbar. | | **`Button`** * | A React component to be rendered in the Rich Text toolbar. |
| **`plugins`** | An array of plugins to provide to the Rich Text editor. | | **`plugins`** | An array of plugins to provide to the Rich Text editor. |
Custom `Element`s also require the `Element` property set to a Reactt component to be rendered as the `Element` within the rich text editor itself. Custom `Element`s also require the `Element` property set to a React component to be rendered as the `Element` within the rich text editor itself.
Custom `Leaf` objects follow a similar pattern but require you to define the `Leaf` property instead. Custom `Leaf` objects follow a similar pattern but require you to define the `Leaf` property instead.