mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-21 07:18:05 +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',
|
|
}
|
|
}
|
|
|
|
} |