remove async commands (WIP)

This commit is contained in:
Philipp Kühn
2020-09-11 17:30:55 +02:00
parent 5d3a2e900b
commit 6a04f9746d
5 changed files with 59 additions and 28 deletions

View File

@@ -12,7 +12,7 @@ export default new Node()
toDOM: () => ['li', 0],
}))
.keys(({ editor, name }) => ({
// Enter: () => editor.splitListItem(name),
Enter: () => editor.splitListItem(name).focus()
// Tab: () => editor.sinkListItem(name),
// 'Shift-Tab': () => editor.liftListItem(name),
}))