mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 19:29:02 +08:00
13 lines
223 B
JavaScript
13 lines
223 B
JavaScript
|
import { Extension } from 'tiptap'
|
||
|
import { collab } from 'prosemirror-collab'
|
||
|
|
||
|
export default class CollabExtension extends Extension {
|
||
|
get name() {
|
||
|
return 'collab'
|
||
|
}
|
||
|
|
||
|
get plugins() {
|
||
|
return [collab()]
|
||
|
}
|
||
|
}
|