Skip to content

Commit

Permalink
#1825: add missing keyboard shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinEpam committed Nov 21, 2022
1 parent 8c6346b commit f31a1a8
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions packages/ketcher-react/src/script/ui/action/atoms.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
***************************************************************************/

export const basicAtoms = ['H', 'C', 'N', 'O', 'S', 'P', 'F', 'Cl', 'Br', 'I']
export const basicAtoms = ['H', 'C', 'N', 'O', 'S', 'P', 'F', 'Cl', 'Br'];

export const atomCuts = {
H: 'h',
Expand All @@ -27,7 +27,16 @@ export const atomCuts = {
Cl: 'Shift+c',
Br: 'Shift+b',
I: 'i',
A: 'a'
A: 'a',
Q: 'q',
R: 'r',
K: 'k',
Me: 'm',
Si: 'Shift+s',
Na: 'Shift+n',
X: 'x',
D: 'd',
B: 'b'
}

export default Object.keys(atomCuts).reduce((res, label) => {
Expand Down

0 comments on commit f31a1a8

Please sign in to comment.