tiptap/packages/extension-text/src/index.ts
Philipp Kühn 0c9ce26c02 Revert "use global namespace"
This reverts commit 24c3a9abd3.

# Conflicts:
#	packages/core/src/Editor.ts
2020-11-16 16:58:30 +01:00

15 lines
213 B
TypeScript

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