Skip to content

Commit

Permalink
Fix list item shortcuts (#15)
Browse files Browse the repository at this point in the history
Sink/lift list item functions weren't working correctly with this line.

list_items would become nested, causing bugs when trying to use cmd+[ or cmd+] shortcuts.
  • Loading branch information
mjadobson authored and hubgit committed Oct 23, 2018
1 parent 24fdc6d commit a187695
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions react-prosemirror-config-default/src/nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ const listNodes = {
},
list_item: {
...listItem,
content: 'paragraph block*',
group: 'block'
content: 'paragraph block*'
}
}

Expand Down

0 comments on commit a187695

Please sign in to comment.