Allow to submit wiki form using ctrl enter
What does this MR do and why?
It allows submitting the Wiki form using the CTRL-Enter or Command-ENTER keyboard shortcuts. The bulk of changes in this Merge Request consists of enabling a mechanism to attach keydown event handlers to the Content Editor and bubbling up those events through the Vue components tree.
Screenshots or screen recordings
This MR doesn’t introduce visual changes.
How to set up and validate locally
- Create or edit a Wiki page.
- Change the Wiki page’s content.
- Press the CTRL-Enter or META-Enter keyboard shortcuts either on Rich Text or Source mode. The form should submit the changes.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #371931 (closed)
Edited by Enrique Alcántara