Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
(fix) allow nested paragraphs
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Selman <[email protected]>
  • Loading branch information
dselman committed Jul 11, 2019
1 parent f6f1498 commit 75a1e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const schema = {
blocks: {
paragraph: {
nodes: [
{ match: [{ object: 'text' }, { type: 'html_inline' }, { type: 'link' }] },
{ match: [{ object: 'text' }, { object: 'paragraph' }, { type: 'html_inline' }, { type: 'link' }] },
],
},
html_block: {
Expand Down

0 comments on commit 75a1e9c

Please sign in to comment.