docs: Simplify Editor props description

This commit is contained in:
domnantas 2021-09-20 23:44:58 +03:00 committed by Hans Pagel
parent 27f8986866
commit 8a9178c1ad

View File

@ -187,7 +187,7 @@ new Editor({
```
### Editor props
For advanced use cases, you can pass `editorProps` which will be handled by [ProseMirror](https://prosemirror.net/docs/ref/#view.EditorProps). Here is an example how you can pass a few [Tailwind](https://tailwindcss.com/) classes to the editor container, and transform pasted text, but there is a lot more you can do.
For advanced use cases, you can pass `editorProps` which will be handled by [ProseMirror](https://prosemirror.net/docs/ref/#view.EditorProps). You can use it to override various editor events or change editor DOM element attributes. Here is an example:
```js
new Editor({