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,27 +1,7 @@
import { createNode } from '@tiptap/core'
// export default new Node()
// .name('document')
// .topNode()
// .schema(() => ({
// content: 'block+',
// }))
// .create()
// export default class Document extends Node {
// name = 'document'
// topNode = true
// content = 'block+'
// }
export default createNode({
name: 'document',
topNode: true,
content: 'block+',
})