add some more commands
This commit is contained in:
@@ -17,12 +17,12 @@ export default new Node()
|
||||
],
|
||||
toDOM: () => ['ul', 0],
|
||||
}))
|
||||
.commands(({ editor, type }) => ({
|
||||
[name]: next => attrs => {
|
||||
// editor.toggleList(type, editor.schema.nodes.list_item)
|
||||
next()
|
||||
},
|
||||
}))
|
||||
// .commands(({ editor, type }) => ({
|
||||
// [name]: next => attrs => {
|
||||
// // editor.toggleList(type, editor.schema.nodes.list_item)
|
||||
// next()
|
||||
// },
|
||||
// }))
|
||||
.keys(({ editor }) => ({
|
||||
'Shift-Ctrl-8': () => editor.bulletList(),
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user