Allow easily inserting content after a code block
What does this MR do and why?
Allow easily inserting content after a code block when a code block is the last element in a document
Right now when the code editor is the last block of a document, it is not so trivial to insert content after the code block. You could use "Shift" + "Enter" or "Cmd" + "Enter", but its a bit tricky because "Cmd" + "Enter" also submits the form.
Screenshots or screen recordings
How to set up and validate locally
- Create a new wiki page
- Create a new code block and type something in it.
- Use the arrow keys to navigate before or after the code block. You will see a horizontal cursor appear before/after the code block.
- Type something or press enter to add some text before/after the code block.
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 #339485 (closed)