Closed PRGfx closed 1 year ago
I removed the registration of the ctrl+k hotkey for Neos completely and added the event-handler directly analogous to the module-ui.
Sadly it doesn't seem possible to prevent the default-behavior with the neos-ui hotkey-handling, as neither the event is passed to the handler nor a return value could be set from the handler: https://github.com/neos/neos-ui/blob/a0683ed157699042aa269ea0819977efafb5be46/packages/neos-ui-sagas/src/UI/Hotkeys/index.js#L14-L16
This PR does not contain a build to avoid conflicts, but I can add it, if preferred.
I removed the registration of the ctrl+k hotkey for Neos completely and added the event-handler directly analogous to the module-ui.
Sadly it doesn't seem possible to prevent the default-behavior with the neos-ui hotkey-handling, as neither the event is passed to the handler nor a return value could be set from the handler: https://github.com/neos/neos-ui/blob/a0683ed157699042aa269ea0819977efafb5be46/packages/neos-ui-sagas/src/UI/Hotkeys/index.js#L14-L16
This PR does not contain a build to avoid conflicts, but I can add it, if preferred.