diff --git a/src/lib/parsers.ts b/src/lib/parsers.ts index 05f5bf16..2d2f4acb 100644 --- a/src/lib/parsers.ts +++ b/src/lib/parsers.ts @@ -4,7 +4,11 @@ import defaultSchema from './schema'; export const emptyDoc = { type: 'doc', - content: [] + content: [ + { + type: 'paragraph', + } + ], }; // https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment