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