fix build for now
This commit is contained in:
15
packages/extension-document/src/index.ts
Normal file
15
packages/extension-document/src/index.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { createNode } from '@tiptap/core'
|
||||
|
||||
const Document = createNode({
|
||||
name: 'document',
|
||||
topNode: true,
|
||||
content: 'block+',
|
||||
})
|
||||
|
||||
export default Document
|
||||
|
||||
declare module '@tiptap/core/src/Editor' {
|
||||
interface AllExtensions {
|
||||
Document: typeof Document,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user