Prevent Meta+K default behaviour in rich text editors
What does this MR do and why?
Closes #419094 (closed)
Prevent Meta+K default behaviour in rich text editors
This keybind is for adding links but is also the shortcut for search bar focus in Firefox, so it prevents the default browser behaviour (for all browsers) while text is selected to improve UX.
Screenshots or screen recordings
Before | After |
---|---|
before | afterrr |
How to set up and validate locally
- Open any rich text editor (issue comment, MR comment, etc.) in Firefox (since it is currently affecting only Firefox)
- Select a piece of text and try the Ctrl(or Cmd)+K keybind.
MR acceptance checklist
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Shreya Agarwal