Describe the bug
When using a codesnippet and have an empty line above it. Using Backspace will just delete that line. Using the del key, the line is removed but also the codesnippet (without its content) is removed. As viewable in the video (first I delete with “backspace” then with “del”)
simplescreenrecorder-2021-08-11-155407.mp4
Tested this also with “Heading” instead of “codesnippet”. Same problem. Didn’t test more.
To Reproduce
Steps to reproduce the behavior:
-
- Create codesnippet with content and empty line above
-
- Cursor should be in the empty line
-
- Press “del” key
-
- “codesnippet” formatting is deleted
Expected behavior
“del” and “backspace” key doing the same on an empty line.
Desktop (please complete the following information):
- OS: Linux
- Version: 0.18.59