tiptap/packages/extension-text/index.ts
2020-03-30 10:42:59 +02:00

13 lines
157 B
TypeScript

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