mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
fix nested tasklists, fix #123
This commit is contained in:
parent
eff6c4a84a
commit
a73e6c8e46
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user