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