Add Shift+Enter to markdown editor
What does this MR do and why?
When pressing Shift+Enter in the markdown editor, add a \
and newline. This is a hard line break in markdown. It is also the same behavior in the content editor, so this brings parity.
How to set up and validate locally
In a comment or description box, add some text. Then, pressing Shift+Enter at various places should add a \
and newline at the cursor position. Click Preview
to see that markdown transforms it into a hard line break.
See the video above as a reference.
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 #21916 (closed)
Edited by Brett Walker