tiptap/packages/extension-text/src/index.ts
Philipp Kühn cb5ca0c084 refactoring
2020-11-10 21:18:22 +01:00

15 lines
218 B
TypeScript

import { createNode } from '@tiptap/core'
const Text = createNode({
name: 'text',
group: 'inline',
})
export default Text
declare module '@tiptap/core' {
interface AllExtensions {
Text: typeof Text,
}
}