Skip to content

Commit

Permalink
fix: update default empty document
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Jan 26, 2021
1 parent 8f3bf4e commit 8939b80
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/parsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8939b80

Please sign in to comment.