refactoring
This commit is contained in:
@@ -1,22 +1,6 @@
|
||||
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',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user