shortcut improvements

This commit is contained in:
zadam
2022-12-01 10:03:04 +01:00
parent 720fb0f73e
commit b55c2d3dbc
5 changed files with 35 additions and 10 deletions

View File

@@ -509,6 +509,8 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
* @method
* @param {string} keyboardShortcut - e.g. "ctrl+shift+a"
* @param {function} handler
* @param {string} [namespace] - specify namespace of the handler for the cases where call for bind may be repeated.
* If a handler with this ID exists, it's replaced by the new handler.
*/
this.bindGlobalShortcut = shortcutService.bindGlobalShortcut;