diff --git a/packages/extension-task-item/src/task-item.ts b/packages/extension-task-item/src/task-item.ts index cfbf2402b..7601211be 100644 --- a/packages/extension-task-item/src/task-item.ts +++ b/packages/extension-task-item/src/task-item.ts @@ -19,7 +19,7 @@ export const TaskItem = Node.create({ }, content() { - return this.options.nested ? '(paragraph|taskList)+' : 'paragraph+' + return this.options.nested ? 'paragraph block*' : 'paragraph+' }, defining: true,