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,
|
||||
|
||||
5
packages/extension-collaboration/src/index.ts
Normal file
5
packages/extension-collaboration/src/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Collaboration } from './collaboration'
|
||||
|
||||
export * from './collaboration'
|
||||
|
||||
export default Collaboration
|
||||
Reference in New Issue
Block a user