tiptap/packages/extension-text/index.ts

9 lines
137 B
TypeScript
Raw Normal View History

2020-03-06 04:05:01 +08:00
import { Node } from '@tiptap/core'
2020-09-09 05:44:45 +08:00
export default new Node()
.name('text')
.schema(() => ({
group: 'inline',
}))
2020-09-24 06:29:05 +08:00
.create()