mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-30 13:07:49 +08:00
14 lines
212 B
TypeScript
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',
|
|
}
|
|
}
|
|
|
|
} |