diff --git a/src/muya/lib/contentState/enterCtrl.js b/src/muya/lib/contentState/enterCtrl.js index 5ee0aa8b..a2ef958a 100644 --- a/src/muya/lib/contentState/enterCtrl.js +++ b/src/muya/lib/contentState/enterCtrl.js @@ -423,7 +423,7 @@ const enterCtrl = ContentState => { // cursor at end of paragraph or at begin of paragraph if (type === 'li') { if (block.listItemType === 'task') { - const { checked } = block.children[0] + const checked = false newBlock = this.createTaskItemBlock(null, checked) } else { newBlock = this.createBlockLi()