[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

@@ -8,7 +8,7 @@ import Text from '@tiptap/extension-text'
describe('generateHTML', () => {
it('generate HTML from JSON without an editor instance', () => {
const json = {
type: 'document',
type: 'doc',
content: [{
type: 'paragraph',
content: [{