Skip to content

Commit 5bc11d4

Browse files
authored
fix: 🐛 list item can have other block as first children (#1300)
Closes: #1276
1 parent d408214 commit 5bc11d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/preset-commonmark/src/node/list-item.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ withMeta(listItemAttr, {
1818
/// Schema for list item node.
1919
export const listItemSchema = $nodeSchema('list_item', ctx => ({
2020
group: 'listItem',
21-
content: 'paragraph block*',
21+
content: 'block+',
2222
attrs: {
2323
label: {
2424
default: '•',

0 commit comments

Comments
 (0)