Rich Text editor should enter normal new line when using shift+enter

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

When pressing shift + enter, the Rich Text editor adds a soft break. As our target audience for the Rich Text editor is less technical users, this is different to what most other tools in their stack do (e.g. Slack, Google Docs or Gmail). Check issue #416119 (closed), it is reporting the same and is closed because it is solved. Probably it is not released well.

Steps to reproduce

Example Project

What is the current bug behavior?

shift + enter does the same as enter

What is the expected correct behavior?

"shift + enter' should give a soft break instead of a break for a new paragraph.

Relevant logs and/or screenshots

Output of checks

Results of GitLab environment info

GitLab V16.3.5

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)

Possible fixes

Edited by 🤖 GitLab Bot 🤖