-
-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: List item shortcuts throwing errors (#1236)
* Fixed list item shortcuts throwing errors * Added keyboard shortcut e2e tests * Small fix
- Loading branch information
1 parent
9ef0cbe
commit 5653454
Showing
23 changed files
with
935 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
...ndlers/keyboardhandlers.test.ts-snapshots/bulletListItemShortcut-json-chromium-linux.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"type": "doc", | ||
"content": [ | ||
{ | ||
"type": "blockGroup", | ||
"content": [ | ||
{ | ||
"type": "blockContainer", | ||
"attrs": { | ||
"id": "0", | ||
"textColor": "default", | ||
"backgroundColor": "default" | ||
}, | ||
"content": [ | ||
{ | ||
"type": "bulletListItem", | ||
"attrs": { | ||
"textAlignment": "left" | ||
}, | ||
"content": [ | ||
{ | ||
"type": "text", | ||
"text": "Paragraph" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "blockContainer", | ||
"attrs": { | ||
"id": "1", | ||
"textColor": "default", | ||
"backgroundColor": "default" | ||
}, | ||
"content": [ | ||
{ | ||
"type": "paragraph", | ||
"attrs": { | ||
"textAlignment": "left" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
48 changes: 48 additions & 0 deletions
48
...andlers/keyboardhandlers.test.ts-snapshots/bulletListItemShortcut-json-firefox-linux.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"type": "doc", | ||
"content": [ | ||
{ | ||
"type": "blockGroup", | ||
"content": [ | ||
{ | ||
"type": "blockContainer", | ||
"attrs": { | ||
"id": "0", | ||
"textColor": "default", | ||
"backgroundColor": "default" | ||
}, | ||
"content": [ | ||
{ | ||
"type": "bulletListItem", | ||
"attrs": { | ||
"textAlignment": "left" | ||
}, | ||
"content": [ | ||
{ | ||
"type": "text", | ||
"text": "Paragraph" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "blockContainer", | ||
"attrs": { | ||
"id": "1", | ||
"textColor": "default", | ||
"backgroundColor": "default" | ||
}, | ||
"content": [ | ||
{ | ||
"type": "paragraph", | ||
"attrs": { | ||
"textAlignment": "left" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
48 changes: 48 additions & 0 deletions
48
...handlers/keyboardhandlers.test.ts-snapshots/bulletListItemShortcut-json-webkit-linux.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"type": "doc", | ||
"content": [ | ||
{ | ||
"type": "blockGroup", | ||
"content": [ | ||
{ | ||
"type": "blockContainer", | ||
"attrs": { | ||
"id": "0", | ||
"textColor": "default", | ||
"backgroundColor": "default" | ||
}, | ||
"content": [ | ||
{ | ||
"type": "bulletListItem", | ||
"attrs": { | ||
"textAlignment": "left" | ||
}, | ||
"content": [ | ||
{ | ||
"type": "text", | ||
"text": "Paragraph" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "blockContainer", | ||
"attrs": { | ||
"id": "1", | ||
"textColor": "default", | ||
"backgroundColor": "default" | ||
}, | ||
"content": [ | ||
{ | ||
"type": "paragraph", | ||
"attrs": { | ||
"textAlignment": "left" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
49 changes: 49 additions & 0 deletions
49
...dlers/keyboardhandlers.test.ts-snapshots/checkedListItemShortcut-json-chromium-linux.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"type": "doc", | ||
"content": [ | ||
{ | ||
"type": "blockGroup", | ||
"content": [ | ||
{ | ||
"type": "blockContainer", | ||
"attrs": { | ||
"id": "0", | ||
"textColor": "default", | ||
"backgroundColor": "default" | ||
}, | ||
"content": [ | ||
{ | ||
"type": "checkListItem", | ||
"attrs": { | ||
"textAlignment": "left", | ||
"checked": false | ||
}, | ||
"content": [ | ||
{ | ||
"type": "text", | ||
"text": "Paragraph" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "blockContainer", | ||
"attrs": { | ||
"id": "1", | ||
"textColor": "default", | ||
"backgroundColor": "default" | ||
}, | ||
"content": [ | ||
{ | ||
"type": "paragraph", | ||
"attrs": { | ||
"textAlignment": "left" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
49 changes: 49 additions & 0 deletions
49
...ndlers/keyboardhandlers.test.ts-snapshots/checkedListItemShortcut-json-firefox-linux.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"type": "doc", | ||
"content": [ | ||
{ | ||
"type": "blockGroup", | ||
"content": [ | ||
{ | ||
"type": "blockContainer", | ||
"attrs": { | ||
"id": "0", | ||
"textColor": "default", | ||
"backgroundColor": "default" | ||
}, | ||
"content": [ | ||
{ | ||
"type": "checkListItem", | ||
"attrs": { | ||
"textAlignment": "left", | ||
"checked": false | ||
}, | ||
"content": [ | ||
{ | ||
"type": "text", | ||
"text": "Paragraph" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "blockContainer", | ||
"attrs": { | ||
"id": "1", | ||
"textColor": "default", | ||
"backgroundColor": "default" | ||
}, | ||
"content": [ | ||
{ | ||
"type": "paragraph", | ||
"attrs": { | ||
"textAlignment": "left" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.