Merge pull request #283 from jorilallo/kb-shortcuts
Shortcuts Documentation
This commit is contained in:
@@ -22,6 +22,11 @@ export default function KeyboardShortcuts() {
|
||||
return this.toggleMark(state, 'underlined');
|
||||
case 'd':
|
||||
return this.toggleMark(state, 'deleted');
|
||||
case 'k':
|
||||
return state
|
||||
.transform()
|
||||
.wrapInline({ type: 'link', data: { href: '' } })
|
||||
.apply();
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user