diff --git a/shared/editor/nodes/CheckboxItem.ts b/shared/editor/nodes/CheckboxItem.ts index 12fb5c993d..24e77451ab 100644 --- a/shared/editor/nodes/CheckboxItem.ts +++ b/shared/editor/nodes/CheckboxItem.ts @@ -22,7 +22,7 @@ export default class CheckboxItem extends Node { default: false, }, }, - content: "paragraph block*", + content: "block+", defining: true, draggable: true, parseDOM: [ diff --git a/shared/editor/nodes/ListItem.ts b/shared/editor/nodes/ListItem.ts index 28e390d3ac..e9b30b84cb 100644 --- a/shared/editor/nodes/ListItem.ts +++ b/shared/editor/nodes/ListItem.ts @@ -26,7 +26,7 @@ export default class ListItem extends Node { get schema(): NodeSpec { return { - content: "paragraph block*", + content: "block+", defining: true, draggable: true, parseDOM: [{ tag: "li" }],