Skip to content

Commit

Permalink
Add keyboard shortcuts for keyword removing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Integral committed May 15, 2019
1 parent abb3926 commit dda276d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/article/manuscript/ManuscriptPackage.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ export default {

// KeyboardShortcuts
config.addKeyboardShortcut('CommandOrControl+a', { command: 'table:select-all' })
config.addKeyboardShortcut('CommandOrControl+Delete', { command: 'remove-metadata-keyword' })

// Register commands and keyboard shortcuts for collections
registerCollectionCommand(config, 'author', ['metadata', 'authors'], { keyboardShortcut: 'CommandOrControl+Alt+A', nodeType: 'person' })
Expand Down
1 change: 1 addition & 0 deletions src/article/metadata/MetadataPackage.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ export default {
config.addKeyboardShortcut('CommandOrControl+Alt+Up', { command: 'move-up-col-item' })
config.addKeyboardShortcut('CommandOrControl+Alt+Down', { command: 'move-down-col-item' })
config.addKeyboardShortcut('CommandOrControl+Alt+Delete', { command: 'remove-col-item' })
config.addKeyboardShortcut('CommandOrControl+Delete', { command: 'remove-metadata-keyword' })

// Labels
config.addLabel('abstracts', 'Abstracts')
Expand Down

0 comments on commit dda276d

Please sign in to comment.