refactoring

This commit is contained in:
Philipp Kühn
2020-10-22 09:42:28 +02:00
parent 5a2417fa53
commit 9697d585fe
6 changed files with 51 additions and 112 deletions

View File

@@ -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',
})