Posted 27 July 2021, 12:33 pm EST
Hi,
I would like to add some keyboard shortcuts to some of the buttons in the Designer component.
For example, I would like to map ctrl-b to the button to toggle the bold.
I have tried the following, but it didn’t work.
```
spread.commandManager().setShortcutKey(“Designer.setFontWeight”, “b”.charCodeAt(0), true, false, false, false);
Please can you let me know if something like this is possible.
Also, if possible, I would like to map the key 'F2' to start editing a cell (which is what happens in Excel). Could you advise on that too please.
Thanks!
