mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-01 17:39:03 +08:00
docs: Simplify Editor props description
This commit is contained in:
parent
27f8986866
commit
8a9178c1ad
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user