Rich Text Editor should respect the `r` shortcut
Summary
The Rich Text Editor doesn't respect the r
shortcut at all.
Steps to reproduce
- Go to any issue, MR or Epic.
- Enable Rich Text Editor.
- Enable shortcuts.
- Click the reply to comment button on any comment.
- Highlight some text in the comment.
- Press
r
. - Notice nothing happens.
Example Project
Any MR, Issue, Epic.
What is the current bug behavior?
Nothing happens
What is the expected correct behavior?
Selected text is copied into the editor as a blockquote
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: \`sudo gitlab-rake gitlab:env:info\`) (For installations from source run and paste the output of: \`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production\`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:check SANITIZE=true`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true`) (we will only investigate if the tests are passing)