Skip to content

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

What does this MR do and why?

Solves the problem that shift + enter was adding a soft break instead of just behaving exactly like enter. This is not what the target audience of the Rich Text editor would expect, as it's different to the other tools these users usually use (e.g. Slack, Google Docs or Gmail).

Screenshots or screen recordings

Before After
Kapture_2023-06-22_at_20.57.02 Kapture_2023-06-22_at_20.56.06

How to set up and validate locally

Feature.enable(:content_editor_on_issues)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #416119 (closed)

Edited by Marcel van Remmerden

Merge request reports