tiptap/packages/extension-text/index.ts
2020-03-31 22:57:39 +02:00

14 lines
212 B
TypeScript

import { Node } from '@tiptap/core'
import { NodeSpec } from 'prosemirror-model'
export default class Text extends Node {
name = 'text'
schema(): NodeSpec {
return {
group: 'inline',
}
}
}