refactor: recreate extension exports
This commit is contained in:
@@ -10,7 +10,7 @@ export interface CollaborationOptions {
|
||||
provider: any,
|
||||
}
|
||||
|
||||
const Collaboration = Extension.create({
|
||||
export const Collaboration = Extension.create({
|
||||
name: 'collaboration',
|
||||
|
||||
defaultOptions: <CollaborationOptions>{
|
||||
@@ -60,8 +60,6 @@ const Collaboration = Extension.create({
|
||||
},
|
||||
})
|
||||
|
||||
export default Collaboration
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
Collaboration: typeof Collaboration,
|
||||
|
||||
Reference in New Issue
Block a user