mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-22 16:17:50 +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',
|
|
}
|
|
}
|
|
|
|
} |