add more content

This commit is contained in:
Hans Pagel
2020-11-05 17:01:25 +01:00
parent 1bd95e17f7
commit 44a2839d41
3 changed files with 75 additions and 15 deletions

View File

@@ -42,3 +42,19 @@ const editor = new Editor({
```
Learn [more about custom extensions in our guide](/guide/build-custom-extensions).
### ProseMirror plugins
ProseMirror has a fantastic eco system with many amazing plugins. If you want to use one of them, you can register them with tiptap like that:
```js
import { history } from 'prosemirror-history'
const History = createExtension({
addProseMirrorPlugins() {
return [
history(),
// …
]
},
})
```