feat: add comment kit

This commit is contained in:
fantasticit 2022-04-02 17:56:45 +08:00
parent b778d9feaa
commit ffd8041046
1 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import { CollaborationCursor } from './collaboration-cursor';
import History from '@tiptap/extension-history';
import { getRandomColor } from 'helpers/color';
import { Document } from './extensions/document';
import { BaseKit } from './basekit';
export { BaseKit, CommentKit } from './basekit';
export { getSchema } from '@tiptap/core';
export * from './menubar';
@ -17,7 +17,6 @@ export const DocumentWithTitle = Document.extend({
});
export { Document, History };
export const DEFAULT_EXTENSION = [...BaseKit];
export const getCollaborationExtension = (provider: HocuspocusProvider) => {
return Collaboration.configure({