tiptap/packages/extension-text/src/text.ts

15 lines
213 B
TypeScript
Raw Normal View History

import { Node } from '@tiptap/core'
2020-03-06 04:05:01 +08:00
const Text = Node.create({
2020-10-21 21:17:05 +08:00
name: 'text',
group: 'inline',
})
2020-10-23 04:40:40 +08:00
export default Text
declare module '@tiptap/core' {
interface AllExtensions {
Text: typeof Text,
2020-10-23 04:40:40 +08:00
}
}