tiptap/examples/Components/Routes/Collaboration/Collab.js

13 lines
223 B
JavaScript
Raw Normal View History

2019-02-03 21:06:17 +08:00
import { Extension } from 'tiptap'
import { collab } from 'prosemirror-collab'
export default class CollabExtension extends Extension {
get name() {
return 'collab'
}
get plugins() {
return [collab()]
}
}