fix: New checkbox items should not be checked by default

closes #3663
This commit is contained in:
Tom Moor
2023-06-19 20:50:58 -04:00
parent 25ae923130
commit e7861d0bb9
3 changed files with 19 additions and 82 deletions

View File

@@ -89,7 +89,9 @@ export default class CheckboxItem extends Node {
keys({ type }: { type: NodeType }) {
return {
Enter: splitListItem(type),
Enter: splitListItem(type, {
checked: false,
}),
Tab: sinkListItem(type),
"Shift-Tab": liftListItem(type),
"Mod-]": sinkListItem(type),