docs: Add link to editor props section

This commit is contained in:
domnantas 2021-09-20 23:52:06 +03:00 committed by Hans Pagel
parent 8a9178c1ad
commit d434f3865a

View File

@ -499,7 +499,7 @@ const History = Extension.create({
```
#### Access the ProseMirror API
To hook into events, for example a click, double click or when content is pasted, you can pass [event handlers](https://prosemirror.net/docs/ref/#view.EditorProps) to `editorProps` on the [editor](/api/editor).
To hook into events, for example a click, double click or when content is pasted, you can pass [event handlers](https://prosemirror.net/docs/ref/#view.EditorProps) to `editorProps` on the [editor](/api/editor#editor-props).
Or you can add them to a tiptap extension like shown in the below example.