mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-22 08:07:50 +08:00
23 lines
323 B
TypeScript
23 lines
323 B
TypeScript
import { createNode } from '@tiptap/core'
|
|
|
|
// export default new Node()
|
|
// .name('text')
|
|
// .schema(() => ({
|
|
// group: 'inline',
|
|
// }))
|
|
// .create()
|
|
|
|
// export default class Text extends Node {
|
|
|
|
// name = 'text'
|
|
|
|
// group = 'inline'
|
|
|
|
// }
|
|
|
|
export default createNode({
|
|
name: 'text',
|
|
|
|
group: 'inline',
|
|
})
|