Skip to content

Commit a187695

Browse files
mjadobsonhubgit
authored andcommitted
Fix list item shortcuts (#15)
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.
1 parent 24fdc6d commit a187695

File tree

1 file changed

+1
-2
lines changed
  • react-prosemirror-config-default/src

1 file changed

+1
-2
lines changed

react-prosemirror-config-default/src/nodes.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ const listNodes = {
1616
},
1717
list_item: {
1818
...listItem,
19-
content: 'paragraph block*',
20-
group: 'block'
19+
content: 'paragraph block*'
2120
}
2221
}
2322

0 commit comments

Comments
 (0)