mirror of
https://github.com/marktext/marktext.git
synced 2025-05-12 15:01:16 +08:00
parent
683b25b876
commit
1fef2c6ee8
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user