fix: call selectAll on 'cmd+a', set a TextSelection instead of AllSelection, fix #1908
This commit is contained in:
@@ -29,8 +29,7 @@ export const Keymap = Extension.create({
|
||||
'Mod-Backspace': () => handleBackspace(),
|
||||
Delete: () => handleDelete(),
|
||||
'Mod-Delete': () => handleDelete(),
|
||||
// we don’t need a custom `selectAll` for now
|
||||
// 'Mod-a': () => this.editor.commands.selectAll(),
|
||||
'Mod-a': () => this.editor.commands.selectAll(),
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user