fix build for now
This commit is contained in:
18
packages/extension-gapcursor/src/index.ts
Normal file
18
packages/extension-gapcursor/src/index.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { createExtension } from '@tiptap/core'
|
||||
import { gapCursor } from 'prosemirror-gapcursor'
|
||||
|
||||
const Gapcursor = createExtension({
|
||||
addProseMirrorPlugins() {
|
||||
return [
|
||||
gapCursor(),
|
||||
]
|
||||
},
|
||||
})
|
||||
|
||||
export default Gapcursor
|
||||
|
||||
declare module '@tiptap/core/src/Editor' {
|
||||
interface AllExtensions {
|
||||
Gapcursor: typeof Gapcursor,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user