fix conflicting keyboard shortcut for the task list

This commit is contained in:
Hans Pagel
2021-03-24 20:39:56 +01:00
parent 59b031c27c
commit a5f28e421e
4 changed files with 5 additions and 5 deletions

View File

@@ -63,7 +63,7 @@ context('/demos/Nodes/TaskList', () => {
it('should make the paragraph a task list when the keyboard shortcut is pressed', () => {
cy.get('.ProseMirror')
.trigger('keydown', { modKey: true, shiftKey: true, key: 'l' })
.trigger('keydown', { modKey: true, shiftKey: true, key: '9' })
.find('ul li')
.should('contain', 'Example Text')
})