[BREAKING CHANGE] change the default document type to doc

This commit is contained in:
Hans Pagel
2021-01-28 11:58:10 +01:00
parent a885669929
commit 62f42a229f
10 changed files with 11 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
import { Node } from '@tiptap/core'
export const Document = Node.create({
name: 'document',
name: 'doc',
topNode: true,
content: 'block+',
})