add basic extension classes
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
import { Node } from '@tiptap/core'
|
||||
|
||||
export default new Node()
|
||||
.name('text')
|
||||
.schema(() => ({
|
||||
group: 'inline',
|
||||
}))
|
||||
.create()
|
||||
// export default new Node()
|
||||
// .name('text')
|
||||
// .schema(() => ({
|
||||
// group: 'inline',
|
||||
// }))
|
||||
// .create()
|
||||
|
||||
export default class Text extends Node {
|
||||
|
||||
name = 'text'
|
||||
|
||||
group = 'inline'
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user