fix nested tasklists, fix #123

This commit is contained in:
Philipp Kühn 2021-01-29 21:45:51 +01:00
parent eff6c4a84a
commit a73e6c8e46

View File

@ -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,