replace extensions
This commit is contained in:
@@ -1,14 +1,8 @@
|
||||
import { Node } from '@tiptap/core'
|
||||
import { NodeSpec } from 'prosemirror-model'
|
||||
|
||||
export default class Text extends Node {
|
||||
|
||||
name = 'text'
|
||||
|
||||
schema(): NodeSpec {
|
||||
return {
|
||||
group: 'inline',
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
export default new Node()
|
||||
.name('text')
|
||||
.schema(() => ({
|
||||
group: 'inline',
|
||||
}))
|
||||
.create()
|
||||
Reference in New Issue
Block a user