tiptap/packages/extension-text/index.ts

17 lines
237 B
TypeScript
Raw Normal View History

2020-03-06 04:05:01 +08:00
import { Node } from '@tiptap/core'
2020-10-10 04:59:25 +08:00
// export default new Node()
// .name('text')
// .schema(() => ({
// group: 'inline',
// }))
// .create()
export default class Text extends Node {
name = 'text'
group = 'inline'
}