Skip to content

Commit

Permalink
[DOCS] Correct usage of hotkey API in changelog
Browse files Browse the repository at this point in the history
As "Hotkeys" is the default export inside hotkeys.js, it must be outside the curly braces.

Resolves: #103623
Related: #101507
Releases: main
Change-Id: I43cfea685503caa54bc1f7e786e16a01c5e06c61
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83780
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Andreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: Andreas Kienast <a.fernandez@scripting-base.de>
Tested-by: core-ci <typo3@b13.com>
  • Loading branch information
brotkrueml authored and andreaskienast committed Apr 16, 2024
1 parent e15c44e commit 38a1952
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -38,7 +38,7 @@ arguments:

.. code-block:: js
import { Hotkeys, ModifierKeys } from '@typo3/backend/hotkeys.js';
import Hotkeys, {ModifierKeys} from '@typo3/backend/hotkeys.js';
Hotkeys.register(
[Hotkeys.normalizedCtrlModifierKey, ModifierKeys.ALT, 'e'],
Expand Down

0 comments on commit 38a1952

Please sign in to comment.