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